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 06-20-2011, 02:57 PM
Gamekeeper Gamekeeper is offline
Approved Member
 
Join Date: Oct 2007
Posts: 190
Default

We're back up now, our hosts had a power outage
Reply With Quote
  #2  
Old 06-28-2011, 09:43 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

After the recent patch there is no need to edit campaign xml manually.
http://www.sukhoi.ru/forum/showthrea...=1#post1646257

Quote:
Here is an example of how to make your campaign:
TstCampaign.rar http://www.sukhoi.ru/forum/attachmen...4&d=1309250431

put everything in the root of the game >> AddIns. Respectively, add tst.campaign.xml item containing menu path and the path to the campaign handler, which is to be located in 'parts' directory (the game scans all the xml in folder AddIns). In your mission folder will actually be the campaign files. In parts \ tst \ src \ Campaign - sources, TstMission.cs - base class for the mission, TstCampaign.cs - campaign handler. When working in the campaign "My Documents \ folder games \ mission" will create a folder "tst" in which ini file with campaign progress is located, and of all that is needed for the progress and statistics can be written there. Thus no need to change any source configs for your campaigns, Steam updates will not overwrite anything, and installers do not have to split hairs overwriting stuff.
Reply With Quote
  #3  
Old 06-29-2011, 06:16 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Quote:
Originally Posted by Ataros View Post
After the recent patch there is no need to edit campaign xml manually.
http://www.sukhoi.ru/forum/showthrea...=1#post1646257
I wonder if there's a world record for least amount of time a piece of software was relevant.
Reply With Quote
  #4  
Old 07-04-2011, 12:03 AM
dflion dflion is offline
Approved Member
 
Join Date: Nov 2007
Posts: 319
Smile Thanks for your help

Quote:
Originally Posted by Ataros View Post
After the recent patch there is no need to edit campaign xml manually.
http://www.sukhoi.ru/forum/showthrea...=1#post1646257
Thanks 'Ataros' for this post and thanks 'TheEnlightenedFlorist' for all your efforts to get the campaigns working.

I have just been looking at the three Russian BOB campaigns in detail and they have done an excellent job. I am now busy converting my 'single mission' campaigns (Spitfire Dawn and JG26) to proper campaigns.

One thing I did notice, is that for some reason, when you finish a mission in the campaign, then come out of the simulator, when I came back to carry on with the next campaign mission, I had to start from scratch again, in two cases. At other times it went onto the next campaign mission ok.

Have you any thoughts about what is happening here?

DFLion
Reply With Quote
  #5  
Old 07-05-2011, 03:44 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Sorry, I do not know anything about campaigns as never flown nor created any yet. I just translated a post from a developer.

.cs files are usually related to missions I think. At lease to make a script working in online mission it has to have the same name as mission file.

In the campaign Spitfires over Dunkirk you can see the same, each mission has a .cs file with the same name. And yes, these .cs files are created manually in C# Visual Studio for instance. Check out the (1) link in my sig.
Reply With Quote
  #6  
Old 07-05-2011, 12:36 PM
dflion dflion is offline
Approved Member
 
Join Date: Nov 2007
Posts: 319
Cool FMB programing question for Ataros

Quote:
Originally Posted by Ataros View Post
After the recent patch there is no need to edit campaign xml manually.
http://www.sukhoi.ru/forum/showthrea...=1#post1646257
Do you have to manually create a .cs file, or if all the .msn file are put into a file structure within COD, does this action automatically create the campaign's .cs files?

I am not a 'programmer' but willing to learn. I know the .cs files activate the campaign mission's actions, triggers etc. Can you just put a 'copied' basic .cs file into the game structure to get the campaign activated. When I learn the programming language, I will alter them later?

DFLion
Reply With Quote
  #7  
Old 07-05-2011, 11:43 PM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Quote:
Originally Posted by dflion View Post
Do you have to manually create a .cs file, or if all the .msn file are put into a file structure within COD, does this action automatically create the campaign's .cs files?

I am not a 'programmer' but willing to learn. I know the .cs files activate the campaign mission's actions, triggers etc. Can you just put a 'copied' basic .cs file into the game structure to get the campaign activated. When I learn the programming language, I will alter them later?

DFLion
For the most part, you can just recompile naryv's example. You just have to edit a few path variables depending on where your campaign will be stored and change some names. Naryv says he will create a generic .dll that will make it easier to make a campaign. However, it will take away a lot of the customization possibilities and you will still probably want to write scripts for your missions. If you don't know Java or C#, I suggest waiting for that.... And learning C# in the meantime.
Reply With Quote
  #8  
Old 07-06-2011, 04:13 AM
dflion dflion is offline
Approved Member
 
Join Date: Nov 2007
Posts: 319
Smile Thanks again for your help

Quote:
Originally Posted by TheEnlightenedFlorist View Post
For the most part, you can just recompile naryv's example. You just have to edit a few path variables depending on where your campaign will be stored and change some names. Naryv says he will create a generic .dll that will make it easier to make a campaign. However, it will take away a lot of the customization possibilities and you will still probably want to write scripts for your missions. If you don't know Java or C#, I suggest waiting for that.... And learning C# in the meantime.
Thanks, for this information 'TheEnlightenedFlorist'. My eldest son is a computer programmer and he is going to help me, when he has time. I have done some previous work with C# but need a refresher, I have just downloaded it from Microsoft.

DFLion
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 07:14 PM.


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