Supportal Combat

Indirectly influencing the behavior of the AI!

Supportal Combat positions the player in the supportive role of a traditional RPG party, where their abilities will indirectly affect the behavior of AI allies and enemies.

Gameplay:

Rather than being the main damage dealer, you play a support character wielding a healing circle to mend your allies, a stun to lock down enemies, and a smokescreen to disperse a group of enemies, all to help you gain the upper hand in battle. Meanwhile, you’ll need to position your melee-focused ally carefully with your abilities to keep him alive, so they can land the damage needed to win.

Gameplay Ability System (GAS):

Both player and AI abilities were built using Unreal’s Gameplay Ability System, which handles cooldowns, damage/healing, casting ranges, and Visual and Sound effects. When the positioning task completes successfully for an AI, its Behavior Tree will attempt to cast an ability, if any are in range and off cooldown. Besides the player abilities, the AI enemies can melee attack and do an Area of Effect Lightning ability.

Supportal Combat Heal screenshot
Supportal Combat Stun screenshot

Game AI Behavior:

The Environmental Query Service (EQS) is used to determine all positional behaviors for the AI actors. Rather than using different EQ services for each desired behavior (for example, favoring positions near low health enemies), choosing to combine multiple EQ tests into one service to score positions based on layered criteria. The base setup is to generate a simple point grid around the Querier, in this case the AI. This EQS will have multiple custom EQTs, having their own EQContexts, both made in C++, to give more flexibility to create custom classes. Contexts are basically in relation to whom they could check our tests with.

Supportal Combat EQS screenshot
Supportal Combat EQS Grid screenshot
Supportal Combat EQS screenshot

Genre: Action Game
Software: Unreal Engine, C++
Project Type: Group Project
Development Time: 1 Month
My Role: Game Programmer, AI Engineer

My Responsibilities:

  • Design the gameplay abilities for the player and the behavior of the enemies.
  • Architected a Gameplay Ability System (GAS) framework in C++ to support modular player abilities, being able to add new actions without touching core combat code.
  • Developed enemy AI using Behavior Trees and Environment Query System (EQS) to drive dynamic positioning.

This game was made for the final project of the Game AI course for my Master’s in Game Science and Design at Northeastern University.