Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And I read that Quake 3 AI operates on a fairly simple stack of objectives. Like, bot goes to pick up yellow armor. Bot sees enemy and starts shooting him. Bot takes damage and starts to retreat. Retreat is now the objective at the top of the stack. If the bot finds a medkit, he pops the retreat objective off stack, and goes to the next one - shoot enemy. If he happens to kill the enemy, he resumes the "get yellow armor" objective.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: