Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2011, 07:20 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Quote:
Originally Posted by 41Sqn_Banks View Post
The code for the dynamic mission is compiled within the JG51_Mission.dll. It has about 625 lines of code (without comments).
Jokes on you. There are no comments.
Reply With Quote
  #2  
Old 07-16-2011, 10:48 AM
Raggz's Avatar
Raggz Raggz is offline
Approved Member
 
Join Date: Sep 2010
Location: Oslo, Norway
Posts: 350
Default

Just tried the 2 first missions. Getting "you died" no matter what the outcome. Shot down 2 hurries and landed in the second mission. Kills not counted for and status dead.

Does one have to re-play the mission if the status was dead when exiting mission?.... mission 3 was the same as mission 2 for me. Could be that the dead status does this?

Also, please move the campaign from main menu to the campaign section?... it's cluttering up the main menu imho. Other than that this has good potential. Great work
__________________

I7-3930K CPU w/ Corsair H60 liquid cooling.
16Gb Corsair Vengeance 1866mhz.
Asus P9X79 Deluxe Motherboard.
Asus GTX680 2Gb SLI
Auzentech Home theater 3D Soundcard.
Corsair HX850 Modular PSU.
Win 7 x64 Ultimate
TM Warthog HOTAS.
TM Cougar MFD's.
Saitek Flight Pro pedals.
TrackIr 5.
Samsung Syncmaster 2770FH LCD.
Reply With Quote
  #3  
Old 07-16-2011, 10:53 AM
adonys adonys is offline
Approved Member
 
Join Date: Apr 2010
Posts: 850
Default

same happened to me too, get the "You've died message" no matter the mission's outcome, and the 3rd mission is exactly the same a mission 2 (the patrol one against 2 hurris).
Reply With Quote
  #4  
Old 07-16-2011, 03:10 PM
Raggz's Avatar
Raggz Raggz is offline
Approved Member
 
Join Date: Sep 2010
Location: Oslo, Norway
Posts: 350
Default

I tried increasing the minimum and maximum number of planes but it seems to affect only friendly planes. Is this correct?
__________________

I7-3930K CPU w/ Corsair H60 liquid cooling.
16Gb Corsair Vengeance 1866mhz.
Asus P9X79 Deluxe Motherboard.
Asus GTX680 2Gb SLI
Auzentech Home theater 3D Soundcard.
Corsair HX850 Modular PSU.
Win 7 x64 Ultimate
TM Warthog HOTAS.
TM Cougar MFD's.
Saitek Flight Pro pedals.
TrackIr 5.
Samsung Syncmaster 2770FH LCD.
Reply With Quote
  #5  
Old 07-16-2011, 10:42 PM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Can you guys post the error messages you're getting in your logs? I can't seem to duplicate the problem.

Quote:
Originally Posted by Raggz View Post
I tried increasing the minimum and maximum number of planes but it seems to affect only friendly planes. Is this correct?
No. It includes all aircraft except the player's flight. If you're still getting mission failed after every mission, any changes to the conf file won't have any effect. They only apply to newly created missions. Missions are only created if the previous one was a success.
Reply With Quote
  #6  
Old 07-16-2011, 11:01 PM
Raggz's Avatar
Raggz Raggz is offline
Approved Member
 
Join Date: Sep 2010
Location: Oslo, Norway
Posts: 350
Default

Quote:
Originally Posted by TheEnlightenedFlorist View Post
Can you guys post the error messages you're getting in your logs? I can't seem to duplicate the problem.



No. It includes all aircraft except the player's flight. If you're still getting mission failed after every mission, any changes to the conf file won't have any effect. They only apply to newly created missions. Missions are only created if the previous one was a success.
Ok, thanks. But i get the message "you died" even when the mission is successful!
__________________

I7-3930K CPU w/ Corsair H60 liquid cooling.
16Gb Corsair Vengeance 1866mhz.
Asus P9X79 Deluxe Motherboard.
Asus GTX680 2Gb SLI
Auzentech Home theater 3D Soundcard.
Corsair HX850 Modular PSU.
Win 7 x64 Ultimate
TM Warthog HOTAS.
TM Cougar MFD's.
Saitek Flight Pro pedals.
TrackIr 5.
Samsung Syncmaster 2770FH LCD.
Reply With Quote
  #7  
Old 07-16-2011, 11:22 PM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Quote:
Originally Posted by Raggz View Post
Ok, thanks. But i get the message "you died" even when the mission is successful!
If it tells you you died, then the mission wasn't successful. Even if it should have been. This tells me that the code is crashing before a certain point. The only way for me to know where it is crashing is if I can see the logs.
Reply With Quote
  #8  
Old 07-17-2011, 08:46 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Quote:
Originally Posted by Raggz View Post
Also, please move the campaign from main menu to the campaign section?... it's cluttering up the main menu imho. Other than that this has good potential. Great work
OK. Now that the thing actually works. I can answer some of your other questions.

Raggz, unfortunately that's not possible. The "Campaign" section is reserved for 1C's campaigns. For a variety of reasons, I cannot put my campaign there. If you wish, you can rename my section to something more visually pleasing. Find TEFCampaign.xml in AddIns and change it in there.

Adonys, there's really nothing complicated about it. Essentially, it's a glorified text editor, as that's all the mission files are. Most of my time was spent learning how the mission files were actually written. After that, it's just a matter of choosing what type of mission I want to do (there are currently only two for the player), adding some aircraft for that mission, then use whatever remaining aircraft are left to create random missions for aircraft from both sides. Essentially, it's a lot of rand.Next() statements. Actually writing the mission files is ridiculously easy because 1C have created something called SectionFiles. They're sort of like a simple XML.

If I do release the code, I want to at least comment it all. I also want to rewrite a lot of it. Namely, the code that selects which type of mission to do next. I don't want to release anything that isn't commented and/or sets a bad example. Both things I frequently do.

And finally, assuming anybody out there actually enjoys this campaign, what would you like to see added to it? Other types of missions? Ground units? (That would be hard)

Oh, and thanks for the log Raggz. It took about five seconds to fix after I saw that. The real question is why did it still work on my computer?
Reply With Quote
  #9  
Old 07-17-2011, 09:11 AM
adonys adonys is offline
Approved Member
 
Join Date: Apr 2010
Posts: 850
Default

I am working on something similar, and any help would be great. I can cope with not commented code, as long as it can give my some ideas.

A private release for me until a proper public one, please?

Actually, what I am trying to do is to release some library of missions/campaign functions (eventually in a dynamic library form, to help people which are not really programmers have an easier life).
Reply With Quote
  #10  
Old 07-17-2011, 11:57 AM
Raggz's Avatar
Raggz Raggz is offline
Approved Member
 
Join Date: Sep 2010
Location: Oslo, Norway
Posts: 350
Default

Quote:
Originally Posted by TheEnlightenedFlorist View Post
OK. Now that the thing actually works. I can answer some of your other questions.

Raggz, unfortunately that's not possible. The "Campaign" section is reserved for 1C's campaigns. For a variety of reasons, I cannot put my campaign there. If you wish, you can rename my section to something more visually pleasing. Find TEFCampaign.xml in AddIns and change it in there.

Adonys, there's really nothing complicated about it. Essentially, it's a glorified text editor, as that's all the mission files are. Most of my time was spent learning how the mission files were actually written. After that, it's just a matter of choosing what type of mission I want to do (there are currently only two for the player), adding some aircraft for that mission, then use whatever remaining aircraft are left to create random missions for aircraft from both sides. Essentially, it's a lot of rand.Next() statements. Actually writing the mission files is ridiculously easy because 1C have created something called SectionFiles. They're sort of like a simple XML.

If I do release the code, I want to at least comment it all. I also want to rewrite a lot of it. Namely, the code that selects which type of mission to do next. I don't want to release anything that isn't commented and/or sets a bad example. Both things I frequently do.

And finally, assuming anybody out there actually enjoys this campaign, what would you like to see added to it? Other types of missions? Ground units? (That would be hard)

Oh, and thanks for the log Raggz. It took about five seconds to fix after I saw that. The real question is why did it still work on my computer?
a Bf-110 campaign , both escort and jabo missions would be nice
Just installed the updated campaign so i'm off to try it now. Thanks for the fix
__________________

I7-3930K CPU w/ Corsair H60 liquid cooling.
16Gb Corsair Vengeance 1866mhz.
Asus P9X79 Deluxe Motherboard.
Asus GTX680 2Gb SLI
Auzentech Home theater 3D Soundcard.
Corsair HX850 Modular PSU.
Win 7 x64 Ultimate
TM Warthog HOTAS.
TM Cougar MFD's.
Saitek Flight Pro pedals.
TrackIr 5.
Samsung Syncmaster 2770FH LCD.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.