游戏能力系统(GAS) {{ currentPage ? currentPage.title : "" }}

游戏能力系统(GameplayAbilitySystem)

用途:用于武器连招、技能与属性系统

基础设置:

  • GameplayTag 默认值,文件位于Project\Config\DefaultGameplayTags.ini

[/Script/GameplayTags.GameplayTagsSettings]
ImportTagsFromConfig=True
WarnOnInvalidTags=True
ClearInvalidTags=False
FastReplication=False
InvalidTagCharacters="\"\',"
NumBitsForContainerSize=6
NetIndexFirstBitSegment=16
+GameplayTagList=(Tag="UGP.Input.LightAttack",DevComment="")
+GameplayTagList=(Tag="UGP.Input.LightAttackPress",DevComment="")
+GameplayTagList=(Tag="UGP.Input.LightAttackRelease",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.ExecuteChildAbility",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.PlayAbility",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.Sword",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.Sword.Combo.Light_0_0",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.Sword.Combo.Light_0_1",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.Sword.Combo.Light_0_2",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.Sword.Combo.Light_0_3",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.Sword.DisarmWeapon",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.Sword.DrawWeapon",DevComment="")
+GameplayTagList=(Tag="UGP.Weapon.Sword.Weapon",DevComment="")

  • 玩家角色中AbilitySystemComponent->ExecuteChildAbilityTag设置为UGP.Weapon.ExecuteChildAbility

{{{ content }}}