Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

B0TLANNER

Uploaded by

BOTLANNER

Virus scan

Safe to use

About this mod

Siege Loadout adds an additional equipment loadout (weapons, armor, mount) for heroes on the inventory screen. It provides settings to enable using this loadout in sieges (the reason for the mod) as well as optionally in tournaments, hideouts, etc.

Requirements
Permissions and credits
Changelogs
Siege LoadoutBecause one loadout is not enough

Siege Loadout adds an additional equipment loadout (weapons, armor, mount) for heroes on the inventory screen.

It provides settings to enable using this loadout in:

  • Sieges
  • Tournaments (optional, armor only)
  • Hideouts  (optional)
  • Sally out battles (optional)
  • Battles outside a siege (optional)



New settings in v1.0.1



This is especially useful if you want your main battle loadout to be mounted and have some specific weapons that don't really work well in sieges. Or if you want your ranged weapons and shields in sieges but your usual battle loadout is mostly polearms...

Now you don't have to keep swapping them out or give up and use the same weapons for all kinds of battle events, since you can use a dedicated loadout for those kinds of battles.

When not in civilian outfit tab, there will be two additional toggles at the bottom of the inventory screen where you can switch between Battle Outfit and Siege Outfit. This applies not only to the player character but any companions you want to give siege outfits as well.



From v1.0.1 onwards, Siege Loadouts are part-based.

  • If the setting "Enforce Full Set" is enabled, the whole Siege Loadout will be used as is.
  • If the Siege Loadout is empty, the Battle Loadout will be used If the "Use Battle Loadout Mount and Harness" setting is not enabled, the mount and harness from the Siege Loadout will be used.
  • If the Siege Loadout has any weapons, all the Siege Loadout weapon slots will be used.
  • If the Siege Loadout has head armor, the head armor from the Siege Loadout will be used.
  • If the Siege Loadout has body armor, the body armor from the Siege Loadout will be used.
  • If the Siege Loadout has leg armor, the leg armor from the Siege Loadout will be used.
  • If the Siege Loadout has gloves, the gloves from the Siege Loadout will be used.
  • If the Siege Loadout has shoulder armor, the shoulder armor from the Siege Loadout will be used.
  • For pieces other than mount and harness that the Siege Loadout does not populate, the Battle Loadout will apply.



Compatibility and Technical

This mod adds additional behaviours to the game to support the siege loadout as well as patches some base game features. This mod also augments the save with additional information in order to save and load the extra loadout.

This mod uses the save base ID of 300_711_200. Any mod that affects the same id might have clashes and cause compatibility issues when saving/loading.

In technical terms, any mods that touch the following might experience compatibility issues:

Gauntlet UI Prefabs extended with UIExtenderEx:
  • Inventory.xml ( XPath -> /Prefab/Window/InventoryScreenWidget/Children/CharacterTableauWidget/Children/ButtonWidget)

Harmony Patches
  • DefaultTournamentModel (Method -> GetParticipantArmor)
  • Hero (Methods -> CheckInvalidEquipmentsAndReplaceIfNeeded, ResetEquipments)
  • SPInventoryVM (Methods and Properties -> get_ActiveEquipment, UnequipEquipment, UpdateCharacterArmorValues, EquipEquipment)
  • TransferCommandResult (Property -> get_TransferEquipment)


Open Source
This mod is open source. As I am not actively playing the game much anymore, it takes time for me to maintain it. Should you wish to see it updated faster, please create a PR with the suggested fix on the repo.

Github Repo (https://github.com/BOTLANNER/BannerlordSiegeLoadout)