Page 1 of 1
Modifying campaign battle duration
Posted: Thu Jan 29, 2026 11:29 am
by Bombax
Hi, is there a way to modify the default number of turns used in campaign battles?
Thanks,
Jay.
Re: Modifying campaign battle duration
Posted: Fri Jan 30, 2026 6:25 am
by rbodleyscott
Bombax wrote: ↑Thu Jan 29, 2026 11:29 am
Hi, is there a way to modify the default number of turns used in campaign battles?
You should be able to do so by modding the StartCampaignBattle() function in /Data/scripts/CampaignTools.bsf
Line 4179 reads
Code: Select all
//SkirmishSetTurnLimit(20); // May be able to rely on default value from army list
If you remove the "//" comments marks and change the value, it should alter the number of turns.
Note that you should not alter your main build if you ever play multiplayer games.
See:
https://archonwiki.slitherine.com/index.php/Modding
Note that this is the documentaton for the newer ARCHON engine, but most of it applies to the older STUB enginie in which Sengoku Jidai is written.
Re: Modifying campaign battle duration
Posted: Mon Feb 02, 2026 1:46 pm
by Bombax
Many thanks Richard, that's great - I'll give it a try.
Re: Modifying campaign battle duration
Posted: Mon Feb 02, 2026 4:39 pm
by Bombax
Just tried it and it works a treat.
Thanks again Richard for helping with this - the level of support you're providing for this family of games is incredible!
Best wishes,
Jay.