Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

BUTR

Uploaded by

Aragasas

Virus scan

Safe to use

About this mod

Extension library for Mount & Blade II: Bannerlord containing common functions for modification development.

Requirements
Permissions and credits
Changelogs
Sources available at GitHub!

Installation
This module should be one of the highest in loading order. Ideally, it should be second in load order after Bannerlord.Harmony

For Players.
This mod is a dependency mod that does not provide anything by itself. You need to additionaly install mods that use it.

For Modders
Highlighted features:
  • CampaignIdentifier - Associates unique string ID with every campaign based on the initial character.
  • DistanceMatrix - A generic class that pairs given objects of type MBObject and for each
  • pair calculates the distance between the objects that formed it.
  • DelayedSubModule - Execute code after specific SubModule method.
  • SubModuleWrappers - Wraps MBSubModulebase for easier calling of protected internal metods.
  • AccessTools2 - Adds delegate related functions.
  • SymbolExtensions2 - More lambda functions.
  • AlphanumComparatorFast - Alphanumeric sort. This sorting algorithm logically handles numbers in strings.
Check the /Articles section in the documentation to see all available features!

Troubleshooting
Unblocking DLL's
You may need to right click on every Bannerlord.ButterLib.*\bin\Win64_Shipping_Client\*.dll
 files, click Properties, and click Unblock if you extracted the zip file with Windows Explorer or other programs that try to secure extracted files.
Harmony installation issues:
Check Harmony's Troubleshooting for more info on how to fix it.