
06-28-2011, 09:43 AM
|
Approved Member
|
|
Join Date: Jun 2010
Location: USSR
Posts: 2,439
|
|
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.
|
|