heh, I just tried to write logic for archers, and gave up once I realized that aggressive/normal/defensive would play a role, distance from enemy, presence of friendly troops, and whether the enemy is dug in.
I know that the code is held by about 3 or 4 people, but perhaps archer move/fire logic could be posted here? I don't have a clue what it even looks like.