This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Home
Anish Shenwai edited this page Apr 7, 2020
·
2 revisions
Welcome to the Bannerlord CommunityPatch mod wiki!
NexusMods: https://www.nexusmods.com/mountandblade2bannerlord/mods/186
- Use Vortex for automatic install Mod.io: https://bannerlord.mod.io/community-patch Manual: Download this project and unzip its contents to Mount and Blade II: Bannerlord/Modules/CommunityPatch
When you run bannerlord, make sure to enable the mod under SinglePlayer->Mods
Lot of helpful information on general bannerlord modding here: https://docs.bannerlordmodding.com/
Since a lot of the current outstanding issues are broken perks, here's a bit of a getting started guide
- Identify the perk you want to fix
- 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")
- 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
- 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)
- 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