Show whole topic Oct 06, 2008 2:19 pm
Artlav Offline
Approved Member
Registered since: Jul 16, 2008
Location: Moscow


Subject: Re: resource stripper help
Quote by shaktazuki:
have you determined where the victory conditions are stored? In one scenario, for example, the victory condition is to hijack 2 enemy trucks in 40 turns, and so forth.
Unfortunately, it appears that the conditions are hardcoded into the game itself. There are "level" field in the save game header, that corresponds to the save file number in scenario/campaign menu.
If you swap the files, like scn 4 and scn 1, then select scn 4, you will go into scn 1, and all the descriptions and conditions will be for scn 1.
If you change the level field in scn 1 file to 4, then if you go to that scn, it will load scn 1 game, but show scn 4 descriptions, and will not respond to completing scn 1 goal, like destroy some building to win.

It is certain for campaign games, it is likely for single-player scenarios. There seems to be nothing in the actual save game file that shows any kind of correlation to victory conditions besides the default ones of turns and score.

Artyom Litvinovich