Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

I used a Behavior Tree to map out all possible actions.
The behavior tree picks na actions according to the data the AI receives and the current state of the AI.Only the objects in the yellow cone are visible to the AI i referred to this a "the data".
For example if he sees an enemy he calculates if he can kill it with the amo remaining
based on that data the ai chooses to either run or kill the enemy.
The yellow dots are items that you can pick up e.g. Thrash, Medkit(for health), Food(for energy) or a Pistol(for shooting the enemies :P) The goal was to survive the longest and kill the most enemies so these items are esensial. If you have any further questions about my work feel free to ask ;)