heyheythere - GAS Ability & Status Effect System

An ability system with status effects, buffs and debuffs on Epic's Gameplay Ability System (GAS): one C++ plugin with its whole surface in Blueprint, multiplayer and saved. Abilities are data assets, thirteen statuses come ready, and the HUD, hotbar, damage and keys are already done.

The guide: heyheythere.com/docs/ability-status, a fifteen-minute quickstart into the Third Person template, a reference for every node and setting, and the status effects and damage in full. Read it before you buy.

Abilities as data

  • Right-click, pick AS Ability, fill in the fields: a character casts with one component and no graph
  • Cost in mana, stamina or health; cooldown, cast time, range, damage and its type, healing
  • The statuses it applies and their stacks, what it cleanses, what blocks it, its Niagara effects
  • Six archetypes: projectile, area on the ground or around the caster, cone, chaining beam, self cast with an optional blink, channel
  • A Blueprint subclass overrides Fire or Apply To Target and keeps the cost, cooldown, cast and HUD
  • Assets are checked as you save

Status effects

  • 13 statuses: Burning, Poisoned, Bleeding, Chilled, Frozen, Stunned, Rooted, Silenced, Weakened, Vulnerable, Shielded, Haste, Regeneration
  • They stack, run out, and can be cleansed or resisted; a fourth chill freezes
  • Each is a Gameplay Effect Blueprint to change or copy: damage or modifiers, duration, stacks, icon, Niagara loop
  • Immunity is a tag, per status or for every debuff; Cleanse removes by tag

Damage and targeting

  • One calculation for abilities, statuses and your own traps or weapons
  • Attacker's power, armor, resistances to fire, frost, lightning and poison, critical hits
  • A shield takes damage before health; floating numbers are coloured by type
  • Abilities aim where the camera looks, with soft targeting for projectiles and beams
  • A ground reticle while an area's key is held; an enemy aims at a target set on its component

HUD and input

  • Health with shield, mana and stamina bars; a hotbar with keys, costs and cooldown sweeps
  • Buff and debuff icons with stacks and seconds left, a cast bar, the reason a cast failed
  • Health bars over enemies' heads
  • UMG built in C++: subclass it in a Widget Blueprint to restyle it, or build your own from the same nodes
  • Eight slots on keys 1 to 8 and the gamepad's buttons through Enhanced Input, rebindable at runtime

Blueprint, multiplayer and save

  • Every node, event and setting in Blueprint; C++ headers public
  • Multiplayer: everything replicates; casts are locally predicted, the server decides hits, damage and statuses
  • Tested with two players on a listen server
  • Save: one node puts attributes, abilities, slots, cooldowns, statuses and rebound keys into your save game, one restores them
  • Your own GAS setup (Lyra-style): damage, the shield, the statuses and death work on any Ability System Component with the plugin's attribute set; casting, events and the HUD come with the plugin's component

Debugging

  • A Gameplay Debugger category: attributes, each ability with what stops it now, the last failure, statuses and tags
  • Ability.Grant, Ability.Effect and Ability.List test from the console in development builds

Included

  • 9 abilities: Fireball, Frost Nova, Poison Cloud, Chain Lightning, Heal, Barrier, Blink, Haste, Frost Bolt
  • 22 icons and 25 Niagara systems
  • The demo in the video: a training ground with dummies to cast at, one fire-warded, one that throws a Frost Bolt back, save and load, and a listen server for two
  • The demo ships in the plugin's Content/Demo; its people are Epic's mannequins from the Third Person template
  • No sounds: each ability and status has empty cast, impact and apply sound slots for your own

Engines and platforms

  • Unreal Engine 5.6, 5.7 and 5.8, on Windows, Mac and Linux
  • Blueprint-only and C++ projects

Support through this page's comments or by email.