UE4 ActionRPG 类图
2022-02-28 17:22:00 1 举报
UE4中ActionRPG 游戏所对应的类图,流程图。主要是GAS相关的内容
作者其他创作
大纲/内容
FGameplayEffectModifierMagnitude
DoMeleeAttack
BP_Character
Construct
FGameplayEffectCustomExecutionParameters
计算伤害的入参。负责解析GE中伤害相关信息,包括数据表内容
返回
FRPGGameplayEffectContainer
URPGTargetType
FGameplayEffectSpecHandle
URPGGameplayAbility
PlayMontageAndWaitForEvent
FActiveGameplayEffectsContainer
BP_EnemyCharacter
BT_NPC
UGameplayEffect
定义伤害方式,伤害计算类,数值等
UGameplayEffectExecutionCalculation
计算伤害的类,在蓝图GE中配置
UGameplayAbility
获取属性.GetAttributeBaseValue通过AbilitySystemComponent.GetAttributeSubobject拿到对象的AttributeSet
AttemptCalculateMagnitude
FGameplayEffectSpec
包含GameplayEffect/LevelCaptureAttributeDataFromTarget获取目标属性
伤害过程类关系图
ApplyGameplayEffectSpecToSelf
GA_GoblinMelee
RPGGameAbility
FGameplayAbilityTargetData
UAbilitySystemComponent
GA_AbilityBase
ExecuteActiveEffectsFrom
存放受击目标
FRPGGameplayEffectContainerSpec
包含受击对象&GameplayEffectSpec数组
TryActivateAbility
AbilitySystemComponenet
AbilitySystemComponent
ApplyGameplayEffectSpecToTarget
URPGAbilityTask_PlayMontageAndWaitForEvent
URPGAbilityTask_PlayMontageAndWaitForEvent
《ActionRPG学习与实践》创建C++工程迁移动画资源,让角色可以动起来。状态机、混合空间。角色蓝图和动画蓝图。激活GAS系统(安装插件、配置依赖包)讲解GAS a. 观察怎么给角色加上初始生命等属性 b. GAS讲解增加基础部分。已经激活整个GAS系统的过程。基础部分,边讲边做定义移动、攻击事件。完成移动、攻击动画播放让怪物和角色拿上武器创建CharacterBase类,编写GAS基础相关
RPGCharacterBase
CaptureDataFromSource
FAggregator
存放单个Modifier。数值、操作类型(OP)、攻击方受击方的Tag
ExecuteGameplayEffect
ApplyGameplayEffectSpec
NPCGoblin_BP
K2_ApplyGameplayEffectSpecToTarget
NPCGoblin_Level_01
BTTask_AttackMelee
ApplyEffectContainerSpec
蓝图中定义的Modifier中的子项,定义伤害数据。读取数值或从Table中取数值
FGameplayAbilityTargetDataHandle
FGameplayEffectExecutionDefinition
GE蓝图中定义的Executions包含计算类,Modifiers
FGameplayEffectCustomExecutionOutput
伤害计算之后返回值
ApplyEffectContainer
调用
URPGDamageExecution
GA_MeleeBase
MakeOutgoingSpec
InternalExecuteMod
NPC GAS类图
TargetData
MakeEffectContainerSpecFromContainer
MakeOutgoingGameplayEffectSpec
URPGAttributeSet
蓝图函数
ActivityAbility
FGameplayEffectExecutionScopedModifierInfo
蓝图中定义的Modifier
CaptureAttributeDataFromTarget
ActiveAblilityWithItemSolt
MakeEffectContainerSpec
PostGameplayEffectExecute
解析生成GameplayEffectSpec
蓝图中实现的
Initialize
Execute_Implementation
收藏
0 条评论
下一页