Honestly, only mission templates for vision battles that I wrote from scratch. The rest code, I got from other kits and modules.
Silverkatana's code is cool, but my objective is not controlling AI sides, only having better results for battles between AI Parties.
PS.
Good news, I have completed implementing modified foxyman's form rank. In this mod you can only have max 4 aditional battle arrays, and each battle array consist one type of troops, infantry, archers, cavalry or mounted archers. Battle arrays formed just before battles and dismissed after. For having a battle array, we should assign companions as captains of certain troop type before. If you have infantry rank, then pressing 2 (infantry hear me button) will select the rank instead.
If you don't have any captain, then mod will use motomanaru's formation kit.
I can't choose which one I should use. I like both. Form rank with fully controlable ranks and motomanaru's with it's simplicity, so I use both in this mod.
I'll update the download link with this new version after easter.