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
  • Ukrainian
  • Turkish
  • Spanish
  • Russian
  • Portuguese
  • Polish
  • Mandarin
  • Korean
  • Italian
  • German
  • French
Changelogs







Improved Garrisons is a Mount & Blade Bannerlord mod which aims to improve the management of your
castles and settlements. With this mod a Improved Garrison will be added to each of your fiefs which allows
the usage of new advanced and highly customizable features such as recruitment, garrison training and guard parties with
a custom AI to defend your properties. Some of the main principles of the mod are compatibility, convienience and
delivering a balanced experience to your bannerlord playthrough.



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!

Management
  • View important stats for each of your fiefs like food stocks, gold income and prosperity
  • View the garrison of each of your fiefs from anywhere on the map
  • Transfer Garrison units from one Garrison to another
  • Manage your town projects like adding/removing projects from anywhere on the map
  • View your town projects progress and easily boost them by adding reserve
  • View every upgrade and recruitment of your garrison in a activity log


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!)
  • 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)

  • Download the mod manually from this website on the right hand corner
  • Extract the file
  • Copy and paste the downloaded folder ImprovedGarrisons to [your_steamAppsfolder]/common/Mount & Blade II Bannerlord/Modules
  • 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.
  • Start the the game from Steam
  • In the Launcher find and press Mods
  • Find Improved Garrisons and activate it
  • Enjoy!

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

  • Activate the "delete all Improved Garrisons Parties" option ingame in the configuration menu of Improved Garrisons
  • Save & quit the game
  • 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!

  • GoTo your_steamAppsfolder/common/Mount & Blade II Bannerlord/Modules
  • Find and Delete the old ImprovedGarrisons Folder
  • Extract the new mod version to the Modules folder
  • Start the the game from Steam
  • In the Launcher find and press Mods
  • Find Improved Garrisons and make sure its activated
  • 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 has an ingame configuration menu which allows you to to adjust (almost) every mod value as you like. To open this menu either press ALT + G ingame or use the configuration button at the bottom of the Improved Garrison UI window.

(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. Recruitment or training might be turned off. Please check your Garrison menu. 
3. 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 manually.

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 are new garrison troops recruited?
If you have recruit from villages enabled in the mods configuration (default) and
enabled the recruitment in the Improved Garrisons UI, the recruitment logic
of this mod will lookup recruits in each nearby village and the settlement itself
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).