PARTY AI OVERHAUL AND COMMANDS REBUILD
⬇ Download on Nexus ModsPreview

About This Mod
This mod is "PARTY AI OVERHAUL AND COMMANDS" for the game version v1. 0. 3.
This mod is "https://www.nexusmods.com/mountandblade2bannerlord/mods/493" rel="nofollow noopener" target="_blank">PARTY AI OVERHAUL AND COMMANDS" for the game version v1. 0. 3.
I revised this original source code.
https://gitlab.com/octaviusmods/bannerlord-party-ai-overh...
Thank you to the author.
---------------------------------------------------
Required Mod
+ https://www.nexusmods.com/mountandblade2bannerlord/mods/2... rel="nofollow noopener" target="_blank">Harmony
Order of the mods
Q. I have disabled this mod and my save data crashes in vanilla. What should I do?
A. You will need to reset the elements that utilize the functionality of this mod.
If you join the kingdom as a mercenary and use the features of this mod to create an army, you must disband the army before disabling this mod.
Because in vanilla mercenaries cannot be army leaders.
Q. How do I translate into different languages?
A. You can use "Localization_english.xml" as a template for translation.
How to create a translation file
+ Localization template file : PartyAIOverhaulCommands\ModuleData\Languages\English\Localization_english.xml
+ Copy the "English" folder and rename it appropriately.
+ Rename "Localization_english.xml" in the folder to an appropriate name.
+ Please change the value of "tag language" in the xml file to the language you want to translate.
(The language displayed in the Gameplay - Language section of the game options.)
The game will load the files located under the ModuleData\Languages folder at startup.
If you change the contents of the translation file, you will need to re-launch the launcher.
Please note that changes to the English text will not be reflected in the game.
Q. How do I use My Little Warband and this mod together?
A. Please refer to the following guide.
I can confirm that using My Little Warband (1. 7) with Party AI Overhaul Commands Rebuild (1. 7) does allow your parties to recruit your custom troops exclusively. Following these steps will cause any troops your parties recruit to automatically transform into your custom troops, regardless of what faction they recruit from:1.) Using My Little Warband (default settings), create your custom desired troops for both recruit and elite trees.
2.) Using Party AI Overhaul (default settings), after forming your desired party, talk to the party leader.
3.) Select > "Let's review your party's composition plan."
4.) Select > "Let's decide what troops you should recruit."
5.) Under "Available Troop Trees" hit the transfer all button until all the troops on the right are transferred to the left.
6.) Select > "Let's have a closer look."
7.) Do not change anything here. Select > Done.
8.) Finally, you will be asked if you wish to recruit from prisoners. Select > "No." (Choosing "Yes" will allow them to recruit looters. However, after testing, looter troops recruited by parties stay looters and do not transform into your custom troops. So Select > "Yes" if you don't mind having looters mixed in with your custom troops.)
For some reason, I personally have found that doing this any other way causes the party never to recruit anyone.
Please note that this will allow only the player's parties the ability to recruit your custom troops. If you would like other AI lords to be able to recruit your custom troops also, then you will need to change the xml settings in My Little Warband.This guide was created by https://www.nexusmods.com/users/58323236" rel="nofollow noopener" target="_blank">arcwolf9.
About the option "DEBUG : Detection of the lords party with no leader hero"
If this option is enabled, the mod will detect the appearance of a party of lords without a leader hero.
Detection results are written to a harmony.log.txt file that is created on the desktop.
When a leader hero is set, the mod remembers the location where the setting command was issued.
The location where the first null setting command is issued is written to the log file as "*StackTrace (General type)".
If a party is found with the leader hero set to null, the in-game date/party information/leader hero setting history is written to the log file.
If a party is found without a leader hero, there may be a hint in the setting history as to which mod is involved.
Q. Why are parties whose leader hero is set to null in General type sometimes not detected?
A. Parties managed by the game system are not subject to detection.
The following is an example of detection results.
A party without a leader hero was detected on "Autumn 12, 1100".
On "Autumn 11, 1100" the leader hero of the party was set to "Mitela".
The code executed on "Autumn 12, 1100" resulted in the leader hero being null.
Therefore, there is most likely a problem with the code executed on "Autumn 12, 1100".
================================ harmony.log.txt ================================
StackTrace (General type) : Mitela's Party : null : lord_4_24_2_party_19896
at TaleWorlds. DotNet. Managed. GetStackTraceStr(Int32 skipCount)
at PartyAiOverhaulAndCommands. Behaviors. PAO_DetectNoLeaderHeroParty. PAO_ChangePartyLeaderPatch. Postfix(PartyComponent __instance, Hero newLeader)
at TaleWorlds. CampaignSystem. Party. PartyComponents. LordPartyComponent. ChangePartyLeader_Patch2(LordPartyComponent this, Hero newLeader)
at TaleWorlds. CampaignSystem. Roster. TroopRoster. AddToCountsAtIndex_Patch1(TroopRoster this, Int32 index, Int32 countChange, Int32 woundedCountChange, Int32 xpChange, Boolean removeDepleted)
at TaleWorlds. CampaignSystem. Roster. TroopRoster. AddToCounts_Patch2(TroopRoster this, CharacterObject character, Int32 count, Boolean insertAtFront, Int32 woundedCount, Int32 xpChange, Boolean removeDepleted, Int32 index)
at TaleWorlds. CampaignSystem. Clan. CreateNewMobileParty(Hero hero)
at Helpers. MobilePartyHelper. CreateNewClanMobileParty(Hero partyLeader, Clan clan, Boolean& leaderCameFromMainParty)
at PartyAiOverhaulAndCommands. Behaviors. PAO_DetectNoLeaderHeroParty. ForceCreateLordParty(List`1 strings)
at TaleWorlds. Library. CommandLineFunctionality. CallFunction(String concatName, String concatArguments, Boolean& found)
at ManagedCallbacks. LibraryCallbacksGenerated. Managed_CallCommandlineFunction(IntPtr functionName, IntPtr arguments)
--------------------------- Autumn 12, 1100 ---------------------------
The mod has found a party of lords with no leader hero
MobilePartyName : Mitela's Party
LeaderHero : null
Owner : Mitela
Clan : dey Cortain
Kingdom : Vlandia
StringID : lord_4_24_2_party_19896
StackTrace : dey Cortain's Party : Mite
...
Mod Details
- Game
- Mount & Blade II: Bannerlord
- Author
- sam6358
- Version
- v1.0.3f
- Downloads
- 117,270
- Endorsements
- 2,108
- Category
- Gameplay
- Last Updated
- 2/19/2023
How to Install Bannerlord Mods
Use Vortex or manual. Enable mods in launcher. Harmony required.
Visit the Nexus Mods page for specific installation instructions for this mod.
⭐ Rate & Review
FAQ
Is PARTY AI OVERHAUL AND COMMANDS REBUILD safe to download?
Linked from Nexus Mods which scans all files for viruses. Always download from the official source.
Does this mod work with the latest game update?
Last updated 2/19/2023. Check the official download page for version compatibility.
Where can I learn more about Bannerlord modding?
Check our complete Bannerlord modding tools guide for step-by-step setup instructions.