Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

Sidies

Uploaded by

Sidiess

Virus scan

Safe to use

About this mod

Customize your fief management with recruiters, advanced troop training with templates, automatic garrison recruitment, a standalone UI, custom parties with orders and more!

Requirements
Permissions and credits
Translations
  • Turkish
  • Spanish
  • Russian
  • Portuguese
  • Korean
  • German
  • French
Changelogs
Donations



Improved Garrisons is a Mount & Blade Bannerlord mod which aims to improve the management of your
castles and settlements. With this mod each of your fiefs will gain an Improved Garrison which allows
the usage of new advanced and customizable features such as recruitment, garrison training and guard parties which use a custom AI to defend your fiefs region.



Standalone UI
  • Configurate each Castle or Settlement individually
  • Activate & Deactivate the mod as you wish. Ongoing campaign or new one doesn't matter!
  • Manage your Improved Garrisons from everywhere on the map
  • A compact overview of each of your fiefs. You have an overlook about which of your settlements, castles or villages are under attack, are destroyed or are in peace

Recruitment
  • Recruit new troops automatically from nearby villages to your garrison
  • Recruit prisoners automatically overtime
  • Set a threshold to which the mod will recruit new troops. If the threshold is reached (like 100 default) no more units will be recruited to the garrision
  • Create Recruiter parties
  • Recruiters recruit troops from outside of the garrisons region (the fief and it's villages)
  • Recruiters can be told to recruit troops of a specific culture
  • Tell the recruiters how many troops to recruit
  • Tell the recruiters to only recruit elite troops and they will collect your battanian archers for you!

Training
  • Train garrisoned troops automatically
  • Use a Template Manager to customize and apply your very own training template
  • The Improved Garrison will automatically upgrade troops according to your training template
  • Training templates are synchronized across all your saves
  • Compose & train your next army as you wish in your garrisons
  • Templates may be unique for each garrison. Use one to train an Empire army and another to train your Khuzait Bow Riders
  • The Improved Garrison will automatically recruit all needed troops for your training template. Just select the type and number of units you want and wait for the recruitment and training to be finished

Custom AI
  • Establish Guard parties out of your garrison troops
  • Guard parties can be given different orders
  • Guard parties defend your villages, castles and settlements
  • You can order Guard parties to follow you into war. They help you siege and in your field battles
  • Order Guard parties to defend clan parties like caravans or other companions parties
  • Guard parties capture prisoners for you and even sell them
  • Guard parties are self-sufficient. They refill with new troops from the garrison if you wish and heal themselves if wounded
  • Guard parties buy horses from towns if you wish to gain additional movement speed
  • Guard parties acquire loot from killed parties and sell it
  • Guard parties are smart. They use their own special AI which thinks about stuff like "I should defend XY village", "I shouldn't attack XY party it is to fast or to strong", "I should go back to a settlement and heal my units", and much more!

Additional Features
  • Set the mod values as you wish with an in game configuration menu
  • Adjust many base game Garrison related settings
  • Turn this mod for AI on/off (turn it on if you want a challenge. Try it!)
  • Transfer Garrison units from one Garrison to another
  • Enable cheats related to your garrison like Garrison's don’t need food or disable the garrison costs
  • And probably much more I forgot to mention or included in a new update (I don't always update this list)


Installation
(You can savely install & update this mod even with an ongoing campaign)

  1. Download the mod manually from this website on the right hand corner
  2. Extract the file
  3. Copy and paste the downloaded folder ImprovedGarrisons to [your_steamAppsfolder]/common/Mount & Blade II Bannerlord/Modules
  4. Now go into the pasted ImprovedGarrisons folder ImprovedGarrisons/bin/Win64_Shipping_Client and right click the file ImprovedGarrisons.dll. Check at the bottom of the opened window if you find a tick-box called "Unblock". Tick the box and press ok. If you don't have this option you are already good to go.
  5. Start the the game from Steam
  6. In the Launcher find and press Mods
  7. Find Improved Garrisons and activate it
  8. Enjoy!

Deinstallation
(You can savely deinstall the mod even with an ongoing campaign)

  1. Activate the "delete all Improved Garrisons Parties" option ingame in the configuration menu of Improved Garrisons
  2. Save & quit the game
  3. Deselect the Improved Garrisons mod in the M&B Launcher



With the current implementation of mods in Mount and Blade Bannerlord it is CRUCIAL to regularly update to the latest mod version!

  1. GoTo your_steamAppsfolder/common/Mount & Blade II Bannerlord/Modules
  2. Find and Delete the old ImprovedGarrisons Folder
  3. Extract the new mod version to the Modules folder
  4. Start the the game from Steam
  5. In the Launcher find and press Mods
  6. Find Improved Garrisons and make sure its activated
  7. Enjoy!



This mod is multiple times proven to work for an ongoing campaign and to not corrupt the savefile after deactivation. But your game might crash if you are also using another mod with similar functionality.

This mod is a standalone mod there are no requirements needed!


If you have compatiblility issues

1. Use the Compatibility options provided by this mod
> Go to the config.xml file of this mod (see the Mod Configuration section above)
> You have two posibilities to try either
> Set <LoadCustomPartySizeModel> to true (prefered) OR set <LoadCustomPartySpeedModel> to true
> Try to start your mod setup with either set to true if it crashes try the other
> If it crashes anyways you could set both to false and Improved Garrisons would still work BUT your transferparties and your guard parties will move very slow!

2.Change the load order
> Put Improved Garrisons at the bottom

3. Use other mods that enhance mod support
> Fixed Launcher
> Bannerlord Mod Launcher



If you have crashes

Most of the time one of the following reasons is the cause of a crash.


1. The dll file of Improved Garrisons has been automatically blocked by Windows. To unblock Right click on ImprovedGarrisons.dll found under Modules/ImprovedGarrisons\bin\Win64_Shipping_Client_\ImprovedGarrisons.dll and select Properties. In the popup window, check the unblock checkbox at the bottom of the General tab. (If it is there)



2. The mod threw an error. If so you can find this error under ImprovedGarrisons/ModuleData/ErrorLog.xml. Please consider making a full bug report


If The mods config and/or the garrison settings are not saved and reset on reloading the save

This is most likely related to permission issues. The mod saves it's files at Documents/Mount and Blade II Bannerlord/Configs. If the mod is missing the permissions to create a new folder or write data to files, the settings can't be saved. To fix this run the game as administrator. You can do this by going to your games folder Mount & Blade II Bannerlord\bin\Win64_Shipping_Client and right-click TaleWorlds.MountAndBlade.Launcher.exe and press run as administrator.



If you find a bug

If you find a bug please report it under the BUGS tab at the beginning of this page.
> Open the the ErrorLog file found in Improved Garrisons/Moduledata/ErrorLog.xml and copy all the data to your report




This mod uses a config.xml file to adjust its settings. Use this to adjust (almost) every mod value as you like. For example dailyExp, Enable the mod for NPCs, adjust garrison size, adjust garrison wage and much more.

> you can adjust this mods settings in the configuration menu by pressing Alt + G ingame

(Alternatively)
This is how you find the config file: (Make sure you have at least once loaded your game so the config is generated!)
Under \Documents\Mount and Blade II Bannerlord\Configs\ImprovedGarrisons
Rightclick the config.xml file
Press edit
Change the values to your liking



Where do I find the menu?
After you get your first fief once you enter the settlement/castle the Improved Garrison Tutorial will open
and explain to you the basics about the Improved Garrisons Menu.

Do I have to have a own kingdom for this mod to work?
No! This mod works on every settlement or castle you own no matter if you own a kingdom or are part of one.

The mod doesn't seem to work. What should I do?
1. Check if the mod has been loaded. There should be a message in the chat
window when starting the game. If there is no message please refer to
the How to install section for possible solutions
2. If the Recruitment stops the threshold of your Garrison might be reached. If
the recruitment threshold setting is set to 250 and your Garrison has
more than 250 units, the auto recruitment will stop.
3. Recruitment or training might be turned off. Please check your Garrison menu. 
4. A error has been reported to your chat window. If so please report it in the bug section

If my garrison is full will this stop the auto recruitment?
Yes!

Does the upgrade and recruitment cost money?
Yes it does. It costs the usual amount of money as if you would do this by hand.

What units are recruited by the garrisons?
There are two different recruitments with Improved Garrison. The "Recruiter
parties" and the "Region Recruitment". The Region Recruitment will
recruit troops from the surrounding villages and the castle/settlement
itself. The Recruiter parties are used to recruit from outside the
region. With a recruiter it is possible to collect troops from all
available cultures

How is the upgrade unit determined if there are multiple upgrades possible?
This depends on your current template. If the troop that is upgradeable has a
possible template target in his upgrade paths it will be upgraded
towards this path. If not the upgrade will happen randomly. If there are
multiple template troops in its path, the Improved Garrison will
randomly select between those paths.

Does the mod affect the AI?
Only if you turn this on in the settings. Please refer to the Configuration section.

How is the daily exp this mods gives to garrison units calculated?

The mod gives each troop-roster a set amount of exp multiplied by the
amount of units this troop-roster has. If you have 20 recruits and they
need 250Exp to upgrade and in the mods config.xml file the daily exp
gain is set to 50, they will get 50*20 = 1000 Exp. As a unit from this
troop-roster needs 250Exp, the upgrade logic will upgrade 1000/250 = 4
Units.

How a new garrison troops recruited?
If you have recruit from villages enabled in the config.xml (default) and enabled
the recruitment in your garrisons menu (default), the recruitment logic
of this mod will lookup each bound village and this settlements units
that are able to be recruited by the player. Be aware that the amount of
available troops to recruit is affected by the relation a player has
with this villages. Once the recruitment logic has gathered a minimum
amount of recruits (5 by default changeable in the config) a party of
the available villages recruits will be created and send on its way to
the garrison. The recruits will be removed from the villages pool so it
will take some time for the village to generate more troops. The
recruitment logic will also look at the settlement itself. If the
settlement generated new recruits they will also be recruited.

How are prisoners recruited?

Each prisoner in mount and blade has his own conformity value that needs to
be reached in order to be recruitable. You could run around with your
prisoner and fight to build up this conformity. This mod allows you to
put your prisoners into your castle (or settlement) to gain conformity
on a daily basis. (They will have it so nice in their cells, that they
will like you overtime. I promise there is no brainwashing happening!
(maybe))

Help after installing this mod my economy has taken a big hit!
Please be aware that having big armies stocked up in your garrisons is bound
to be expansiv! If you can't handle this with your current economy,
please adjust your Improved Garrisons Settings accordingly. Alternativly
you can use the cheat section in the config of this mod to help your
economy out.

How does the training of troops work?
Each day your garrisoned units get a set (but customizable) amount of exp.
Once they are able to be upgraded one of two things happen. If you did
choose their upgrade path by creating a training template, the Improved
Garrison upgrade logic will upgrade towards this template target. If no
target has been set, their path will be choosen randomly. But you can
restrict their tier if you for instance only want to have tier 3 troops
to lower costs.

Is this mod compatible with XY mod?
I'm aiming for this mod to be as compatible as possible. But I can't
promise that there won't be compatibility problems when installing mods
with similiar features.

What does LoadCustomPartySizeModel and LoadCustomPartySpeedModel do?
Basically this models can only be used by one running mod. If another mod is
running one of these models and you load it in Improved Garrisons
you will have a crash. Therefore I implemented the posibility to load or not load these models.
The PartySizeModel and PartySpeedModel for Improved Garrisons are used in
such way, that they basically are used to allow the guard and transfer
parties to have a "normal" movement speed. If the PartySizeModel is not
loaded, the size for the guard parties can't be higher than 20 without
having a massiv movement speed reduction (to about 1). If you say don't
want to use the partySizeModel for compatiblity reasons (another mod you
want to use is using the model) you could change it to use the
PartySpeedModel. This allows to override the set movement speed of
around 1 to a choosen value (default 4.8).p each bound village and this settlements units that are able to be recruited by the player. Be aware that the amount of available troops to recruit is affected by the relation a player has with this villages. Once the recruitment logic has gathered a minimum amount of recruits (5 by default changeable in the config.xml) a party of the available villages recruits will be created and send on its way to the garrison. The recruits will be removed from the villages pool so it will take some time for the village to generate more troops.

How are prisoners recruited?

Each prisoner in mount and blade has his own conformity value that needs to be reached in order to be recruitable. You could run around with your prisoner and fight to build up this conformity. This mod allows you to put your prisoners into your castle (or settlement) to gain conformity on a daily basis. (They will have it so nice in their cells, that they will like you overtime. I promise there is no brainwashing happening! (maybe))

Help after installing this mod my economy has taken a big hit!
Please be aware that having big armies stocked up in your garrisons is bound to be expansiv! If you can't handle this with your current economy, please adjust your settings in your garrisons accordingly. Alternativly you can "cheat" a little and lower the costs in the config.xml file of this mod.

How does the training of troops work?
Each day your garrisoned units get a set (but customizable) amount of exp. Once they are able to be upgraded one of two things happen. If you did choose their upgrade path by selecting a specific upgrade target you want the unit to upgrade to, the Improved Garrison upgrade logic will upgrade to this target. If no target has been set, their path will be choosen randomly. But you can restrict their tier if you for instance only want to have tier 3 troops to lower costs

Is this mod compatible with XY mod?
Im aiming this mod to be as compatible as possible. But I can't promise that there won't be compatibility problems when installing mods with similiar features.

How many guards can I create?
Each Improved Garrison you own can have 1 guard party. Other than that there is no limit to the amount of guard parties.

What does LoadCustomPartySizeModel and LoadCustomPartySpeedModel do?
Basically this models can only be used by one running mod. If another mod is running one of these models and you load it in Improved Garrisons
you will have a crash. Therefore I implemented the posibility to load or not load these models.
The PartySizeModel and PartySpeedModel for Improved Garrisons are used in such way, that they basically are used to allow the guard and transfer parties to have a "normal" movement speed. If the PartySizeModel is not loaded, the size for the guard parties can't be higher than 20 without having a massiv movement speed reduction (to about 1). If you say don't want to use the partySizeModel for compatiblity reasons (another mod you want to use is using the model) you could change it to use the PartySpeedModel. This allows to override the set movement speed of around 1 to a choosen value (default 4.8).