Ai is said to be scripted, for all the battles. Even the ones in the campaign. It's a sound idea, to make customers think it's good, but morally it's terrible.
You do know that there are mods already for TW:S2, right?
Historical battle is insane. Your allies, that compose 1/3 of the allied army, defect to the enemy at some point.