In this thread, several of us have been discussing common problems with the AI, and the one that seems to come up most is "leader misuse": the AI's habit of assigning leaders (especially the top brass, including Washington) to very small or inconsequential stacks. Usually in my experience this happens after a major defeat; Washington in particular will generally stay with the main force (i.e. the Continental Army) until it is annihilated, but afterwards he'll turn up almost anywhere, often leading ridiculous little bands of Indians or militia.
I am a complete novice when it comes to modding, but I began to look at the AGEwiki sections on AI modding and noticed that there is a command for a leader's troop-type preference. I'm wondering if this command could be used to help reduce the "leader misuse" problem.
AFAICT, there is no way to adjust a leader's preference by size. But to my inexperienced eye it looks like it might be possible to set Washington's (and other high-ranking leaders) preference for raiders, militia and other riffraff very low, while setting preferences for infantry very high, in the hope that main forces are more likely to be made up mostly of infantry.
I'd be grateful for any pointers, especially regarding the files and necessary changes to try this experiment. Anyone care to steer a newb in the right direction?