Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

helokero13

Uploaded by

helokero13

Virus scan

Safe to use

Tags for this mod

About this mod

Created on e1.5.4 - Allow customize the equipment of a custom troop tree

Requirements
Permissions and credits
Translations
  • Turkish
  • Russian
Changelogs
Created at e1.5.4. Main branch and Beta have respective file.
Mod function:
  • Customize the equipment, rename & change gender of a custom troop tree
  • Train custom troop unit by main hero or companion (Default is OFF)
  • Recruit custom unit using influence (Default is OFF)
  • Convert other culture tier 1 unit into tier 1 custom unit(Default is OFF)

Reminder to customize the equipment of a troop tree.
  • Before updating the mod, BACK UP your CampaginSave First.
  • The menu are located inside town keep, But FIRST YOU HAVE TO BE A LEADER OF A KINGDOM in default (Configurable)
  • At the beginning, all troops has no equipment, but the stat had set.
  • Equipment Selection: Just place the desired equipment from the left item list to the main character equipment in order to change the unit equipment (Battle / Civilian)
  • Each campaign will have it own troop tree xml. (Location: ..\CustomTroop\ModuleData\CampaignSave)
- These will be created when starting or loading a campaign based on custom_troop.xml
- Game will only recognize custom_troop.xml, but the mod will then update unit info based on CampaignSave xml.
  • Modify custom_troop.xml in ModuleData will affect all campaign, while modify respective xxxxx_custom_troop.xml in CampaignSaves will only affect single campaign
  • If you think the custom troop are too many, you can replace custom_troop.xml with custom_troop_fewer_troop.xml or just modify the xml file yourself whether you want to add or reduce the troop, just know what you are doing and make sure you modify things correctly
  • Transfer Troop Tree to another campaign:
  • Start a new campaign
  • Save Game
  • Go to CampaginSaves
  • Make a copy of the xml file you want to transfer, i.e. the troop tree you want to transfer (e.g. 55018132-e244-4cb7-90fc-a51efa20b469_custom_troop.xml)
  • Rename the copy to the current campaign xml file
    (e.g. 55018132-e244-4cb7-90fc-a51efa20b469_custom_troop - copy.xml -> 63689d57-a2d8-47d5-9a05-fb0d6a60557b_custom_troop)
  • Remove troop WARNING: Remove unit record if any from xml and from upgrade target. 
    IRREVERSIBLE. It will CORRUPT your SAVE if there are unit left in the map (1.7.2 add a function to delete the remove troop from map, but still not sure if there may be unit that are not in Partybase list but in some other places), loading will not save your save either Use it carefully since it will update both specific campagin.xml. And more importantly the custom_troop.xml will also get updated, which means it will affect all campaign and future campaign.Core unit will not be able to be removed to prevent crash.
Training
  • Train by player or send out a companion to train a selected unit
  • The unit stat will increase, the max will be the skill value of the companion.
Change Culture Name
  • Go to  ..\CustomTroop\ModuleData
  • Open custom_culture.xml
  • Find name="{=customFaction}Custom"
  • Change the name to whatever you want, i.e. name="{=customFaction}New Name"
  • Be aware, this will apply to all campagin

Recruiting Custom Unit:
STRONGLY RECOMMED Using with my two other mods:
  • With Select All Kingdom Culture, you can select the custom culture(using the empire culture as template, didn't modify a lot of things, just changed the a few troop and party template) when creating the kingdom
  • With Changing Culture, you can enable change settlement culture first, then wait for settlement to change the culture to custom IF your Clan culture IS CUSTOM, then you will be able to recruit the custom unit in your owned settlement

Way to recruit custom unit without other mods:
  • If you decide not to play with these mod or any other mods that does the similar things, then you have following methods to get custom unit.
  • Developer console - campaign.give_troop xxxx x
  • Enable influence recruit in config.json(Just look below)
  • Enable transfer to custom unit, allow transferring other culture tier 1 unit into that of custom unit in config.json(Just look below)

Configuration: (Location: ..\CustomTroop\bin\Win64_Shipping_Client\config.json )
  • "enableCustomUnitWithoutKingdom": Enable manager custom unit without joining kingdom, but still need to own a settlement. Default is OFF.
  • "enableTranferToCustomUnit": Enable transfer basic troop to custom recruit; elite basic troop to custom noble recruit. Default is OFF.
  • "enableManageEquipment": Enable manage equipment of custom unit. Default is ON.
  • "enableCraftedEquipment": Enable crafted equipment for equipment of custom unit. Default is ON.
  • "onlyUserInventoryEquipment": Only Equipment in player inventory will be allowed to equip for custom. Default: OFF.
  • "upgradeCostMultiplier": The upgrade cost for using a equipment. Default is 2, i.e. item value * 2.
  • "equipmentLimitByUnitTier": The unit cannot select an item which item tier is above the unit tier. Default is ON.
  • "enableInfluenceRecruit": Allow using influence to recruit Tier 1 custom recruit and custom noble. Default is OFF.
  • "recruitRecruitCostMultiplier": Influence cost for recruiting custom recruit. Default is 1. (Tier for recruit is 1, so cost is 1)
  • "recruitNobleCostMultiplier": Influence cost for recruiting custom noble recruit. Default is 5. (Tier for noble recruit is 2, so cost is 10)
  • "enableTrainUnit": Allow to player to train or send companion to train a custom troop type. Default is OFF.
  • "trainTimeShort", "trainTimeMedium", "trainTimeLong": Skill value get from training based on training days and tier(i.e. short, medium, long), the effect are constant. The maximum value is based on trainer.

Known Issues: 
  • Equipment selection screen: Alt + tab or Alt + ~ (Open console) will result in game freezing.



Check Out My Other Mods~
Special Loot: Earn a special loot after a epic battle
Forge For Me:  Weapon forging and enhancement
Raise Relation With Town And Village: Raise some stat related to town, castle and village
Necromancy And Summoning : Allow dead enemy troop to fight for you & Use throwing weapon to summon defined unit