Hiya, I've been getting some shockingly good flanking action using certain simple settings in config_ai_battle.xml, I'm not sure which bit exactly is causing what but the part in bold is essential.
I'm assuming that in order to outflank a unit often needs to retreat so I include the retreat settings out of pure assumption.
The outflanking section is the same, I've only a suspicion that I am seeing the results I am seeing in part because of those settings so I included them.
Well whatever, I've never seen AI do as good a job of flanking as they do with my stuff so I thought I'd better try to share it.
If you want to try these settings just open your config_ai_battle.xml and find the relevant sections and change the values to match mine.
If you have any problems or questions please ask