1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

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

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2011, 12:52 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Senior Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default (Semi) Dynamic Campaign: JG 51

See the thread on Airwarfare.com.

Just out of curiosity, can anybody guess how many lines of code this took?

Download Link.
Reply With Quote
  #2  
Old 07-16-2011, 06:23 AM
adonys adonys is offline
Senior Member
 
Join Date: Apr 2010
Posts: 850
Default

The code is small, so they can't have too many lines

Can we have a look at the whole solution, please? It would be a great help for the other willing modders (including me).
Reply With Quote
  #3  
Old 07-16-2011, 06:50 AM
41Sqn_Banks 41Sqn_Banks is offline
Approved Member
 
Join Date: Oct 2007
Posts: 644
Default

The code for the dynamic mission is compiled within the JG51_Mission.dll. It has about 625 lines of code (without comments).
Reply With Quote
  #4  
Old 07-16-2011, 07:20 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Senior 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
  #5  
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
  #6  
Old 07-16-2011, 10:53 AM
adonys adonys is offline
Senior 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
  #7  
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
  #8  
Old 07-16-2011, 10:42 PM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Senior 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
  #9  
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
  #10  
Old 07-16-2011, 11:22 PM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Senior 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
Reply

Thread Tools
Display Modes

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 09:35 AM.

Based on a design by: Miner Skinz.com

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.