Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
Anish Shenwai edited this page Apr 7, 2020 · 2 revisions

Welcome to the Bannerlord CommunityPatch mod wiki!

Installation

NexusMods: https://www.nexusmods.com/mountandblade2bannerlord/mods/186

Usage

When you run bannerlord, make sure to enable the mod under SinglePlayer->Mods

Developer's Guide

Lot of helpful information on general bannerlord modding here: https://docs.bannerlordmodding.com/

Fixing Perks

Since a lot of the current outstanding issues are broken perks, here's a bit of a getting started guide

  1. Identify the perk you want to fix
  2. Look under Mount and Blade II: Bannerlord/Modules/SandBox/ModuleData/Languages/std_TaleWorlds_CampaignSystem.xml for the id of the perk you want to fix (eg: "Agrarian" perk simply has text "Agrarian" with id "XNc2NIGL")
  3. Open up CommunityPatch.sln under Mount and Blade II: Bannerlord/Modules/CommunityPatch/src/CommunityPatch
    • Use your IDE of choice - Jetbrains Ride or Visual Studio are common good options
  4. Create a new class that implements interface IPatch.
    • For perks the naming convention seems to be Patch (so StewardAgrarian fixes the Agrarian perk for the Steward skill)
  5. You can find more examples of how perks are implemented by using a decompiler (such as JetBrains DotPeek) to look at how perks are implemented under Mount and Blade II: Bannerlord/Win64_Shipping_Client/TaleWorlds.CampaignSystem/DefaultPerks
Clone this wiki locally