Lysimachos wrote:I would be interested in modding just the campaign data, Richard.
1) Make a copy of
/Campaigns/2MPSRiseOfRome
in
/Documents/My Games/FieldOfGlory2/CAMPAIGNS
2) Change the IDS_CAMPAIGN_NAME string in Text1.txt in your custom folder.
3) Copy
/Data/Battles/Scripts/Slith_RandomMap2.bsf
into your custom folder in
/Data/Battles/Scripts/
4) Change the first 4 parameters in line 769 of the that file.
StandardCampaignVictoryConditions(60, 40, 60, 40, drawdecider, MPgame);
These numbers are the breakpoints in terms of Percent
unrouted, not the percent routed, and they represent in order:
The lower breakpoint for the player side
The higher breakpoint for the player side
The lower breakpoint for the AI side
The higher breakpoint for the AI side
5) Add modified versions of the following string to the text1.txt file in your custom folder, to match your new breakpoints:
IDS_SCENUI_VC_STANDARD, "Rout the enemy army by:~a) Routing at least 40% of their troops and ",
IDS_SCENUI_VC_STANDARD1, "% more than you have lost, or~b) Routing 60% of their troops.",
6) If you find that your new breakpoints don't actually work, you may need to also copy
/Data/Battles/Scripts/$DEFAULT.BSF
into your custom folder in
/Data/Battles/Scripts/
to force the mod to read the Slith_RandomMap2.BSF file.
However, this hopefully will not be necessary. If it turns out you do need it, it will mean that you may have to copy the new version of this file across each time there is a game update.