Artificial Intelligence RTS Scenario
Created in Unity. Multiple AI agents fight for domination against each other.
Github: https://github.com/TiernanMcCarthy/AI-Battle
At a glance, this project sees AI agents fight with the aim of destroying the opponent's motherbase. All fighter units head for this motherbase and encounter each other on the way. These AI agents will combat each other for local supremacy and target the closest unit. If these agents begin to run low on health or ammo they return home, and repair and rearm, and conduct the same goal again.
Miner units collect resources and avoid enemies if they encounter them. These resources, when they reach the friendly motherbase are then spent on whatever the motherbase deems appropriate, which depends on a ratio of needs and the current threat that a base "feels". Although individually these behaviours seem simple, together they make a cohesive whole.
This sample demonstrates an implementation of Finite State Machines, Behaviour Trees and Desirability Brains, where each unit takes from whatever seems appropriate. All units make use of common Steering Behaviours to achieve their goals.
Miner units collect resources and avoid enemies if they encounter them. These resources, when they reach the friendly motherbase are then spent on whatever the motherbase deems appropriate, which depends on a ratio of needs and the current threat that a base "feels". Although individually these behaviours seem simple, together they make a cohesive whole.
This sample demonstrates an implementation of Finite State Machines, Behaviour Trees and Desirability Brains, where each unit takes from whatever seems appropriate. All units make use of common Steering Behaviours to achieve their goals.