From e54e1674f4e83aa6bc10212e2db45248c712e0c0 Mon Sep 17 00:00:00 2001 From: kimnuri Date: Tue, 9 Dec 2025 18:02:17 +0900 Subject: [PATCH] [add] TrollRushStun --- Jusin154_Team3D/Client/Default/Client.vcxproj | 2 + .../Client/Default/Client.vcxproj.filters | 20 +- .../Private/CallBack_Troll_HitReport.cpp | 8 +- .../Client/Private/Goblin_Mage.cpp | 13 +- .../Client/Private/Level_GamePlay.cpp | 12 +- Jusin154_Team3D/Client/Private/Troll.cpp | 5 +- .../Client/Private/Troll_State_Stun.cpp | 64 +++ .../Client/Private/Troll_States.cpp | 44 +- Jusin154_Team3D/Client/Public/Client_Struct.h | 4 - Jusin154_Team3D/Client/Public/Goblin_Mage.h | 1 + Jusin154_Team3D/Client/Public/Troll.h | 4 + .../Client/Public/Troll_State_Stun.h | 36 ++ Jusin154_Team3D/Editor/Bin/AnimIndex.txt | 388 ++++++++---------- Jusin154_Team3D/Engine/Public/FSM.h | 1 + 14 files changed, 364 insertions(+), 238 deletions(-) create mode 100644 Jusin154_Team3D/Client/Private/Troll_State_Stun.cpp create mode 100644 Jusin154_Team3D/Client/Public/Troll_State_Stun.h diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index da595129d..d9164560a 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -184,6 +184,7 @@ call Update_Resources.bat + @@ -342,6 +343,7 @@ call Update_Resources.bat + diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index e9d3fb658..1a0ca6527 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -389,7 +389,7 @@ 02.GameObjects\UI\Screen\Logo\Logo_Text - 04.Mechanic\State\State_Combat\Dead + 04.Mechanic\State\State_Combat\State_Dead 02.GameObjects\UI\GamePlay_Canvas\Enemy_Penel @@ -471,6 +471,9 @@ 02.GameObjects\Effect\Effects\WandEnd + + 04.Mechanic\State\Troll_Combat\Troll_State_Stun + @@ -928,9 +931,6 @@ {0ed6a11e-5d22-4b9f-a39c-f2319c27caf4} - - {81add99f-7450-4730-8d3f-bf1de06b2b8d} - {5973b96c-42c3-4cda-9627-f741e12124cd} @@ -985,7 +985,6 @@ {e12337a6-7563-4615-a8d2-a2e2e1ba1ca8} - {ec267143-0bc1-4765-b8dc-6cccc50385d7} @@ -1004,6 +1003,12 @@ {1d1dc743-5cf2-4b8f-a80e-16b16437c7aa} + + {81add99f-7450-4730-8d3f-bf1de06b2b8d} + + + {2e2a53dc-9ea6-427f-88b3-d8857193d432} + @@ -1391,7 +1396,7 @@ 02.GameObjects\Item\Broom - 04.Mechanic\State\State_Combat\Dead + 04.Mechanic\State\State_Combat\State_Dead 02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Mage @@ -1433,6 +1438,9 @@ 02.GameObjects\Effect\Effects\WandEnd + + 04.Mechanic\State\Troll_Combat\Troll_State_Stun + diff --git a/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp index 1c1872f25..40058a340 100644 --- a/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp +++ b/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp @@ -3,6 +3,7 @@ #include "GameInstance.h" #include "Character_Controller.h" #include "RigidBody_Dynamic.h" +#include "Unit.h" #include "GameObject.h" CCallBack_Troll_HitReport::CCallBack_Troll_HitReport() @@ -39,15 +40,16 @@ void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit) { case PXOBJECT::TERRAIN: { - class CGameObject* pOwner = m_pController->Get_Owner(); + class CUnit* pOwner = (CUnit*)m_pController->Get_Owner(); _vector vLook = pOwner->Get_Component()->Get_State(STATE::LOOK); _float fDot = XMVectorGetX(XMVector3Dot(XMLoadFloat3((_float3*)&vDir), vLook)); + GUI::Text("DOTDOTResult %f", fDot); if (fDot > cosf(XM_PIDIV4)) { CModel* pModel = pOwner->Get_Component(); _uint iAnimIndex = pModel->Get_AnimIndex(); - if (STATEANIM::RUSH_LOOP == iAnimIndex) { + if (pOwner->Get_AnimInfo(STATEANIM::RUSH_LOOP).first == iAnimIndex) { CFSM* pFSM = pOwner->Get_Component(); - //pFSM->Change_State( FSMSTATE::stun); + pFSM->Change_State(FSMSTATE::STUN); } } } diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp index baf23e572..1ecf8c179 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp @@ -224,6 +224,17 @@ HRESULT CGoblin_Mage::Render_Shadow() return S_OK; } +_vector CGoblin_Mage::Get_LockOnPos() +{ + if (nullptr != m_pCharacter_Controller && true == m_pCharacter_Controller->IsActive()) { + return m_pCharacter_Controller->Get_Position(); + } + else if (nullptr != m_pRigidBody) { + return m_pRigidBody->Get_Position(); + } + return Get_WorldPostion(); +} + void CGoblin_Mage::OnCollision(CGameObject* pOther, void* pDesc) { ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc); @@ -288,7 +299,7 @@ HRESULT CGoblin_Mage::Ready_Components() Desc.iSubKind = ENUM_CLASS(PXOBJECT::GOBLIN_MAGICIAN); Desc.pTransform = m_pTransformCom; Desc.eBodyType = ACTOR::CAPSULE; - Desc.fContactOffset = 0.3f; + Desc.fContactOffset = 0.001f; Desc.fMaterial = { 1.2f, 1.0f, 0.0f }; Desc.bAutoStepping = { false }; Desc.fStepOffset = { 0.05f }; diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index ee2e98e52..ecd62ef14 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -459,13 +459,13 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster() return E_FAIL; } } - //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) { - // return E_FAIL; - //} + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) { + return E_FAIL; + } - //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) { - // return E_FAIL; - //} + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) { + return E_FAIL; + } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp index 0b5044896..854f49092 100644 --- a/Jusin154_Team3D/Client/Private/Troll.cpp +++ b/Jusin154_Team3D/Client/Private/Troll.cpp @@ -64,7 +64,7 @@ HRESULT CTroll::Initialize(void* pArg) - m_pCharacter_Controller->Set_Position(XMVectorSet(3.f, 5.f, -20.f, 1.f)); + m_pCharacter_Controller->Set_Position(XMVectorSet(110.f, 24.f, 135.f, 1.f)); m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object(); SAFE_ADDREF(m_pEffectPool); @@ -145,7 +145,6 @@ void CTroll::Update(_float fTimeDelta) m_pWeaponTrail->Trail_Update(WeaponSoket, fTimeDelta); #pragma endregion - } void CTroll::Late_Update(_float fTimeDelta) @@ -320,7 +319,7 @@ HRESULT CTroll::Ready_Components() Desc.iSubKind = ENUM_CLASS(PXOBJECT::TROLL); Desc.pTransform = m_pTransformCom; Desc.eBodyType = ACTOR::CAPSULE; - Desc.fContactOffset = 0.3f; + Desc.fContactOffset = 0.001f; Desc.fMaterial = { 1.2f, 1.0f, 0.0f }; Desc.bAutoStepping = { false }; Desc.fStepOffset = { 0.05f }; diff --git a/Jusin154_Team3D/Client/Private/Troll_State_Stun.cpp b/Jusin154_Team3D/Client/Private/Troll_State_Stun.cpp new file mode 100644 index 000000000..66ba62201 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Troll_State_Stun.cpp @@ -0,0 +1,64 @@ +#include "pch.h" +#include "Troll_State_Stun.h" +#include "GameInstance.h" +#include "Unit.h" + +CTroll_State_Stun::CTroll_State_Stun() + :CState_Root() +{ +} + +void CTroll_State_Stun::Enter() +{ + __super::Enter(); +} + +HRESULT CTroll_State_Stun::Update(_float fTimeDelta) +{ + if (nullptr != m_funcPriorityUpdate) { + m_funcPriorityUpdate(fTimeDelta); + } + if (E_FAIL == (__super::Update(fTimeDelta))) { + return E_FAIL; + } + if (nullptr != m_funcLateUpdate) { + m_funcLateUpdate(fTimeDelta); + } + return S_OK; +} + +void CTroll_State_Stun::Exit() +{ + __super::Exit(); +} + +HRESULT CTroll_State_Stun::Initialize(TROLL_STATE_STUN* pDesc) +{ + if (FAILED(__super::Initialize(pDesc))) { + return E_FAIL; + } + m_funcPriorityUpdate = pDesc->funcPriorityUpdate; + m_funcLateUpdate = pDesc->funcLateUpdate; + m_pModel = m_pOwner->Get_Component(); + m_pFSM = m_pOwner->Get_Component(); + + return S_OK; +} + +CTroll_State_Stun* CTroll_State_Stun::Create(TROLL_STATE_STUN* pDesc) +{ + CTroll_State_Stun* pInstance = new CTroll_State_Stun; + if (FAILED(pInstance->Initialize(pDesc))) { + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CTroll_State_Stun::Free() +{ + __super::Free(); +} + +void CTroll_State_Stun::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp index 4227ce63b..d3c97e8b2 100644 --- a/Jusin154_Team3D/Client/Private/Troll_States.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp @@ -12,6 +12,7 @@ #include "State_IdleBreak.h" #include "State_Move.h" #include "State_Combat.h" +#include "Troll_State_Stun.h" #include "Troll_State_Rush.h" #include "Troll_State_BackHand_Swing.h" #include "State_Throw.h" @@ -100,8 +101,9 @@ void CTroll::Behavior_IdleBreakEnter() HRESULT CTroll::Behavior_IdleBreakExitCheck() { - if (m_pModelCom->IsFinishedAnim()) + if (m_pModelCom->IsFinishedAnim()){ m_pFSM->Change_State(FSMSTATE::MOVE); + } return E_FAIL; } @@ -540,6 +542,34 @@ void CTroll::Behavior_BackHandSwingExit() m_pFSM->Disable_State(FSMSTATE::BACKHAND_SWING); } +void CTroll::Behavior_StunEnter() +{ + m_pFSM->Enable_State(FSMSTATE::STUN); + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + pair<_uint, _bool> pairAnimInfo; + + m_bLookAt = false; + if (iCurrAnimIndex == m_Animation[STATEANIM::RUSH_LOOP].first) + { + pairAnimInfo = m_Animation[STATEANIM::STUN]; + } + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); +} + +HRESULT CTroll::Behavior_StunExitCheck(_float fTimeDelta) +{ + if (true == m_pModelCom->IsFinishedAnim()) { + m_pFSM->Change_State(FSMSTATE::IDLEBREAK); + return E_FAIL; + } + return S_OK; +} + +void CTroll::Behavior_StunExit() +{ + m_pFSM->Disable_State(FSMSTATE::STUN); +} + void CTroll::Behavior_HitEnter() { m_pFSM->Enable_State(FSMSTATE::HIT); @@ -698,6 +728,18 @@ void CTroll::Add_FSM() m_States.emplace(FSMSTATE::BACKHAND_SWING, CTroll_State_BackHand_Swing::Create(&Desc)); } #pragma endregion +#pragma region Behavior_Combat_Focus + { + CTroll_State_Stun::TROLL_STATE_STUN Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_StunEnter(); }; + Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_StunExitCheck(fTimeDelta); }; + Desc.funcExitEvent = [this]() { Behavior_StunExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::STUN, CTroll_State_Stun::Create(&Desc)); + } +#pragma endregion #pragma region Behavior_Hit { diff --git a/Jusin154_Team3D/Client/Public/Client_Struct.h b/Jusin154_Team3D/Client/Public/Client_Struct.h index 6c6aa50f1..96502e46a 100644 --- a/Jusin154_Team3D/Client/Public/Client_Struct.h +++ b/Jusin154_Team3D/Client/Public/Client_Struct.h @@ -58,8 +58,4 @@ namespace Client _float fMaxExprience{}; _int iGold{}; }UNITINFO; - typedef struct tagLockOnInfo { - CUnit* pUnit = { nullptr }; - class CMapElement_Interactable* pInteractive = { nullptr }; - }LOCKON_INFO; }; diff --git a/Jusin154_Team3D/Client/Public/Goblin_Mage.h b/Jusin154_Team3D/Client/Public/Goblin_Mage.h index 0d6026f22..a4328330e 100644 --- a/Jusin154_Team3D/Client/Public/Goblin_Mage.h +++ b/Jusin154_Team3D/Client/Public/Goblin_Mage.h @@ -27,6 +27,7 @@ class CGoblin_Mage final : public CMonster virtual void Late_Update(_float fTimeDelta) override; virtual HRESULT Render() override; virtual HRESULT Render_Shadow() override; + virtual _vector Get_LockOnPos() override; virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override; virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override; diff --git a/Jusin154_Team3D/Client/Public/Troll.h b/Jusin154_Team3D/Client/Public/Troll.h index 04dd47d22..c9591b913 100644 --- a/Jusin154_Team3D/Client/Public/Troll.h +++ b/Jusin154_Team3D/Client/Public/Troll.h @@ -126,6 +126,10 @@ class CTroll final : public CMonster HRESULT Behavior_BackHandSwingExitCheck(_float fTimeDelta); void Behavior_BackHandSwingExit(); + void Behavior_StunEnter(); + HRESULT Behavior_StunExitCheck(_float fTimeDelta); + void Behavior_StunExit(); + void Behavior_HitEnter(); HRESULT Behavior_HitExitCheck(); void Behavior_HitExit(); diff --git a/Jusin154_Team3D/Client/Public/Troll_State_Stun.h b/Jusin154_Team3D/Client/Public/Troll_State_Stun.h new file mode 100644 index 000000000..2123d8040 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Troll_State_Stun.h @@ -0,0 +1,36 @@ +#pragma once +#include "Client_Define.h" +#include "State_Root.h" + +NS_BEGIN(Client) + +class CTroll_State_Stun final : public CState_Root +{ +public: + typedef struct tagTrollStun : public CState_Root::STATE_ROOT_DESC { + function funcPriorityUpdate = { nullptr }; + function funcLateUpdate = { nullptr }; + }TROLL_STATE_STUN; +public: + CTroll_State_Stun(); + virtual ~CTroll_State_Stun() = default; + +public: + virtual void Enter(); + virtual HRESULT Update(_float fTimeDelta); + virtual void Exit(); + +private: + function m_funcPriorityUpdate = { nullptr }; + function m_funcLateUpdate = { nullptr }; + +private: + HRESULT Initialize(TROLL_STATE_STUN* pDesc); + +public: + static CTroll_State_Stun* Create(TROLL_STATE_STUN* pDesc); + virtual void Free() override; + virtual void Describe_Entity(); +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Bin/AnimIndex.txt b/Jusin154_Team3D/Editor/Bin/AnimIndex.txt index d4879fcb8..409d38ad4 100644 --- a/Jusin154_Team3D/Editor/Bin/AnimIndex.txt +++ b/Jusin154_Team3D/Editor/Bin/AnimIndex.txt @@ -1,214 +1,174 @@ -0 Hu_Rct_Accio_Loop_anm -1 Hu_Rct_Accio_Splat_anm -2 Hu_Rct_Accio_Start_anm -3 Hu_Rct_Bola_Frnt_anm -4 Hu_Rct_Bump_Stand_Rct2_Jogger_FwdLft_v02_anm -5 Hu_Rct_Bump_Stand_Rct2_Jogger_FwdRht_v01_anm -6 Hu_Rct_Bump_Stand_Rct2_Walker_BckRht_v02_anm -7 Hu_Rct_Dazed_Start_anm -8 Hu_Rct_Descendo_Grnd_anm -9 Hu_Rct_Descendo_Grnd_End_anm -10 Hu_Rct_Descendo_Grnd_Loop_anm -11 Hu_Rct_Descendo_Grnd_Start_anm -12 Hu_Rct_Dodge_Bwd_Duck_anm -13 Hu_Rct_Dodge_Fwd_Duck_anm -14 Hu_Rct_Dodge_Lft_anm -15 Hu_Rct_Dodge_Lft_Duck_135_anm -16 Hu_Rct_Dodge_Lft_Duck_45_anm -17 Hu_Rct_Dodge_Lft_Duck_anm -18 Hu_Rct_Dodge_Rht_anm -19 Hu_Rct_Dodge_Rht_Duck_135_anm -20 Hu_Rct_Dodge_Rht_Duck_45_anm -21 Hu_Rct_Dodge_Rht_Duck_anm -22 Hu_Rct_Env_UpperBody_Bats_anm -23 Hu_Rct_Env_UpperBody_SpdrWeb_anm -24 Hu_Rct_Flinch_BMIdle_Fwd_anm -25 Hu_Rct_Flinch_BMIdle_Lft_anm -26 Hu_Rct_Flinch_BMIdle_Rht_anm -27 Hu_Rct_Flinch_Fwd_Spine_ADD_anm -28 Hu_Rct_Flinch_LF_BMIdle_Fwd_anm -29 Hu_Rct_Flinch_LF_BMIdle_Lft_anm -30 Hu_Rct_Flinch_LF_BMIdle_Rht_anm -31 Hu_Rct_Flinch_Lft_anm -32 Hu_Rct_Flinch_Lft_Jog_Loop_anm -33 Hu_Rct_Flinch_Lft_Spine_ADD_anm -34 Hu_Rct_Flinch_Lft_Walk_Loop_anm -35 Hu_Rct_Flinch_Rht_anm -36 Hu_Rct_Flinch_Rht_Jog_Loop_anm -37 Hu_Rct_Flinch_Rht_Spine_ADD_anm -38 Hu_Rct_Flinch_Rht_Walk_Loop_anm -39 Hu_Rct_Flip_Bwd_01_anm -40 Hu_Rct_Frozen_ShakeOff_anm -41 Hu_Rct_Frozen_ShakeOff_v2_anm -42 Hu_Rct_Getup_Bck_2Crouch_anm -43 Hu_Rct_Getup_Bck_2Knee_anm -44 Hu_Rct_Getup_Frnt_2Crouch_anm -45 Hu_Rct_Getup_Frnt_2Knee_anm -46 Hu_Rct_Getup_Frnt_anm -47 Hu_Rct_Getup_Lftside_2Knee_anm -48 Hu_Rct_Getup_Lftside_FD_2Knee_anm -49 Hu_Rct_Getup_LftSide_FD_anm -50 Hu_Rct_Getup_Lftside_FU_2Knee_anm -51 Hu_Rct_Getup_LftSide_FU_anm -52 Hu_Rct_Getup_Rhtside_2Knee_anm -53 Hu_Rct_Getup_Rhtside_FD_2Knee_anm -54 Hu_Rct_Getup_RhtSide_FD_anm -55 Hu_Rct_Getup_Rhtside_FU_2Knee_anm -56 Hu_Rct_Getup_RhtSide_FU_anm -57 Hu_Rct_Getup_Slouch_2Knee_anm -58 Hu_Rct_Hit_2Cmbt_Bwd_anm -59 Hu_Rct_Hit_Bwd_anm -60 Hu_Rct_Hit_Fwd_anm -61 Hu_Rct_Hit_Lft_anm -62 Hu_Rct_Hit_Rht_anm -63 Hu_Rct_Hitch_Bwd_anm -64 Hu_Rct_Hitch_Fwd_anm -65 Hu_Rct_Hitch_Lft_anm -66 Hu_Rct_Hitch_Rht_anm -67 Hu_Rct_InAir_Hit_Frnt_anm -68 Hu_Rct_KnckBck_Loop_anm -69 Hu_Rct_KnckBck_Start_anm -70 Hu_Rct_KnckDn_Hvy_01_anm -71 Hu_Rct_KnckDn_Hvy_02_anm -72 Hu_Rct_KnckDn_Hvy_Fwd_01_anm -73 Hu_Rct_KnckDn_Hvy_Fwd_Splat_anm -74 Hu_Rct_KnckDn_Hvy_Splat_01_anm -75 Hu_Rct_KnckDn_Hvy_Splat_02_anm -76 Hu_Rct_Knockdown_Bwd_9m_Start_anm -77 Hu_Rct_Knockdown_Bwd_anm -78 Hu_Rct_Knockdown_Bwd_Getup_anm -79 Hu_Rct_Knockdown_Bwd_Land_anm -80 Hu_Rct_Knockdown_Bwd_SplatHold_anm -81 Hu_Rct_Knockdown_Bwd_Start_anm -82 Hu_Rct_Knockdown_Fwd_9m_Start_anm -83 Hu_Rct_Knockdown_Fwd_Getup_anm -84 Hu_Rct_Knockdown_Fwd_Land_anm -85 Hu_Rct_Knockdown_Fwd_SplatHold_anm -86 Hu_Rct_Knockdown_Fwd_Start_anm -87 Hu_Rct_Knockdown_Lft_9m_Start_anm -88 Hu_Rct_Knockdown_Lft_Getup_anm -89 Hu_Rct_Knockdown_Lft_Land_anm -90 Hu_Rct_Knockdown_Lft_SplatHold_anm -91 Hu_Rct_Knockdown_Lft_Start_anm -92 Hu_Rct_Knockdown_Rht_9m_Start_anm -93 Hu_Rct_Knockdown_Rht_Getup_anm -94 Hu_Rct_Knockdown_Rht_Land_anm -95 Hu_Rct_Knockdown_Rht_SplatHold_anm -96 Hu_Rct_Knockdown_Rht_Start_anm -97 Hu_Rct_Levioso_Loop_anm -98 Hu_Rct_Levitate_Land_anm -99 Hu_Rct_Levitate_Land_Fail_anm -100 Hu_Rct_Levitate_Loop_anm -101 Hu_Rct_Levitate_Rht_Arm_Fail_anm -102 Hu_Rct_Levitate_Rht_Arm_Success_anm -103 Hu_Rct_Levitate_Start_anm -104 Hu_Rct_LF_Spell_Trip_Catch_anm -105 Hu_Rct_LF_WallStop_anm -106 Hu_Rct_Ragdoll_Flail_anm -107 Hu_Rct_Ragdoll_Panic_Loop_anm -108 Hu_Rct_Ragdoll_Wall_Anticipate_anm -109 Hu_Rct_Ragdoll_Writhe_Loop_anm -110 Hu_Rct_RF_WallStop_anm -111 Hu_Rct_Send_Bwd_Getup_anm -112 Hu_Rct_Send_Bwd_Loop_02_anm -113 Hu_Rct_Send_Bwd_Loop_anm -114 Hu_Rct_Send_Bwd_SplatGround_anm -115 Hu_Rct_Send_Bwd_SplatHold_anm -116 Hu_Rct_Send_Bwd_Tumble_Loop_02_anm -117 Hu_Rct_Send_Bwd_Tumble_Loop_anm -118 Hu_Rct_Send_Fwd_Loop_anm -119 Hu_Rct_Send_Fwd_Start_anm -120 Hu_Rct_Send_Fwd_StartLoop_anm -121 Hu_Rct_Slam_Wall_Bck_Bounce_anm -122 Hu_Rct_Slam_Wall_Frnt_Bounce_anm -123 Hu_Rct_Spell_Dance_anm -124 Hu_Rct_Spell_Dance_v01_anm -125 Hu_Rct_Spell_Glacius_End_anm -126 Hu_Rct_Spell_Glacius_Fail_anm -127 Hu_Rct_Spell_Glacius_Fail_End_anm -128 Hu_Rct_Spell_Incarcerous_End_anm -129 Hu_Rct_Spell_Incarcerous_End_Fail_anm -130 Hu_Rct_Spell_Incarcerous_Loop_anm -131 Hu_Rct_Spell_Incarcerous_Start_anm -132 Hu_Rct_Spell_Petrificus_End_anm -133 Hu_Rct_Spell_Petrificus_End_Fail_anm -134 Hu_Rct_Spell_Petrificus_GetUp_anm -135 Hu_Rct_Spell_Petrificus_Loop_anm -136 Hu_Rct_Spell_Petrificus_SplatGround_anm -137 Hu_Rct_Spell_Petrificus_SplatGround_Hold_anm -138 Hu_Rct_Spell_Petrificus_Start_anm -139 Hu_Rct_Spell_Scalp_anm -140 Hu_Rct_Spell_Sneeze_anm -141 Hu_Rct_Spell_TimeDialation_v01_anm -142 Hu_Rct_Spell_Trip_Catch_v01_anm -143 Hu_Rct_Spell_Trip_Catch_v02_anm -144 Hu_Rct_Spell_Trip_Fall_anm -145 Hu_Rct_Spell_Trip_Fall_v01_anm -146 Hu_Rct_Spell_Web_End_anm -147 Hu_Rct_Spell_Web_End_Fail_anm -148 Hu_Rct_Spell_Web_End_Fail_Break_anm -149 Hu_Rct_Spell_Web_End_Fail_Loop_anm -150 Hu_Rct_Spell_Web_Hit_anm -151 Hu_Rct_Spell_Web_Loop_anm -152 Hu_Rct_SpellFlinch_Sit_Bck_v01_anm -153 Hu_Rct_SpellFlinch_Sit_Bck_v02_anm -154 Hu_Rct_SpellFlinch_Sit_Bck_v03_anm -155 Hu_Rct_SpellFlinch_Sit_Fwd_v01_anm -156 Hu_Rct_SpellFlinch_Sit_Fwd_v02_anm -157 Hu_Rct_SpellFlinch_Sit_Fwd_v03_anm -158 Hu_Rct_SpellFlinch_Sit_Lft_v01_anm -159 Hu_Rct_SpellFlinch_Sit_Lft_v02_anm -160 Hu_Rct_SpellFlinch_Sit_Rht_v01_anm -161 Hu_Rct_SpellFlinch_Sit_Rht_v02_anm -162 Hu_Rct_SpellFlinch_Sit_Rht_v03_anm -163 Hu_Rct_SpellFlinch_Stand_Bck_v01_anm -164 Hu_Rct_SpellFlinch_Stand_Bck_v02_anm -165 Hu_Rct_SpellFlinch_Stand_Bck_v03_anm -166 Hu_Rct_SpellFlinch_Stand_Fwd_v01_anm -167 Hu_Rct_SpellFlinch_Stand_Fwd_v02_anm -168 Hu_Rct_SpellFlinch_Stand_Fwd_v03_anm -169 Hu_Rct_SpellFlinch_Stand_Lft_v01_anm -170 Hu_Rct_SpellFlinch_Stand_Lft_v02_anm -171 Hu_Rct_SpellFlinch_Stand_Rht_v01_anm -172 Hu_Rct_SpellFlinch_Stand_Rht_v02_anm -173 Hu_Rct_SpellFlinch_Walk_Bck_v01_anm -174 Hu_Rct_SpellFlinch_Walk_Fwd_v01_anm -175 Hu_Rct_SpellFlinch_Walk_Lft_v01_anm -176 Hu_Rct_SpellFlinch_Walk_Lft_v03_anm -177 Hu_Rct_SpellFlinch_Walk_Lft_v04_anm -178 Hu_Rct_SpellFlinch_Walk_Rht_01_anm -179 Hu_Rct_SpellFlinch_Walk_Rht_02_anm -180 Hu_Rct_SpellImpact_Walk_Bck_v03_anm -181 Hu_Rct_SpellImpact_Walk_Fwd_v01_anm -182 Hu_Rct_SpellImpact_Walk_Fwd_v02_anm -183 Hu_Rct_SpellImpact_Walk_Lft_v02_anm -184 Hu_Rct_SpellImpact_Walk_Rht_v01_anm -185 Hu_Rct_SpelLook_Ground_DrunkSleep_Fwd_v01_anm -186 Hu_Rct_SpelLook_Ground_Fwd_v01_anm -187 Hu_Rct_SpelLook_WallLean_Fwd_v01_anm -188 Hu_Rct_SpelLook_WallLean_Fwd_v02_anm -189 Hu_Rct_Startled_Bwd_anm -190 Hu_Rct_Startled_Fwd_anm -191 Hu_Rct_Startled_Lft_anm -192 Hu_Rct_Startled_Rht_anm -193 Hu_Rct_Stumble2Knee_Bwd_anm -194 Hu_Rct_Stumble2Knee_Fwd_anm -195 Hu_Rct_Stumble_Bwd_01_Frozen_anm -196 Hu_Rct_Stumble_Bwd_anm -197 Hu_Rct_Stumble_Bwd_Fire_anm -198 Hu_Rct_Stumble_Bwd_Hvy_anm -199 Hu_Rct_Stumble_Bwd_Lft_anm -200 Hu_Rct_Stumble_Bwd_Rht_anm -201 Hu_Rct_Stumble_Fwd_anm -202 Hu_Rct_Stumble_Fwd_Frozen_01_anm -203 Hu_Rct_Stumble_Fwd_Lft_anm -204 Hu_Rct_Stumble_Lft_180_4m_anm -205 Hu_Rct_Stumble_Lft_anm -206 Hu_Rct_Stumble_Lft_Frozen_01_anm -207 Hu_Rct_Stumble_Rht_180_4m_anm -208 Hu_Rct_Stumble_Rht_anm -209 Hu_Rct_Stumble_Rht_Frozen_01_anm -210 Hu_Rct_Wounded_Knee_Death_Fwrd_anm -211 Hu_Rct_Wounded_Knee_End_anm -212 Hu_Rct_Wounded_Knee_Enter_anm -213 Hu_Rct_Wounded_Knee_Loop_anm +0 Trl_BM_Alert_LF_Walk_Turn_Start_Lft_135_anm +1 Trl_BM_Alert_LF_Walk_Turn_Start_Lft_180_anm +2 Trl_BM_Alert_LF_Walk_Turn_Start_Lft_45_anm +3 Trl_BM_Alert_LF_Walk_Turn_Start_Lft_90_anm +4 Trl_BM_Alert_LF_Walk_Turn_Start_Rht_135_anm +5 Trl_BM_Alert_LF_Walk_Turn_Start_Rht_180_anm +6 Trl_BM_Alert_LF_Walk_Turn_Start_Rht_90_anm +7 Trl_BM_Alert_Look_2Cmbt_180L_anm +8 Trl_BM_Alert_Look_2Cmbt_180R_anm +9 Trl_BM_Alert_Look_2Cmbt_90L_anm +10 Trl_BM_Alert_Look_2Cmbt_90R_anm +11 Trl_BM_Alert_Look_2Cmbt_A_anm +12 Trl_BM_Alert_Look_2Cmbt_anm +13 Trl_BM_Alert_Look_2Cmbt_B_anm +14 Trl_BM_Alert_Look_2Cmbt_C_ClubSwing_anm +15 Trl_BM_Alert_Look_End_Fwd_anm +16 Trl_BM_Alert_Look_Loop_anm +17 Trl_BM_Alert_Look_Loop_v01_anm +18 Trl_BM_Alert_Look_Loop_v02_anm +19 Trl_BM_Alert_Look_Start_Fwd_anm +20 Trl_BM_Alert_Look_Turn_InPlace_A_anm +21 Trl_BM_Alert_Look_Turn_InPlace_B_anm +22 Trl_BM_Alert_Walk_Loop_Fwd_anm +23 Trl_BM_Alert_Walk_Loop_Fwd_End_anm +24 Trl_BM_Alert_Walk_Loop_Fwd_Start_anm +25 Trl_BM_Idle_01_Face_anm +26 Trl_BM_Idle_Break_01_anm +27 Trl_BM_Idle_Break_01_Face_anm +28 Trl_BM_Idle_Break_02_anm +29 Trl_BM_Idle_Break_02_Face_anm +30 Trl_BM_Idle_Break_03_anm +31 Trl_BM_Idle_Break_04_anm +32 Trl_BM_Lean_0_anm +33 Trl_BM_LF_Idle_anm +34 Trl_BM_LF_Walk_Turn_Start_Lft_135_anm +35 Trl_BM_LF_Walk_Turn_Start_Lft_180_anm +36 Trl_BM_LF_Walk_Turn_Start_Lft_45_anm +37 Trl_BM_LF_Walk_Turn_Start_Lft_90_anm +38 Trl_BM_LF_Walk_Turn_Start_Rht_135_anm +39 Trl_BM_LF_Walk_Turn_Start_Rht_180_anm +40 Trl_BM_LF_Walk_Turn_Start_Rht_45_anm +41 Trl_BM_LF_Walk_Turn_Start_Rht_90_anm +42 Trl_BM_Walk_Loop_Fwd_End_Wander_anm +43 Trl_BM_Walk_Loop_Fwd_Lft_45_Wander_anm +44 Trl_BM_Walk_Loop_Fwd_Rht_45_Wander_anm +45 Trl_BM_Walk_Loop_Fwd_Start_Wander_anm +46 Trl_BM_Walk_Loop_Fwd_Wander_anm +47 Trl_Cmbt_Atk_01_Face_anm +48 Trl_Cmbt_Atk_02_Face_anm +49 Trl_Cmbt_Atk_03_Face_anm +50 Trl_Cmbt_Atk_Charge_Check_anm +51 Trl_Cmbt_Atk_Charge_Knee_End_anm +52 Trl_Cmbt_Atk_Charge_Knee_Loop_anm +53 Trl_Cmbt_Atk_Charge_Knee_Start_anm +54 Trl_Cmbt_Atk_Charge_Loop_anm +55 Trl_Cmbt_Atk_Charge_Start_anm +56 Trl_Cmbt_Atk_Charge_Stop_RU_anm +57 Trl_Cmbt_Atk_Charge_Stop_Turn_Lft_anm +58 Trl_Cmbt_Atk_Charge_Stop_Turn_Rht_anm +59 Trl_Cmbt_Atk_Charge_Stumble_Fwd_anm +60 Trl_Cmbt_Atk_Charge_Stun_anm +61 Trl_Cmbt_Atk_Hop_Bckhnd_RU_anm +62 Trl_Cmbt_Atk_Hop_Forhnd_LU_anm +63 Trl_Cmbt_Atk_LF_Stomp_Bck_anm +64 Trl_Cmbt_Atk_LF_Stomp_Fwd_anm +65 Trl_Cmbt_Atk_LF_Stomp_Lft_anm +66 Trl_Cmbt_Atk_Overhead_Slam_anm +67 Trl_Cmbt_Atk_Overhead_Slam_BckHnd_anm +68 Trl_Cmbt_Atk_Overhead_Slam_Jog_anm +69 Trl_Cmbt_Atk_Overhead_Slam_Lft_180_anm +70 Trl_Cmbt_Atk_Overhead_Slam_Lft_90_anm +71 Trl_Cmbt_Atk_Overhead_Slam_Rht_180_anm +72 Trl_Cmbt_Atk_Overhead_Slam_Rht_90_anm +73 Trl_Cmbt_Atk_RF_Stomp_Rht_anm +74 Trl_cmbt_Atk_RockThrow_Fwd_anm +75 Trl_Cmbt_Atk_RockThrow_Lft_anm +76 Trl_Cmbt_Atk_RockThrow_Rht_anm +77 Trl_Cmbt_Atk_Rockthrow_Start_anm +78 Trl_Cmbt_Atk_StepBack_Swing_Fwd_anm +79 Trl_Cmbt_Atk_StepSwing_Fwd_BckHnd_anm +80 Trl_Cmbt_Atk_StepSwing_Fwd_BckHnd_Splt_anm +81 Trl_Cmbt_Atk_StepSwing_Fwd_ForHnd_anm +82 Trl_Cmbt_Atk_StepSwing_Fwd_ForHnd_Splt_anm +83 Trl_Cmbt_Atk_StepSwing_Lft_180_BckHnd_anm +84 Trl_Cmbt_Atk_StepSwing_Lft_90_BckHnd_anm +85 Trl_Cmbt_Atk_StepSwing_Rht_180_ForHnd_Splt_anm +86 Trl_Cmbt_Atk_StepSwing_Rht_90_ForHnd_anm +87 Trl_Cmbt_Atk_Swing_Fwd_anm +88 Trl_Cmbt_Atk_Swing_Fwd_BckHnd_anm +89 Trl_Cmbt_Atk_Swing_Fwd_BckHnd_Jog_anm +90 Trl_Cmbt_Atk_Swing_Fwd_BckHnd_Splt_anm +91 Trl_Cmbt_Atk_Swing_Fwd_Jog_anm +92 Trl_Cmbt_Atk_Swing_Fwd_Splt_anm +93 Trl_Cmbt_Atk_Swing_Lft_anm +94 Trl_Cmbt_Atk_Swing_Rht_anm +95 Trl_Cmbt_Atk_Swipe_anm +96 Trl_Cmbt_Atk_Swipe_Lft_180_anm +97 Trl_Cmbt_Atk_Swipe_Lft_90_anm +98 Trl_Cmbt_Atk_Swipe_Rht_90_anm +99 Trl_Cmbt_Atk_Tantrum_01_anm +100 Trl_Cmbt_Atk_Tantrum_02_anm +101 Trl_Cmbt_Idle_01_anm +102 Trl_Cmbt_idle_01_Face_anm +103 Trl_Cmbt_Jog_Loop_Fwd_anm +104 Trl_Cmbt_Jog_Start_Fwd_anm +105 Trl_Cmbt_Jog_Turn_Start_Lft_135_anm +106 Trl_Cmbt_Jog_Turn_Start_Lft_180_anm +107 Trl_Cmbt_Jog_Turn_Start_Lft_45_anm +108 Trl_Cmbt_Jog_Turn_Start_Lft_90_anm +109 Trl_Cmbt_Jog_Turn_Start_Rht_135_anm +110 Trl_Cmbt_Jog_Turn_Start_Rht_180_anm +111 Trl_Cmbt_Jog_Turn_Start_Rht_45_anm +112 Trl_Cmbt_Jog_Turn_Start_Rht_90_anm +113 Trl_Cmbt_LF_Idle_Turn_Lft_135_anm +114 Trl_Cmbt_LF_Idle_Turn_Lft_180_anm +115 Trl_Cmbt_LF_Idle_Turn_Lft_45_anm +116 Trl_Cmbt_LF_Idle_Turn_Lft_90_anm +117 Trl_Cmbt_LF_Idle_Turn_Rht_135_anm +118 Trl_Cmbt_LF_Idle_Turn_Rht_180_anm +119 Trl_Cmbt_LF_Idle_Turn_Rht_45_anm +120 Trl_Cmbt_LF_Idle_Turn_Rht_90_anm +121 Trl_Cmbt_Look_Lft_anm +122 Trl_Cmbt_Look_Rht_anm +123 Trl_Cmbt_OverHead_Slam_Taunt_01_anm +124 Trl_Cmbt_OverHead_Slam_Taunt_02_anm +125 Trl_Cmbt_Rct_Death_01_Face_anm +126 Trl_Cmbt_Rct_Death_02_Face_anm +127 Trl_Cmbt_Rct_Flinch_Charge_anm +128 Trl_Cmbt_Rct_Hit_01_Face_anm +129 Trl_Cmbt_Rct_Hit_02_Face_anm +130 Trl_Cmbt_Rct_Hit_03_Face_anm +131 Trl_Cmbt_Rct_Mandrake_Loop_anm +132 Trl_Cmbt_Rct_Mandrake_Start_anm +133 Trl_Cmbt_Rct_Mandrake_Stop_anm +134 Trl_Cmbt_Roar_01_Face_anm +135 Trl_Cmbt_Roar_02_Face_anm +136 Trl_Cmbt_Roar_03_Face_anm +137 Trl_Cmbt_Spawn_Ink_02_anm +138 Trl_Cmbt_Spawn_Ink_anm +139 Trl_Cmbt_Spwn_Breakthrough_01_anm +140 Trl_Cmbt_Spwn_Breakthrough_02_anm +141 Trl_Cmbt_Taunt_Fwd_05_anm +142 Trl_Cmbt_Taunt_Fwd_06_anm +143 Trl_Cmbt_Taunt_Fwd_07_anm +144 Trl_Cmbt_Taunt_Fwd_08_anm +145 Trl_Cmbt_Taunt_Fwd_09_anm +146 Trl_Cmbt_Taunt_Lft_135_anm +147 Trl_Cmbt_Taunt_Lft_180_anm +148 Trl_Cmbt_Taunt_Lft_45_07_anm +149 Trl_Cmbt_Taunt_Lft_90_07_anm +150 Trl_Cmbt_Taunt_Lft_90_anm +151 Trl_Cmbt_Taunt_Rht_135_anm +152 Trl_Cmbt_Taunt_Rht_180_anm +153 Trl_Cmbt_Taunt_Rht_45_07_anm +154 Trl_Cmbt_Taunt_Rht_90_07_anm +155 Trl_Cmbt_Taunt_Rht_90_anm +156 Trl_Rct_Club_Face_anm +157 Trl_Rct_Club_Face_End_anm +158 Trl_Rct_Dazed_End_anm +159 Trl_Rct_Dazed_Loop_anm +160 Trl_Rct_Dazed_Start_anm +161 Trl_Rct_Hitch_Bwd_Add_anm +162 Trl_Rct_Hitch_Fwd_Add_anm +163 Trl_Rct_Hitch_Lft_Add_anm +164 Trl_Rct_Hitch_Rht_Add_anm +165 Trl_Rct_KnckDn_Bck_anm +166 Trl_Rct_Spell_Petrificus_Start_anm +167 Trl_Rct_Stumble_Bck_02_anm +168 Trl_Rct_Stumble_Bck_03_anm +169 Trl_Rct_Stumble_Bck_04_anm +170 Trl_Rct_Stumble_Fwd_anm +171 Trl_Rct_Stumble_Lft_anm +172 Trl_Rct_Stumble_Rht_anm +173 Trl_STN_Grnd_Sleep_End_v01_anm diff --git a/Jusin154_Team3D/Engine/Public/FSM.h b/Jusin154_Team3D/Engine/Public/FSM.h index 2b1bcd0f3..6a2552a8d 100644 --- a/Jusin154_Team3D/Engine/Public/FSM.h +++ b/Jusin154_Team3D/Engine/Public/FSM.h @@ -35,6 +35,7 @@ enum ESTATE : _u64Flag BLINK = 1ULL << 28, SHUFFLE = 1ULL << 29, DEAD = 1ULL << 30, + STUN = 1ULL << 31, END }; NS_END