Page 1 of 1

Modding Reinforcements in Campaigns?

Posted: Sat Dec 24, 2016 2:32 pm
by Bombax
Hi,

I'm wondering if it's possible to mod the campaign game in such a way that either -

a) the number of additional troops the AI side gets when you go into battle mode is reduced, or
b) this feature is switched off completely

Cheers,
Bombax

Re: Modding Reinforcements in Campaigns?

Posted: Sat Dec 24, 2016 6:50 pm
by rbodleyscott
Yes, of course, though it isn't just the AI that gets them, the player does too, in equivalent circumstances.

1) Use the editor to make a clone of the campaign - it will be saved to /My Documents/My Games/Campaigns

2) Put a copy of CampaignTools.BSF from the main build /Data/scripts into

/My Documents/My Games/Campaigns/Cloned Campaign Name/Data/Battle/Scripts

3) Change the values in lines 6858

ret = 300

and 6862

ret = 150

Note that you will see more retreats - the militia units are mainly a buffer to make more battles viable.

Re: Modding Reinforcements in Campaigns?

Posted: Sat Dec 24, 2016 11:03 pm
by Bombax
Thanks so much Richard, greatly appreciated! :D