Modding Reinforcements in Campaigns?

Moderators: rbodleyscott, Slitherine Core, Gothic Labs

Post Reply
Bombax
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 251
Joined: Sat Jul 02, 2016 1:44 pm

Modding Reinforcements in Campaigns?

Post 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
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28014
Joined: Sun Dec 04, 2005 6:25 pm

Re: Modding Reinforcements in Campaigns?

Post 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.
Richard Bodley Scott

Image
Bombax
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 251
Joined: Sat Jul 02, 2016 1:44 pm

Re: Modding Reinforcements in Campaigns?

Post by Bombax »

Thanks so much Richard, greatly appreciated! :D
Post Reply

Return to “Modders Corner”