Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

Grisch

Uploaded by

PlasticRat

Virus scan

Safe to use

Tags for this mod

About this mod

Hybrid implementation of the 1.6 party screen formation assignments alongside the current Order of Battle formation slider widget things. The mod lets you pre-assign any troops you want to a specific formation in the party screen. In the OOB screen the slider will not move them from that formation.

Requirements
Permissions and credits
Re-implements the party screen formation assignments for troops that was removed after the 1.6 patch. This is a hybrid implementation that keeps the current pre-battle "Order of Battle" troop assignment system with the sliders and filters. However, if you have pre-assigned troops in the party screen, they will stay in their assigned units regardless of what you do with the slider.

The last formation assignment (VII) 'unsets' the troops and allows them to move freely between formations in the OOB screen.

It's a bit janky right now, as the mod essentially just moves the previously assigned troops back to their formation every time after the slider code has finished moving everything. This creates an effect where they will 'jump' back to their original formation and the slider will jump back up again. It's not ideal but I have an idea on how to fix it.

There's also an issue where if a formation you've assigned troops to hasn't been 'enabled' yet on the OOB screen, the troops won't be assigned there until you enable it and move the slider. They'll then jump to that formation after you move the slider.

This is just to get this out there for now and I'll be adding some improvements as I get time.

Next steps:
- Fix the jank. I want to add some code to make the assigned troops invisible to the slider code so they never leave the formation and don't rubberband around. Should make it look a bit more professional.
- Improve the party screen icons and tooltips. Right now the tooltips mention stuff like "Infantry" and "Archers" when really that is all meaningless now, it's just a formation number between 0 - 8 (Because arrays start at 0...)
- Figure out if I need to do anything with companions being re-assigned as captains that the player may already have assigned in the party screen.
- Have a sit down with Will Smith and find out what's really up with the guy. I mean come on, you know that stuff didn't just happen in a vacuum. Right?

Special Thanks
Gnivler For being patient enough to explain stuff like I'm 5, as well as being a coding god. Check out his mods. Bandit Militias is one of my all-time favorites.
OrderWOPower For answering my dumb questions on Discord.