ReneTS wrote:Hi
Is it possible to mod the appearance of garrisons when a battle is joined, so they never show up, or in much lower strength?
It is possible to mod almost anything, but will require some scripting.
To do what you want, you would just need to alter the GetProvinceAvailableMilitiaPoints() function in CampaignTools.BSF.
We would recommend that you do not do this in the main installation.
What you should do is go into the Editor and make a clone of the campaign you want to mod. The clone can be found in \My Documents\My Games\SJIDAI\CAMPAIGNS
The file folder tree in custom campaigns is not exactly the same as in the main game. See the chart at the end of
http://www.slitherinebravo.net/GameWiki ... tub_engine
If your cloned campaign is \My Documents\My Games\SJIDAI\CAMPAIGNS\
ModdedCampaign
you need to make
\My Documents\My Games\SJIDAI\CAMPAIGNS\
ModdedCampaign\Data\Battle\Scripts folders.
Copy into that folder:
$Default.BSF from the main installation \Data\Battle\Scripts
and
CampaignTools.BSF from the main installation \Data\scripts
You can then edit the GetProvinceAvailableMilitiaPoints() function in this file.
You just need to change 300 on line 7054 and 150 on line 7058 to lower figures. (These are the maximum number of points of militia for originally owned provinces and captured provinces).
Your cloned campaign will then use the modded script but otherwise be identical to the vanilla version of the campaign.