Team Squad AI

Team Squad AI that plays capture the flag

Demo in Engine

Download Demo

I am currently working on an AI to play Capture the Flag for my last year project in Sheffield Hallam University. I am developing the AI in Unity3D using Behaviour Trees and a Team Squad based structure for movement and commands.

The aim of this project is to develop an AI that can play Capture the Flag with another AI using squad movement and tactics, and have different results with the same layout. This means that the AI has to behave differently each time and deliver different results for analysis and has to react to the environment as well as make decisions that could potentially lead to the victory of their own team. The project aim was changed in the middle of development due to a lack of time and a very large complexity. The new aim was basically the same but without the squad movement and tactics. This aim is more approachable for a student and gives more room for further development.

This is a list of all the project aims:

  • Investigate modern AI algorithms for games (Decision tree, finite-state machine)
  • Develop a base system for the AI
  • Investigate pathfinding and squad movement
  • Develop a base movement system
  • Divide the AI into two branches: Attack & Defense
  • Develop base finite-state machine AI
  • Develop base Defense AI
  • Create a base Demo with two teams and capture the flag
  • Research Teamwork AI
  • Develop and implement Teamwork AI