About this mod
A patch mod that allows Custom troops from My Little Warband to gain gunpowder skill through XML file editing.
- Requirements
- Permissions and credits
Or My Little Warband The Old Realms patch mod.
**UPDATE**
I am aware that the new TOR patch droped. And that the MLWB mod is currently not working for 1.2.0 beta.
This however will not make me back down. I will do my best to get this mod updated and improved as soon as I can.
Thank you.
Even though MLWBD is currently for 1.0.2 it still works when I tested it with TOR 0.3.3
(Will cause crashes tho)
As my First mod ever feel free to point out stuff, all critique is welcomed! :>
What is this even?
This is a mod that allows the player to add the gunpowder skill on the units they have created in game. and choose if they are vampires or not....
How do I use it?
Ahh! It's simple really!
- Create a troop tree with the My Little Warband Mod.
- Export that tree through the ingame option in the tavern.
- Go to exported xml file in modules and open it in notepad, notepad++ or what ever text editing software you use.
The file is in: Modules/"Your troop tree name"/ModuleData/. There it is named troops.xml - When you have opened it you will find your troops in code. Now dont freak out, this is simple here:
<skills >
<skill id="Athletics" value="25"/>
<skill id="Riding" value="0"/>
<skill id="OneHanded" value="25"/>
<skill id="TwoHanded" value="0"/>
<skill id="Polearm" value="0"/>
<skill id="Bow" value="0"/>
<skill id="Crossbow" value="25"/>
<skill id="Gunpowder" value="25"/>
<skill id="Throwing" value="5"/>
</skills>
What you have to do is simply add the skill : <skill id="Gunpowder" value="25"/> . Change the value on the skill to what ever you want. Want recruits that snipes Chaos 39204805894 KM away? go for it. But keep it with the other skills if you want a more lore friendly time. - No need to import the troops if you are going back to the same save where you created them! Otherwise hit import in the tavern option and then press "Insert".
- Buuuut I cant find the insert option? The insert key on your keyboard silly!
And there you have it!
As I wrote this is my first mod, and I'm still learning.
Goals:
Move the insert update to MCM.
Make the mod read the xml file better and add option int he mcm to adjust the skills, instead of you having to modify the xml yourself.
profit?.... Nah.
In the mod folder there will also be a folder with the source code project of the mod. Enter if you dare!!!!! My coding is horrible. But it get things done.
REQUIREMENTS!!!!!!
So, Ofc you gonna need My Little Warband and The Old Realms mods to run this.
And thats it. No other mods than those two and the required mods for the two.
TOR: https://www.moddb.com/mods/the-old-realms
MLWBD: https://www.nexusmods.com/mountandblade2bannerlord/mods/3164?tab=description
Credit & What is changed.
So all this mod does is looking at the Copy unit (xml unit) and compare it to the basic / elite unit that My Little Warband add for you to customize. The mod then replaces the data of basic / elite with the copy, as the import fuction does but also adds the gunpowder skill.
All the units gear, races and such goes fully to the TOR team. Who also was very nice answering my questions and very open on their discord :) You can find their mod here: https://www.moddb.com/mods/the-old-realms Or on the steam workshop.
Do I even have to tell you who LLmuse is or his mod My Little Warband? How did you get here?
https://www.nexusmods.com/mountandblade2bannerlord/mods/3164
So MLWBD is probably one of most famous mods for Bannerlord. And without his mod, this one wouldnt even have been made. I doubt he would make his version fit TOR or make a new one for every mod his fans wants MLWBD to work with.
If any credit is missed or anyone of the Authors of the mods I have patched together wants to add something just send a message. :D