Page 1 of 1

Number of campaign battles turn limit

Posted: Sat Mar 20, 2021 5:44 pm
by mausk
Meanwhile, I apologize for my English; I would like to ask the forum if it is possible to extend the duration of campaign battles. If I wanted to increase the number of turns from 24 to 30, for example, how could it be done. I changed the number of turns for custom battles but for campaigns I can't.
Thank you and good evening.

Re: Number of campaign battles turn limit

Posted: Tue Mar 23, 2021 8:44 am
by rbodleyscott
1) Go into the Editor. Click on New.
2) Make a copy of CAMPAIGNS/0SandboxCampaigns. It will be saved in /Documents/MyGames/FieldOfGlory2/CAMPAIGNS
3) Copy the file MultiPartSkirmishTools.BSF from /Data/scripts in the main build, to /Data/scripts in your new custom campaign folder.
4) Change the line

SkirmishSetTurnLimit(24);

in FUNCTION MPS_StartBattle(province)

to

SkirmishSetTurnLimit(30);

et voila. Your modded campaign will be at the bottom of the list of Campaigns.

You can do the same for the other campaigns.

(You should not mod your main build because it will mess up MP)

Re: Number of campaign battles turn limit

Posted: Tue Mar 23, 2021 8:53 am
by mausk
Thanks for the kind reply.

Re: Number of campaign battles turn limit

Posted: Sat Mar 27, 2021 7:38 am
by mausk
Excuse me very kind Richard Bodley Scott I would like to satisfy a curiosity. Which is why you have decided to set the number of rounds for campaign battles to 24 and why you have not introduced the possibility of deciding the extension in rounds for them as well.
Your possible reply will be very welcome.
Good day.

Re: Number of campaign battles turn limit

Posted: Mon Mar 29, 2021 7:48 am
by rbodleyscott
mausk wrote: Sat Mar 27, 2021 7:38 am Excuse me very kind Richard Bodley Scott I would like to satisfy a curiosity. Which is why you have decided to set the number of rounds for campaign battles to 24 and why you have not introduced the possibility of deciding the extension in rounds for them as well.
Because some of the AI mechanics in the game are predicated on there being only 24 turns.

For example, you will have noticed that when the AI does not fancy its chances if it advances (for example if the player army is on higher ground) it won't advance. However "to make a game of it" it will start advancing half-way through the turn limit, even though it knows it isn't a good idea to do so. However, if the player waits for this, it is to some extent balanced by the fact that the player now has only half the turn limit left to defeat the AI.

If you increase the turn limit, you make it more possible for the player to turtle up in an impregnable position and have the AI suicide into it without any risk of running out of time.

Hence we have no plans to put in an optional turn limit adjustment for campaign battles.

Re: Number of campaign battles turn limit

Posted: Mon Mar 29, 2021 8:06 am
by mausk
I had thought this might be the reason but I had the doubt.
Thanks for dispelling my doubts.