Project Civilia
Role
Software
AI Programmer
Unreal Engine 5
About the Game
A friend created this game as part of a research grant. It is a case study of the celebrated survival game This War of Mine.
Project Civilia is a stealth walking simulator with the objective of scavenging for supplies in a 1990's occupied city.
My contribution was programming the enemy behavior. I used this opportunity to explore behavior trees in Unreal.

- - -
Predictability meets Reactivity
The enemy behavior loop goes something like this:
- Patrol between set points
- If the player is seen, chase and attack them
- If the player is lost, search the last point they were seen at
- If the player is lost for good, return to patrolling
This behavior can be seen in the tree below. Highest priority behavior is on the left, with basic patrolling at the far right. The balance of expected movement interrupted by deadly chase sequences creates a stressful atmosphere integral to the game.

