Force AI Agent Embedding
HOWDY
This script forces all AI agents into armies. Here is what you need to know:
– All AI agents, where possible, will be force embedded into their respective faction armies
– If there are no armies that the agent(s) can embed to, they will go about their business as normal
–This should (in theory) improve turn times somewhat as embedded agents won’t be moving on the campaign map
–Can be safely added and removed at any point in time–
–MP + Radious/SFO Safe (and 99.99% of everything else)–
Soft cap is 1 hero type per army, with a max of 2 in overflow cases
Hard cap is 4 total heroes per army
If the AI does not have room in any of its armies for heroes to embed into, up to 2 units will be removed from one of its armies sequentially (preference is tier 1, max is tier 2) to make room for heroes to then be embedded into that army.
For clarity, this should also work for MODDED HEROs as this looks for Agent Type keys not SUBTYPE keys. (All heroes in the game fall under one of 9 "hero" types, two of which are generals and "garrison generals". The other 7 are what this script looks for to embed)
This is my first script I’ve made myself for WH3, please be gentle~
Massive thanks to FiftyTifty and Groove Wizard for guiding me through this process and helping me learn a book
https://steamcommunity.com/id/FiftyTifty/
Revisions:
Old revisions of this mod are available below. Click the link to download.