Waves of attack
Posted: Sat Feb 09, 2008 4:35 pm
I don't know code, so this is just tossing out ideas in a hit or miss...
But as far as making a computer allied attack more effective, maybe there'd be a way to integrate 'waves' of coordinated attacks, where there'd be a 'buildup' of x units within y squares of the target city (possibly lurking in the hills just beyond normal visual range), before a critical mass occurs and an attack is unleashed. That would definitely be an 'oh crap!' moment for the player. Invest in scouts, buddy. :D
Other complicated bits could be getting the computer to recognize say 'last time there were flying units' so 'this time I need archers' or some recognition of difficulty. Or maybe just more well rounded armies to work with. If a computer enters a player's city and it'd be rated some value "Impossible", next time the computer will send heroes and things appropriate for the challenge... Or send larger armies for more valuable cities (count ratio of the buildings, population to invading army size).
Then there's always the Mongolian horde strategy. Have computer develop invincible army. Begin rampage. Plunder cities until the army is wiped out.
Maybe these various tactical styles could be attached to certain AI personalties.
Other bits could be an AI recognizing the 'passes' in the terrain that are natural locations to defend, allowing it to guard large areas behind it.
Edit: oops this was supposed to be in reply to Magnate. Not sure how it wound up here.
But as far as making a computer allied attack more effective, maybe there'd be a way to integrate 'waves' of coordinated attacks, where there'd be a 'buildup' of x units within y squares of the target city (possibly lurking in the hills just beyond normal visual range), before a critical mass occurs and an attack is unleashed. That would definitely be an 'oh crap!' moment for the player. Invest in scouts, buddy. :D
Other complicated bits could be getting the computer to recognize say 'last time there were flying units' so 'this time I need archers' or some recognition of difficulty. Or maybe just more well rounded armies to work with. If a computer enters a player's city and it'd be rated some value "Impossible", next time the computer will send heroes and things appropriate for the challenge... Or send larger armies for more valuable cities (count ratio of the buildings, population to invading army size).
Then there's always the Mongolian horde strategy. Have computer develop invincible army. Begin rampage. Plunder cities until the army is wiped out.
Maybe these various tactical styles could be attached to certain AI personalties.
Other bits could be an AI recognizing the 'passes' in the terrain that are natural locations to defend, allowing it to guard large areas behind it.
Edit: oops this was supposed to be in reply to Magnate. Not sure how it wound up here.