diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index 6aa8d9b4c..271ccac82 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -184,6 +184,8 @@ call Update_Resources.bat
+
+
@@ -200,6 +202,7 @@ call Update_Resources.bat
+
@@ -467,6 +470,8 @@ call Update_Resources.bat
+
+
@@ -482,6 +487,7 @@ call Update_Resources.bat
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index 4005a93f4..6a9004b72 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -854,6 +854,15 @@
02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_GroundPulse
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_DeadSplash
+
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Swipe
+
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_DeadImpact
+
02.GameObjects\NPC\Hostile\Human_Duelist
@@ -1782,6 +1791,15 @@
{8b69e309-b90b-47f6-8f2d-3dd778b468fe}
+
+ {a7aeb7ef-a180-49ba-81f6-c8a47dcb941d}
+
+
+ {7a994c53-e406-485e-82c2-6a116b6b23e5}
+
+
+ {e1fcb75d-6e7a-4adb-9835-6913ac6f44b6}
+
{b50fed80-37dd-4adb-afd4-ba153cef8a92}
@@ -2595,6 +2613,15 @@
02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_GroundPulse
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_DeadSplash
+
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_DeadImpact
+
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Swipe
+
04.Mechanic\State\State_Combat\State_CutScene
diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp
index 025be182d..1c6df1d9b 100644
--- a/Jusin154_Team3D/Client/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp
@@ -52,6 +52,9 @@
#include "Ranrok_Land.h"
#include "Ranrok_GroundPulse.h"
#include "Ranrok_Rush_Bottom.h"
+#include "Ranrok_Swipe.h"
+#include "Ranrok_DeadSplash.h"
+#include "Ranrok_DeadImpact.h"
CEffectPool::CEffectPool(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CGameObject(pDevice, pContext)
@@ -668,6 +671,33 @@ HRESULT CEffectPool::Ready_MonsterEffect()
return pEffect; }
))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_SWIPE, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_Swipe* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_DEAD_SPLASH, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_DeadSplash* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_DEAD_IMPACT, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_DeadImpact* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
return S_OK;
}
@@ -686,6 +716,7 @@ HRESULT CEffectPool::Create_Effect(SKILL_TYPE eType, _uint iNumEffect, _uint iPr
}
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Human_Duelist.cpp b/Jusin154_Team3D/Client/Private/Human_Duelist.cpp
index 280d2e25e..598789c6f 100644
--- a/Jusin154_Team3D/Client/Private/Human_Duelist.cpp
+++ b/Jusin154_Team3D/Client/Private/Human_Duelist.cpp
@@ -12,13 +12,12 @@
#include "Mesh.h"
CHuman_Duelist::CHuman_Duelist(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
- : CUnit(pDevice, pContext)
+ : CMonster(pDevice, pContext)
{
}
CHuman_Duelist::CHuman_Duelist(const CHuman_Duelist& Prototype)
- : CUnit(Prototype),
- m_pInfoInstance(CInfoInstance::GetInstance())
+ : CMonster(Prototype)
{
}
@@ -60,8 +59,7 @@ HRESULT CHuman_Duelist::Initialize(void* pArg)
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object();
SAFE_ADDREF(m_pEffectPool);
- m_pInfoInstance->Regist_PlayerAlly(this);
- m_pInfoInstance->Set_Damage(m_pStat->Get_Stat().fDamage);
+ m_pInfoInstance->Regist_ActiveMonster(this);
{
PLAYERDESC* pDesc = static_cast(pArg);
_vector vPos = XMLoadFloat4(&pDesc->vPos);
@@ -71,7 +69,7 @@ HRESULT CHuman_Duelist::Initialize(void* pArg)
m_pTransformCom->Rotation(vRotQ);
}
- m_bAI = false;
+ m_bAI = true;
m_pModelCom->Set_DisableRootMotionScale(true);
@@ -106,6 +104,9 @@ void CHuman_Duelist::Update(_float fTimeDelta)
m_pCallBack_HitReport->Set_CurrentSlop();
}
+ for (_uint i = 0; i < ENUM_CLASS(SKILL::END); i++)
+ m_fSkillCoolTime[i] = max(0.f, m_fSkillCoolTime[i] - fTimeDelta);
+
m_pInfoInstance->Set_PlayerPos(m_pTransformCom->Get_State(STATE::POSITION));
}
@@ -121,6 +122,10 @@ void CHuman_Duelist::Late_Update(_float fTimeDelta)
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
__super::Late_Update(fTimeDelta);
+
+ if (true == m_bLookAt) {
+ m_pTransformCom->LookAt_Horizontal_Lerp(XMLoadFloat4(&m_vTargetPos), fTimeDelta, 3.f);
+ }
}
@@ -224,8 +229,6 @@ HRESULT CHuman_Duelist::Render_Shadow(SHADOW eType)
}
void CHuman_Duelist::OnCollision(CGameObject* pOther, void* pDesc)
{
- _int iCurrAnim = m_pModelCom->Get_AnimIndex();
-
ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
if (CollisionDesc) {
Check_HitAngle(XMLoadFloat4(&CollisionDesc->vHitDir));
@@ -252,7 +255,11 @@ HRESULT CHuman_Duelist::Ready_Components()
Desc.fRotationPerSec = XMConvertToRadians(180.0f);
Desc.fRadius = 10.f;
- if (FAILED(__super::Ready_Components(&Desc))) {
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pTransformCom, &Desc))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pFSM))) {
return E_FAIL;
}
@@ -280,9 +287,10 @@ HRESULT CHuman_Duelist::Ready_Components()
return E_FAIL;
}
- m_pStat = m_pInfoInstance->Get_PlayerStatPtr();
- m_Components.push_back(m_pStat);
- SAFE_ADDREF(m_pStat);
+
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_M_STUDENT"), (CComponent**)&m_pStat))) {
+ return E_FAIL;
+ }
{ // CCT
CCharacter_Controller::Character_Controller_DESC Desc{};
diff --git a/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp b/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
index 05c0debca..bc0454557 100644
--- a/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
@@ -24,10 +24,21 @@
void CHuman_Duelist::Behavior_IdleEnter()
{
m_pFSM->Enable_State(FSMSTATE::IDLE);
+ pair<_uint, _bool> pairAnimInfo;
+ pairAnimInfo = m_Animation[STATEANIM::IDLE];
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
}
HRESULT CHuman_Duelist::Behavior_IdleExitCheck(_float fTimeDelta)
{
+ for (_uint i = 0; i < ENUM_CLASS(SKILL::END); i++)
+ {
+ if (m_fSkillCoolTime[i] == 0.f) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ return E_FAIL;
+ }
+ }
return S_OK;
}
@@ -43,6 +54,26 @@ void CHuman_Duelist::Behavior_CombatEnter()
HRESULT CHuman_Duelist::Behavior_CombatExitCheck()
{
+ if (m_fSkillCoolTime[ENUM_CLASS(SKILL::LEVIOSO)] <= 0.f)
+ {
+ m_pFSM->Change_State(FSMSTATE::SPELL);
+ return E_FAIL;
+ }
+ else if (m_fSkillCoolTime[ENUM_CLASS(SKILL::PROTEGO)] <= 0.f)
+ {
+ m_pFSM->Change_State(FSMSTATE::SHIELD);
+ return E_FAIL;
+ }
+ else if (m_fSkillCoolTime[ENUM_CLASS(SKILL::LIGHT_ATTACK)] <= 0.f)
+ {
+ m_pFSM->Change_State(FSMSTATE::LIGHT_ATTACK);
+ return E_FAIL;
+ }
+ else {
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+ return E_FAIL;
+ }
+
return S_OK;
}
@@ -53,11 +84,44 @@ void CHuman_Duelist::Behavior_CombatExit()
void CHuman_Duelist::Behavior_LightAttackEnter()
{
+ pair<_uint, _bool> pairAnimInfo;
m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK);
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 3);
+ switch (iRand)
+ {
+ case 0:
+ pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
+ break;
+ case 1:
+ pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK2];
+ break;
+ case 2:
+ pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK3];
+ break;
+ case 3:
+ pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK4];
+ break;
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+
+ Add_Event(pairAnimInfo.first,
+ [this]() {_uint iIndex = 0; m_pEffectPool->Use_Skill(SKILL_TYPE::JAP, Get_PartObject(), &iIndex); },
+ 0.2f);
+
+ Add_Event(pairAnimInfo.first,
+ [this]() { m_pEffectPool->Use_Skill(SKILL_TYPE::JAP_SIDE, Get_PartObject()); },
+ 0.0f);
+
+ m_fSkillCoolTime[ENUM_CLASS(SKILL::LIGHT_ATTACK)] = m_fMaxSkillCoolTime[ENUM_CLASS(SKILL::LIGHT_ATTACK)];
}
HRESULT CHuman_Duelist::Behavior_LightAttackExitCheck(_float fTimeDelta)
{
+ if (m_pModelCom->IsFinishedAnim())
+ {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ return E_FAIL;
+ }
return S_OK;
}
@@ -69,10 +133,28 @@ void CHuman_Duelist::Behavior_LightAttackExit()
void CHuman_Duelist::Behavior_SpellEnter()
{
m_pFSM->Enable_State(FSMSTATE::SPELL);
+ pair<_uint, _bool> pairAnimInfo;
+ pairAnimInfo = m_Animation[STATEANIM::SPELL];
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+
+ Add_Event(pairAnimInfo.first,
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO, this); },
+ 0.2f);
+ Add_Event(pairAnimInfo.first,
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO_SIDE, Get_PartObject()); },
+ 0.f);
+
+ m_fSkillCoolTime[ENUM_CLASS(SKILL::LEVIOSO)] = m_fMaxSkillCoolTime[ENUM_CLASS(SKILL::LEVIOSO)];
}
HRESULT CHuman_Duelist::Behavior_SpellExitCheck()
{
+ if (m_pModelCom->IsFinishedAnim())
+ {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ return E_FAIL;
+ }
return S_OK;
}
@@ -84,10 +166,26 @@ void CHuman_Duelist::Behavior_SpellExit()
void CHuman_Duelist::Behavior_ShieldEnter()
{
m_pFSM->Enable_State(FSMSTATE::SHIELD);
+
+ pair<_uint, _bool> pairAnimInfo;
+ pairAnimInfo = m_Animation[STATEANIM::SKILL];
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+
+ Add_Event(pairAnimInfo.first,
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::PROTEGO, this); },
+ 0.1f);
+
+ m_fSkillCoolTime[ENUM_CLASS(SKILL::PROTEGO)] = m_fMaxSkillCoolTime[ENUM_CLASS(SKILL::PROTEGO)];
}
HRESULT CHuman_Duelist::Behavior_ShieldExitCheck()
{
+ if (m_pModelCom->IsFinishedAnim())
+ {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ return E_FAIL;
+ }
return S_OK;
}
@@ -111,7 +209,6 @@ void CHuman_Duelist::Behavior_HitExit()
m_pFSM->Disable_State(FSMSTATE::HIT);
}
-
void CHuman_Duelist::Add_FSM()
{
#pragma region Behavior_Movement_NotFocus
diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp
index fcb69dc65..4820a3961 100644
--- a/Jusin154_Team3D/Client/Private/Level_Field.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp
@@ -159,12 +159,13 @@ HRESULT CLevel_Field::Ready_Lights()
_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f);
_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
-#ifdef gimch
+#if gimch || 진우
vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f);
vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f);
vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
#endif // gimch
+
pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular);
@@ -177,6 +178,7 @@ HRESULT CLevel_Field::Ready_Volumetric()
{
m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
+
return S_OK;
}
@@ -223,12 +225,10 @@ HRESULT CLevel_Field::Ready_Layer_SkyBox()
HRESULT CLevel_Field::Ready_Background()
{
- _float4 vColor = _float4(0.2f, 0.246f, 0.253f, 1.f);
- m_pGameInstance->Set_FogColor(vColor);
- m_pGameInstance->Set_Fog(10.f, 8.f);
-
m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
+
+
CInfoInstance::GetInstance()->Load_MapObjects("Dungeon_Map_Data", LAYER_BACKGROUND);
CInfoInstance::GetInstance()->Load_WorldDecal("Duengon_Decal_Data", LAYER_BACKGROUND);
CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data", LAYER_BACKGROUND);
diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
index 566d1f4ce..9d1b17185 100644
--- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
@@ -325,18 +325,20 @@ HRESULT CLevel_GamePlay::Ready_Background()
#if 진우
#else
- if(isReady_Hogsmeade)
+
+#endif
+
+ if (isReady_Hogsmeade)
{
if (FAILED(Ready_Layer_Hogsmeade()))
return E_FAIL;
}
- if(isReady_Hogwart)
+ if (isReady_Hogwart)
{
if (FAILED(Ready_Layer_Hogwart()))
return E_FAIL;
}
-#endif
if (FAILED(Ready_IntstanceProp()))
return E_FAIL;
@@ -804,7 +806,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
isLoad_RandomNPC = true;
#endif // gimch
#ifdef 진우
- isLoad_RandomNPC = true;
+ isLoad_RandomNPC = false;
+ isLoad_NPC = false;
#endif //
#ifdef 기무리
isLoad_NPC = true;
@@ -856,12 +859,12 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
}
}
- //CPlayer::PLAYERDESC playerDesc = {};
- //playerDesc.vPos = _float4(-21.f, 0.f, -14.f, 1.f);
- //playerDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f);
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) {
- // return E_FAIL;
- //}
+ CPlayer::PLAYERDESC playerDesc = {};
+ playerDesc.vPos = _float4(-21.f, 0.f, -14.f, 1.f);
+ playerDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f);
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag,&playerDesc))) {
+ return E_FAIL;
+ }
}
@@ -903,7 +906,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
#endif // gimch
#ifdef 진우
- isLoad_Monster = true;
+ isLoad_Monster = false;
#endif //
#ifdef 기무리
isLoad_Monster = true;
diff --git a/Jusin154_Team3D/Client/Private/Level_Logo.cpp b/Jusin154_Team3D/Client/Private/Level_Logo.cpp
index 0dbf4fd1d..abbf41173 100644
--- a/Jusin154_Team3D/Client/Private/Level_Logo.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Logo.cpp
@@ -46,6 +46,9 @@ void CLevel_Logo::Update(_float fTimeDelta)
return;
}
}
+
+
+
}
HRESULT CLevel_Logo::Render()
diff --git a/Jusin154_Team3D/Client/Private/Light_Main.cpp b/Jusin154_Team3D/Client/Private/Light_Main.cpp
index 235ee5384..86b3fa2c6 100644
--- a/Jusin154_Team3D/Client/Private/Light_Main.cpp
+++ b/Jusin154_Team3D/Client/Private/Light_Main.cpp
@@ -98,12 +98,21 @@ HRESULT CLight_Main::Ready_Components(void* pArg)
{
__super::Ready_Components(nullptr);
- _matrix LIGHT_WorldMatrixDoNotModify =
- _matrix(0.819145918f, 0.f, -0.573572040f, 0.f,
+
+ if (NEXT_LEVEL == ENUM_CLASS(LEVEL::GAMEPLAY))
+ {
+ _matrix LIGHT_WorldMatrixDoNotModify =
+ _matrix(0.819145918f, 0.f, -0.573572040f, 0.f,
0.553958654f, 0.258784860f, 0.791134834f, 0.f
, 0.148416296f, -0.965690017f, 0.211960629f, 0.f
, 0.f, 0.f, 0.f, 1.f);
- m_pTransformCom->Set_WorldMatrix(LIGHT_WorldMatrixDoNotModify);
+ m_pTransformCom->Set_WorldMatrix(LIGHT_WorldMatrixDoNotModify);
+ }
+ else if (NEXT_LEVEL == ENUM_CLASS(LEVEL::FIELD))
+ {
+ m_pTransformCom->Rotation(XMConvertToRadians(-4.f), XMConvertToRadians(271.f), 0.f);
+
+ }
LIGHT_DESC* pLightDescArg = static_cast(pArg);
diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp
index 51e72f7de..c55466116 100644
--- a/Jusin154_Team3D/Client/Private/Loader.cpp
+++ b/Jusin154_Team3D/Client/Private/Loader.cpp
@@ -219,6 +219,9 @@
#include "Ranrok_Land.h"
#include "Ranrok_GroundPulse.h"
#include "Ranrok_Rush_Bottom.h"
+#include "Ranrok_Swipe.h"
+#include "Ranrok_DeadSplash.h"
+#include "Ranrok_DeadImpact.h"
#include "StunEffect.h"
#include "Box_Splesh.h"
@@ -2604,6 +2607,18 @@ HRESULT CLoader::Loading_For_GamePlay()
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok_Swipe::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok_DeadSplash::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok_DeadImpact::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CGoblin_Teleport::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
diff --git a/Jusin154_Team3D/Client/Private/NomalJap.cpp b/Jusin154_Team3D/Client/Private/NomalJap.cpp
index c4f08c21d..582505a75 100644
--- a/Jusin154_Team3D/Client/Private/NomalJap.cpp
+++ b/Jusin154_Team3D/Client/Private/NomalJap.cpp
@@ -303,7 +303,12 @@ void CNomalJap::OnCollision(CGameObject* pOther, void* pDesc)
Get_PartObject()->Set_Visible(false);
Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f));
- dynamic_cast(m_pOwner->Get_Owner())->Start_CameraShake(0.2f, 1.f);
+ CPlayer* pPlayer = dynamic_cast(m_pOwner->Get_Owner());
+ if (pPlayer != nullptr)
+ {
+ pPlayer->Start_CameraShake(0.2f, 1.f);
+ }
+
}
void CNomalJap::Free()
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index 3844d970f..8bdab9fb0 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -525,6 +525,8 @@ HRESULT CPlayer::Ready_Components()
}
m_pStat = m_pInfoInstance->Get_PlayerStatPtr();
+ SAFE_ADDREF(m_pStat);
+
m_Components.push_back(m_pStat);
SAFE_ADDREF(m_pStat);
diff --git a/Jusin154_Team3D/Client/Private/PlayerInfo.cpp b/Jusin154_Team3D/Client/Private/PlayerInfo.cpp
index e7cc16ab6..d999af9db 100644
--- a/Jusin154_Team3D/Client/Private/PlayerInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/PlayerInfo.cpp
@@ -10,6 +10,9 @@ CPlayerInfo::CPlayerInfo()
CStat* CPlayerInfo::Get_PlayerStatPtr()
{
+ if (m_pStat == nullptr)
+ return nullptr;
+
return m_pStat;
}
diff --git a/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp b/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp
index fcdea81f8..314330ffe 100644
--- a/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp
+++ b/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp
@@ -537,7 +537,7 @@ void CPlayerRobe::Free()
for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) {
SAFE_RELEASE(m_pRobeJointAnchor[i]);
}
-#ifdef _DEBUG
+#ifdef _Debug
if (nullptr != m_pMainShape) {
m_pMainShape.release();
m_pMainShape = nullptr;
@@ -547,5 +547,4 @@ void CPlayerRobe::Free()
m_pSubShape = nullptr;
}
#endif // _DEBUG
-
}
diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp
index b6f1a7072..604900d21 100644
--- a/Jusin154_Team3D/Client/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Player_States.cpp
@@ -224,6 +224,7 @@ HRESULT CPlayer::Behavior_IdleExitCheck(_float fTimeDelta)
}
else if (m_pGameInstance->Key_Down(DIK_G)) {
Get_PartObject()->Set_Visible(true);
+ m_pModelCom->IsSkip(true);
//m_pModelCom->Set_Second_AnimationIndex(ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_L), m_Animation[STATEANIM::POTION].first, m_Animation[STATEANIM::POTION].second);
}
else if (m_pGameInstance->Key_Down(DIK_B)) {
@@ -351,6 +352,7 @@ void CPlayer::Behavior_IdleExit()
{
m_pFSM->Disable_State(FSMSTATE::IDLE | FSMSTATE::IDLE_TURN);
Reset_Event();
+ m_pModelCom->IsSkip(false);
}
void CPlayer::Behavior_CutSceneEnter()
@@ -506,6 +508,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
}
else if (m_pGameInstance->Key_Down(DIK_G)) {
Get_PartObject()->Set_Visible(true);
+ m_pModelCom->IsSkip(true);
//m_pModelCom->Set_Second_AnimationIndex(ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_L), m_Animation[STATEANIM::POTION].first, m_Animation[STATEANIM::POTION].second);
}
@@ -735,6 +738,7 @@ void CPlayer::Behavior_MoveExit()
{
m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK | FSMSTATE::STOP);
Reset_Event();
+ m_pModelCom->IsSkip(false);
}
void CPlayer::Behavior_JumpEnter()
diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp
index 4e8d24960..610a11ed5 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp
@@ -326,8 +326,9 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
-
+#ifndef 진우
XMStoreFloat4(&m_DamageInfo.vTarget_Pos, m_pCharacter_Controller->Get_HeadPosition());
+#endif
CEffect_Container* pEffect_Container = dynamic_cast(pOther);
@@ -382,7 +383,9 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
m_DamageInfo.fDamage = damagePair.first;
+#ifndef 진우
m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
+#endif
if (0 == damagePair.second) {
m_pFSM->Change_State(FSMSTATE::DEAD);
return;
@@ -399,10 +402,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
Add_Event(pairAnimInfo.first,
[&]() {m_bDisolve = true; },
- 0.15f);
+ 0.25f);
Add_Event(pairAnimInfo.first,
[&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.5f);
+ 0.55f);
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
return;
}
@@ -415,10 +418,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
Add_Event(pairAnimInfo.first,
[&]() {m_bDisolve = true; },
- 0.15f);
+ 0.25f);
Add_Event(pairAnimInfo.first,
[&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.5f);
+ 0.55f);
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
return;
}
@@ -432,10 +435,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
Add_Event(pairAnimInfo.first,
[&]() {m_bDisolve = true; },
- 0.15f);
+ 0.25f);
Add_Event(pairAnimInfo.first,
[&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.5f);
+ 0.55f);
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
return;
}
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Breath.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Breath.cpp
index 40b798602..9108e575d 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_Breath.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_Breath.cpp
@@ -79,7 +79,7 @@ void CRanrok_Breath::Update(_float fTimeDelta)
Update_Event(fTimeDelta);
- _matrix BoneMat = XMLoadFloat4x4(m_pOwner->Get_Component()->Get_BoneMatrixPtr("jaw"));
+ _matrix BoneMat = XMLoadFloat4x4(m_pOwner->Get_Component()->Get_BoneMatrixPtr("tongue_01"));
for (int i = 0; i < 3; ++i) {
BoneMat.r[i] = XMVector3Normalize(BoneMat.r[i]);
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_DeadImpact.cpp b/Jusin154_Team3D/Client/Private/Ranrok_DeadImpact.cpp
new file mode 100644
index 000000000..cfa541b50
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/Ranrok_DeadImpact.cpp
@@ -0,0 +1,202 @@
+#include "pch.h"
+#include "Ranrok_DeadImpact.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CRanrok_DeadImpact::CRanrok_DeadImpact(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_DeadImpact::CRanrok_DeadImpact(const CRanrok_DeadImpact& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_DeadImpact::Initialize_Prototype()
+{
+
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadImpact")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_DeadImpact::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Create_Effect()))
+ return E_FAIL;
+
+ m_wstrEffectName = L"RanrokDeadImpact";
+
+
+
+ m_fDuration = 5.f;
+
+
+ return S_OK;
+}
+
+void CRanrok_DeadImpact::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_DeadImpact::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+
+
+
+}
+
+void CRanrok_DeadImpact::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CRanrok_DeadImpact::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+ /* 초기 객체 비지블*/
+
+ CEffectParts* pDistortion = Get_PartObject("Distortion");
+ CEffectParts* pDistortion_Small = Get_PartObject("Distortion_Small");
+ CEffectParts* pPulse_White = Get_PartObject("Pulse_White");
+ CEffectParts* pSplash_Black = Get_PartObject("Splash_Black");
+ CEffectParts* pSplash_Red = Get_PartObject("Splash_Red");
+ CEffectParts* pSpline0 = Get_PartObject("Spline0");
+ CEffectParts* pSpline1 = Get_PartObject("Spline1");
+ CEffectParts* pSide_Pt = Get_PartObject("Side_Pt");
+ CEffectParts* pCircle_0 = Get_PartObject("Circle_0");
+
+ pDistortion->Set_Visible(true);
+ pDistortion_Small->Set_Visible(true);
+ pPulse_White->Set_Visible(true);
+ pSplash_Black->Set_Visible(true);
+ pSplash_Red->Set_Visible(true);
+ pSpline0->Set_Visible(true);
+ pSpline1->Set_Visible(true);
+ pSide_Pt->Set_Visible(true);
+ pCircle_0->Set_Visible(true);
+ /* 초기 객체 위치 초기화*/
+
+ _vector vPos = m_pOwner->Get_Component()->Get_HeadPosition();
+
+
+ pDistortion->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pDistortion_Small->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pPulse_White->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSplash_Black->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSplash_Red->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSpline0->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSpline1->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSide_Pt->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pCircle_0->Get_Component()->Set_State(STATE::POSITION, vPos);
+
+ return S_OK;
+}
+
+HRESULT CRanrok_DeadImpact::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_DeadImpact::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_DeadImpact* CRanrok_DeadImpact::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_DeadImpact* pInstance = new CRanrok_DeadImpact(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_DeadImpact");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_DeadImpact::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_DeadImpact* pInstance = new CRanrok_DeadImpact(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_DeadImpact");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_DeadImpact::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+
+
+}
+
+void CRanrok_DeadImpact::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pInfoInstance);
+
+
+}
+#ifdef _DEBUG
+void CRanrok_DeadImpact::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CRanrok_DeadImpact::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_DeadSplash.cpp b/Jusin154_Team3D/Client/Private/Ranrok_DeadSplash.cpp
new file mode 100644
index 000000000..63162ab15
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/Ranrok_DeadSplash.cpp
@@ -0,0 +1,203 @@
+#include "pch.h"
+#include "Ranrok_DeadSplash.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CRanrok_DeadSplash::CRanrok_DeadSplash(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_DeadSplash::CRanrok_DeadSplash(const CRanrok_DeadSplash& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_DeadSplash::Initialize_Prototype()
+{
+
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadSplash")))
+ return E_FAIL;
+
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_DeadSplash::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Create_Effect()))
+ return E_FAIL;
+
+ m_wstrEffectName = L"RanrokDeadSplash";
+
+
+
+ m_fDuration = 5.f;
+
+
+ return S_OK;
+}
+
+void CRanrok_DeadSplash::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_DeadSplash::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+
+
+
+}
+
+void CRanrok_DeadSplash::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CRanrok_DeadSplash::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ _float4 vPos = *static_cast<_float4*>(pArg);
+ _vector vPosition = XMLoadFloat4(&vPos);
+ /* 초기 객체 비지블*/
+
+ CEffectParts* pDead_Decal = Get_PartObject("Dead_Decal");
+ CEffectParts* pRock_PT = Get_PartObject("Rock_PT");
+ CEffectParts* pRock_Splash = Get_PartObject("Rock_Splash");
+ CEffectParts* pSplash = Get_PartObject("Splash");
+
+ pDead_Decal->Set_Visible(true);
+ pRock_PT->Set_Visible(true);
+
+ pRock_Splash->Set_Visible(true);
+ pSplash->Set_Visible(true);
+
+ /* 초기 객체 위치 초기화*/
+
+ pRock_PT->Get_Component()->Set_State(STATE::POSITION, vPosition);
+ pSplash->Get_Component()->Set_State(STATE::POSITION, vPosition);
+
+ CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first;
+
+ if (pPlayer == nullptr)
+ return E_FAIL;
+
+ _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition();
+
+
+ _vector vCompute_Pos = XMVectorSetY(vPosition, XMVectorGetY(vPlayer_FootPos));
+ pRock_Splash->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
+
+ vCompute_Pos = XMVectorSetY(m_pOwner->Get_WorldPostion(), XMVectorGetY(vPlayer_FootPos));
+
+ pDead_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
+
+ return S_OK;
+}
+
+HRESULT CRanrok_DeadSplash::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_DeadSplash::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_DeadSplash* CRanrok_DeadSplash::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_DeadSplash* pInstance = new CRanrok_DeadSplash(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_DeadSplash");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_DeadSplash::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_DeadSplash* pInstance = new CRanrok_DeadSplash(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_DeadSplash");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_DeadSplash::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+
+
+}
+
+void CRanrok_DeadSplash::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pInfoInstance);
+
+
+}
+#ifdef _DEBUG
+void CRanrok_DeadSplash::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CRanrok_DeadSplash::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
index c47802e5f..740c03c9e 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
@@ -660,8 +660,12 @@ void CRanrok::Behavior_SwipeEnter()
}
Add_Event(pairAnimInfo.first,
- [this]() {m_bMotionTrail = true; },
+ [this]() {
+ m_bMotionTrail = true;
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_SWIPE , this);
+ },
0.3f);
+
m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
}
@@ -1030,20 +1034,95 @@ void CRanrok::Behavior_DeadEnter()
m_bLookAt = false;
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::DEAD);
- PSX::PxExtendedVec3 pxControlllerPos = m_pCharacter_Controller->Get_Controller()->getPosition();
- PSX::PxTransform pxTransform((_float)pxControlllerPos.x, (_float)pxControlllerPos.y + 100.f, (_float)pxControlllerPos.z);
- m_pCharacter_Controller->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
- m_pRigidBody->SetActive(false);
- m_pCharacter_Controller->SetActive(false);
+
pairAnimInfo = m_Animation[STATEANIM::DEAD];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+
+
+ m_pBottomSmoke->Set_Visible(false);
+ m_pLeftSmoke->Set_Visible(false);
+ m_pRightSmoke->Set_Visible(false);
+ m_pLeftPt->Set_Visible(false);
+ m_pRightPt->Set_Visible(false);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _vector vPos = m_pCharacter_Controller->Get_Position();
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &vPosFloat4);
+
+ }, 0.f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _matrix BoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("pinky_06_right")) * m_pTransformCom->Get_XMWorldMatrix();
+
+ _vector vPos = BoneMat.r[3];
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_SPLASH, this, &vPosFloat4);
+
+ }, 0.2f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _matrix BoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("elbow_left")) * m_pTransformCom->Get_XMWorldMatrix();
+
+ _vector vPos = BoneMat.r[3];
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_SPLASH, this, &vPosFloat4);
+
+ }, 0.34f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _matrix BoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("chest_Main")) * m_pTransformCom->Get_XMWorldMatrix();
+
+ _vector vPos = BoneMat.r[3];
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_SPLASH, this, &vPosFloat4);
+
+ }, 0.44f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _matrix BoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("chest_Main")) * m_pTransformCom->Get_XMWorldMatrix();
+
+ _vector vPos = BoneMat.r[3];
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_SPLASH, this, &vPosFloat4);
+
+ }, 0.6f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_IMPACT, this);
+
+ }, 0.8f);
+
}
HRESULT CRanrok::Behavior_DeadExitCheck(_float fTimeDelta)
{
- if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ m_fDeadRatio = CMyTools::Saturate((fRatio - 0.8f) / 0.2f);
+ if (FLT_EPSILON > fRatio) {
return E_PENDING;
}
return S_OK;
@@ -1285,8 +1364,15 @@ void CRanrok::Add_FSM()
Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_DeadExitCheck(fTimedelta); };
Desc.funcExitEvent = [this]() { Behavior_DeadExit(); };
Desc.funcLateUpdate = [this](_float fDeadRatio) {
- m_fDeadRatio = fDeadRatio;
- if (m_fDeadRatio > 1.f) {
+ // m_fDeadRatio = fDeadRatio;
+ if (m_fDeadRatio >= 1.f) {
+
+ PSX::PxExtendedVec3 pxControlllerPos = m_pCharacter_Controller->Get_Controller()->getPosition();
+ PSX::PxTransform pxTransform((_float)pxControlllerPos.x, (_float)pxControlllerPos.y + 100.f, (_float)pxControlllerPos.z);
+ m_pCharacter_Controller->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
+ m_pRigidBody->SetActive(false);
+ m_pCharacter_Controller->SetActive(false);
+
m_bDead = true;
}
};
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Swipe.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Swipe.cpp
new file mode 100644
index 000000000..20aac0de7
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/Ranrok_Swipe.cpp
@@ -0,0 +1,229 @@
+#include "pch.h"
+#include "Ranrok_Swipe.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CRanrok_Swipe::CRanrok_Swipe(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_Swipe::CRanrok_Swipe(const CRanrok_Swipe& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_Swipe::Initialize_Prototype()
+{
+
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokSwipe")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_Swipe::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Create_Effect()))
+ return E_FAIL;
+
+ m_wstrEffectName = L"RanrokSwipe";
+
+ m_pRock_PT = Get_PartObject("Rock_PT");
+ SAFE_ADDREF(m_pRock_PT);
+
+ m_fDuration = 5.f;
+
+
+ m_Events.emplace(0.4f, [&]() {
+
+ CEffectParts* pClawDecal = Get_PartObject("ClawDecal");
+ pClawDecal->Set_Visible(true);
+
+ CEffectParts* pSmoke = Get_PartObject("Swipe_Smoke");
+ pSmoke->Set_Visible(true);
+
+ _vector vComputePos = Compute_Pos();
+
+ pSmoke->Get_Component()->Set_State(STATE::POSITION, vComputePos);
+
+ _vector vLook = XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK));
+ _vector vRight = XMVector3Normalize(XMVector3Cross(XMVectorSet(0.f, 1.f, 0.f, 0.f) , vLook));
+ _vector vUp = XMVector3Normalize(XMVector3Cross(vLook , vRight));
+ _vector vPos = vComputePos;
+
+ _matrix PJ_WorldMat = { vRight , vUp ,vLook , vPos };
+
+ pClawDecal->Get_Component()->Set_WorldMatrix(PJ_WorldMat);
+ });
+
+ m_Events.emplace(0.8f, [&]() {
+ m_isParticleEnd = true;
+ m_pRock_PT->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -999.f, 0.f, 1.f));
+ });
+
+ return S_OK;
+}
+
+void CRanrok_Swipe::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_Swipe::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+ if (m_isParticleEnd == false)
+ {
+ _vector vComputePos = Compute_Pos();
+ m_pRock_PT->Get_Component()->Set_State(STATE::POSITION, vComputePos);
+
+ }
+
+
+}
+
+void CRanrok_Swipe::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CRanrok_Swipe::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ /* 초기 객체 비지블*/
+ m_pRock_PT->Set_Visible(true);
+
+
+ /* 초기 객체 위치 초기화*/
+ _vector vComputePos = Compute_Pos();
+ m_pRock_PT->Get_Component()->Set_State(STATE::POSITION, vComputePos);
+
+ m_isParticleEnd = false;
+ return S_OK;
+}
+
+HRESULT CRanrok_Swipe::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_Swipe::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_Swipe* CRanrok_Swipe::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_Swipe* pInstance = new CRanrok_Swipe(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_Swipe");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_Swipe::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_Swipe* pInstance = new CRanrok_Swipe(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_Swipe");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_Swipe::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+
+
+}
+
+_fvector CRanrok_Swipe::Compute_Pos()
+{
+ _matrix BoneMat = XMLoadFloat4x4(m_pOwner->Get_Component()->Get_BoneMatrixPtr("wrist_left_target")) * m_pOwner->Get_Component()->Get_XMWorldMatrix();
+
+ _vector vBonePos = BoneMat.r[3];
+
+
+ CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first;
+
+
+
+ _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition();
+
+ XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos);
+
+ _vector vCompute_Pos = XMVectorSetY(vBonePos, XMVectorGetY(vPlayer_FootPos));
+
+ return vCompute_Pos;
+}
+
+void CRanrok_Swipe::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pInfoInstance);
+ SAFE_RELEASE(m_pRock_PT);
+
+}
+#ifdef _DEBUG
+void CRanrok_Swipe::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CRanrok_Swipe::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h
index 49bb289da..13022cbcc 100644
--- a/Jusin154_Team3D/Client/Public/Client_Enum.h
+++ b/Jusin154_Team3D/Client/Public/Client_Enum.h
@@ -79,7 +79,7 @@ namespace Client
/*란록*/
RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_HIT , RANROK_IMPACT, RANROK_LAND, RANROK_RUSH_BOTTOM,
- RANROK_GROUNDPULSE,
+ RANROK_GROUNDPULSE, RANROK_SWIPE , RANROK_DEAD_SPLASH, RANROK_DEAD_IMPACT,
END
};
diff --git a/Jusin154_Team3D/Client/Public/Human_Duelist.h b/Jusin154_Team3D/Client/Public/Human_Duelist.h
index 87093a453..9cd1fa96f 100644
--- a/Jusin154_Team3D/Client/Public/Human_Duelist.h
+++ b/Jusin154_Team3D/Client/Public/Human_Duelist.h
@@ -1,18 +1,26 @@
#pragma once
#include "Client_Define.h"
-#include "Unit.h"
+#include "Monster.h"
#include "Player_ENUM.h"
NS_BEGIN(Client)
-class CHuman_Duelist final : public CUnit
+class CHuman_Duelist final : public CMonster
{
public:
typedef struct tagPlayerInitDesc {
_float4 vPos;
_float4 vRotQ;
}PLAYERDESC;
+
+ enum class SKILL
+ {
+ LEVIOSO,
+ PROTEGO,
+ LIGHT_ATTACK,
+ END
+ };
private:
CHuman_Duelist(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
CHuman_Duelist(const CHuman_Duelist& Prototype);
@@ -30,17 +38,12 @@ class CHuman_Duelist final : public CUnit
void Set_Shield(_bool bShield) { m_bShield = bShield; }
_matrix Get_WandPos();
private:
- CInfoInstance* m_pInfoInstance = { nullptr };
-
CCharacter_Controller* m_pCharacter_Controller = { nullptr };
CRigidBody_Dynamic* m_pRigidBody = { nullptr };
class CCallBack_Playable_Behavior* m_pCallBack_Behavior = { nullptr };
class CCallBack_Playable_HitReport* m_pCallBack_HitReport = { nullptr };
CLight* m_pLightCom = { nullptr };
LIGHT_DESC LightDesc = {};
-
- CStat* m_pStat = { nullptr };
-
private:
virtual HRESULT Initialize_Prototype() override;
virtual HRESULT Initialize(void* pArg) override;
@@ -49,8 +52,6 @@ class CHuman_Duelist final : public CUnit
HRESULT Bind_ShaderResources();
HRESULT Bind_ShaderParameters(_uint iMeshOrder);
void SetGravity();
- void Add_SpellEvent(_uint AnimIndex, _float fRatio);
-
public:
static CHuman_Duelist* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
@@ -67,11 +68,12 @@ class CHuman_Duelist final : public CUnit
virtual void Add_FSM();
- _bool m_bLookAt = { false };
_bool m_bSpellHit = {};
_bool m_bShield = { false };
- _float m_fCross = 0.f;
- _float m_fabsDir = 0.f;
+
+
+ _float m_fSkillCoolTime[ENUM_CLASS(SKILL::END)] = {};
+ _float m_fMaxSkillCoolTime[ENUM_CLASS(SKILL::END)] = { 10.f,10.f,5.f };
void Behavior_IdleEnter();
HRESULT Behavior_IdleExitCheck(_float fTimeDelta);
diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h
index 7cd67d9ba..7f9c45d99 100644
--- a/Jusin154_Team3D/Client/Public/Player.h
+++ b/Jusin154_Team3D/Client/Public/Player.h
@@ -166,7 +166,7 @@ class CPlayer final : public CUnit
_float m_fMoveTime = {};
_float m_fCross = 0.f;
_float m_fabsDir = 0.f;
- array<_float4x4, 256> SkinMatrices;
+ array<_float4x4, 256> SkinMatrices = {};
_bool m_bOpenDoor = { false };
/* 무적 불 변수*/
diff --git a/Jusin154_Team3D/Client/Public/Ranrok.h b/Jusin154_Team3D/Client/Public/Ranrok.h
index 5b37358e3..7a4dbe679 100644
--- a/Jusin154_Team3D/Client/Public/Ranrok.h
+++ b/Jusin154_Team3D/Client/Public/Ranrok.h
@@ -65,7 +65,7 @@ class CRanrok final : public CMonster
_float2 m_vStunTimer = { 0.f, 4.f };
_float2 m_vAuraTimer = { 0.f, 0.16f };
_float2 m_vEtherealTimer = { 0.f, 0.16f };
- _uint iIndex;
+ _uint iIndex = {};
DAMAGE_INFO m_DamageInfo;
_bool m_bCollisionPlayer = { false };
diff --git a/Jusin154_Team3D/Client/Public/Ranrok_DeadImpact.h b/Jusin154_Team3D/Client/Public/Ranrok_DeadImpact.h
new file mode 100644
index 000000000..88c96c39b
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/Ranrok_DeadImpact.h
@@ -0,0 +1,58 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CRanrok_DeadImpact final : public CEffect_Container
+{
+private:
+ CRanrok_DeadImpact(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_DeadImpact(const CRanrok_DeadImpact& rhs);
+ virtual ~CRanrok_DeadImpact() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEffectParts* m_pGooRod_0 = { nullptr };
+ class CEffectParts* m_pSmoke = { nullptr };
+ class CEffectParts* m_pSpread_PT = { nullptr };
+
+ _float3 m_vLook = {};
+ _float m_fLinearSpeed = 0.8f;
+
+ _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f };
+ _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f };
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_DeadImpact* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // DEBUG
+
+
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Client/Public/Ranrok_DeadSplash.h b/Jusin154_Team3D/Client/Public/Ranrok_DeadSplash.h
new file mode 100644
index 000000000..20d2b71de
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/Ranrok_DeadSplash.h
@@ -0,0 +1,58 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CRanrok_DeadSplash final : public CEffect_Container
+{
+private:
+ CRanrok_DeadSplash(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_DeadSplash(const CRanrok_DeadSplash& rhs);
+ virtual ~CRanrok_DeadSplash() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEffectParts* m_pGooRod_0 = { nullptr };
+ class CEffectParts* m_pSmoke = { nullptr };
+ class CEffectParts* m_pSpread_PT = { nullptr };
+
+ _float3 m_vLook = {};
+ _float m_fLinearSpeed = 0.8f;
+
+ _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f };
+ _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f };
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_DeadSplash* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // DEBUG
+
+
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Client/Public/Ranrok_Swipe.h b/Jusin154_Team3D/Client/Public/Ranrok_Swipe.h
new file mode 100644
index 000000000..db10922bf
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/Ranrok_Swipe.h
@@ -0,0 +1,59 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CRanrok_Swipe final : public CEffect_Container
+{
+private:
+ CRanrok_Swipe(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_Swipe(const CRanrok_Swipe& rhs);
+ virtual ~CRanrok_Swipe() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+ _fvector Compute_Pos();
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEffectParts* m_pRock_PT = { nullptr };
+
+ _float3 m_vLook = {};
+ _float m_fLinearSpeed = 0.8f;
+
+ _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f };
+ _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f };
+
+ _bool m_isParticleEnd = {};
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_Swipe* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // DEBUG
+
+
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Human_Duelist.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Human_Duelist.xml
index 5559ad281..a420af59e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Human_Duelist.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Human_Duelist.xml
@@ -2,105 +2,17 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -122,47 +34,4 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Circle_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Circle_1.bin
index 8fea3892c..0d476871e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Circle_1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Circle_1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f4b4b0ad3a97cf97ef143611c6079d6f4325be0d228683999cea32b3881ee336
+oid sha256:4d431eeeb354c31cb1a24071130e036b91accfb9dfe8728b823b4dc3d784d878
size 1231
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadImpact.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadImpact.bin
new file mode 100644
index 000000000..e6d8175e2
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadImpact.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:51cc1bb6a302145f34e05434ccf197ed9b3ea8a28cebc021eb0421d09349465e
+size 686
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadSplash.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadSplash.bin
new file mode 100644
index 000000000..f5a9e6305
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadSplash.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4be0a80f9d4ae20191e2e888290125c5f9d69a52df9a61d3f6bf39e537b2d79b
+size 302
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokSwipe.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokSwipe.bin
new file mode 100644
index 000000000..330efd160
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokSwipe.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:957fc82f3c06e2f35fa438dc7057595e9198199f4b76c9273cbcb35e35474526
+size 214
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Land_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Land_Decal.bin
index b087125e6..249c027c0 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Land_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Land_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f712cfafff85e820710e7fc754155933446134584ba231f732032b258815bb88
+oid sha256:08898353679d17f5226cf98645b24448d3b8668f45793809dc781c5ca89afab1
size 1271
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin
index 52017be31..af007b08e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1d9bcc72418ae124b879e0bdf7437fd373316f7cf177f5fa813bf7ce1844ac01
+oid sha256:331e1f821f1a3e2e2946e4518fb522e1fbc458a63eae997aa3df038c7df2e068
size 1186
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Circle_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Circle_0.bin
new file mode 100644
index 000000000..9daefdb93
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Circle_0.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8d19bb92b6278fd51e235b33b617f2696921c088f84068bae34942cec6f8db3e
+size 1208
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Distortion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Distortion.bin
new file mode 100644
index 000000000..d500e2b8d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Distortion.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6dbcf1ffc0e76b901553015a6b4faab5a3bc8b23cf97289f547c9fad32667359
+size 1255
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Distortion_Small.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Distortion_Small.bin
new file mode 100644
index 000000000..71e8fee17
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Distortion_Small.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3643ab359a86b6f40a25b52d8671f3694b60c142c523eb0a58eecdab36619b94
+size 1198
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Pulse_White.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Pulse_White.bin
new file mode 100644
index 000000000..56e26b4df
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Pulse_White.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e42bdf0cd58115ec59427a6fb2fa98fa273030fa367dfaf9ec76e1feb4744d3b
+size 1216
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Side_Pt.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Side_Pt.bin
new file mode 100644
index 000000000..223764a73
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Side_Pt.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:de79b263864b298f0fb3a1a3faef732e32fe2beaa8db74a85f0aec51369371f4
+size 1294
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Splash_Black.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Splash_Black.bin
new file mode 100644
index 000000000..ff3ad0e2f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Splash_Black.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57d1456fc05e70e5a9d7a06036bfb54d51a707874636aca664a9f65a4aa42fd3
+size 1288
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Splash_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Splash_Red.bin
new file mode 100644
index 000000000..b1d109927
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Splash_Red.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:aab2ee8208c8319b26262ba84516fd36b87f551879309b7753a963b7a9f82d86
+size 1241
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Spline0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Spline0.bin
new file mode 100644
index 000000000..0dc8b71c5
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Spline0.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b7387965307cadf937dd03c9df30adf029837be3b29505341e408bf73d933ea9
+size 1213
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Spline1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Spline1.bin
new file mode 100644
index 000000000..4a82b4d82
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadImpact/Spline1.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ae89ac75513faffcbc5a2d2edaf3a01a07211a99224e9bfc042a9c0fb67401ac
+size 1208
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Dead_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Dead_Decal.bin
new file mode 100644
index 000000000..42f4c5212
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Dead_Decal.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:eddbc56e70f7a2c6f93a45d0971613ad985c4e7a7f6aa58e7ef8f35dea07085e
+size 1264
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Rock_PT.bin
new file mode 100644
index 000000000..d5586c0e4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Rock_PT.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9fbc4fd5debcbba25e049c8ab7e5e009245c819a0fd8f287ef8ff4af34ab309e
+size 1194
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Rock_Splash.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Rock_Splash.bin
new file mode 100644
index 000000000..0005fe2f2
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Rock_Splash.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:518c77b817b93675aba995494add459674c94ba3ece2d8d9de31daf06ab88b72
+size 1194
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Splash.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Splash.bin
new file mode 100644
index 000000000..bd8c92ccc
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokDeadSplash/Splash.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c0fa7964c6eaecffe859da4c54680bbe930cffb72ee1b73a7feda50c277b60f2
+size 1295
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
index 8e83ae77d..f056eac09 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:eff64f0aec70177895feddc841d6adde1bd1c7f028149a544082712d3c57d5b4
+oid sha256:39f6dceca76fb1f83e238efa1336f37cf4f8d7d28aa7502396625211158901d5
size 1210
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
index c853d1ba6..467d74cef 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4a9533f4fe3f556901a3b7db30c9e4fb19ae943a60bf99402e73f3eeaf3ca394
+oid sha256:f0e730f326463918e9c7eda06d8d06cff6e4097e9ad032d0b57eae953945db1d
size 1217
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin
index 8f5432e80..631c5d65e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:23cf3d5bec2be4b13b8bd36a67126d5918e93a36b3cf2f8bb30b1c78bc8648dd
+oid sha256:4f806c466b4daac7716d146fc441222906abc18d222b290e5e7064599be81bd6
size 1194
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin
index 59ca1dda6..032431f32 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:95907d7f9ad9ad332ad87df576b43ac08ce4b9de03e9b265dc379c2e2ae6091b
+oid sha256:56f3760dd872cd0a2b7eb1c2cb0fc9b829a8308309098ae4685327164a2778cc
size 1202
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Smoke.bin
index e4dac9e45..22e865634 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:836e5bd978a28877d58a2a04f35ae7b1c12d1e0695e031fe6bf6ead309ef52a2
-size 1296
+oid sha256:d132ae5f2687479c0f1c6d6d8191cd98ce497906c5fc265bf6f65590e807a7c9
+size 1287
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
index a869f6c71..e66c6a2c6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d83905230177e85d8af39235b52b489e709d575eda2da53523c7fe18c07db9d7
+oid sha256:3a885f02b56b66f32883ad4f0386c6c511df511c5d172390a06c0625c18123cd
size 1210
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
index 3dafdea5c..c1152e0ad 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3498ce843154813d20f8b9633b88bf5e8f8f2f1b4a6bf05d99322abab81bc8ba
+oid sha256:7a7b5c89cb56630436e52f4df48192e2aad373626eea2a4b735d1f443d91eab3
size 1217
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin
index 206c6b0d8..e7a680fe3 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3cde890983244a19238162ac3badf4877057dda1dd83ae95d87ed3dbd72d6df9
+oid sha256:c6ba6509f7cff453fb884036d0ce5676f79c979c25687528ae65d048e067a7b4
size 1194
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rush_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rush_Decal.bin
index f88dc97ba..e16280cda 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rush_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rush_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3eb3759fc7d8e9f7362cab51e8b4e1eba42a58fc54e91b8e408a35e2a2fc49fc
+oid sha256:86cf2f5a666efcb033d5bab267f798c59ada8caa95633758150da2b4efd03dc3
size 1261
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/ClawDecal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/ClawDecal.bin
new file mode 100644
index 000000000..1f8e25928
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/ClawDecal.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ddc63f2fa3e728246110650cc1a11e621c6b61943a5e241b879df1da50874d6c
+size 1310
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/Rock_PT.bin
new file mode 100644
index 000000000..65a5f64a2
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/Rock_PT.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:edbc64ea785c00472314bd2ace35e7e964ed88dcedf2de521f3902f25abab6ad
+size 1186
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/Swipe_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/Swipe_Smoke.bin
new file mode 100644
index 000000000..829137b36
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokSwipe/Swipe_Smoke.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d7925f18d62413a1c8d3e6e7231275118a0111054bbe8e65fcb79cf64903b364
+size 1191
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
index 9abcc8552..b465052bb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
@@ -5,4 +5,5 @@
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct.bin
new file mode 100644
index 000000000..6a54663f5
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:98bf980e8baa3dd8bfba43fed3b3ccc653dd8e38fc34222f99935eb7e1828453
+size 58079556
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin
index 206e42fc9..4ee84e2bb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7269d0454e7ce722d99f31fe2a5403c854fd764f2215de4582671bddd8e6d273
-size 6854891
+oid sha256:8071bf7e7535294dd159e85c107ce3a5c604d184ca45f8b8593f969abea05401
+size 6854890
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml
index a3f031e15..59f0e3547 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml
@@ -64,7 +64,7 @@
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Local_Compute.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Local_Compute.hlsl
index 3d233fe57..310cd83eb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Local_Compute.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Local_Compute.hlsl
@@ -28,6 +28,7 @@ StructuredBuffer g_BoneRemap : register(t6);
StructuredBuffer g_SkipBone : register(t7);
+
RWStructuredBuffer g_LocalMatrixOut : register(u0);
cbuffer AnimCB : register(b0)
@@ -48,7 +49,7 @@ cbuffer AnimCB : register(b0)
float HeadAimWeight;
int SkipCount;
- int _pad0;
+ int IsSkip;
int _pad1;
int _pad2;
@@ -366,7 +367,7 @@ void CS_LOCAL(uint3 DTid : SV_DispatchThreadID)
if (bone >= BoneCount)
return;
- if (SkipCount != 0)
+ if (SkipCount != 0 && IsSkip)
{
for (int i = 0; i < SkipCount; i++)
{
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Mesh_Compute.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Mesh_Compute.hlsl
index 3cf999034..8f7f616b2 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Mesh_Compute.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Mesh_Compute.hlsl
@@ -29,7 +29,7 @@ cbuffer AnimCB : register(b0)
float HeadAimWeight;
int SkipCount;
- int _pad0;
+ int IsSkip;
int _pad1;
int _pad2;
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl
index e289bf2d4..199fea1ea 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl
@@ -444,7 +444,7 @@ PS_OUT PS_MAIN(PS_IN In)
Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), // NDC 깊이 ( 0~ 1)
(In.vProjPos.w / g_fFar), // 뷰 스페이스 Z
fSurfaceParam, // 서페이스 파라미터
- 1.f);
+ (2.f / 255.f));
Out.vColor = float4(0.f, 0.f, 0.f, 1.f);
Out.vSurface = vSurface;
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
index 3185f6d30..ad0d75979 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
@@ -964,6 +964,9 @@ float2 ComputeDecal(float4 vPosition , float4x4 LocalMatrixInv)
vDepthUV.y = vPosition.y / g_fWinSizeY;
float4 vDepthDesc = g_DepthTexture.Sample(PointSampler, vDepthUV);
+
+ clip(0.5f - vDepthDesc.w); /* 지형과 메쉬에게서만 수행할 것 */
+
float3 vNormalDesc = g_NormalMapTexture.Sample(PointSampler, vDepthUV).xyz;
vNormalDesc = normalize(vNormalDesc * 2.f - 1.f);
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index 024daad13..2b600576c 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -215,7 +215,10 @@ call Update_Shaders.bat
+
+
+
@@ -491,7 +494,10 @@ call Update_Shaders.bat
+
+
+
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index 5de131f8a..3f81afff4 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -760,6 +760,15 @@
{12d83369-3413-478f-920e-c3c0ddeabfe8}
+
+ {1893fa7b-b08f-4362-a212-7751614d4922}
+
+
+ {8172dd50-d631-4fa8-8d09-e459600365fa}
+
+
+ {7a345ef7-8e16-45df-9bc3-e8fc665f729f}
+
@@ -1539,6 +1548,15 @@
02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\GroundPulse
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Swipe
+
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadSplash
+
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadImpact
+
@@ -2326,6 +2344,15 @@
02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\GroundPulse
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Swipe
+
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadSplash
+
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadImpact
+
diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
index 33517ec77..e676c4afe 100644
--- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
@@ -31,6 +31,9 @@
#include "Ranrok_Land.h"
#include "Ranrok_Rush_Bottom.h"
#include "Ranrok_GroundPulse.h"
+#include "Ranrok_Swipe.h"
+#include "Ranrok_DeadSplash.h"
+#include "Ranrok_DeadImpact.h"
CEffectPool::CEffectPool(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CGameObject(pDevice, pContext)
@@ -406,7 +409,7 @@ HRESULT CEffectPool::Ready_MonsterEffect()
))) return E_FAIL;
- if (FAILED(Create_Effect(SKILL_TYPE::RANROK_GROUNDPULSE, 10, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_GROUNDPULSE, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
CRanrok_GroundPulse* pEffect = nullptr;
@@ -415,6 +418,32 @@ HRESULT CEffectPool::Ready_MonsterEffect()
return pEffect; }
))) return E_FAIL;
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_SWIPE, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_Swipe* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_DEAD_SPLASH, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_DeadSplash* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_DEAD_IMPACT, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_DeadImpact* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
index e3518b164..9c5261843 100644
--- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
@@ -111,6 +111,7 @@ HRESULT CLevel_EffectViewer::Initialize()
m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
+
return S_OK;
}
@@ -164,8 +165,12 @@ HRESULT CLevel_EffectViewer::Ready_Layer_Light()
return E_FAIL;
}
- _float4 vDiffuse = _float4(0.607f, 0.658f, 0.698f, 0.f);
- _float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f);
+ //_float4 vDiffuse = _float4(0.607f, 0.658f, 0.698f, 0.f);
+ //_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f);
+ //_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
+
+ _float4 vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f);
+ _float4 vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f);
_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular);
@@ -228,6 +233,8 @@ HRESULT CLevel_EffectViewer::Ready_Layer_BackGround(const _wstring& strLayerTag)
m_pGameInstance->Set_Fog(10.f, 5.f);
m_pInfoInstance->Load_MapObjects("Dungeon_Map_Data");
+ CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data");
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index 59013ce7e..3dab69d64 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -225,6 +225,10 @@
#include "Ranrok_Land.h"
#include "Ranrok_Rush_Bottom.h"
#include "Ranrok_GroundPulse.h"
+#include "Ranrok_Swipe.h"
+#include "Ranrok_DeadSplash.h"
+#include "Ranrok_DeadImpact.h"
+
#pragma endregion
#pragma region PHYSX_HEADER
@@ -1920,6 +1924,9 @@ HRESULT CLoader::Loading_For_Effect()
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CLightSpawner::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CGoblin_Dagger::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
@@ -1979,6 +1986,18 @@ HRESULT CLoader::Loading_For_Effect()
if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_GroundPulse::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+
+ if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_Swipe::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_DeadSplash::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_DeadImpact::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
/* For.Prototype_GameObject_Wand */
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CWand::Create(m_pDevice, m_pContext))))
diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
index 0209dc784..fbea82d13 100644
--- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
@@ -81,33 +81,44 @@ HRESULT CLoader::Loading_For_ObjectViewer()
#pragma region MONSTER
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_GoblinMage_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_GoblinMage_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_SK_GOB_M_Assassin_Master_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_SK_GOB_M_Assassin_Master_Model")
+ ));
- //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"),
- // CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
- // return E_FAIL;
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
+ return E_FAIL;
- //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Playable_Model"),
- // CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
- // return E_FAIL;
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Playable_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
+ return E_FAIL;
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(),
- // TEXT("Prototype_Component_troll_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(),
+ TEXT("Prototype_Component_troll_Model")
+ ));
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin", XMMatrixIdentity(),
+ TEXT("Prototype_Component_trsoll_Model")
+ ));
+
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_ConjuredDragon_Model")
+ ));
//futures.emplace_back(Deferred_ModelLoad(
// MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx", XMMatrixIdentity(),
@@ -236,111 +247,102 @@ HRESULT CLoader::Loading_For_ObjectViewer()
// return E_FAIL;
-#pragma region NPC
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::ANIM, "../Bin/Resources/Models/Human/Npc/Npc.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_Npc_Model")
- //));
-
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_Professor_EleazarFig_Model")
- //));
-
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_GerboldOlivander_Model")
- //));
-
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_VictorRookWood_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_Playable_Model")
+ ));
#pragma region NPC
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_Professor_EleazarFig_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::ANIM, "../Bin/Resources/Models/Human/Npc/Npc.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
+ TEXT("Prototype_Component_Npc_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_MatildaWeasely_Model")
- //));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_SatyavatiShah_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f)* XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixRotationZ(XMConvertToRadians(180.f))* XMMatrixIdentity(),
+ TEXT("Prototype_Component_GerboldOlivander_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_PhineasBlack_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_Professor_EleazarFig_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_ChiyoKogawa_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_MatildaWeasely_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_Ghost_Peeves_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_SatyavatiShah_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_M_Student_Model")
- //));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_F_Student_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_PhineasBlack_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_Elf_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(),
+ TEXT("Prototype_Component_VictorRookWood_Model")
+ ));
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_ChiyoKogawa_Model")
+ ));
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_Ghost_Peeves_Model")
+ ));
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_M_Student_Model")
+ ));
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_F_Student_Model")
+ ));
+
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_Elf_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx", XMMatrixIdentity(),
- // TEXT("Prototype_Component_Student_Cmbt_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_Kitchen_Female_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_Elf_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_BaiHowin_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_Kitchen_Female_Model")
- //));
- //
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_BaiHowin_Model")
- //));
-
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_GeorgeOsric_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_GeorgeOsric_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_DinahHecat_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_DinahHecat_Model")
+ ));
- //futures.emplace_back(Deferred_ModelLoad(
- // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- // TEXT("Prototype_Component_MudiwaOnai_Model")
- //));
+ futures.emplace_back(Deferred_ModelLoad(
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ TEXT("Prototype_Component_MudiwaOnai_Model")
+ ));
//futures.emplace_back(Deferred_ModelLoad(
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_DeadImpact.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_DeadImpact.cpp
new file mode 100644
index 000000000..eb6667c72
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Ranrok_DeadImpact.cpp
@@ -0,0 +1,200 @@
+#include "pch.h"
+#include "Ranrok_DeadImpact.h"
+
+#include "GameInstance.h"
+#include "EditEffect.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CRanrok_DeadImpact::CRanrok_DeadImpact(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_DeadImpact::CRanrok_DeadImpact(const CRanrok_DeadImpact& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_DeadImpact::Initialize_Prototype()
+{
+
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_DeadImpact::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadImpact")))
+ return E_FAIL;
+
+ m_wstrEffectName = L"RanrokDeadImpact";
+
+
+
+ m_fDuration = 5.f;
+
+
+ return S_OK;
+}
+
+void CRanrok_DeadImpact::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_DeadImpact::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+
+
+
+}
+
+void CRanrok_DeadImpact::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CRanrok_DeadImpact::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+ /* 초기 객체 비지블*/
+
+ CEditEffect* pDistortion = Get_PartObject("Distortion");
+ CEditEffect* pDistortion_Small = Get_PartObject("Distortion_Small");
+ CEditEffect* pPulse_White = Get_PartObject("Pulse_White");
+ CEditEffect* pSplash_Black = Get_PartObject("Splash_Black");
+ CEditEffect* pSplash_Red = Get_PartObject("Splash_Red");
+ CEditEffect* pSpline0 = Get_PartObject("Spline0");
+ CEditEffect* pSpline1 = Get_PartObject("Spline1");
+ CEditEffect* pSide_Pt = Get_PartObject("Side_Pt");
+ CEditEffect* pCircle_0 = Get_PartObject("Circle_0");
+
+ pDistortion->Set_Visible(true);
+ pDistortion_Small->Set_Visible(true);
+ pPulse_White->Set_Visible(true);
+ pSplash_Black->Set_Visible(true);
+ pSplash_Red->Set_Visible(true);
+ pSpline0->Set_Visible(true);
+ pSpline1->Set_Visible(true);
+ pSide_Pt->Set_Visible(true);
+ pCircle_0->Set_Visible(true);
+ /* 초기 객체 위치 초기화*/
+
+ _vector vPos = m_pOwner->Get_Component()->Get_HeadPosition();
+
+
+ pDistortion->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pDistortion_Small->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pPulse_White->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSplash_Black->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSplash_Red->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSpline0->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSpline1->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pSide_Pt->Get_Component()->Set_State(STATE::POSITION, vPos);
+ pCircle_0->Get_Component()->Set_State(STATE::POSITION, vPos);
+
+ return S_OK;
+}
+
+HRESULT CRanrok_DeadImpact::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_DeadImpact::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_DeadImpact* CRanrok_DeadImpact::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_DeadImpact* pInstance = new CRanrok_DeadImpact(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_DeadImpact");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_DeadImpact::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_DeadImpact* pInstance = new CRanrok_DeadImpact(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_DeadImpact");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_DeadImpact::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+
+
+}
+
+void CRanrok_DeadImpact::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pInfoInstance);
+
+
+}
+#ifdef _DEBUG
+void CRanrok_DeadImpact::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CRanrok_DeadImpact::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_DeadSplash.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_DeadSplash.cpp
new file mode 100644
index 000000000..55d952db1
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Ranrok_DeadSplash.cpp
@@ -0,0 +1,200 @@
+#include "pch.h"
+#include "Ranrok_DeadSplash.h"
+
+#include "GameInstance.h"
+#include "EditEffect.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CRanrok_DeadSplash::CRanrok_DeadSplash(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_DeadSplash::CRanrok_DeadSplash(const CRanrok_DeadSplash& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_DeadSplash::Initialize_Prototype()
+{
+
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_DeadSplash::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokDeadSplash")))
+ return E_FAIL;
+
+ m_wstrEffectName = L"RanrokDeadSplash";
+
+
+
+ m_fDuration = 5.f;
+
+
+ return S_OK;
+}
+
+void CRanrok_DeadSplash::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_DeadSplash::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+
+
+
+}
+
+void CRanrok_DeadSplash::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CRanrok_DeadSplash::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ _float4 vPos = *static_cast<_float4*>(pArg);
+ _vector vPosition = XMLoadFloat4(&vPos);
+ /* 초기 객체 비지블*/
+
+ CEditEffect* pDead_Decal = Get_PartObject("Dead_Decal");
+ CEditEffect* pRock_PT = Get_PartObject("Rock_PT");
+ CEditEffect* pRock_Splash = Get_PartObject("Rock_Splash");
+ CEditEffect* pSplash = Get_PartObject("Splash");
+
+ pDead_Decal->Set_Visible(true);
+ pRock_PT->Set_Visible(true);
+
+ pRock_Splash->Set_Visible(true);
+ pSplash->Set_Visible(true);
+
+ /* 초기 객체 위치 초기화*/
+
+ pRock_PT->Get_Component()->Set_State(STATE::POSITION, vPosition);
+ pSplash->Get_Component()->Set_State(STATE::POSITION, vPosition);
+
+ CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first;
+
+ if (pPlayer == nullptr)
+ return E_FAIL;
+
+ _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition();
+
+
+ _vector vCompute_Pos = XMVectorSetY(vPosition, XMVectorGetY(vPlayer_FootPos));
+ pRock_Splash->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
+
+ vCompute_Pos = XMVectorSetY(m_pOwner->Get_WorldPostion(), XMVectorGetY(vPlayer_FootPos));
+
+ pDead_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
+
+ return S_OK;
+}
+
+HRESULT CRanrok_DeadSplash::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_DeadSplash::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_DeadSplash* CRanrok_DeadSplash::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_DeadSplash* pInstance = new CRanrok_DeadSplash(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_DeadSplash");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_DeadSplash::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_DeadSplash* pInstance = new CRanrok_DeadSplash(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_DeadSplash");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_DeadSplash::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+
+
+}
+
+void CRanrok_DeadSplash::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pInfoInstance);
+
+
+}
+#ifdef _DEBUG
+void CRanrok_DeadSplash::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CRanrok_DeadSplash::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp
index 35c0a2743..be4965f97 100644
--- a/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp
+++ b/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp
@@ -564,6 +564,12 @@ void CRanrok::Behavior_SwipeEnter()
m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+
+ Add_Event(pairAnimInfo.first,
+ [this]() {
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_SWIPE , this);
+ }, 0.3f);
+
}
HRESULT CRanrok::Behavior_SwipeExitCheck(_float fTimeDelta)
@@ -888,12 +894,90 @@ void CRanrok::Behavior_DeadEnter()
m_bLookAt = false;
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::DEAD);
+ m_fDeadRatio = 0.f;
+
+ pairAnimInfo = m_Animation[STATEANIM::DEAD];
+ m_pBottomSmoke->Set_Visible(false);
+ m_pLeftSmoke->Set_Visible(false);
+ m_pRightSmoke->Set_Visible(false);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _vector vPos = m_pCharacter_Controller->Get_Position();
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &vPosFloat4);
+
+ }, 0.f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _matrix BoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("pinky_06_right")) * m_pTransformCom->Get_XMWorldMatrix();
+
+ _vector vPos = BoneMat.r[3];
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_SPLASH, this, &vPosFloat4);
+
+ }, 0.2f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _matrix BoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("elbow_left")) * m_pTransformCom->Get_XMWorldMatrix();
+
+ _vector vPos = BoneMat.r[3];
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_SPLASH, this, &vPosFloat4);
+
+ }, 0.34f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _matrix BoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("chest_Main")) * m_pTransformCom->Get_XMWorldMatrix();
+
+ _vector vPos = BoneMat.r[3];
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_SPLASH, this, &vPosFloat4);
+
+ }, 0.44f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ _matrix BoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("chest_Main")) * m_pTransformCom->Get_XMWorldMatrix();
+
+ _vector vPos = BoneMat.r[3];
+ _float4 vPosFloat4 = {};
+ XMStoreFloat4(&vPosFloat4, vPos);
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_SPLASH, this, &vPosFloat4);
+
+ }, 0.6f);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_DEAD_IMPACT, this);
+
+ }, 0.8f);
+
+
+#ifndef 진우
PSX::PxExtendedVec3 pxControlllerPos = m_pCharacter_Controller->Get_Controller()->getPosition();
PSX::PxTransform pxTransform((_float)pxControlllerPos.x, (_float)pxControlllerPos.y + 100.f, (_float)pxControlllerPos.z);
m_pCharacter_Controller->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
m_pRigidBody->SetActive(false);
m_pCharacter_Controller->SetActive(false);
-
+#endif
pairAnimInfo = m_Animation[STATEANIM::DEAD];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
@@ -901,15 +985,36 @@ void CRanrok::Behavior_DeadEnter()
HRESULT CRanrok::Behavior_DeadExitCheck(_float fTimeDelta)
{
+
+
+#ifdef 진우
+ if (m_pModelCom->IsFinishedAnim())
+ {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ m_pFSM->Disable_State(FSMSTATE::DEAD);
+ return S_OK;
+ }
+#endif
+
if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
return E_PENDING;
}
+
+
return S_OK;
}
void CRanrok::Behavior_DeadExit()
{
+
+#ifndef 진우
m_bDead = true;
+#else
+
+ m_pFSM->Disable_State(FSMSTATE::DEAD);
+
+#endif
+
}
@@ -1129,7 +1234,9 @@ void CRanrok::Add_FSM()
Desc.funcLateUpdate = [this](_float fDeadRatio) {
m_fDeadRatio = fDeadRatio;
if (m_fDeadRatio > 1.f) {
+#ifndef 진우
m_bDead = true;
+#endif
}
};
Desc.vDeadTimer.x = FLT_EPSILON5;
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Swipe.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Swipe.cpp
new file mode 100644
index 000000000..04c44afd9
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Ranrok_Swipe.cpp
@@ -0,0 +1,227 @@
+#include "pch.h"
+#include "Ranrok_Swipe.h"
+
+#include "GameInstance.h"
+#include "EditEffect.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CRanrok_Swipe::CRanrok_Swipe(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_Swipe::CRanrok_Swipe(const CRanrok_Swipe& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_Swipe::Initialize_Prototype()
+{
+
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_Swipe::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokSwipe")))
+ return E_FAIL;
+
+ m_wstrEffectName = L"RanrokSwipe";
+
+ m_pRock_PT = Get_PartObject("Rock_PT");
+ SAFE_ADDREF(m_pRock_PT);
+
+ m_fDuration = 5.f;
+
+
+ m_Events.emplace(0.4f, [&]() {
+
+ CEditEffect* pClawDecal = Get_PartObject("ClawDecal");
+ pClawDecal->Set_Visible(true);
+
+ CEditEffect* pSmoke = Get_PartObject("Swipe_Smoke");
+ pSmoke->Set_Visible(true);
+
+ _vector vComputePos = Compute_Pos();
+
+ pSmoke->Get_Component()->Set_State(STATE::POSITION, vComputePos);
+
+ _vector vLook = XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK));
+ _vector vRight = XMVector3Normalize(XMVector3Cross(XMVectorSet(0.f, 1.f, 0.f, 0.f) , vLook));
+ _vector vUp = XMVector3Normalize(XMVector3Cross(vLook , vRight));
+ _vector vPos = vComputePos;
+
+ _matrix PJ_WorldMat = { vRight , vUp ,vLook , vPos };
+
+ pClawDecal->Get_Component()->Set_WorldMatrix(PJ_WorldMat);
+ });
+
+ m_Events.emplace(0.8f, [&]() {
+ m_isParticleEnd = true;
+ m_pRock_PT->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -999.f, 0.f, 1.f));
+ });
+
+ return S_OK;
+}
+
+void CRanrok_Swipe::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_Swipe::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+ if (m_isParticleEnd == false)
+ {
+ _vector vComputePos = Compute_Pos();
+ m_pRock_PT->Get_Component()->Set_State(STATE::POSITION, vComputePos);
+
+ }
+
+
+}
+
+void CRanrok_Swipe::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CRanrok_Swipe::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ /* 초기 객체 비지블*/
+ m_pRock_PT->Set_Visible(true);
+
+
+ /* 초기 객체 위치 초기화*/
+ _vector vComputePos = Compute_Pos();
+ m_pRock_PT->Get_Component()->Set_State(STATE::POSITION, vComputePos);
+
+ m_isParticleEnd = false;
+ return S_OK;
+}
+
+HRESULT CRanrok_Swipe::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_Swipe::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_Swipe* CRanrok_Swipe::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_Swipe* pInstance = new CRanrok_Swipe(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_Swipe");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_Swipe::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_Swipe* pInstance = new CRanrok_Swipe(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_Swipe");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_Swipe::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+
+
+}
+
+_fvector CRanrok_Swipe::Compute_Pos()
+{
+ _matrix BoneMat = XMLoadFloat4x4(m_pOwner->Get_Component()->Get_BoneMatrixPtr("wrist_left_target")) * m_pOwner->Get_Component()->Get_XMWorldMatrix();
+
+ _vector vBonePos = BoneMat.r[3];
+
+
+ CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first;
+
+
+
+ _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition();
+
+ XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos);
+
+ _vector vCompute_Pos = XMVectorSetY(vBonePos, XMVectorGetY(vPlayer_FootPos));
+
+ return vCompute_Pos;
+}
+
+void CRanrok_Swipe::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pInfoInstance);
+ SAFE_RELEASE(m_pRock_PT);
+
+}
+#ifdef _DEBUG
+void CRanrok_Swipe::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CRanrok_Swipe::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h
index f6d3488ab..5001520c7 100644
--- a/Jusin154_Team3D/Editor/Public/Editor_Define.h
+++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h
@@ -68,7 +68,7 @@ namespace Editor
STUN,
TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, BLINK, RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_IMPACT , RANROK_HIT, RANROK_LAND, RANROK_RUSH_BOTTOM,
- RANROK_GROUNDPULSE,
+ RANROK_GROUNDPULSE, RANROK_SWIPE, RANROK_DEAD_SPLASH , RANROK_DEAD_IMPACT,
END
};
diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_DeadImpact.h b/Jusin154_Team3D/Editor/Public/Ranrok_DeadImpact.h
new file mode 100644
index 000000000..2999b3613
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Ranrok_DeadImpact.h
@@ -0,0 +1,58 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Editor)
+
+class CRanrok_DeadImpact final : public CEffect_Container
+{
+private:
+ CRanrok_DeadImpact(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_DeadImpact(const CRanrok_DeadImpact& rhs);
+ virtual ~CRanrok_DeadImpact() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEditEffect* m_pGooRod_0 = { nullptr };
+ class CEditEffect* m_pSmoke = { nullptr };
+ class CEditEffect* m_pSpread_PT = { nullptr };
+
+ _float3 m_vLook = {};
+ _float m_fLinearSpeed = 0.8f;
+
+ _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f };
+ _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f };
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_DeadImpact* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // DEBUG
+
+
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_DeadSplash.h b/Jusin154_Team3D/Editor/Public/Ranrok_DeadSplash.h
new file mode 100644
index 000000000..fdd470ab6
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Ranrok_DeadSplash.h
@@ -0,0 +1,58 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Editor)
+
+class CRanrok_DeadSplash final : public CEffect_Container
+{
+private:
+ CRanrok_DeadSplash(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_DeadSplash(const CRanrok_DeadSplash& rhs);
+ virtual ~CRanrok_DeadSplash() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEditEffect* m_pGooRod_0 = { nullptr };
+ class CEditEffect* m_pSmoke = { nullptr };
+ class CEditEffect* m_pSpread_PT = { nullptr };
+
+ _float3 m_vLook = {};
+ _float m_fLinearSpeed = 0.8f;
+
+ _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f };
+ _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f };
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_DeadSplash* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // DEBUG
+
+
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_Swipe.h b/Jusin154_Team3D/Editor/Public/Ranrok_Swipe.h
new file mode 100644
index 000000000..6745abad3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Ranrok_Swipe.h
@@ -0,0 +1,59 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Editor)
+
+class CRanrok_Swipe final : public CEffect_Container
+{
+private:
+ CRanrok_Swipe(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_Swipe(const CRanrok_Swipe& rhs);
+ virtual ~CRanrok_Swipe() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+ _fvector Compute_Pos();
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEditEffect* m_pRock_PT = { nullptr };
+
+ _float3 m_vLook = {};
+ _float m_fLinearSpeed = 0.8f;
+
+ _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f };
+ _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f };
+
+ _bool m_isParticleEnd = {};
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_Swipe* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // DEBUG
+
+
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Local_Compute.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Local_Compute.hlsl
index 3d233fe57..310cd83eb 100644
--- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Local_Compute.hlsl
+++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Local_Compute.hlsl
@@ -28,6 +28,7 @@ StructuredBuffer g_BoneRemap : register(t6);
StructuredBuffer g_SkipBone : register(t7);
+
RWStructuredBuffer g_LocalMatrixOut : register(u0);
cbuffer AnimCB : register(b0)
@@ -48,7 +49,7 @@ cbuffer AnimCB : register(b0)
float HeadAimWeight;
int SkipCount;
- int _pad0;
+ int IsSkip;
int _pad1;
int _pad2;
@@ -366,7 +367,7 @@ void CS_LOCAL(uint3 DTid : SV_DispatchThreadID)
if (bone >= BoneCount)
return;
- if (SkipCount != 0)
+ if (SkipCount != 0 && IsSkip)
{
for (int i = 0; i < SkipCount; i++)
{
diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Mesh_Compute.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Mesh_Compute.hlsl
index 3cf999034..8f7f616b2 100644
--- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Mesh_Compute.hlsl
+++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Mesh_Compute.hlsl
@@ -29,7 +29,7 @@ cbuffer AnimCB : register(b0)
float HeadAimWeight;
int SkipCount;
- int _pad0;
+ int IsSkip;
int _pad1;
int _pad2;
diff --git a/Jusin154_Team3D/Engine/Private/Mesh.cpp b/Jusin154_Team3D/Engine/Private/Mesh.cpp
index 408ceb23c..7c4ae607e 100644
--- a/Jusin154_Team3D/Engine/Private/Mesh.cpp
+++ b/Jusin154_Team3D/Engine/Private/Mesh.cpp
@@ -280,10 +280,12 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr
m_pVertexPositions = new _float3[m_iNumVertices];
ZeroMemory(m_pVertexPositions, sizeof(_float3) * m_iNumVertices);
-#ifdef _DEBUG
+#ifdef DEBUG
m_VertexTexcoords = new _float2[m_iNumVertices];
ZeroMemory(m_VertexTexcoords, sizeof(_float2) * m_iNumVertices);
-#endif // _DEBUG
+#endif // DEBUG
+
+
for (_uint i = 0; i < m_iNumVertices; ++i)
{
@@ -303,10 +305,11 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr
memcpy(&pVertices[i].vBinormal, &SaveMesh->Vertices[i].BiNoraml, sizeof(_float3));
XMStoreFloat3(&pVertices[i].vBinormal,
XMVector3Normalize(XMVector3TransformNormal(XMLoadFloat3(&pVertices[i].vBinormal), PreTransformMatrix)));
-#ifdef _DEBUG
+
pVertices[i].vTexcoord = SaveMesh->Vertices[i].UV;
+#ifdef DEBUG
memcpy(&m_VertexTexcoords[i], &pVertices[i].vTexcoord, sizeof(_float2));
-#endif // _DEBUG
+#endif
}
diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp
index 9c630ec83..6fc6a4f13 100644
--- a/Jusin154_Team3D/Engine/Private/Model.cpp
+++ b/Jusin154_Team3D/Engine/Private/Model.cpp
@@ -1578,19 +1578,19 @@ void CModel::Initialize_BoneMasks()
BuildMask(m_iBoneIndex[ENUM_CLASS(BLEND_BONE::NECK)], m_BoneMask[ENUM_CLASS(BLEND_BONE::NECK)]);
BuildMask(m_iBoneIndex[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)], m_BoneMask[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)]);
- if (m_iBoneIndex[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)] != -1)
- {
- for (_uint i = 0; i < (_uint)m_BoneMask[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)].size(); i++)
- {
- if (m_BoneMask[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)][i] == 1)
- {
- if (i == m_iBoneIndex[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)])
- continue;
- m_iSkipBoneCount++;
- m_SkipBoneindex.push_back(i);
- }
- }
- }
+ //if (m_iBoneIndex[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)] != -1)
+ //{
+ // for (_uint i = 0; i < (_uint)m_BoneMask[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)].size(); i++)
+ // {
+ // if (m_BoneMask[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)][i] == 1)
+ // {
+ // if (i == m_iBoneIndex[ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)])
+ // continue;
+ // m_iSkipBoneCount++;
+ // m_SkipBoneindex.push_back(i);
+ // }
+ // }
+ //}
for (_uint i = 0; i < m_Bones.size(); i++)
{
@@ -1600,6 +1600,19 @@ void CModel::Initialize_BoneMasks()
m_BoneMask[ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_R)][i] =
m_BoneMask[ENUM_CLASS(BLEND_BONE::SHOULDER_R)][i] | m_BoneMask[ENUM_CLASS(BLEND_BONE::NECK)][i];
}
+
+
+ for (_uint i = 0; i < (_uint)m_BoneMask[ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_L)].size(); i++)
+ {
+ if (m_BoneMask[ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_L)][i] == 1)
+ {
+ //if (i == m_iBoneIndex[ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_L)])
+ // continue;
+ m_iSkipBoneCount++;
+ m_SkipBoneindex.push_back(i);
+ }
+ }
+
}
HRESULT CModel::Create_ComputeShader()
@@ -1997,7 +2010,7 @@ void CModel::ComputeLocal(_uint AnimIndex, _uint MeshIndex)
pDesc->HeadAimWeight = m_fHeadAimWeight;
pDesc->SkipCount = m_iSkipBoneCount;
- pDesc->padding0 = 0;
+ pDesc->IsSkip = m_IsSkip;
pDesc->padding1 = 0;
pDesc->padding2 = 0;
diff --git a/Jusin154_Team3D/Engine/Private/Unit.cpp b/Jusin154_Team3D/Engine/Private/Unit.cpp
index 96c7183b7..e8b1a17f5 100644
--- a/Jusin154_Team3D/Engine/Private/Unit.cpp
+++ b/Jusin154_Team3D/Engine/Private/Unit.cpp
@@ -307,6 +307,9 @@ STATEANIM::ESTATE CUnit::StringToStateAnim(const string& s)
// LIGHT ATTACK
{ "LIGHT_ATTACK", LIGHT_ATTACK },
+ { "LIGHT_ATTACK2", LIGHT_ATTACK2 },
+ { "LIGHT_ATTACK3", LIGHT_ATTACK3 },
+ { "LIGHT_ATTACK4", LIGHT_ATTACK4 },
{ "LIGHT_ATTACK_180_R", LIGHT_ATTACK_180_R },
{ "LIGHT_ATTACK_90_L", LIGHT_ATTACK_90_L },
{ "LIGHT_ATTACK_90_R1", LIGHT_ATTACK_90_R1 },
diff --git a/Jusin154_Team3D/Engine/Public/Model.h b/Jusin154_Team3D/Engine/Public/Model.h
index d8987b119..315f51fed 100644
--- a/Jusin154_Team3D/Engine/Public/Model.h
+++ b/Jusin154_Team3D/Engine/Public/Model.h
@@ -25,7 +25,7 @@ class ENGINE_DLL CModel final : public CComponent
_float HeadAimWeight;
_int SkipCount;
- _int padding0;
+ _int IsSkip;
_int padding1;
_int padding2;
@@ -84,19 +84,20 @@ class ENGINE_DLL CModel final : public CComponent
_float Get_CurrentTrackProgressRatio();
_float Get_TrackProgressRatio(_uint iIndex);
- size_t Get_AnimSize() { return m_Animations.size(); }
- void Set_PlayAnim(_bool bPlayAnim) { m_bPlayAnim = bPlayAnim; }
- _bool Get_PlayAnim() const { return m_bPlayAnim; }
- _int Get_AnimIndex() const { return m_iCurrentAnimIndex; }
- _int Get_SecondAnimIndex() const { return m_iCurrSecondAnimIndex; }
- _float Get_AnimSpeed();
- void Set_AnimSpeed(_float fSpeed);
+ size_t Get_AnimSize() { return m_Animations.size(); }
+ void Set_PlayAnim(_bool bPlayAnim) { m_bPlayAnim = bPlayAnim; }
+ _bool Get_PlayAnim() const { return m_bPlayAnim; }
+ _int Get_AnimIndex() const { return m_iCurrentAnimIndex; }
+ _int Get_SecondAnimIndex() const { return m_iCurrSecondAnimIndex; }
+ _float Get_AnimSpeed();
+ void Set_AnimSpeed(_float fSpeed);
- HRESULT Anim_Event(_float fRatio, _uint AnimIndex, function Event);
+ HRESULT Anim_Event(_float fRatio, _uint AnimIndex, function Event);
- void Set_BlendDuration(_float Duration) { m_fBlendDuration = Duration; }
+ void Set_BlendDuration(_float Duration) { m_fBlendDuration = Duration; }
+
+ _float4 Get_RootBoneMomentum() { return m_RootBoneMomentum; }
- _float4 Get_RootBoneMomentum() { return m_RootBoneMomentum; }
#pragma endregion
#pragma region Mesh
const _char* Get_MeshName(_uint iIndex);
@@ -127,6 +128,7 @@ class ENGINE_DLL CModel final : public CComponent
_uint Get_BoneAbsoluteCount();
HRESULT Set_BoneCombinedTransformation(const _char* pBoneName, _fmatrix newTransformation);
HRESULT Capture_BoneBuffer(class CMotion_Trail* pTrail, const _float4x4& CurrentWorldMatrix);
+ void IsSkip(_bool bSkip) { m_IsSkip = bSkip; }
// HRESULT Set_BoneLocalTransformationMatrix(const _char* pBoneName, _fmatrix newTransformation);
#pragma endregion
@@ -224,9 +226,9 @@ class ENGINE_DLL CModel final : public CComponent
_float m_fRadius = { 0.f }; // 컬링용 Radius
_int m_iRootBoneIndex = { -1 }; // 루트본의 인덱스
_uint m_iIndexAnimPlayableMesh = { 0 };
- _float4 m_OutScale;
- _float4 m_OutRotation;
- _float4 m_OutTranslation;
+ _float4 m_OutScale = {};
+ _float4 m_OutRotation = {};
+ _float4 m_OutTranslation = {};
vector<_uint> m_iBoneMask;
@@ -249,6 +251,7 @@ class ENGINE_DLL CModel final : public CComponent
_bool m_bQueuedLoop = false;
_bool m_bQueuedAnim = { false };
_float4 m_RootBoneMomentum = {};
+ _bool m_IsSkip = {false};
private:
diff --git a/Jusin154_Team3D/Engine/Public/State.h b/Jusin154_Team3D/Engine/Public/State.h
index 3149d696a..31a34e27f 100644
--- a/Jusin154_Team3D/Engine/Public/State.h
+++ b/Jusin154_Team3D/Engine/Public/State.h
@@ -15,7 +15,7 @@ enum ESTATE
DODGE,DODGE_BLINK, DODGE_LEFT, DODGE_RIGHT,DODGE_ATTACK,
COMBAT, SKILL, SKILL2,
SPELL, SPELL_180_R, SPELL_90_R, SPELL_90_L, SPELL_90_L2,
- LIGHT_ATTACK,LIGHT_ATTACK_180_R, LIGHT_ATTACK_90_L, LIGHT_ATTACK_90_R1, LIGHT_ATTACK_90_R2, LIGHT_ATTACK_90_R3,
+ LIGHT_ATTACK, LIGHT_ATTACK2, LIGHT_ATTACK3, LIGHT_ATTACK4,LIGHT_ATTACK_180_R, LIGHT_ATTACK_90_L, LIGHT_ATTACK_90_R1, LIGHT_ATTACK_90_R2, LIGHT_ATTACK_90_R3,
ATTACK_END,
SHUFFLE1, SHUFFLE2, SHUFFLE3, SHUFFLE4,
MAPHELP,POTION,