View Single Post
Old 03-29-11, 12:52 PM   #8
General Tso
Machinist's Mate
 
Join Date: Apr 2007
Location: U. S. of A.
Posts: 129
Downloads: 20
Uploads: 0
Default

I'm using the Python programming language.

The code that creates campaign files is currently very simple and has nothing to do with actual game play. It's just used to create random saved game files based on the values of a dozen or so variables located in one of the Python files. When the mod is running and debugging is turned on the save game campaign data is loaded from the mod folder instead of the game folder. Pressing the F10 key creates a new random saved campaign based on the Python variables. By using this I can quickly test the mod under different conditions - A short 3 month campaign, or a campaign that lasts the entire war. A campaign that has a large number of ships sunk or a campaign that has a small number of ships sunk - things like that.

The concept of dynamically updating the player's campaign would be really cool in my opinion. Unfortunately this mod is currently not close to that level. This mod deals with the player's saved game files. To change the campaign itself would require changing the game campaign files via Python. This could be done but would require a lot of work. I probably couldn't do it by my self - I would need some help from people who are familiar with editing the campaign files. I could take care of the Python part but I would need help in determining how the campaign files need to be changed.
__________________
Strategic War Mod:
http://www.subsim.com/radioroom/showthread.php?t=179908
General Tso is offline   Reply With Quote