VektorT wrote: ↑Tue Jun 04, 2019 8:43 pm
I'm coming back to Field of Glory 2 after a long time and one of the things I always wanted tweaked back then was longer battles, mainly with tweaking the % of routed units needed to win. Is there any mod that does it right now? If not so, is it possible for me to change it myself in the files?
I think that you mean the campaign battles where we cannot continue the fight after achieving VC. You can change these VC following next steps:
1) If it's the original game campaign you should copy the campaign folder from the main game (
Campaigns folder) to C:\Users\(
Your user name)\Documents\My Games\FieldOfGlory2\CAMPAIGNS\ and change the campaign name in TEXT1.TXT (string IDS_CAMPAIGN_NAME, e.g. IDS_CAMPAIGN_NAME, "3rd Century Crisis modded",). If it's the user campaign then you miss this step.
2) Copy
Slith_RandomMap2.BSF and
$DEFAULT.BSF files from the main game (
\Data\Battle\Scripts\ folder) to C:\Users\(
Your user name)\Documents\My Games\FieldOfGlory2\CAMPAIGNS\
Your campaign name\DATA\Battle\Scripts\. If there no Battle or Scrips folders in your campaign folder you should make them.
3) Open
Slith_RandomMap2.BSF in your campaign folder with Notepad++, find string 827 -
StandardCampaignVictoryConditions(60, 40, 60, 40, drawdecider, MPgame);. In brackets you can see two breakpoints for the campaign battles - 60 and 40 (the first pair for player side, the second one for AI side). If you wish longer battles you should reduce these values (e.g. 50 and 30 or 45 and 25). These numbers indicate the amount of remaining troops.
4) Optional step. Make
Text9.txt with Notepad++ in C:\Users\(
Your user name)\Documents\My Games\FieldOfGlory2\CAMPAIGNS\
Your campaign name\. Open the file and copy into it two strings
IDS_SCENUI_VC_STANDARD, "Rout the enemy army by:~a) Routing at least 40% of their troops and ", and
IDS_SCENUI_VC_STANDARD1, "% more than you have lost, or~b) Routing 60% of their troops.",. You can replace 40% and 60% routed units with your values.(e.g. if you put 50 and 30 in
Slith_RandomMap2.BSF, you should put 50% and 70% instead of 40% and 60%).
And make these changes only in C:\Users\(
Your user name)\Documents\My Games\FieldOfGlory2\CAMPAIGNS\
Your campaign name\, not in the main game folder!