Category: Gameplay Ability System
Unreal Engine’s Gameplay Ability System (GAS)
-
Creating your own Gameplay Effect Context.
There could be many reasons you want to create your own Effect Context within the Gameplay Ability System. I have listed a few reasons below. Before you get started, you should create your own game specific AbilitySystemGlobals class, link here: https://www.thegames.dev/?p=52. So here are the reasons: There are many other things you can do, but…
-
Making a custom Ability Actor Info
When you start getting into the power of the Gameplay Ability System, it may be needed that you want to access stuff easily in your Actor Info. The guys at Epic made this really easy to override and implement but there is a few steps. The first step that is mandatory is setting up your…
-
Creating and Setting up a custom UAbilitySystemGlobals class.
This class is very crucial for any game utilising the Gameplay Ability System (GAS). I recommend every serious game make their own subclass of this. This class is responsible for setting up the core GAS stuff, below i provide a couple of reasons why you would and should create your own. Allows you initialise global…
-
Applying Gameplay Tags from SourceObject into Effect Spec
In my game, i wanted to grab Gameplay Tags from the source object if possible, and apply them into the captured tags of the Gameplay Effect Spec. With this in mind, i went searching through the system, and found the following function gets called UGameplayAbility::ApplyAbilityTagsToGameplayEffectSpec. I was like great that is exactly what i need,…