cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
898 stars 115 forks source link

AI enhancement: running away enemies to aim to the player direction before shooting #156

Closed ghost closed 11 years ago

ghost commented 11 years ago

This would be especially cool for sniper class enemies like in the first level of this campaign: http://www.file-upload.net/download-8044574/youaretheexperiment.cpn.html

cxong commented 11 years ago

Good suggestion, thanks.

cxong commented 11 years ago

Behaviour of snipers shown here: http://youtu.be/cJGfZ1jKlAY

ghost commented 11 years ago

Cool! They don't do that, if good_guy is on, or do they? I mean, panicking friend characters shouldn't do that.

cxong commented 11 years ago

I don't know; until you used it for the snipers, run away was only used for civilians.