Mount & Blade II: Bannerlord

Mod articles

  • Guide to load xml strings for mods

    Okay, so here's how I managed to add working custom text lines for the wanderers, the method will probably work for any text you want to add to the game through an xml file. Be aware that it requires a bit of coding (although you can just copy and paste the code I'll give you below and just change some names so it fits your mod).



    First of all, if you don't know how to set up your environment to program code for bannerlord, watch the first two videos of this playlist and follow what they do:
    https://www.youtube.com/watch?v=IotGd1MgZQw&list=PL-eEdYu_CymFEGjndmZRmM-gSg8AK66L_



    Next, you'll have to add the code in the .cs file (the file the guy in the video names Main):

    //CODE STARTS HERE
    using System;
    using Syste...