LiaisonTools turn limits for export battles

Post Reply
zepalz
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Thu Apr 06, 2023 6:40 pm

LiaisonTools turn limits for export battles

Post by zepalz »

digging around the .bsf im having a hardtime undersanding where the 25 turn limit comes from with the exported empires battles that are loaded into fog2. is thier some scenario file thats parsed somewhere? is it packaged into some compress file? is thier a hacky way to override it. perhaps in GetUniversalVar("ScenarioDeadline") aka MoreScenarioTools.bsf.

ideal id like it abit more dynamic... and at the very leaste able to turn it up if i want to.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28095
Joined: Sun Dec 04, 2005 6:25 pm

Re: LiaisonTools turn limits for export battles

Post by rbodleyscott »

It is just the default value for random map battles.

Some of the relevant code is in the engine, which you (and I) don't have access to the source code of, which makes it harder to follow.

However, it is actually controlled by the

SkirmishDefaultTurns 24

line in /Config/system.txt

If you alter that, it should (I think) alter the number of turns in Liaison battles.

However, it may have odd effects in MP games, so you would need to change it back (and restart the game) before playing MP.
Richard Bodley Scott

Image
Post Reply

Return to “Field of Glory II: Modding”