Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

naiski

Uploaded by

naiski3

Virus scan

Safe to use

About this mod

Adds a missing feature that allows mercenary contracts to expire or be renewed after 30 days. Just like in Warband.

Permissions and credits
USE ARAGAS'S LIMITED MERCENARY CONTRACT MOD INSTEAD

It is more robust than this one and I'll probably end up using it myself.




In the current version of Bannerlord (e1.0.5) mercenary contracts do not expire and choosing to end the contract penalizes you as though you had ended vassalage. This really bugged me since I always found working as a mercenary to be a great way to build up to starting my own kingdom. I got tired of waiting for this to get fixed so I made a mod to fix it myself. After working as a mercenary for 30+ days a menu will pop up asking if you would like to renew the contract or allow it to expire. Choosing to allow to contract to expire will cause you to leave the kingdom you are working for and surrender any fiefs you own back to that kingdom without suffering any relationship penalties.

Installation Instructions:
  1. Download the zip file.
  2. Unzip the zip file.
  3. Copy the "Modules" folder to your "Mount & Blade II Bannerlord" directory.

You should now have the following directory structure:

Mount & Blade II Bannerlord
|---- Modules
|-------- MercFix
|------------ SubModule.xml
|------------ bin
|---------------- Win64_Shipping_Client
|-------------------- MercFix.dll


Troubleshooting:
  • Try disabling all other mods.
  • Make sure "SubModule.xml" and "MercFix.dll" are in the proper directories (see above).
  • Mod crashing on load?
- Navigate to "Modules > MercFix> bin > Win64_Shipping_Client" in your game files.

    - Right click the "MercFix.dll" and click properties
    - Click unblock at the bottom.





Changelog:
  • v1.0.1:  Fixed a bug where if the player happened to be waiting in a town/village when the contract menu pops up they would be stuck inside the town/village when the menu closes.  The mod should now switch back to the previously open menu if a menu was open when the contract menu triggers.
  • v1.0.1:  Changed the directory structure in response to a suggestion in the comments.  This should allow the mod to be installed via "vortex" though I haven't tested it myself.
  • v1.0.1:  Added a field to SubModule.xml in response to a suggestion in the comments.  Supposedly this improves compatibility with other mods.
  • v1.0.2:  Changed from using game menus to inquiry popups.
  • v1.0.3:  Changed the method by which the player leaves the kingdom in order to attempt to fix a bug where the player clan is not considered independent despite having ended the contract.

Known Issues:
  • Clan banner does not revert until the player accesses a menu and exits it.  No plan to fix this since the workaround is simple and the fix likely isn't.
  • The background of the menu has "TEMP" written on it in big ugly letters.  I'd love to change this but curiously every other "MenuOverlayType" I set crashes the game.


Source:  https://github.com/naiski/MercFix


Disclaimer:  This is the first mod I've ever written so please let me know in the comments if you encounter any issues.  It is possible that this mod will not be compatible with others as it required me to override a few methods.  If there seems to be enough demand and TaleWorlds still hasn't fixed this issue themselves I will look into trying to make it more compatible with other mods.