top of page

AI Survival  

aipicture1.PNG
aipicturecode1.PNG

This project was meant to explore different applications of artificial intelligence in games.​ I used narrow AI systems such as behavior trees, A* path-finding, and hive-mind tactics to control survivors in a simple Unity survival game. 

aipicture4.PNG

 

Each character uses a behavior tree to dictate their actions, leading to more complex decision making.

 

This includes firing, fleeing, priority targeting, weapon switching, and searching for items. 

The hive-mind can assign different behavior trees to each survivor to give them different roles. 

aipicture6.PNG
aipicturecode2.PNG
treepic.PNG

A graph of one behavior tree.

The survivors use the A* path-finding algorithm to create a believable and strategic path to their destination. Each node on the map is weighted based on the number of enemies close by. 

aipicture3.PNG
aipicture7.PNG
aipicture5.PNG

The AI controlled characters work together to find and collect items on the map. The hive-mind system assigns different roles to each survivor to defend and retrieve different items. For, example, the support characters will retrieve the health packs and bring them to the guards. The guards will defend the heath packs and retrieve more ammo.

code3.PNG
code4.PNG
bottom of page