Improved Sniper AI
Posted: 27 Nov 2010, 00:59
Tired of having long-reload, high damage units snipe the first scout they see, I'm trying to devise a cleverer way for sniping units to behave on the 'automatic targetting' front (ie auto-attacking in-range enemies, as opposed to player-ordered targets).
Current idea is like this:
What does everyone think?
Current idea is like this:
- Target enters sight and range. Unit wants to shoot target.
- Wait a set time (unit specific?)
- If a more 'interesting' unit enters sight and range, reacquire that unit as preferred target and go back to step one.
- Otherwise, shoot.
What does everyone think?