diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index eea9ad819..ee7eb85fd 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -163,6 +163,11 @@ call Update_Resources.bat
+
+
+
+
+
@@ -475,6 +480,11 @@ call Update_Resources.bat
+
+
+
+
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index b49271f9f..7b741c0f7 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -952,13 +952,28 @@
02.GameObjects\Effect\Effects\Reparo
-
+
04.Mechanic\State\Focus\Spell_Learning
02.GameObjects\Environment\Prop\SkyBox\TriggerBox
+
+ 02.GameObjects\Effect\Effects\Potion\PotionScreen
+
+
+ 02.GameObjects\Effect\Effects\Potion\PotionBroken
+
+
+ 02.GameObjects\Effect\Effects\HitScreen
+
+
+ 02.GameObjects\Effect\BroomRace\Bubble
+
+
+ 02.GameObjects\Cameras\CameraPosition\CamPosition_WorldLook
+
@@ -1965,9 +1980,6 @@
{9263815e-9651-4ba2-813f-c2a7f207522d}
-
- {44a8eee1-6b7f-4c9a-bf92-21f6b90e84c3}
-
{5599bbbd-12f7-4b40-8e3d-24f869cce464}
@@ -1976,10 +1988,31 @@
{88c3bc02-a51d-4cd8-87a2-197722d48f83}
-
-
+
+
{26d7f6f4-0b5f-4b9a-9cef-df91b8a485bf}
+
+ {1f2c5d56-c8a8-458e-a48c-444d7c885cf3}
+
+
+ {3f02d29d-759e-4572-9439-ec79909273e5}
+
+
+ {6fa4085d-e9eb-47c3-b384-2aa92baf1d55}
+
+
+ {8c62c8f3-d8ba-4a6d-99bd-6270333ea0bb}
+
+
+ {67efb2e4-26f6-41b5-a754-eddf91f1d528}
+
+
+ {ce57978a-c208-4fe6-bbfd-8f582c20ff07}
+
+
+ {b3924c52-0c0d-4cd1-94f4-1eb61d2c6c99}
+
@@ -2852,13 +2885,28 @@
02.GameObjects\Effect\Effects\Reparo
-
+
04.Mechanic\State\Focus\Spell_Learning
+
+ 02.GameObjects\Cameras\CameraPosition\CamPosition_WorldLook
+
02.GameObjects\Environment\Prop\SkyBox\TriggerBox
+
+ 02.GameObjects\Effect\Effects\Potion\PotionScreen
+
+
+ 02.GameObjects\Effect\Effects\Potion\PotionBroken
+
+
+ 02.GameObjects\Effect\Effects\HitScreen
+
+
+ 02.GameObjects\Effect\BroomRace\Bubble
+
diff --git a/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp b/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp
new file mode 100644
index 000000000..b60dbf613
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp
@@ -0,0 +1,194 @@
+#include "pch.h"
+#include "BroomRace_Bubble.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "Goblin_BattleAxe.h"
+#include "TrailObject.h"
+
+CBroomRace_Bubble::CBroomRace_Bubble(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CBroomRace_Bubble::CBroomRace_Bubble(const CBroomRace_Bubble& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CBroomRace_Bubble::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/BroomBubble")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CBroomRace_Bubble::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_fDuration = 99999.f;
+
+
+
+ return S_OK;
+}
+
+void CBroomRace_Bubble::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CBroomRace_Bubble::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+}
+
+void CBroomRace_Bubble::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+ CEffectParts* pBubble = Get_PartObject("Bubble");
+
+ if (false == m_bHit) {
+ _vector vStartPos = XMLoadFloat4(&m_vStartPos);
+ _vector vEndPos = pBubble->Get_WorldPostion();
+ ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.002f);
+
+ OnCollision(this, &CollisionInfo);
+
+ }
+}
+
+HRESULT CBroomRace_Bubble::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+ _float4* pPos = static_cast<_float4*>(pArg);
+
+ m_vStartPos = *pPos;
+
+ _vector vPosVector = XMLoadFloat4(pPos);
+
+ CEffectParts* pBubble = Get_PartObject("Bubble");
+ CEffectParts* pBubble_Distortion = Get_PartObject("Bubble_Distortion");
+ CEffectParts* pHit_Bubble = Get_PartObject("Hit_Bubble");
+
+ pBubble->Set_Visible(true);
+ pBubble_Distortion->Set_Visible(true);
+
+ pBubble->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+ pBubble_Distortion->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+ pHit_Bubble->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+
+
+ return S_OK;
+}
+
+HRESULT CBroomRace_Bubble::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CBroomRace_Bubble::Ready_Child()
+{
+ return S_OK;
+}
+
+CBroomRace_Bubble* CBroomRace_Bubble::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CBroomRace_Bubble* pInstance = new CBroomRace_Bubble(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CBroomRace_Bubble");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CBroomRace_Bubble::Clone(void* pArg, CGameObject* pOwner)
+{
+ CBroomRace_Bubble* pInstance = new CBroomRace_Bubble(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CBroomRace_Bubble");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CBroomRace_Bubble::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+
+ CEffectParts* pBubble = Get_PartObject("Bubble");
+ CEffectParts* pBubble_Distortion = Get_PartObject("Bubble_Distortion");
+
+ pBubble->Set_Visible(false);
+ pBubble_Distortion->Set_Visible(false);
+
+ m_fDuration = 3.f;
+ m_fAccTime = 0.f;
+
+ CEffectParts* pHit_Bubble = Get_PartObject("Hit_Bubble");
+
+ pHit_Bubble->Set_Visible(true);
+
+}
+
+void CBroomRace_Bubble::Free()
+{
+ __super::Free();
+
+
+}
+#ifdef _DEBUG
+void CBroomRace_Bubble::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CBroomRace_Bubble::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp
index 52efa0cdd..d779eb404 100644
--- a/Jusin154_Team3D/Client/Private/Broom_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Broom_States.cpp
@@ -563,8 +563,8 @@ void CBroom::Behavior_Broom_TurboFlyEnter()
{
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::TURBOFLY);
- m_pModelCom->Set_BlendDuration(0.8f);
m_bTurbo = true;
+ m_pModelCom->Set_BlendDuration(0.8f);
m_bHoverToggle = false;
pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
@@ -756,7 +756,6 @@ void CBroom::Behavior_Broom_TurboFlyExit()
{
m_pFSM->Disable_State(FSMSTATE::TURBOFLY);
m_pModelCom->Set_BlendDuration(0.3f);
-
Boost_Effect_Visible(false);
}
diff --git a/Jusin154_Team3D/Client/Private/CamPosition_Target.cpp b/Jusin154_Team3D/Client/Private/CamPosition_Target.cpp
index d7289191b..f8cc08ba6 100644
--- a/Jusin154_Team3D/Client/Private/CamPosition_Target.cpp
+++ b/Jusin154_Team3D/Client/Private/CamPosition_Target.cpp
@@ -47,7 +47,7 @@ _bool CCamPosition_Target::IsStalking()
return nullptr != m_pStalkingTarget;
}
-void CCamPosition_Target::Stalking_Target(CUnit* pStalkingTarget, const _float4x4* pTargetSocketMatrix)
+void CCamPosition_Target::Stalking_Target(CGameObject* pStalkingTarget, const _float4x4* pTargetSocketMatrix)
{
SAFE_RELEASE(m_pStalkingTarget);
m_pStalkingTarget = pStalkingTarget;
diff --git a/Jusin154_Team3D/Client/Private/CamPosition_WorldLook.cpp b/Jusin154_Team3D/Client/Private/CamPosition_WorldLook.cpp
new file mode 100644
index 000000000..82d6bb165
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/CamPosition_WorldLook.cpp
@@ -0,0 +1,139 @@
+#include "pch.h"
+#include "CamPosition_WorldLook.h"
+#include "GameInstance.h"
+
+CCamPosition_WorldLook::CCamPosition_WorldLook(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CCamPosition(pDevice, pContext)
+{
+}
+CCamPosition_WorldLook::CCamPosition_WorldLook(const CCamPosition_WorldLook& rhs)
+ : CCamPosition(rhs)
+{
+}
+HRESULT CCamPosition_WorldLook::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CCamPosition_WorldLook::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg))) {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+ CameraWorldLook_DESC* pDesc = static_cast(pArg);
+ Set_Position(pDesc->vPosition);
+#ifdef _DEBUG
+ m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 12, false, false));
+ m_Batch = make_unique>(m_pContext);
+#endif // _DEBUG
+ return S_OK;
+}
+
+void CCamPosition_WorldLook::Priority_Update(_float fTimeDelta)
+{
+}
+
+void CCamPosition_WorldLook::Update(_float fTimeDelta)
+{
+}
+
+void CCamPosition_WorldLook::Late_Update(_float fTimeDelta)
+{
+#ifdef _DEBUG
+ m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this);
+#endif // _DEBUG
+}
+
+HRESULT CCamPosition_WorldLook::Render()
+{
+#ifdef _DEBUG
+ m_Batch->Begin();
+ _matrix ViewMatrix = m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW);
+ _matrix ProjMatrix = m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ);
+ _vector vColor = CMyTools::ColorRGB_A_HEXtoVECTOR(0x0f000f, 1.f);
+ m_pSubShape->Draw(m_pTransformCom->Get_XMWorldMatrix(), ViewMatrix, ProjMatrix, vColor, nullptr, true);
+ m_Batch->End();
+#endif // _DEBUG
+ return S_OK;
+}
+
+void CCamPosition_WorldLook::Set_Position(PSX::PxVec3 vPosition)
+{
+ Set_Position(_float3(vPosition.x, vPosition.y, vPosition.z));
+}
+
+void CCamPosition_WorldLook::Set_Position(_float3 vPosition)
+{
+ Set_Position(XMVectorSetW(XMLoadFloat3(&vPosition), 1.f));
+}
+
+void CCamPosition_WorldLook::Set_Position(_float4 vPosition)
+{
+ Set_Position(XMLoadFloat4(&vPosition));
+}
+
+void CCamPosition_WorldLook::Set_Position(_fvector vPosition)
+{
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(vPosition, 1.f));
+}
+
+_vector CCamPosition_WorldLook::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CCamPosition_WorldLook::Ready_Components(void* pArg)
+{
+ CTransform::TRANSFORM_DESC DescTransfrom = {};
+ DescTransfrom.fRadius = 30.f;
+ DescTransfrom.fRotationPerSec = 0.f;
+ DescTransfrom.fSpeedPerSec = 0.f;
+ if (FAILED(__super::Ready_Components(&DescTransfrom))) {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CCamPosition_WorldLook::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+CCamPosition_WorldLook* CCamPosition_WorldLook::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CCamPosition_WorldLook* pInstance = new CCamPosition_WorldLook(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CCamPosition_WorldLook");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+CCamPosition_WorldLook* CCamPosition_WorldLook::Clone(void* pArg, class CGameObject* pOWner)
+{
+ CCamPosition_WorldLook* pInstance = new CCamPosition_WorldLook(*this);
+ pInstance->m_pOwner = pOWner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CCamPosition_WorldLook");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+void CCamPosition_WorldLook::Free()
+{
+ __super::Free();
+}
+#ifdef _DEBUG
+
+void CCamPosition_WorldLook::Describe_Entity()
+{
+}
+
+#endif // _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp
index 3cd0a371b..94175f264 100644
--- a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp
+++ b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp
@@ -114,8 +114,8 @@ void CCamera_Cinematic::Active_Camera(pair<_float4, _float3>& pairTransitionInfo
void CCamera_Cinematic::Update_LerpTimer(_float fTimeDelta)
{
- Lerp_Translation(fTimeDelta);
Lerp_Rotation(fTimeDelta);
+ Lerp_Translation(fTimeDelta);
Lerp_FovY(fTimeDelta);
if (false == m_bActive) {
return;
@@ -127,12 +127,12 @@ void CCamera_Cinematic::Set_Priority(_uint iPriority)
m_iPriority = iPriority;
}
-void CCamera_Cinematic::Set_LookTarget(CUnit* pTarget, const _float4x4* pTargetSocketMatrix)
+void CCamera_Cinematic::Set_LookTarget(CGameObject* pTarget, const _float4x4* pTargetSocketMatrix)
{
m_pLookTargetPart->Stalking_Target(pTarget, pTargetSocketMatrix);
}
-void CCamera_Cinematic::Set_FollowTarget(CUnit* pTarget, const _float4x4* pTargetSocketMatrix)
+void CCamera_Cinematic::Set_FollowTarget(CGameObject* pTarget, const _float4x4* pTargetSocketMatrix)
{
m_pFollowTargetPart->Stalking_Target(pTarget, pTargetSocketMatrix);
}
@@ -173,11 +173,22 @@ void CCamera_Cinematic::Trigger(CTimeSocket& Socket)
} break;
case TIMESOCKET_FUNC::LOOK_AT:
{
+ SAFE_RELEASE(m_pWORLD_LOCK_TargetPart);
CUnit* pUnit = (CUnit*)pContents->pOtherTarget;
Set_LookTarget(pUnit, pUnit->Get_SocketMatrixPtr(pContents->vParam_12.c_str()));
}break;
+ case TIMESOCKET_FUNC::SET_WORLD_LOCKPOSITION:
+ {
+ SAFE_RELEASE(m_pWORLD_LOCK_TargetPart);
+ CCamPosition_WorldLook::CameraWorldLook_DESC Desc{};
+ Desc.pParentTransform = m_pTransformCom;
+ Desc.vPosition = pContents->pxTransform.p;
+ m_pWORLD_LOCK_TargetPart = m_pGameInstance->Clone_Prototype(g_iStaticLevel, &Desc, this);
+ Set_LookTarget(m_pWORLD_LOCK_TargetPart, nullptr);
+ }break;
case TIMESOCKET_FUNC::DONT_LOOK_AT:
{
+ SAFE_RELEASE(m_pWORLD_LOCK_TargetPart);
m_pLookTargetPart->Stop_Stalking();
}break;
case TIMESOCKET_FUNC::FOLLOW:
@@ -451,6 +462,7 @@ void CCamera_Cinematic::Free()
SAFE_RELEASE(m_pModelCom);
SAFE_RELEASE(m_pShaderCom);
#endif // _DEBUG
+ SAFE_RELEASE(m_pWORLD_LOCK_TargetPart);
SAFE_RELEASE(m_pLookTargetPart);
SAFE_RELEASE(m_pFollowTargetPart);
}
diff --git a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp
index d5dc22430..ef6fed292 100644
--- a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp
@@ -6,6 +6,7 @@
#include "TriggerBox.h"
#include "Layer.h"
#include "Player.h"
+#include "Troll.h"
#include "TimeSocket.h"
#include "Camera_Cinematic.h"
#include "Ranrok.h"
@@ -175,6 +176,7 @@ HRESULT CCutSceneInfo::Ready_GameplayCutScenes()
{
{
Load_CutSceneXML("../Bin/Resources/Data/CutScene/CarriageIntro.xml");
+ Load_CutSceneXML("../Bin/Resources/Data/CutScene/TrollIntroCutScene.xml");
}
return S_OK;
}
@@ -437,6 +439,12 @@ void CCutSceneInfo::Load_CutSceneXML(const string& path)
SocketContents.pEventTarget = pEventTarget;
SocketContents.funcEvent = [pEventTarget](CTimeSocket& Socket) { pEventTarget->Trigger(Socket); };
}
+ else if (strcmp(pTargetText, "ACTOR_TROLL") == 0)
+ {
+ CTroll* pEventTarget = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_MONSTER)->Get_Object();
+ SocketContents.pEventTarget = pEventTarget;
+ SocketContents.funcEvent = [pEventTarget](CTimeSocket& Socket) { pEventTarget->Trigger(Socket); };
+ }
else if (strcmp(pTargetText, "SYSTEM") == 0)
{
bUseSystem = true;
@@ -481,6 +489,10 @@ void CCutSceneInfo::Load_CutSceneXML(const string& path)
{
SocketContents.pOtherTarget = m_pGameInstance->Get_Layer(NEXT_LEVEL, SocketContents.wstrLayerName)->Get_Object();
}
+ else if (string_view(pTypeIdText) == "ACTOR_TROLL")
+ {
+ SocketContents.pOtherTarget = m_pGameInstance->Get_Layer(NEXT_LEVEL, SocketContents.wstrLayerName)->Get_Object();
+ }
else if (string_view(pTypeIdText) == "ACTOR_CARRIAGE")
{
SocketContents.pOtherTarget = m_pGameInstance->Get_Layer(NEXT_LEVEL, SocketContents.wstrLayerName)->Get_Object();
diff --git a/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp b/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp
index 31bdc101f..bcc8a1299 100644
--- a/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp
+++ b/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp
@@ -88,13 +88,13 @@ void CDialogue_Font::Update(_float fTimeDelta)
case ENUM_CLASS(NPCTEXTTYPE::BROOM):
m_bRace = true;
m_pInfoInstance->Event_CallBack(TEXT("RACEREADY"), &m_bRace);
- NextText();
+ ReSet();
break;
case ENUM_CLASS(NPCTEXTTYPE::BATTLE):
m_bBattle = true;
m_pInfoInstance->Event_CallBack(TEXT("BATTLE"), &m_bBattle);
- NextText();
+ ReSet();
break;
default:
break;
@@ -110,7 +110,7 @@ void CDialogue_Font::Update(_float fTimeDelta)
{
case ENUM_CLASS(NPCTEXTTYPE::ENDTEXT):
m_fTime = 0.5f;
- NextText();
+ ReSet();
break;
case ENUM_CLASS(NPCTEXTTYPE::NEXTTEXT):
m_fTime = 0.5f;
@@ -349,6 +349,7 @@ void CDialogue_Font::Quest()
void CDialogue_Font::ReSet()
{
+ m_pInfoInstance->Event_CallBack(TEXT("CHOICERESET"));
m_bChoiceText = false;
m_bCurrentChoiceText = false;
m_bRace = false;
@@ -362,7 +363,7 @@ void CDialogue_Font::ReSet()
m_DialoguInfo.push_back((*it));
it = m_pCurrentDialogue.erase(it);
}
- m_pInfoInstance->Event_CallBack(TEXT("NpcInteraction"), &m_bChoiceText);
+ m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &m_bChoiceText);
}
void CDialogue_Font::NextText()
@@ -372,7 +373,6 @@ void CDialogue_Font::NextText()
m_pCurrentDialogue.erase(m_pCurrentDialogue.begin());
if (m_bChoiceText == true)
{
- m_pInfoInstance->Event_CallBack(TEXT("CHOICERESET"));
ReSet();
}
NpcDialogue();
@@ -383,12 +383,12 @@ void CDialogue_Font::NextLevel(CHOICEINFO Choice)
m_iNextID = m_NextLevel[Choice.iChoice];
m_iType = Choice.iType;
m_bChoiceText = true;
+ m_pNpc->Set_Flow(m_pNpc->Get_Flow() + 1);
NpcNextText();
}
void CDialogue_Font::ENDText()
{
-
_bool Interact = false;
m_pNpc->Set_NextID(m_iTextID);
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact);
diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp
index c489367f8..586d17143 100644
--- a/Jusin154_Team3D/Client/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp
@@ -54,6 +54,10 @@
#include "Transformation.h"
#include "Avadakedavra.h"
#include "Reparo.h"
+#include "PotionBroken.h"
+#include "PotionScreen.h"
+#include "HitScreen.h"
+#include "BroomRace_Bubble.h"
#include "Goblin_ProtegoHit.h"
#include "Duelist_ProtegoHit.h"
@@ -115,8 +119,8 @@ HRESULT CEffectPool::Initialize(void* pArg)
m_isActiveMonsterEffectCreate = true;
#endif //
#ifdef 기무리
- m_isActiveEffectCreate = true;
- m_isActiveMonsterEffectCreate = true;
+ m_isActiveEffectCreate = false;
+ m_isActiveMonsterEffectCreate = false;
#endif //
#ifdef 나
m_isActiveEffectCreate = true;
@@ -522,6 +526,42 @@ HRESULT CEffectPool::Ready_Effect()
return pEffect; }
))) return E_FAIL;
+ if (FAILED(Create_Effect(SKILL_TYPE::POTION_BROKEN, 3, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CPotionBroken* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::SCREEN_POTION, 3, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CPotionScreen* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::SCREEN_HIT, 3, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CHitScreen* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::BROOM_RACE_BUBBLE, 20, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CBroomRace_Bubble* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Elf.cpp b/Jusin154_Team3D/Client/Private/Elf.cpp
index 38903cb69..b6ee97c6b 100644
--- a/Jusin154_Team3D/Client/Private/Elf.cpp
+++ b/Jusin154_Team3D/Client/Private/Elf.cpp
@@ -50,6 +50,7 @@ HRESULT CElf::Initialize(void* pArg)
m_pCallBack_Behavior->Initialize(m_pCharacter_Controller);
m_pCallBack_HitReport->Initialize(m_pCharacter_Controller);
+ m_bNpc = true;
return S_OK;
}
@@ -226,6 +227,16 @@ void CElf::Set_Target(CUnit& pTarget, CTransform& pTransform)
m_fTargetDistance = XMVectorGetX(XMVector3Length(vToTargetDir));
}
+void CElf::Set_Flow(_int Index)
+{
+ m_iCurrentFlow = Index;
+}
+
+_int CElf::Get_Flow()
+{
+ return m_iCurrentFlow;
+}
+
HRESULT CElf::Bind_ShaderResources()
{
@@ -461,8 +472,8 @@ HRESULT CElf::Ready_Components(void* pArg)
Desc.eBodyType = ACTOR::CAPSULE;
Desc.fContactOffset = 0.0001f;
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
- Desc.bAutoStepping = { false };
- Desc.fStepOffset = { 0.02f };
+ Desc.bAutoStepping = { true };
+ Desc.fStepOffset = { 0.08f };
Desc.fRadius = 0.2f;
Desc.fHeight = 0.3f;
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_NonPlayable_HitReport::Create();
diff --git a/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp b/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp
index 07ec14580..3ff164983 100644
--- a/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp
+++ b/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp
@@ -60,7 +60,8 @@ HRESULT CEnemy_Panel::Initialize(void* pArg)
m_Pos.Position = _float4(0.f, 0.f, 0.f, 0.f);
m_RanrokProps.push_back(m_Pos);
}
- m_pInfoInstance->Add_Event(TEXT("RANROKPROP"), [this](void* p) {this->RanRokPropCreate(*reinterpret_cast<_vector*>(p)); });
+ m_pInfoInstance->Add_Event(TEXT("RANROKPROP"), [this](void* p) {this->RanRokPropCreate(p); });
+ m_pInfoInstance->Add_Event(TEXT("RANROKPROPBREAK"), [this](void* p) {this->RanRokPropBreak(*reinterpret_cast<_int*>(p)); });
Visible(true);
ElementAllVisible(true);
@@ -96,8 +97,10 @@ void CEnemy_Panel::Update_Target()
}
}
-void CEnemy_Panel::RanRokPropCreate(_fvector Position)
+void CEnemy_Panel::RanRokPropCreate(void* pArg)
{
+ PROPUI Prop = *reinterpret_cast(pArg);
+
if (m_pCurrentRanrokProps.size() >= 5)
{
Pos old{};
@@ -113,14 +116,31 @@ void CEnemy_Panel::RanRokPropCreate(_fvector Position)
m_RanrokProps.pop_back();
static_cast(RanRokProp.Prop)->Visible(true);
- XMStoreFloat4(&RanRokProp.Position, Position);
- XMStoreFloat3(&RanRokProp.TargetPos, Position);
+ RanRokProp.Position = Prop.vPosition;
+ RanRokProp.TargetPos =_float3(Prop.vPosition.x, Prop.vPosition.y, Prop.vPosition.z);
//static_cast(RanRokProp)->Set_Time(Info.fTime);
static_cast(RanRokProp.Prop)->Set_Hover(true);
-
+ RanRokProp.iIndex = Prop.iIndex;
m_pCurrentRanrokProps.push_front(RanRokProp);
}
+void CEnemy_Panel::RanRokPropBreak(_int Index)
+{
+ for (auto it = m_pCurrentRanrokProps.begin();it != m_pCurrentRanrokProps.end(); ++it)
+ {
+ if (it->iIndex == Index)
+ {
+ static_cast(it->Prop)->Visible(false);
+ static_cast(it->Prop)->Set_Hover(false);
+
+ m_RanrokProps.push_back(*it);
+
+ m_pCurrentRanrokProps.erase(it);
+ break;
+ }
+ }
+}
+
void CEnemy_Panel::Priority_Update(_float fTimeDelta)
{
if (!__super::Chack_Visible())
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
index 503a5f961..ec67c6749 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
@@ -84,6 +84,10 @@ HRESULT CGoblin_Assassin::Initialize(void* pArg)
m_pModelCom->Set_DisableRootMotionScale(true);
+ m_fRimStrength = 2.3f;
+ m_fRimPower = 2.3f;
+ m_vRimColor = _float4(0.f , 0.f , 0.f , 0.5f);
+
return S_OK;
}
@@ -144,6 +148,8 @@ void CGoblin_Assassin::Update(_float fTimeDelta)
//m_pDetection->Set_Active(m_bDetection);
Update_Disolve(fTimeDelta, 0.8f);
+
+ m_pMotionTrailCom->Update_Capture(fTimeDelta);
}
void CGoblin_Assassin::Late_Update(_float fTimeDelta)
@@ -163,12 +169,30 @@ void CGoblin_Assassin::Late_Update(_float fTimeDelta)
}
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+ m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this);
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
}
HRESULT CGoblin_Assassin::Render()
{
+ RENDER ePass = m_pGameInstance->Get_CurrentRenderPass();
+
+ if(ePass == RENDER::BLEND)
+ {
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+
+
+ if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+ }
+
+
if (m_bVisible == false)
return S_OK;
@@ -237,10 +261,6 @@ HRESULT CGoblin_Assassin::Render()
m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float));
}
- if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) {
- return E_FAIL;
- }
-
return S_OK;
}
@@ -350,6 +370,17 @@ HRESULT CGoblin_Assassin::Render_Shadow(SHADOW eType)
HRESULT CGoblin_Assassin::Render_MotionTrail(ID3D11ShaderResourceView* pSRV)
{
+ if(FAILED(m_pShaderCom->Bind_RawValue("g_fRimStrength" , &m_fRimLightStrength , sizeof(_float))))
+ return E_FAIL;
+
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimPower", &m_fRimPower, sizeof(_float))))
+ return E_FAIL;
+
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vRimColor", &m_vRimColor, sizeof(_float4))))
+ return E_FAIL;
+
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
for (_uint i = 0; i < iNumMeshes; i++)
{
@@ -362,7 +393,7 @@ HRESULT CGoblin_Assassin::Render_MotionTrail(ID3D11ShaderResourceView* pSRV)
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom)))
return E_FAIL;
- if (FAILED(m_pModelCom->Begin(i, m_pShaderCom)))
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::RIMLIGHT))))
return E_FAIL;
m_pContext->VSSetShaderResources(26, 1, &pSRV);
@@ -411,11 +442,7 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
{
_uint iSkillType = pEffect_Container->Get_SkillType();
-#ifndef Bin
damagePair = Get_Damage(m_pInfoInstance->Get_Spell_Damage(iSkillType));
-#endif // !Bin
-
-
switch (iSkillType)
{
@@ -462,7 +489,6 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
}
}
-#ifndef Bin
m_DamageInfo.fDamage = damagePair.first;
m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
if (0 == damagePair.second) {
@@ -471,7 +497,6 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
m_pInfoInstance->Event_CallBack(TEXT("MonsterDead"), &ID);
return;
}
-#endif // !Bin
m_pFSM->Change_State(FSMSTATE::HIT);
@@ -724,7 +749,7 @@ void CGoblin_Assassin::Describe_Entity()
{
GUI::Begin("UNIT", 0, IMGUI_GLOBAL_BEGIN_FLAG);
GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH);
- if (GUI::CollapsingHeader("Goblin")) {
+ if (GUI::CollapsingHeader("Goblin_Assassin")) {
GUI::Checkbox("LookAt", &m_bLookAt);
string AnimList = m_pModelCom->Get_AnimList(m_pModelCom->Get_AnimIndex());
@@ -748,6 +773,15 @@ void CGoblin_Assassin::Describe_Entity()
GUI::Text("Length %.2f", m_fLength);
GUI::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Distance %.2f", m_fTargetDistance);
+
+
+ GUI::DragFloat("RimStrength", &m_fRimStrength , 0.01f);
+ GUI::DragFloat("RimPower", &m_fRimPower, 0.01f);
+ GUI::ColorEdit4("RimColor", (_float*)(&m_vRimColor));
+ GUI::DragFloat("MotionTrailTime", &m_vCaptureTimer.y);
+
+ m_pMotionTrailCom->Describe_Entity();
+
}
GUI::End();
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp
index 9b482c77c..018fe4de3 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp
@@ -46,8 +46,8 @@ HRESULT CGoblin_Assassin_Spector::Initialize(void* pArg)
m_vOriginScale = m_pTransformCom->Get_Scale();
- m_pLeftHand_BoneMat = Get_PartObject("Goblin_Sword_L")->Get_Component()->Get_BoneMatrixPtr("Bone");
- m_pRightHand_BoneMat = Get_PartObject("Goblin_Sword_R")->Get_Component()->Get_BoneMatrixPtr("Bone");
+ m_pLeftHand_BoneMat = m_pModelCom->Get_BoneMatrixPtr("SKT_LeftHand");
+ m_pRightHand_BoneMat = m_pModelCom->Get_BoneMatrixPtr("SKT_RightHand");
m_pModelCom->Set_AnimationIndex(5);
m_pModelCom->Play_Animation(0, m_pTransformCom);
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
index 5d17850e7..3fb873f9a 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
@@ -247,23 +247,23 @@ void CGoblin_Assassin::Behavior_SlashEnter()
if (m_fTargetDistance <= 4.f)
{
- fDisAmount = 1.f;
+ fDisAmount = 1.3f;
}
else if (m_fTargetDistance <= 7.f)
{
- fDisAmount = 1.5f;
+ fDisAmount = 1.8f;
}
else if (m_fTargetDistance <= 10.f)
{
- fDisAmount = 2.f;
+ fDisAmount = 2.3f;
}
else if (m_fTargetDistance <= 13.f)
{
- fDisAmount = 2.5f;
+ fDisAmount = 2.8f;
}
else if (m_fTargetDistance <= 16.f)
{
- fDisAmount = 3.f;
+ fDisAmount = 3.3f;
}
pairAnimInfo = m_Animation[STATEANIM::SLASH];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, fDisAmount,false,1.3f);
@@ -288,11 +288,11 @@ void CGoblin_Assassin::Behavior_SlashEnter()
m_pGoblinSpector->Set_Disolve(true); },
0.28f);
- Add_Event(pairAnimInfo.first,
- [this]() {
- m_bLookAt = true;
- },
- 0.7f);
+ //Add_Event(pairAnimInfo.first,
+ // [this]() {
+ // m_bLookAt = true;
+ // },
+ // 0.8f);
Set_Easing(pairAnimInfo.first, 0.01f, 0.15f, 0.8f);
@@ -302,8 +302,12 @@ void CGoblin_Assassin::Behavior_SlashEnter()
HRESULT CGoblin_Assassin::Behavior_SlashExitCheck(_float fTimeDelta)
{
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+
+
+
if (fRatio >= 0.8f)
{
+ m_pGoblinSpector->Spector_Trail_Visible(false);
Get_PartObject("Goblin_Sword_L")->Set_CanTakeDamage(false);
Get_PartObject("Goblin_Sword_R")->Set_CanTakeDamage(false);
m_pFSM->Change_State(FSMSTATE::COMBAT);
@@ -316,6 +320,7 @@ HRESULT CGoblin_Assassin::Behavior_SlashExitCheck(_float fTimeDelta)
void CGoblin_Assassin::Behavior_SlashExit()
{
m_pFSM->Disable_State(FSMSTATE::SLASH);
+ m_bMotionTrail = false;
m_bLookAt = true;
}
@@ -323,6 +328,7 @@ void CGoblin_Assassin::Behavior_DashEnter()
{
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::DASH);
+ m_bMotionTrail = true;
pairAnimInfo = m_Animation[STATEANIM::DASH];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,false,1.f,false);
@@ -377,9 +383,12 @@ void CGoblin_Assassin::Behavior_BlinkEnter()
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
m_bDisolve = true;
+
Add_Event(pairAnimInfo.first,
[this]() {
m_pEffectPool->Use_Skill(SKILL_TYPE::GOBILN_TELEPORT, this);
+ Get_PartObject("Goblin_Sword_L")->Set_Visible(false);
+ Get_PartObject("Goblin_Sword_R")->Set_Visible(false);
}, 0.1f);
}
@@ -390,6 +399,9 @@ HRESULT CGoblin_Assassin::Behavior_BlinkExitCheck(_float fTimeDelta)
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
if (m_fDisolveTime >= 0.8f && iCurrAnimIndex != m_Animation[STATEANIM::BLINK].first)
{
+
+ Get_PartObject("Goblin_Sword_L")->Set_Visible(true);
+ Get_PartObject("Goblin_Sword_R")->Set_Visible(true);
m_bDisolve = false;
m_fDisolveTime = 0.f;
m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::TP)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::TP)];
@@ -645,14 +657,25 @@ void CGoblin_Assassin::Behavior_DeadEnter()
pairAnimInfo = m_Animation[iState + bStrongerKnockDown];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+
+ Get_PartObject("Goblin_Sword_L")->Set_Disolve(true);
+ Get_PartObject("Goblin_Sword_R")->Set_Disolve(true);
}
HRESULT CGoblin_Assassin::Behavior_DeadExitCheck(_float fTimeDelta)
{
- if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
- return E_PENDING;
+ if (fRatio >= 0.8f)
+ {
+ m_fDeadRatio += fTimeDelta / 3.f;
+ m_fDeadRatio = min(1.f, m_fDeadRatio);
}
+ else
+ {
+ m_fDeadRatio = 0.f;
+ }
+
return S_OK;
}
@@ -816,6 +839,7 @@ void CGoblin_Assassin::Descendo_Event()
Add_Event(m_Animation[STATEANIM::GETUP_BWD].first,
[this]() {m_bLookAt = true; },
0.7f);
+
}
void CGoblin_Assassin::TumbleAnim(_float fTimeDelta)
@@ -904,6 +928,7 @@ void CGoblin_Assassin::HitState_Behavior(_float fTimeDelta)
m_pCharacter_Controller->SetGravity(true);
pairAnimInfo = m_Animation[STATEANIM::LAND];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
+ m_eHitState = ENUM_CLASS(HIT_STATE::END);
}
}
if (m_eHitState == ENUM_CLASS(HIT_STATE::DESCENDO))
@@ -1058,8 +1083,8 @@ void CGoblin_Assassin::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));
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Attack.cpp b/Jusin154_Team3D/Client/Private/Goblin_Attack.cpp
index 6d621219e..019d51417 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Attack.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Attack.cpp
@@ -50,7 +50,7 @@ HRESULT CGoblin_Attack::Initialize(void* pArg)
SAFE_ADDREF(m_pPT1);
SAFE_ADDREF(m_pPT2);
SAFE_ADDREF(m_pAttack_Trail);
- m_fDuration = 2.f;
+ m_fDuration = 4.f;
m_Events.emplace(1.2f, [&]() {
@@ -87,6 +87,7 @@ void CGoblin_Attack::Update(_float fTimeDelta)
m_pAttack_Trail->Trail_Update(BoneMat, fTimeDelta);
+
}
void CGoblin_Attack::Late_Update(_float fTimeDelta)
@@ -122,6 +123,8 @@ HRESULT CGoblin_Attack::Pre_Setting(CGameObject* pObject, void* pArg)
m_pPT2->Set_Visible(true);
m_pAttack_Trail->Set_Visible(true);
m_pAttack_Trail->SetDissolve(false);
+ m_pAttack_Trail->Get_Component()->Reset_Trail();
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
index de0610eb0..8661b4d49 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
@@ -537,8 +537,16 @@ void CGoblin_Mage::Behavior_DeadEnter()
HRESULT CGoblin_Mage::Behavior_DeadExitCheck(_float fTimeDelta)
{
- if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
- return E_PENDING;
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+
+ if (fRatio >= 0.8f)
+ {
+ m_fDeadRatio += fTimeDelta / 3.f;
+ m_fDeadRatio = min(1.f, m_fDeadRatio);
+ }
+ else
+ {
+ m_fDeadRatio = 0.f;
}
return S_OK;
}
@@ -792,6 +800,7 @@ void CGoblin_Mage::HitState_Behavior(_float fTimeDelta)
m_pCharacter_Controller->SetGravity(true);
pairAnimInfo = m_Animation[STATEANIM::LAND];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
+ m_eHitState = ENUM_CLASS(HIT_STATE::END);
}
}
if (m_eHitState == ENUM_CLASS(HIT_STATE::DESCENDO))
@@ -950,8 +959,8 @@ void CGoblin_Mage::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));
diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
index ce5f55e14..c892c5f35 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
@@ -627,10 +627,18 @@ void CGoblin::Behavior_DeadEnter()
HRESULT CGoblin::Behavior_DeadExitCheck(_float fTimeDelta)
{
- if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
- return E_PENDING;
+ if (fRatio >= 0.8f)
+ {
+ m_fDeadRatio += fTimeDelta / 3.f;
+ m_fDeadRatio = min(1.f, m_fDeadRatio);
}
+ else
+ {
+ m_fDeadRatio = 0.f;
+ }
+
return S_OK;
}
@@ -883,6 +891,7 @@ void CGoblin::HitState_Behavior(_float fTimeDelta)
m_pCharacter_Controller->SetGravity(true);
pairAnimInfo = m_Animation[STATEANIM::LAND];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
+ m_eHitState = ENUM_CLASS(HIT_STATE::END);
}
}
if (m_eHitState == ENUM_CLASS(HIT_STATE::DESCENDO))
@@ -1035,8 +1044,8 @@ void CGoblin::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));
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Sword.cpp b/Jusin154_Team3D/Client/Private/Goblin_Sword.cpp
index 37ad6d390..2a9dc3329 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Sword.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Sword.cpp
@@ -52,7 +52,7 @@ void CGoblin_Sword::Priority_Update(_float fTimeDelta)
void CGoblin_Sword::Update(_float fTimeDelta)
{
if (m_bDisolve) {
- m_fDisolveTime += fTimeDelta;
+ m_fDisolveTime += fTimeDelta * 0.2f;
if (m_fDisolveTime >= 1.f)
{
m_fDisolveTime = 0.f;
diff --git a/Jusin154_Team3D/Client/Private/HitScreen.cpp b/Jusin154_Team3D/Client/Private/HitScreen.cpp
new file mode 100644
index 000000000..d8afd9739
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/HitScreen.cpp
@@ -0,0 +1,159 @@
+#include "pch.h"
+#include "HitScreen.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "Goblin_BattleAxe.h"
+#include "TrailObject.h"
+
+CHitScreen::CHitScreen(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CHitScreen::CHitScreen(const CHitScreen& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CHitScreen::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/HitScreen")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CHitScreen::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_fDuration = 4.f;
+
+
+
+ return S_OK;
+}
+
+void CHitScreen::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CHitScreen::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+}
+
+void CHitScreen::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CHitScreen::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ CEffectParts* pHit_Screen_FX = Get_PartObject("Hit_Screen_FX");
+
+ pHit_Screen_FX->Set_Visible(true);
+
+
+ return S_OK;
+}
+
+HRESULT CHitScreen::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CHitScreen::Ready_Child()
+{
+ return S_OK;
+}
+
+CHitScreen* CHitScreen::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CHitScreen* pInstance = new CHitScreen(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CHitScreen");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CHitScreen::Clone(void* pArg, CGameObject* pOwner)
+{
+ CHitScreen* pInstance = new CHitScreen(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CHitScreen");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CHitScreen::OnCollision(CGameObject* pOther, void* pDesc)
+{
+
+
+}
+
+void CHitScreen::Free()
+{
+ __super::Free();
+
+
+}
+#ifdef _DEBUG
+void CHitScreen::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CHitScreen::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp b/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
index 3b46ee80f..81c84552b 100644
--- a/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
@@ -276,7 +276,7 @@ void CHuman_Duelist::Behavior_HitEnter()
return;
}
pairAnimInfo = m_Animation[STATEANIM::HIT_BWD];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.1f);
break;
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
@@ -284,7 +284,7 @@ void CHuman_Duelist::Behavior_HitEnter()
break;
case ENUM_CLASS(SKILL_TYPE::STUPEFY):
pairAnimInfo = m_Animation[STATEANIM::DAZED_START];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.3f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.1f);
Add_Event(pairAnimInfo.first,
[this]() {
pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::DAZED_LOOP];
diff --git a/Jusin154_Team3D/Client/Private/Item_Potion.cpp b/Jusin154_Team3D/Client/Private/Item_Potion.cpp
index cfcbd8f72..523d17cdf 100644
--- a/Jusin154_Team3D/Client/Private/Item_Potion.cpp
+++ b/Jusin154_Team3D/Client/Private/Item_Potion.cpp
@@ -61,15 +61,22 @@ void CItem_Potion::Late_Update(_float fTimeDelta)
if (m_bVisible)
{
m_fTimer += fTimeDelta;
+ if (m_fTimer >= 1.f && m_bOnce == false) {
+ m_pEffectPool->Use_Skill(SKILL_TYPE::SCREEN_POTION , this);
+ m_bOnce = true;
+ }
if (m_fTimer >= 1.6f) {
m_bAttach = false;
}
+
if (m_fTimer >= 3.f) {
m_fTimer = 0.f;
m_bVisible = false;
m_bAttach = true;
+ m_bOnce = false;
}
}
+
if (m_bAttach)
{
m_bHit = false;
@@ -189,12 +196,21 @@ void CItem_Potion::Check_GroundCollision()
void CItem_Potion::OnCollision(CGameObject* pOther, void* pDesc)
{
+ if (m_bVisible == false)
+ return;
+
m_bHit = false;
+ m_pEffectPool->Use_Skill(SKILL_TYPE::POTION_BROKEN, this);
+ m_fTimer = 0.f;
+ m_bVisible = false;
+ m_bAttach = true;
+ m_bOnce = false;
}
void CItem_Potion::Set_Attach(_bool Attach)
{
m_bAttach = Attach;
+
}
diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
index f8272f714..2cf9347e1 100644
--- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
@@ -126,7 +126,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
_bool bLoadNPC = { true };
#ifdef _DEBUG
#ifdef 기무리
- bLoadNPC = true;
+ bLoadNPC = false;
#endif
#endif // _DEBUG
if (true == bLoadNPC) {
@@ -344,19 +344,18 @@ HRESULT CLevel_GamePlay::Ready_Background()
_bool isReady_Background = { true };
_bool isReady_Hogsmeade = { true };
_bool isReady_Hogwart = { true };
+ m_pInfoInstance->Load_ReparoObjects("Reparo_Data");
#ifdef _DEBUG
#ifdef gimch
isReady_Background = true;
isReady_Hogsmeade = true;
isReady_Hogwart = false;
- m_pInfoInstance->Load_ReparoObjects("Reparo_Data");
#endif // gimch
#ifdef Bin
isReady_Background = false;
isReady_Hogsmeade = false;
isReady_Hogwart = false;
- m_pInfoInstance->Load_ReparoObjects("Reparo_Data");
#endif //
#ifdef 진우
isReady_Background = false;
@@ -366,7 +365,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
#ifdef 기무리
isReady_Background = true;
isReady_Hogsmeade = true;
- isReady_Hogwart = true;
+ isReady_Hogwart = false;
#endif //
#ifdef 나
isReady_Background = false;
@@ -796,7 +795,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* StratifiedCliff_A1 */
Desc.isShake = false;
- Desc.bEnableRigidbody = true;
+ Desc.bEnableRigidbody = false;
Desc.vRadius = _float2(0.f, 0.f);
Desc.vSpeed = _float2(0.f, 0.f);
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_StratifiedCliff_A1";
@@ -823,7 +822,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* StratifiedRock_B */
Desc.isShake = false;
- Desc.bEnableRigidbody = true;
+ Desc.bEnableRigidbody = false;
Desc.vRadius = _float2(0.f, 0.f);
Desc.vSpeed = _float2(0.3f, 1.f);
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_StratifiedRock_B";
@@ -841,7 +840,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* StratifiedRock_D_B */
Desc.isShake = false;
- Desc.bEnableRigidbody = true;
+ Desc.bEnableRigidbody = false;
Desc.vRadius = _float2(0.f, 0.f);
Desc.vSpeed = _float2(0.3f, 1.f);
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_StratifiedRock_D_B";
@@ -1141,8 +1140,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc()
isLoad_NPC = false;
#endif //
#ifdef 기무리
- isLoad_NPC = true;
- isLoad_RandomNPC = true;
+ isLoad_NPC = false;
+ isLoad_RandomNPC = false;
#endif //
#ifdef 나
isLoad_RandomNPC = true;
diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp
index 1840ee53b..84c1503c1 100644
--- a/Jusin154_Team3D/Client/Private/Loader.cpp
+++ b/Jusin154_Team3D/Client/Private/Loader.cpp
@@ -6,6 +6,7 @@
#include "Light_Main.h"
#include "Loader.h"
#include "MainApp.h"
+#include "CamPosition_WorldLook.h"
#include "Model.h"
#include "Broom.h"
@@ -210,6 +211,10 @@
#include "Avadakedavra.h"
#include "Goblin_Teleport.h"
+#include "PotionBroken.h"
+#include "PotionScreen.h"
+#include "HitScreen.h"
+#include "BroomRace_Bubble.h"
#include "TrollSwing.h"
#include "Troll_Nomal_Smoke.h"
@@ -558,9 +563,9 @@ HRESULT CLoader::Loading_For_GamePlay()
#endif //
#ifdef 기무리
isLoad_Background = true;
- isLoad_Hogwart = true;
+ isLoad_Hogwart = false;
isLoad_UI_SEQUANTIAL = false;
- isLoad_NPC = true;
+ isLoad_NPC = false;
isLoad_Monster = true;
#endif //
#ifdef 나
@@ -1247,7 +1252,7 @@ HRESULT CLoader::Loading_For_GamePlay()
TEXT("Prototype_Component_GerboldOlivander_Model")
));
jobCharacterModels.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)) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
TEXT("Prototype_Component_Professor_EleazarFig_Model")
));
jobCharacterModels.emplace_back(Deferred_ModelLoad(
@@ -2946,10 +2951,28 @@ HRESULT CLoader::Loading_For_GamePlay()
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CScreen_Wind::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPotionBroken::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPotionScreen::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CHitScreen::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CBroomRace_Bubble::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CEffectPool::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_WorldLook::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
m_strMessage = TEXT("Model Loading..");
@@ -4112,8 +4135,8 @@ HRESULT CLoader::Loading_For_GamePlay()
{
CModel* pModelOriginal = (CModel*)m_pGameInstance->Find_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_Model"));
CMotion_Trail::MODELCAPTURE_DESC Desc{};
- Desc.fMaxCaptureLifeTime = 2.f;
- Desc.iMaximumCapture = 4;
+ Desc.fMaxCaptureLifeTime = 0.3f;
+ Desc.iMaximumCapture = 16;
Desc.iNumBones = pModelOriginal->Get_BoneAbsoluteCount();
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_MotionTrail"), CMotion_Trail::Create(m_pDevice, m_pContext, &Desc)))) {
return E_FAIL;
@@ -4123,8 +4146,8 @@ HRESULT CLoader::Loading_For_GamePlay()
{
CModel* pModelOriginal = (CModel*)m_pGameInstance->Find_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_Model"));
CMotion_Trail::MODELCAPTURE_DESC Desc{};
- Desc.fMaxCaptureLifeTime = 2.f;
- Desc.iMaximumCapture = 4;
+ Desc.fMaxCaptureLifeTime = 0.7f;
+ Desc.iMaximumCapture = 16;
Desc.iNumBones = pModelOriginal->Get_BoneAbsoluteCount();
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_MotionTrail"), CMotion_Trail::Create(m_pDevice, m_pContext, &Desc)))) {
return E_FAIL;
diff --git a/Jusin154_Team3D/Client/Private/MageSide.cpp b/Jusin154_Team3D/Client/Private/MageSide.cpp
index d00c5a72b..edfbc46b7 100644
--- a/Jusin154_Team3D/Client/Private/MageSide.cpp
+++ b/Jusin154_Team3D/Client/Private/MageSide.cpp
@@ -48,7 +48,9 @@ HRESULT CMageSide::Initialize(void* pArg)
SAFE_ADDREF(m_pMage_PT);
+ SAFE_ADDREF(m_pMage_Fire);
SAFE_ADDREF(m_pMage_Trail);
+ SAFE_ADDREF(m_pMage_Fire);
m_fDuration = 5.f;
diff --git a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp
index 7d4277241..826dd40ea 100644
--- a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp
+++ b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp
@@ -18,6 +18,34 @@ CNPC_EleazarFig::CNPC_EleazarFig(const CNPC_EleazarFig& Prototype)
{
}
+HRESULT CNPC_EleazarFig::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CNPC_EleazarFig::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg))) {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+ NPCDESC* pDesc = static_cast(pArg);
+
+ _vector vPos = XMLoadFloat4(&pDesc->vPos);
+ m_pTransformCom->Set_State(STATE::POSITION, vPos);
+ m_pCharacter_Controller->Set_Position(vPos);
+ m_pTransformCom->Rotation(XMLoadFloat4(&pDesc->vRotQ));
+
+ m_pModelCom->Set_AnimationIndex(0, true);
+ m_pCallBack_Behavior->Initialize(m_pCharacter_Controller);
+ m_pCallBack_HitReport->Initialize(m_pCharacter_Controller);
+ m_bNpc = true;
+ return S_OK;
+}
+
+
void CNPC_EleazarFig::Priority_Update(_float fTimeDelta)
{
m_pTransformCom->RewindMomentum();
@@ -31,6 +59,13 @@ void CNPC_EleazarFig::Priority_Update(_float fTimeDelta)
void CNPC_EleazarFig::Update(_float fTimeDelta)
{
m_pFSM->Update_State(fTimeDelta);
+
+ if (m_pModelCom->IsFinishedAnim())
+ {
+ _int iRandom = m_pGameInstance->Real_Random_Int(0, 12);
+ m_pModelCom->Set_AnimationIndex(iRandom, false, 1.f, false, 1.f, false);
+ }
+
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
__super::Update(fTimeDelta);
#ifdef _DEBUG
@@ -76,6 +111,9 @@ HRESULT CNPC_EleazarFig::Render()
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
return E_FAIL;
}
+ if (FAILED(Bind_ShaderParameters(i))) {
+ return E_FAIL;
+ }
if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) {
return E_FAIL;
}
@@ -155,6 +193,41 @@ HRESULT CNPC_EleazarFig::Bind_ShaderResources()
return S_OK;
}
+HRESULT CNPC_EleazarFig::Bind_ShaderParameters(_uint iMeshOrder)
+{
+ _bool bUseColorMixer = false;
+
+ _uint iColorParam = { UINT_MAX };
+ _float fMixerFactor = { FLT_MAX };
+ _uint iColorMixerMethod = { 0 };
+
+ switch (m_pModelCom->Get_UsingPass(iMeshOrder, m_pShaderCom))
+ {
+ case 23:
+ {
+ bUseColorMixer = true;
+ iColorParam = 0x2E2E2E;
+ fMixerFactor = 0.9f;
+ iColorMixerMethod = 1;
+ }
+ break;
+ }
+ if (true == bUseColorMixer) {
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iPackedBlendColor", &iColorParam, sizeof(_uint)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fMixerFactor", &fMixerFactor, sizeof(_float)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iColorMixerMethod", &iColorMixerMethod, sizeof(_uint)))) {
+ return E_FAIL;
+ }
+ }
+ return S_OK;
+}
+
void CNPC_EleazarFig::OnRayCollision(CGameObject* pCaster, _uint iCastedOrder, _float fDistance, _float3 vCastedWorldPos)
{
CPlayer* pPlayer = dynamic_cast(pCaster);
@@ -175,32 +248,6 @@ void CNPC_EleazarFig::Set_Pos(_vector vPos)
m_pCharacter_Controller->Set_Position(vPos);
}
-HRESULT CNPC_EleazarFig::Initialize_Prototype()
-{
- return S_OK;
-}
-
-HRESULT CNPC_EleazarFig::Initialize(void* pArg)
-{
- if (FAILED(__super::Initialize(pArg))) {
- return E_FAIL;
- }
- if (FAILED(Ready_Components(pArg))) {
- return E_FAIL;
- }
- NPCDESC* pDesc = static_cast(pArg);
-
- _vector vPos = XMLoadFloat4(&pDesc->vPos);
- m_pTransformCom->Set_State(STATE::POSITION, vPos);
- m_pCharacter_Controller->Set_Position(vPos);
- m_pTransformCom->Rotation(XMLoadFloat4(&pDesc->vRotQ));
-
- m_pModelCom->Set_AnimationIndex(0, true);
- m_pCallBack_Behavior->Initialize(m_pCharacter_Controller);
- m_pCallBack_HitReport->Initialize(m_pCharacter_Controller);
- m_bNpc = true;
- return S_OK;
-}
HRESULT CNPC_EleazarFig::Ready_Components(void* pArg)
{
@@ -253,6 +300,10 @@ HRESULT CNPC_EleazarFig::Ready_Components(void* pArg)
}
}
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("ELEAZARFIG"), (CComponent**)&m_pNpcStat))) {
+ return E_FAIL;
+ }
+
return S_OK;
}
@@ -286,6 +337,8 @@ void CNPC_EleazarFig::Free()
SAFE_RELEASE(m_pCharacter_Controller);
SAFE_RELEASE(m_pRigidBody);
+ SAFE_RELEASE(m_pNpcStat);
+
if (nullptr != m_pInfoInstance) {
CInfoInstance* pInfo = m_pInfoInstance;
m_pInfoInstance = nullptr;
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index 82504467e..c1184621a 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -56,7 +56,7 @@ HRESULT CPlayer::Initialize(void* pArg)
Load_KeyFrame();
#if 진우
- m_isDebugMode = true; // 디버그 무적 모드
+ m_isDebugMode = false; // 디버그 무적 모드
#endif
#if 나
m_isDebugMode = true; // 디버그 무적 모드
@@ -542,6 +542,11 @@ void CPlayer::Trigger(CTimeSocket& Socket)
SOCKETCONTENTS* pContents = &Socket.m_Contents;
switch (pContents->eTypeFunc)
{
+ case TIMESOCKET_FUNC::TELEPORTATION:
+ {
+ m_pTransformCom->Set_WorldMatrix(pContents->pxTransform);
+ m_pCharacter_Controller->Set_Position(XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f));
+ } break;
case TIMESOCKET_FUNC::TRANSLATION:
{
_vector vNewPos = XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f);
@@ -573,7 +578,7 @@ void CPlayer::Trigger(CTimeSocket& Socket)
} break;
case TIMESOCKET_FUNC::BIND_SOCKET_MATRIX:
{
-
+
} break;
case TIMESOCKET_FUNC::UNBIND_SOCKET_MATRIX:
{
@@ -811,6 +816,7 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder)
return S_OK;
}
+
void CPlayer::CheckMouseInput()
{
if (m_pGameInstance->Mouse_Down(DIM_RBUTTON)) {
diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp
index ecb439a79..c8a6346f6 100644
--- a/Jusin154_Team3D/Client/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Player_States.cpp
@@ -248,6 +248,9 @@ HRESULT CPlayer::Behavior_IdleExitCheck(_float fTimeDelta)
else if (m_pGameInstance->Key_Down(DIK_G)) {
Get_PartObject()->Set_Visible(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)) {
m_pFSM->Change_State(FSMSTATE::BROOM_RIDE);
@@ -1940,7 +1943,9 @@ void CPlayer::Behavior_ParryEnter()
}
Add_Event(pairAnimInfo.first,
- [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject()); },
+
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY_SIDE, Get_PartObject());
+ m_pGameInstance->SlowMotion(0.4f, 0.2f); },
0.01f);
@@ -2012,6 +2017,8 @@ void CPlayer::Behavior_HitEnter()
}
+ m_pEffectPool->Use_Skill(SKILL_TYPE::SCREEN_HIT, this);
+
ProcessHitBehavior();
}
diff --git a/Jusin154_Team3D/Client/Private/PotionBroken.cpp b/Jusin154_Team3D/Client/Private/PotionBroken.cpp
new file mode 100644
index 000000000..48e9f5aaa
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/PotionBroken.cpp
@@ -0,0 +1,162 @@
+#include "pch.h"
+#include "PotionBroken.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "Goblin_BattleAxe.h"
+#include "TrailObject.h"
+
+CPotionBroken::CPotionBroken(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CPotionBroken::CPotionBroken(const CPotionBroken& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CPotionBroken::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/PotionEffect")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CPotionBroken::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_fDuration = 5.f;
+
+ return S_OK;
+}
+
+void CPotionBroken::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CPotionBroken::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+}
+
+void CPotionBroken::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CPotionBroken::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+ CEffectParts* pPotionEffect = Get_PartObject("PotionEffect");
+ CEffectParts* pPotionSmoke = Get_PartObject("PotionSmoke");
+
+ _vector vPosVector = m_pOwner->Get_Component()->Get_State(STATE::POSITION);
+
+ pPotionEffect->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+ pPotionSmoke->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+
+ pPotionEffect->Set_Visible(true);
+ pPotionSmoke->Set_Visible(true);
+
+
+ return S_OK;
+}
+
+HRESULT CPotionBroken::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CPotionBroken::Ready_Child()
+{
+ return S_OK;
+}
+
+CPotionBroken* CPotionBroken::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CPotionBroken* pInstance = new CPotionBroken(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CPotionBroken");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CPotionBroken::Clone(void* pArg, CGameObject* pOwner)
+{
+ CPotionBroken* pInstance = new CPotionBroken(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CPotionBroken");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CPotionBroken::OnCollision(CGameObject* pOther, void* pDesc)
+{
+
+}
+
+void CPotionBroken::Free()
+{
+ __super::Free();
+
+
+}
+#ifdef _DEBUG
+void CPotionBroken::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CPotionBroken::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/PotionScreen.cpp b/Jusin154_Team3D/Client/Private/PotionScreen.cpp
new file mode 100644
index 000000000..01e0b20d4
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/PotionScreen.cpp
@@ -0,0 +1,159 @@
+#include "pch.h"
+#include "PotionScreen.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "Goblin_BattleAxe.h"
+#include "TrailObject.h"
+
+CPotionScreen::CPotionScreen(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CPotionScreen::CPotionScreen(const CPotionScreen& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CPotionScreen::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/PotionScreen")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CPotionScreen::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_fDuration = 4.f;
+
+
+
+ return S_OK;
+}
+
+void CPotionScreen::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CPotionScreen::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+}
+
+void CPotionScreen::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CPotionScreen::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ CEffectParts* pPotion_ScreenFX = Get_PartObject("Potion_ScreenFX");
+
+ pPotion_ScreenFX->Set_Visible(true);
+
+
+ return S_OK;
+}
+
+HRESULT CPotionScreen::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CPotionScreen::Ready_Child()
+{
+ return S_OK;
+}
+
+CPotionScreen* CPotionScreen::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CPotionScreen* pInstance = new CPotionScreen(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CPotionScreen");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CPotionScreen::Clone(void* pArg, CGameObject* pOwner)
+{
+ CPotionScreen* pInstance = new CPotionScreen(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CPotionScreen");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CPotionScreen::OnCollision(CGameObject* pOther, void* pDesc)
+{
+
+
+}
+
+void CPotionScreen::Free()
+{
+ __super::Free();
+
+
+}
+#ifdef _DEBUG
+void CPotionScreen::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CPotionScreen::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp
index dc5cb6024..37f3eb6a8 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp
@@ -13,6 +13,7 @@
#include "TimeSocket.h"
#include "Layer.h"
+#include "Ranrok_Prop.h"
#pragma region STATE
#include "State_Idle.h"
@@ -65,7 +66,7 @@ HRESULT CRanrok::Initialize(void* pArg)
}
m_pCallBack_Behavior->Initialize(m_pCharacter_Controller, m_pRigidBody);
- m_pCallBack_HitReport->Initialize(m_pCharacter_Controller, m_pRigidBody,&m_bCollisionPlayer);
+ m_pCallBack_HitReport->Initialize(m_pCharacter_Controller, m_pRigidBody, &m_bCollisionPlayer);
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object();
SAFE_ADDREF(m_pEffectPool);
@@ -170,7 +171,7 @@ void CRanrok::Update(_float fTimeDelta)
}
- Update_Disolve(fTimeDelta,0.8f);
+ Update_Disolve(fTimeDelta, 0.8f);
#pragma region TRAIL_UPDATE
@@ -208,7 +209,17 @@ void CRanrok::Update(_float fTimeDelta)
m_vCreatePropTime.x = 0.f;
if (nullptr != pEffect)
+ {
+ m_iRanRok_PropIndex++;
+ static_cast(pEffect)->Set_Index(m_iRanRok_PropIndex);
m_pRanrok_Props.push_back(pEffect);
+ }
+
+ PROPUI Prop{};
+ XMStoreFloat4(&Prop.vPosition, pEffect->Get_WorldPostion());
+ Prop.iIndex = m_iRanRok_PropIndex;
+ m_pInfoInstance->Event_CallBack(TEXT("RANROKPROP"), &Prop);
+
}
@@ -259,7 +270,7 @@ void CRanrok::Late_Update(_float fTimeDelta)
_vector vRight = m_pTransformCom->Get_State(STATE::RIGHT);
_float4 SetPos = {};
- XMStoreFloat4(&SetPos,vPos + (vRight * (_float)m_iBreathRand));
+ XMStoreFloat4(&SetPos, vPos + (vRight * (_float)m_iBreathRand));
m_pModelCom->Set_TargetPos(SetPos);
@@ -366,7 +377,7 @@ HRESULT CRanrok::Render_MotionTrail(ID3D11ShaderResourceView* pSRV)
{
for (_uint i = ENUM_CLASS(RANROK_MESH_ORDER::WINGS); i < ENUM_CLASS(RANROK_MESH_ORDER::END); ++i)
{
- if (FAILED(m_pShaderCom->Bind_Matrices("g_OffsetMatrix",m_pModelCom->Get_OffsetMatrix(i).data(),
+ if (FAILED(m_pShaderCom->Bind_Matrices("g_OffsetMatrix", m_pModelCom->Get_OffsetMatrix(i).data(),
(_int)m_pModelCom->Get_OffsetMatrix(i).size()))) {
return E_FAIL;
}
@@ -399,7 +410,7 @@ _vector CRanrok::Get_LockOnPos()
for (_uint i = 0; i < ENUM_CLASS(RANROK_ENUM_BONEMATRICES::END); ++i) {
_vector vPosResult = m_pTargetableDO[i]->Get_Position();
vToMonsterDir = vPosResult - vCameraPos;
-
+
_float fDotResult = CMyTools::DirectionCompare(vCameraLook, vToMonsterDir);
if (fMaxDot < fDotResult) {
@@ -419,7 +430,7 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
if (m_bDisolve)
return;
- if (m_bFireBurst || m_pFSM->IsEnable(FSMSTATE::LAND|FSMSTATE::TUCKED) || m_pModelCom->Get_AnimIndex() == m_Animation[STATEANIM::HIT_BWD2].first)
+ if (m_bFireBurst || m_pFSM->IsEnable(FSMSTATE::LAND | FSMSTATE::TUCKED) || m_pModelCom->Get_AnimIndex() == m_Animation[STATEANIM::HIT_BWD2].first)
return;
ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
@@ -490,7 +501,8 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
return;
}
- Update_BehaviorByHPRatio(CollisionDesc);
+ if (Update_BehaviorByHPRatio(CollisionDesc))
+ return;
if (!IsHitStateDisabled() || IsHitSpellDisabled()) {
m_pFSM->Change_State(FSMSTATE::HIT);
@@ -686,19 +698,19 @@ HRESULT CRanrok::Ready_SubParts()
m_pLeftEye_BoneMat = m_pModelCom->Get_BoneMatrixPtr("eye_left");
m_pRightEye_BoneMat = m_pModelCom->Get_BoneMatrixPtr("eye_right");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::RIGHTWING_WRIST)] = m_pRightWingWrist_BoneMat = m_pModelCom->Get_BoneMatrixPtr("wrist_right");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::RIGHTWING_TIP)] = m_pRightWingTip_BoneMat = m_pModelCom->Get_BoneMatrixPtr("middle_05_right");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::RIGHTWING_PINKY)] = m_pRightWingPinky_BoneMat = m_pModelCom->Get_BoneMatrixPtr("pinkyelbowwing_04_right");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::RIGHTWING_WRIST)] = m_pRightWingWrist_BoneMat = m_pModelCom->Get_BoneMatrixPtr("wrist_right");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::RIGHTWING_TIP)] = m_pRightWingTip_BoneMat = m_pModelCom->Get_BoneMatrixPtr("middle_05_right");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::RIGHTWING_PINKY)] = m_pRightWingPinky_BoneMat = m_pModelCom->Get_BoneMatrixPtr("pinkyelbowwing_04_right");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::LEFTWING_WRIST)] = m_pLeftWingWrist_BoneMat = m_pModelCom->Get_BoneMatrixPtr("wrist_left");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::LEFTWING_TIP)] = m_pLeftWingTip_BoneMat = m_pModelCom->Get_BoneMatrixPtr("middle_05_left");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::LEFTWING_PINKY)] = m_pLeftWingPinky_BoneMat = m_pModelCom->Get_BoneMatrixPtr("pinkyelbowwing_04_left");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::LEFTWING_WRIST)] = m_pLeftWingWrist_BoneMat = m_pModelCom->Get_BoneMatrixPtr("wrist_left");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::LEFTWING_TIP)] = m_pLeftWingTip_BoneMat = m_pModelCom->Get_BoneMatrixPtr("middle_05_left");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::LEFTWING_PINKY)] = m_pLeftWingPinky_BoneMat = m_pModelCom->Get_BoneMatrixPtr("pinkyelbowwing_04_left");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::HEAD)] = m_pHead_BoneMat = m_pModelCom->Get_BoneMatrixPtr("head");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::BODY)] = m_pBody_BoneMat = m_pModelCom->Get_BoneMatrixPtr("chest_Main");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::TAIL0)] = m_pTail0_BoneMat = m_pModelCom->Get_BoneMatrixPtr("tail_04");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::TAIL1)] = m_pTail1_BoneMat = m_pModelCom->Get_BoneMatrixPtr("tail_08");
- m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::TAIL2)] = m_pTail2_BoneMat = m_pModelCom->Get_BoneMatrixPtr("tail_12");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::HEAD)] = m_pHead_BoneMat = m_pModelCom->Get_BoneMatrixPtr("head");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::BODY)] = m_pBody_BoneMat = m_pModelCom->Get_BoneMatrixPtr("chest_Main");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::TAIL0)] = m_pTail0_BoneMat = m_pModelCom->Get_BoneMatrixPtr("tail_04");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::TAIL1)] = m_pTail1_BoneMat = m_pModelCom->Get_BoneMatrixPtr("tail_08");
+ m_pRanrokCombinedBoneMatrices[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::TAIL2)] = m_pTail2_BoneMat = m_pModelCom->Get_BoneMatrixPtr("tail_12");
CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
Desc.bAutoOwnerTranslation = false;
@@ -943,7 +955,7 @@ void CRanrok::MoveTo(_float fTimeDelta)
if (m_iCurrentPoint + 1 < m_Points[m_iCurrentFlow].size() && fDist < 15.f)
{
- NextTarget = XMLoadFloat4(&m_Points[m_iCurrentFlow][m_iCurrentPoint + 1]);
+ NextTarget = XMLoadFloat4(&m_Points[m_iCurrentFlow][m_iCurrentPoint + 1]);
}
else {
NextTarget = Target;
@@ -971,9 +983,10 @@ void CRanrok::MoveTo(_float fTimeDelta)
_vector LerpTarget = XMVectorLerp(Target, NextTarget, 0.5f);
- m_pTransformCom->LookAt_Lerp(LerpTarget, fTimeDelta,5.f);
+ m_pTransformCom->LookAt_Lerp(LerpTarget, fTimeDelta, 5.f);
m_pCharacter_Controller->Set_Position(CurPos + vLook * m_fTuckedSpeed * fTimeDelta);
+ m_pTransformCom->Set_State(STATE::POSITION, CurPos + vLook * m_fTuckedSpeed * fTimeDelta);
}
HRESULT CRanrok::Load_RanrokPos(const _char* pFilePath)
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp
index db72b0649..85c96f06d 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp
@@ -199,7 +199,6 @@ HRESULT CRanrok_Prop::Pre_Setting(CGameObject* pObject, void* pArg)
m_fHp = 3.f;
m_fDuration = 10000.f;
- m_pInfoInstance->Event_CallBack(TEXT("RANROKPROP"), &vPos);
return S_OK;
}
@@ -313,6 +312,7 @@ void CRanrok_Prop::OnCollision(CGameObject* pOther, void* pDesc)
m_fDuration = 1.7f;
m_fAccTime = 0.f;
+ m_pInfoInstance->Event_CallBack(TEXT("RANROKPROPBREAK"), &m_iIndex);
}
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
index cbb89ab33..fcf859a54 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
@@ -901,13 +901,13 @@ void CRanrok::Behavior_TuckedEnter()
m_bDisolve = true;
pairAnimInfo = m_Animation[STATEANIM::TUCKED];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
-
Add_Event(pairAnimInfo.first,
[this]() {
m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_POINT, this, nullptr, &m_pRanrok_Point);
m_pLeftEye_Trail->Set_Visible(false);
m_pRightEye_Trail->Set_Visible(false);
+
}, 0.05f);
@@ -952,9 +952,14 @@ void CRanrok::Behavior_TuckedExit()
SAFE_RELEASE(m_pRanrok_Point);
}
+
+ m_pLeftEye_Trail->Get_Component()->Reset_Trail();
+ m_pRightEye_Trail->Get_Component()->Reset_Trail();
+
m_pLeftEye_Trail->Set_Visible(true);
m_pRightEye_Trail->Set_Visible(true);
+
m_pFSM->Disable_State(FSMSTATE::TUCKED);
m_bTucked = false;
@@ -999,6 +1004,7 @@ void CRanrok::Behavior_LandExit()
void CRanrok::Behavior_HitEnter()
{
pair<_uint, _bool> pairAnimInfo = {};
+ m_pFSM->Enable_State(FSMSTATE::HIT);
m_bLookAt = false;
@@ -1028,6 +1034,8 @@ HRESULT CRanrok::Behavior_HitExitCheck(_float fTimeDelta)
void CRanrok::Behavior_HitExit()
{
+ m_pFSM->Disable_State(FSMSTATE::HIT);
+
m_bLookAt = true;
}
@@ -1151,64 +1159,45 @@ _bool CRanrok::IsHitSpellDisabled()
return false;
}
-void CRanrok::Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo)
+_bool CRanrok::Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo)
{
_float curr = Get_HpRatio();
- pair<_uint, _bool> pairAnimInfo = {};
- if (m_fPrevHpRatio > 0.85f && curr <= 0.85f)
+
+ static const _float Thresholds[] = { 0.85f, 0.7f, 0.5f };
+
+ if (m_iHpPhase < 3 && curr <= Thresholds[m_iHpPhase])
{
- pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
+ pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
+
+ if (m_iHpPhase == 2)
+ m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND);
+
+ m_pEffectPool->Use_Skill(
+ SKILL_TYPE::RANROK_IMPACT,
+ this,
+ &CollisionInfo->vWorldPos
+ );
+
+ Add_Event(pairAnimInfo.first,
+ [this]() { m_bDisolve = true; },
+ 0.25f);
+
+ Add_Event(pairAnimInfo.first,
+ [this]() { m_pFSM->Change_State(FSMSTATE::TUCKED); },
+ 0.55f);
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+
+ ++m_iHpPhase;
m_fPrevHpRatio = curr;
- m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
-
- Add_Event(pairAnimInfo.first,
- [this]() {m_bDisolve = true; },
- 0.25f);
- Add_Event(pairAnimInfo.first,
- [this]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.55f);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- return;
+ return true;
}
- else if (m_fPrevHpRatio > 0.7f && curr <= 0.7f)
- {
- pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
- m_fPrevHpRatio = curr;
- m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
-
- Add_Event(pairAnimInfo.first,
- [this]() {m_bDisolve = true; },
- 0.25f);
- Add_Event(pairAnimInfo.first,
- [this]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.55f);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- return;
- }
- else if (m_fPrevHpRatio > 0.5f && curr <= 0.5f)
- {
- pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
- m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND);
- m_fPrevHpRatio = curr;
-
- m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
-
- Add_Event(pairAnimInfo.first,
- [this]() {m_bDisolve = true; },
- 0.25f);
- Add_Event(pairAnimInfo.first,
- [this]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.55f);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- return;
- }
m_fPrevHpRatio = curr;
-
+ return false;
}
-
void CRanrok::Add_FSM()
{
#pragma region Behavior_Movement_NotFocus
diff --git a/Jusin154_Team3D/Client/Private/ReparoObject.cpp b/Jusin154_Team3D/Client/Private/ReparoObject.cpp
index 700d2e1e5..ecd9b93a8 100644
--- a/Jusin154_Team3D/Client/Private/ReparoObject.cpp
+++ b/Jusin154_Team3D/Client/Private/ReparoObject.cpp
@@ -58,27 +58,14 @@ void CReparoObject::Update(_float fTimeDelta)
Change_State();
- switch (m_eCurState)
- {
- case Client::CReparoObject::REPARO_OBJECT_STATE::SLEEP:
- break;
- case Client::CReparoObject::REPARO_OBJECT_STATE::BEFORE:
- break;
- case Client::CReparoObject::REPARO_OBJECT_STATE::PLAYANIM:
- //if (true == m_pModelCom->IsFinishedAnim())
- // m_eCurState = REPARO_OBJECT_STATE::AFTER;
- break;
-
- case Client::CReparoObject::REPARO_OBJECT_STATE::AFTER:
- break;
-
- default:
- break;
- }
-
-
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
+ if (m_pModelCom->Get_AnimIndex() == 0)
+ {
+ if (true == m_pModelCom->IsFinishedAnim())
+ m_eCurState = REPARO_OBJECT_STATE::AFTER;
+ }
+
#ifdef _DEBUG
Describe_Entity();
#endif // _DEBUG
@@ -230,7 +217,6 @@ HRESULT CReparoObject::Render_OutLine()
}
return S_OK;
}
-
void CReparoObject::Change_State()
{
if (m_eCurState != m_ePreState)
diff --git a/Jusin154_Team3D/Client/Private/StupefySide.cpp b/Jusin154_Team3D/Client/Private/StupefySide.cpp
index 550b84866..0ae0c99de 100644
--- a/Jusin154_Team3D/Client/Private/StupefySide.cpp
+++ b/Jusin154_Team3D/Client/Private/StupefySide.cpp
@@ -131,10 +131,13 @@ HRESULT CStupefySide::Pre_Setting(CGameObject* pObject, void* pArg)
if (pWand == nullptr)
return E_FAIL;
+ class CEffectParts* pBlurMesh = Get_PartObject("BlurMesh");
+
m_pWandParticle->Set_Visible(true);
m_isParticleEnd = false; // 파티클이 일정시간이 되면 나오지 않게 하려고
m_pWandLight->Set_Visible(true);
+ pBlurMesh->Set_Visible(true);
/*트레일 초기화 */
m_pWandTrail->Set_Visible(true);
@@ -144,6 +147,7 @@ HRESULT CStupefySide::Pre_Setting(CGameObject* pObject, void* pArg)
/*_vector pPos = pPlayer->Get_WandPos().r[3];*/
m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+ pBlurMesh->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_Owner()->Get_Component()->Get_State(STATE::POSITION));
m_pWandTrail->SetDissolve(false);
diff --git a/Jusin154_Team3D/Client/Private/TrailObject.cpp b/Jusin154_Team3D/Client/Private/TrailObject.cpp
index 23757823f..66eaf2c2e 100644
--- a/Jusin154_Team3D/Client/Private/TrailObject.cpp
+++ b/Jusin154_Team3D/Client/Private/TrailObject.cpp
@@ -91,7 +91,6 @@ void CTrailObject::Late_Update(_float fTimeDelta)
if (m_bVisible == false)
return;
-
if (m_TrailInfo.isBloom == true)
{
m_pGameInstance->Add_RenderGroup(RENDER::BLOOM, this);
diff --git a/Jusin154_Team3D/Client/Private/TriggerBox.cpp b/Jusin154_Team3D/Client/Private/TriggerBox.cpp
index f0aaf170e..fa9e6c735 100644
--- a/Jusin154_Team3D/Client/Private/TriggerBox.cpp
+++ b/Jusin154_Team3D/Client/Private/TriggerBox.cpp
@@ -58,12 +58,12 @@ HRESULT CTriggerBox::Initialize(TRIGGERBOX_DESC* pDesc)
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat4(&pDesc->vPosition_Radius), 1.f));
#ifdef _DEBUG
- m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, m_pTransformCom->Get_Radius() * 2.f, 12, false, false));
+ m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, m_pTransformCom->Get_Radius(), 3, false, false));
m_Batch = make_unique>(m_pContext);
#endif // _DEBUG
- _float3 vScale = { Desc.fRadius * 2.f, Desc.fRadius * 2.f, Desc.fRadius * 2.f };
+ _float3 vScale = { Desc.fRadius * 0.5f, Desc.fRadius * 0.5f, Desc.fRadius * 0.5f };
m_pTransformCom->Set_Scale(vScale);
m_vScanTimer.y += m_pGameInstance->Real_Random_Float(0.f, 0.2f);
return S_OK;
@@ -74,7 +74,7 @@ HRESULT CTriggerBox::Scan()
_float fRadius = m_pTransformCom->Get_Radius();
PSX::PxOverlapBufferN<32> pxBuffer = {};
- _bool bHit = m_pGameInstance->Overlap(fRadius, m_pTransformCom->Get_State(STATE::POSITION),
+ _bool bHit = m_pGameInstance->Overlap(fRadius * 2.f, m_pTransformCom->Get_State(STATE::POSITION),
PSX::PxQueryFlag::eDYNAMIC | PSX::PxQueryFlag::eNO_BLOCK, pxBuffer);
diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp
index 61fd9d497..ae36057a0 100644
--- a/Jusin154_Team3D/Client/Private/Troll.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll.cpp
@@ -9,6 +9,7 @@
#include "CallBack_Troll_HitReport.h"
#include "EffectParts.h"
#include "EffectPool.h"
+#include "TimeSocket.h"
#include "Layer.h"
#include "TrailObject.h"
#include "MapElement_Interactable.h"
@@ -65,7 +66,7 @@ HRESULT CTroll::Initialize(void* pArg)
- m_pCharacter_Controller->Set_Position(XMVectorSet(96.927f, 15.f, 129.544f, 1.f));
+ m_pCharacter_Controller->Set_Position(XMVectorSet(96.927f, -15.f, 129.544f, 1.f));
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object();
SAFE_ADDREF(m_pEffectPool);
@@ -74,8 +75,6 @@ HRESULT CTroll::Initialize(void* pArg)
m_pRightHand_BoneMat = m_pModelCom->Get_BoneMatrixPtr("RightHand");
m_pWeapon_BoneMat = Get_PartObject()->Get_Component()->Get_BoneMatrixPtr("Bone");
- m_pModelCom->Set_DisableRootMotionScale(true);
-
return S_OK;
}
@@ -256,7 +255,7 @@ HRESULT CTroll::Render_OutLine()
Compute_Depth();
_float fCamFar = *m_pGameInstance->Get_CurrentCameraFar();
_float fRatio = CMyTools::Saturate((m_fCamDepth / (fCamFar * fCamFar)));
- m_fOutLineThickness = CMyTools::Lerp_f1D(0.024f, 0.5f, fRatio);
+ m_fOutLineThickness = CMyTools::Lerp_f1D(5.f, 10.f, fRatio);
if (FAILED(m_pShaderCom->Bind_Matrix("g_PrevWorldMatrix", m_pTransformCom->Get_PrevWorldMatrixPtr()))) {
return E_FAIL;
}
@@ -440,6 +439,39 @@ void CTroll::OnHit(CGameObject* pOther, CGameObject* pCaller)
{
}
+void CTroll::Trigger(CTimeSocket& Socket)
+{
+
+ SOCKETCONTENTS* pContents = &Socket.m_Contents;
+ switch (pContents->eTypeFunc)
+ {
+ case TIMESOCKET_FUNC::TELEPORTATION:
+ {
+ m_pTransformCom->Set_WorldMatrix(pContents->pxTransform);
+ m_pCharacter_Controller->Set_Position(XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f));
+ } break;
+ case TIMESOCKET_FUNC::SET_FSMSTATE:
+ {
+ if (pContents->vFlags.b[0]){
+ m_pFSM->Change_State(FSMSTATE::RUSH);
+ }
+ } break;
+ case TIMESOCKET_FUNC::SET_ANIMSTATE:
+ {
+ if (pContents->vFlags.b[0]){
+ auto& pairAnimation = m_Animation[STATEANIM::RUSH_LOOP];
+ m_pModelCom->Set_AnimationIndex(pairAnimation.first, pairAnimation.second);
+ }
+ } break;
+ case TIMESOCKET_FUNC::END_CINEMATIC:
+ {
+ m_pGameInstance->Bind_Camera(CURRENT_LEVEL, Socket.m_Contents.wstrKeyName, true);
+ }break;
+ default:
+ break;
+ }
+}
+
HRESULT CTroll::Ready_Components()
{
CTransform::TRANSFORM_DESC Desc = {};
@@ -711,6 +743,11 @@ void CTroll::Describe_Entity()
if (GUI::CollapsingHeader("Troll")) {
__super::Describe_Entity();
+ if (GUI::Button("Dead"))
+ {
+ m_pFSM->Change_State(FSMSTATE::DEAD);
+ }
+
_float4x4 socketMat = *m_pModelCom->Get_BoneMatrixPtr("HeadEnd");
_string strSocket = "Socket " + to_string(socketMat._41) + to_string(socketMat._42) + to_string(socketMat._43);
diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp
index 4edd5bb4b..0d52d46f4 100644
--- a/Jusin154_Team3D/Client/Private/Troll_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp
@@ -797,9 +797,8 @@ void CTroll::Behavior_DeadEnter()
m_pRigidBody->SetActive(false);
m_pCharacter_Controller->SetActive(false);
- m_pTroll_Particle->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
- m_pTroll_Particle2->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
-
+ m_pTroll_Particle->Set_Visible(false);
+ m_pTroll_Particle2->Set_Visible(false);
m_pLeft_Smoke->Set_Visible(false);
m_pRight_Smoke->Set_Visible(false);
@@ -809,14 +808,20 @@ void CTroll::Behavior_DeadEnter()
m_pDead_Smoke->Get_Component()->Set_State(STATE::POSITION, m_pTransformCom->Get_State(STATE::POSITION));
}, 0.55f);
+ Get_PartObject()->Set_Disolve(true);
+
}
HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta)
{
- if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
- return E_PENDING;
+ if (fRatio >= 0.8f)
+ {
+ m_fDeadRatio += fTimeDelta / 3.f;
+ m_fDeadRatio = min(1.f, m_fDeadRatio);
}
+
return S_OK;
}
@@ -971,8 +976,8 @@ void CTroll::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) {
CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_REPARO);
if (nullptr != pLayer)
diff --git a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp
index 47357e346..298f87747 100644
--- a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp
@@ -73,7 +73,15 @@ void CTroll_Weapon::Priority_Update(_float fTimeDelta)
void CTroll_Weapon::Update(_float fTimeDelta)
{
-
+ if (m_bDisolve) {
+ m_fDisolveTime += fTimeDelta*0.2f;
+ if (m_fDisolveTime >= 1.f)
+ {
+ /*m_fDisolveTime = 0.f;*/
+ m_bDisolve = false;
+ m_bVisible = false;
+ }
+ }
}
void CTroll_Weapon::Late_Update(_float fTimeDelta)
@@ -91,6 +99,10 @@ HRESULT CTroll_Weapon::Render()
return E_FAIL;
}
+ if (FAILED(Render_Disolve())) {
+ return E_FAIL;
+ }
+
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
for (_uint i = 0; i < iNumMeshes; i++)
@@ -113,6 +125,14 @@ HRESULT CTroll_Weapon::Render()
m_pGripShape->Draw(m_pTransformCom->Get_XMWorldMatrix(), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Green, nullptr, true);
m_pSubShape->Draw(XMLoadFloat4x4(&m_HammerMatrix), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Purple, nullptr, true);
#endif // _DEBUG
+
+ {
+ _bool bDisolve = false;
+ _float zero = 0.f;
+ m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool));
+ m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float));
+ }
+
return S_OK;
}
@@ -131,6 +151,33 @@ const _float4* CTroll_Weapon::Get_HammerPosition()
return (_float4*)&m_HammerMatrix.m[3][0];
}
+HRESULT CTroll_Weapon::Render_Disolve()
+{
+ if (FLT_EPSILON3 * 10 < m_fDisolveTime)
+ {
+ _bool bDisolve = true;
+ _float fDisolveAmount = 0.1f;
+ _float fDisolveEdgeWidth = 0.1f;
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &m_fDisolveTime, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fDisolveAmount", &fDisolveAmount, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fDisolveEdgeWidth", &fDisolveEdgeWidth, sizeof(_float)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Bind_GlobalSRV(m_pShaderCom, TEXT("GLOBAL_DISOLVE_NOISE_05"), "g_DeadDisolveTexture"))) {
+ return E_FAIL;
+ }
+ }
+
+ return S_OK;
+}
+
HRESULT CTroll_Weapon::Ready_Components()
{
__super::Ready_Components(nullptr);
diff --git a/Jusin154_Team3D/Client/Private/UI_Manager.cpp b/Jusin154_Team3D/Client/Private/UI_Manager.cpp
index da6dab439..11478a023 100644
--- a/Jusin154_Team3D/Client/Private/UI_Manager.cpp
+++ b/Jusin154_Team3D/Client/Private/UI_Manager.cpp
@@ -85,11 +85,15 @@ void CUI_Manager::Canvas_Change(UI_STATE eType)
static_cast(m_pSpellLearn_Canvas)->Visible(false);
static_cast(m_pDialogue_Canvas)->Visible(false);
static_cast(m_pInteraction_Key)->Set_Visible(true);
- static_cast(m_pNPCInteraction)->Set_Visible(true);
-
- //static_cast(m_pBroom_TargetGate)->Set_Visible(false);
-
-
+ static_cast(m_pBroom_TargetGate)->Set_Visible(false);
+ if (m_bRace == false)
+ {
+ static_cast(m_pNPCInteraction)->Set_Visible(true);
+ }
+ else
+ {
+ static_cast(m_pNPCInteraction)->Set_Visible(false);
+ }
break;
case UI_STATE::SPELL:
@@ -147,7 +151,6 @@ void CUI_Manager::Canvas_Change(UI_STATE eType)
return;
}
m_pGameInstance->Toggle_MouseCenter();
- m_pInfoInstance->Event_CallBack(TEXT("Player_CanvasChange"), &m_eType);
}
void CUI_Manager::Clear_Canvas()
@@ -456,7 +459,7 @@ HRESULT CUI_Manager::Ready_Components(void* pArg)
}
Add_Canvas(TEXT("NPCInteraction"), m_pNPCInteraction);
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast (&m_pBroom_TargetGate))))
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast (&m_pBroom_TargetGate))))
{
return E_FAIL;
}
diff --git a/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h b/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h
new file mode 100644
index 000000000..b84f08a2a
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h
@@ -0,0 +1,53 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CBroomRace_Bubble final : public CEffect_Container
+{
+private:
+ CBroomRace_Bubble(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CBroomRace_Bubble(const CBroomRace_Bubble& rhs);
+ virtual ~CBroomRace_Bubble() = 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_pPT1 = { nullptr };
+ class CEffectParts* m_pPT2 = { nullptr };
+ class CTrailObject* m_pAttack_Trail = { nullptr };
+ const _float4x4* m_vMat = { nullptr };
+
+ _bool m_isTrailEnd = {};
+ _float4x4 m_TrailStopMat = {};
+
+public:
+ static CBroomRace_Bubble* 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/CamPosition_Target.h b/Jusin154_Team3D/Client/Public/CamPosition_Target.h
index 39de6c30f..de01414f4 100644
--- a/Jusin154_Team3D/Client/Public/CamPosition_Target.h
+++ b/Jusin154_Team3D/Client/Public/CamPosition_Target.h
@@ -26,7 +26,7 @@ class CCamPosition_Target final : public CCamPosition
virtual _vector Get_WorldPostion() override;
virtual void Set_WorldPostion(_vector vPos);
virtual _bool IsStalking();
- virtual void Stalking_Target(CUnit* pStalkingTarget, const _float4x4* pTargetSocketMatrix);
+ virtual void Stalking_Target(CGameObject* pStalkingTarget, const _float4x4* pTargetSocketMatrix);
virtual void Stop_Stalking();
_matrix Get_XMWorldMatrix();
@@ -37,7 +37,7 @@ class CCamPosition_Target final : public CCamPosition
HRESULT Ready_Components(void* pArg);
HRESULT Bind_ShaderResources() override;
- CUnit* m_pStalkingTarget = { nullptr };
+ CGameObject* m_pStalkingTarget = { nullptr };
const _float4x4* m_pTargetSocketMatrix = { nullptr };
public:
static CCamPosition_Target* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/CamPosition_WorldLook.h b/Jusin154_Team3D/Client/Public/CamPosition_WorldLook.h
new file mode 100644
index 000000000..a8f9de542
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/CamPosition_WorldLook.h
@@ -0,0 +1,49 @@
+#pragma once
+#include "Client_Define.h"
+#include "CamPosition.h"
+
+NS_BEGIN(Client)
+
+class CCamPosition_WorldLook final : public CCamPosition
+{
+public:
+ typedef struct tagCameraWorldLook_DESC : public CCamPosition::CAMERAPOSITION_DESC
+ {
+ PSX::PxVec3 vPosition = {};
+ }CameraWorldLook_DESC;
+private:
+ CCamPosition_WorldLook(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CCamPosition_WorldLook(const CCamPosition_WorldLook& rhs);
+ virtual ~CCamPosition_WorldLook() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+ virtual HRESULT Render() override;
+ virtual void Set_Position(PSX::PxVec3 vPosition);
+ virtual void Set_Position(_float3 vPosition);
+ virtual void Set_Position(_float4 vPosition);
+ virtual void Set_Position(_fvector vPosition);
+ virtual _vector Get_WorldPostion()override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ HRESULT Ready_Components(void* pArg);
+ HRESULT Bind_ShaderResources();
+ _float m_fAccDegreeY = { };
+#ifdef _DEBUG
+ unique_ptr m_pSubShape = { nullptr };
+ unique_ptr> m_Batch = { nullptr };
+#endif // _DEBUG
+public:
+ static CCamPosition_WorldLook* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CCamPosition_WorldLook* Clone(void* pArg, class CGameObject* pOWner) override;
+ virtual void Free() override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // _DEBUG
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Client/Public/Camera_Cinematic.h b/Jusin154_Team3D/Client/Public/Camera_Cinematic.h
index 0366b791a..102fd0af0 100644
--- a/Jusin154_Team3D/Client/Public/Camera_Cinematic.h
+++ b/Jusin154_Team3D/Client/Public/Camera_Cinematic.h
@@ -2,6 +2,7 @@
#include "Client_Define.h"
#include "Camera.h"
+#include "CamPosition_WorldLook.h"
NS_BEGIN(Engine)
class CUnit;
@@ -32,8 +33,8 @@ class CCamera_Cinematic final : public CCamera
virtual void Active_Camera(pair<_float4, _float3>& pairTransitionInfo)override;
void Update_LerpTimer(_float fTimeDelta);
void Set_Priority(_uint iPriority);
- void Set_LookTarget(CUnit* pTarget, const _float4x4* pTargetSocketMatrix);
- void Set_FollowTarget(CUnit* pTarget, const _float4x4* pTargetSocketMatrix);
+ void Set_LookTarget(CGameObject* pTarget, const _float4x4* pTargetSocketMatrix);
+ void Set_FollowTarget(CGameObject* pTarget, const _float4x4* pTargetSocketMatrix);
private:
@@ -65,8 +66,7 @@ class CCamera_Cinematic final : public CCamera
CInfoInstance* m_pInfoInstance = { nullptr };
CCamPosition_Target* m_pLookTargetPart = { nullptr };
CCamPosition_Target* m_pFollowTargetPart = { nullptr };
-
-
+ CCamPosition_WorldLook* m_pWORLD_LOCK_TargetPart = { nullptr };
_bool m_bLerpTranslation = { false };
_float2 m_vLerpTranslationTimer = {};
@@ -84,7 +84,7 @@ class CCamera_Cinematic final : public CCamera
_float2 m_vLerpFovYTimer = { };
#ifdef _DEBUG
unique_ptr m_pSubShape = { nullptr };
- unique_ptr> m_Batch;
+ unique_ptr> m_Batch = { nullptr };
class CModel* m_pModelCom = { nullptr };
class CShader* m_pShaderCom = { nullptr };
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h
index 0169ed767..55abeff00 100644
--- a/Jusin154_Team3D/Client/Public/Client_Enum.h
+++ b/Jusin154_Team3D/Client/Public/Client_Enum.h
@@ -33,7 +33,7 @@ namespace Client
MI_Troll_Club_DAENMROSRXO_To
, OUTLINE_READ, MI_DANSROMRO_ToSRO, DragonAuraPass, DragonEtherealEyesPass,
DragonEtherealWingsPass, DragonWingsPass, DragonBodyPass, DragonRedHotPass, DragonPinkHotPass, DragonYellowHotPass,
- PLAYER_HAIR_DAOTHV_ToSRO, PLAYER_Suit_DSRON_ToSRO, PLAYER_EyeLash_DAOTHV_ToSRO, PLAYER_Eye_ToSRO, PLAYER_Robe_ToMRO, SHADOW, SHADOW_LEGACY
+ PLAYER_HAIR_DAOTHV_ToSRO, PLAYER_Suit_DSRON_ToSRO, PLAYER_EyeLash_DAOTHV_ToSRO, PLAYER_Eye_ToSRO, PLAYER_Robe_ToMRO, SHADOW, SHADOW_LEGACY, RIMLIGHT
, END
};
enum class UI_STATE {
@@ -60,16 +60,16 @@ namespace Client
ANCIENT_MAGIC_THROW, ANCIENT_MAGIC, ALOHOMORA, PETRIFICUS_TOTALUS, LIGHTNING,
/* PROPS */
- BOX_SPLESH, CHAIL_SPLESH, BARRAL_SPLASH,
+ BOX_SPLESH, CHAIL_SPLESH, BARRAL_SPLASH, POTION_BROKEN, BROOM_RACE_BUBBLE,
/*상태 이펙트*/
- STUN, BLINK,
+ STUN, BLINK,
/*스크린 이펙트*/
- SCREEN_WIND,
+ SCREEN_WIND, SCREEN_HIT , SCREEN_POTION,
/* 히트 이펙트 */
- PROTEGO_HIT, DUELIST_PROTEGO_HIT , GOBLIN_PROTEGO_HIT,
+ PROTEGO_HIT, DUELIST_PROTEGO_HIT , GOBLIN_PROTEGO_HIT,
/*사이드*/
JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, WAND_END, LIGHTNING_SIDE, TRANSFORMATION_SIDE, AVADAKEDAVRA_SIDE, STUPEFY_SIDE, ACCIO_SIDE,
diff --git a/Jusin154_Team3D/Client/Public/Client_Struct.h b/Jusin154_Team3D/Client/Public/Client_Struct.h
index f24cc0d7b..75d1cf961 100644
--- a/Jusin154_Team3D/Client/Public/Client_Struct.h
+++ b/Jusin154_Team3D/Client/Public/Client_Struct.h
@@ -90,6 +90,12 @@ typedef struct tagSpellInfo
_int iType{};
}CHOICEINFO;
+ typedef struct PropUI
+ {
+ _float4 vPosition{};
+ _int iIndex{};
+ }PROPUI;
+
typedef struct tagUnitInfo
{
_wstring pUnit_Name;
diff --git a/Jusin154_Team3D/Client/Public/CutSceneInfo.h b/Jusin154_Team3D/Client/Public/CutSceneInfo.h
index 59324c1b3..f19da831d 100644
--- a/Jusin154_Team3D/Client/Public/CutSceneInfo.h
+++ b/Jusin154_Team3D/Client/Public/CutSceneInfo.h
@@ -25,6 +25,7 @@ class CCutSceneInfo final : public CBase
void Active_Event(_string& strKey);
HRESULT DeActive_ActiveEvent(_string& strKey);
void Load_Events(pair<_string, TimeLine*>& pairTimeLine);
+ HRESULT Clear_AllEvents();
private:
CGameInstance* m_pGameInstance = { nullptr };
@@ -46,7 +47,7 @@ class CCutSceneInfo final : public CBase
#endif // _DEBUG
HRESULT Clear_ActiveEvents();
HRESULT Clear_Events(map<_string, TimeLine*>&Events);
- HRESULT Clear_AllEvents();
+
HRESULT Ready_GameplayCutScenes();
HRESULT Ready_FieldCutScenes();
diff --git a/Jusin154_Team3D/Client/Public/Elf.h b/Jusin154_Team3D/Client/Public/Elf.h
index d5c70750f..a62f64d70 100644
--- a/Jusin154_Team3D/Client/Public/Elf.h
+++ b/Jusin154_Team3D/Client/Public/Elf.h
@@ -56,6 +56,8 @@ class CElf final : public CUnit
virtual _wstring Get_NpcName() override;
void Set_NpcState(_int iState) { m_eNpcState = iState; }
void Set_Target(CUnit& pTarget, CTransform& pTransform);
+ virtual void Set_Flow(_int Index);
+ virtual _int Get_Flow();
protected:
CInfoInstance* m_pInfoInstance = { nullptr };
CCharacter_Controller* m_pCharacter_Controller = { nullptr };
@@ -85,8 +87,6 @@ class CElf final : public CUnit
unordered_map<_int, DialogueAnim> m_Anims;
- _int m_iCurrentFlow = 0;
-
DialogueAnim m_pairAnimInfo;
private:
diff --git a/Jusin154_Team3D/Client/Public/Enemy_Panel.h b/Jusin154_Team3D/Client/Public/Enemy_Panel.h
index 411d95777..66b77ecc9 100644
--- a/Jusin154_Team3D/Client/Public/Enemy_Panel.h
+++ b/Jusin154_Team3D/Client/Public/Enemy_Panel.h
@@ -18,6 +18,7 @@ class CEnemy_Panel final : public CPanelObject
_float3 TargetPos{};
_float2 UIScreenPos{};
_float4 Position{};
+ _int iIndex{};
};
private:
CEnemy_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
@@ -40,8 +41,8 @@ class CEnemy_Panel final : public CPanelObject
private:
void Update_Target();
- void RanRokPropCreate(_fvector Position);
-
+ void RanRokPropCreate(void* pArg);
+ void RanRokPropBreak(_int Index);
private:
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
diff --git a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
index 7a5b60522..309746ee8 100644
--- a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
+++ b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
@@ -84,20 +84,25 @@ class CGoblin_Assassin final : public CMonster
_float m_fMoveTime = {};
_bool m_bFirstMove = {};
_bool m_bPos = {};
- _float m_fAccel = { 3.f};
- _float m_fTargetSpeed = {60.f};
+ _float m_fAccel = { 3.f };
+ _float m_fTargetSpeed = { 60.f };
_float m_fSpeed = {};
_bool m_bAir = {};
_float m_fGravityAmount = {};
_float m_fHitTimer = {};
_float m_fTumbleTimer = {};
_bool m_bCameraShake = {};
+ _bool m_bMotionTrail = {};
_float m_fMoveDecisionTime = 0.f;
_float m_fMoveDecisionLimit = 1.2f;
_float4 m_vDashDir = {};
- _float2 m_vCaptureTimer = { 0.f, 0.1f };
+ _float2 m_vCaptureTimer = { 0.f, 0.01f };
+
+ _float m_fRimStrength = { 1.f};
+ _float m_fRimPower = { 0.f };
+ _float4 m_vRimColor = {};
void Behavior_IdleEnter();
HRESULT Behavior_IdleExitCheck();
diff --git a/Jusin154_Team3D/Client/Public/HitScreen.h b/Jusin154_Team3D/Client/Public/HitScreen.h
new file mode 100644
index 000000000..2a3777ae8
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/HitScreen.h
@@ -0,0 +1,53 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CHitScreen final : public CEffect_Container
+{
+private:
+ CHitScreen(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CHitScreen(const CHitScreen& rhs);
+ virtual ~CHitScreen() = 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_pPT1 = { nullptr };
+ class CEffectParts* m_pPT2 = { nullptr };
+ class CTrailObject* m_pAttack_Trail = { nullptr };
+ const _float4x4* m_vMat = { nullptr };
+
+ _bool m_isTrailEnd = {};
+ _float4x4 m_TrailStopMat = {};
+
+public:
+ static CHitScreen* 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/Item_Potion.h b/Jusin154_Team3D/Client/Public/Item_Potion.h
index 1f4333ee3..8dd9ecbf3 100644
--- a/Jusin154_Team3D/Client/Public/Item_Potion.h
+++ b/Jusin154_Team3D/Client/Public/Item_Potion.h
@@ -45,6 +45,7 @@ class CItem_Potion final : public CPartObject
_bool m_bAttach = { true };
_float m_fTimer = {};
_bool m_bHit = {};
+ _bool m_bOnce = {};
private:
HRESULT Ready_Components();
diff --git a/Jusin154_Team3D/Client/Public/NPC_EleazarFig.h b/Jusin154_Team3D/Client/Public/NPC_EleazarFig.h
index 7128d5769..010045a5c 100644
--- a/Jusin154_Team3D/Client/Public/NPC_EleazarFig.h
+++ b/Jusin154_Team3D/Client/Public/NPC_EleazarFig.h
@@ -32,7 +32,7 @@ class CNPC_EleazarFig final : public CUnit
class CCallBack_NonPlayable_Behavior* m_pCallBack_Behavior = { nullptr };
class CCallBack_NonPlayable_HitReport* m_pCallBack_HitReport = { nullptr };
CUnit* m_pPlayerAllyUnit = { nullptr };
-
+ CNPCStat* m_pNpcStat = { nullptr };
_int m_iEntered = { 0 };
_float2 m_vEnteringTimer = { 0.f, 1.f };
@@ -42,6 +42,7 @@ class CNPC_EleazarFig final : public CUnit
virtual HRESULT Initialize(void* pArg) override;
HRESULT Ready_Components(void* pArg);
HRESULT Bind_ShaderResources() override;
+ HRESULT Bind_ShaderParameters(_uint iMeshOrder);
public:
static CNPC_EleazarFig* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/PotionBroken.h b/Jusin154_Team3D/Client/Public/PotionBroken.h
new file mode 100644
index 000000000..4d4a22a4a
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/PotionBroken.h
@@ -0,0 +1,46 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CPotionBroken final : public CEffect_Container
+{
+private:
+ CPotionBroken(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CPotionBroken(const CPotionBroken& rhs);
+ virtual ~CPotionBroken() = 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 = {};
+
+public:
+ static CPotionBroken* 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/PotionScreen.h b/Jusin154_Team3D/Client/Public/PotionScreen.h
new file mode 100644
index 000000000..9d955befb
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/PotionScreen.h
@@ -0,0 +1,53 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CPotionScreen final : public CEffect_Container
+{
+private:
+ CPotionScreen(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CPotionScreen(const CPotionScreen& rhs);
+ virtual ~CPotionScreen() = 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_pPT1 = { nullptr };
+ class CEffectParts* m_pPT2 = { nullptr };
+ class CTrailObject* m_pAttack_Trail = { nullptr };
+ const _float4x4* m_vMat = { nullptr };
+
+ _bool m_isTrailEnd = {};
+ _float4x4 m_TrailStopMat = {};
+
+public:
+ static CPotionScreen* 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.h b/Jusin154_Team3D/Client/Public/Ranrok.h
index 951d30a75..ec727583a 100644
--- a/Jusin154_Team3D/Client/Public/Ranrok.h
+++ b/Jusin154_Team3D/Client/Public/Ranrok.h
@@ -128,13 +128,15 @@ class CRanrok final : public CMonster
_int m_iPropSize = {};
_int m_iHoverDash = { };
_bool m_bChangePhase = {};
+ _int m_iHpPhase = { 0 };
+
_float2 m_vCaptureTimer = { 0.f, 0.1f };
class CEffect_Container* m_pRanrok_Point = { nullptr };
vector m_pRanrok_Props;
_float m_fTuckedSpeed = { 80.f };
-
+ _int m_iRanRok_PropIndex{};
class CEffectParts* m_pLeftSmoke = { nullptr };
class CEffectParts* m_pRightSmoke = { nullptr };
@@ -250,7 +252,7 @@ class CRanrok final : public CMonster
virtual _bool IsHitStateDisabled() override;
virtual _bool IsHitSpellDisabled() override;
- void Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo);
+ _bool Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo);
};
diff --git a/Jusin154_Team3D/Client/Public/Ranrok_Prop.h b/Jusin154_Team3D/Client/Public/Ranrok_Prop.h
index bd382434e..af92537a5 100644
--- a/Jusin154_Team3D/Client/Public/Ranrok_Prop.h
+++ b/Jusin154_Team3D/Client/Public/Ranrok_Prop.h
@@ -10,6 +10,7 @@ NS_BEGIN(Client)
class CRanrok_Prop final : public CEffect_Container
{
+
private:
CRanrok_Prop(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
CRanrok_Prop(const CRanrok_Prop& rhs);
@@ -23,7 +24,7 @@ class CRanrok_Prop final : public CEffect_Container
public:
virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
-
+ void Set_Index(_int Index) { m_iIndex = Index; }
private:
virtual HRESULT Initialize_Prototype() override;
@@ -48,6 +49,9 @@ class CRanrok_Prop final : public CEffect_Container
_float m_fHp = { 3.f };
_bool m_isSizeLerpEnd = {};
+
+ _int m_iIndex{};
+
#ifdef _DEBUG
_bool m_bRender = false;
unique_ptr m_pSubShape = { nullptr };
diff --git a/Jusin154_Team3D/Client/Public/Troll.h b/Jusin154_Team3D/Client/Public/Troll.h
index cbf8a6a45..3d2b19391 100644
--- a/Jusin154_Team3D/Client/Public/Troll.h
+++ b/Jusin154_Team3D/Client/Public/Troll.h
@@ -34,6 +34,7 @@ class CTroll final : public CMonster
virtual _vector Get_LockOnPos() override;
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override;
virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override;
+ virtual void Trigger(CTimeSocket& Socket)override;
private:
void Troll_Trail_Visible(_bool isTrailVisible);
diff --git a/Jusin154_Team3D/Client/Public/Troll_Weapon.h b/Jusin154_Team3D/Client/Public/Troll_Weapon.h
index eb759a0d4..f86469cfb 100644
--- a/Jusin154_Team3D/Client/Public/Troll_Weapon.h
+++ b/Jusin154_Team3D/Client/Public/Troll_Weapon.h
@@ -22,16 +22,20 @@ class CTroll_Weapon final : public CPartObject
virtual void Update(_float fTimeDelta) override;
virtual void Late_Update(_float fTimeDelta) override;
virtual HRESULT Render() override;
+ void Set_Disolve(_bool bDisolve) { m_bDisolve = bDisolve; }
public:
virtual _vector Get_WorldPostion() override;
_matrix Get_WorldMatrix();
virtual const _float4* Get_HammerPosition();
+
private:
const _float4x4* m_pSocketMatrices = { };
CShader* m_pShaderCom = { nullptr };
CModel* m_pModelCom = { nullptr };
_float4x4 m_HammerMatrix = { };
+ _bool m_bDisolve = { false };
+ _float m_fDisolveTime = { 0.f };
#ifdef _DEBUG
unique_ptr m_pGripShape = { nullptr };
unique_ptr m_pSubShape = { nullptr };
@@ -42,6 +46,8 @@ class CTroll_Weapon final : public CPartObject
virtual HRESULT Initialize(void* pArg) override;
HRESULT Ready_Components();
HRESULT Bind_ShaderResources();
+ HRESULT Render_Disolve();
+
public:
static CTroll_Weapon* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml
index 8aed2eae7..4982d2544 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml
@@ -1044,7 +1044,7 @@
-
+
@@ -1193,7 +1193,6 @@
-
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml
new file mode 100644
index 000000000..acc7e4ff4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml
@@ -0,0 +1,1277 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml
index 1e712a0ff..5890f5101 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml
@@ -28,16 +28,18 @@
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomEffect/Booster_ScreenFX.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomEffect/Booster_ScreenFX.bin
index ef6eadf86..6660da18c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomEffect/Booster_ScreenFX.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomEffect/Booster_ScreenFX.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:48058f203cc122f819851508bceccc0d9f770dee93b0897c0682335d4aeb2e44
+oid sha256:87477de6575f074df236f26504bad51e532523e69e31b8f94d036c1869cf9581
size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Bubble.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Bubble.bin
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Bubble.bin
rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Bubble.bin
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Bubble_Distortion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Bubble_Distortion.bin
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Bubble_Distortion.bin
rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Bubble_Distortion.bin
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Hit_Bubble.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Hit_Bubble.bin
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Hit_Bubble.bin
rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Hit_Bubble.bin
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoLay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoLay.bin
index 4213fca60..1b565e977 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoLay.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoLay.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:028981d804f9832afe880942dcf3d24bb069e8bd928c7e09265810c9adfef0ba
-size 1202
+oid sha256:23000966771a8512c0b32f1a666a6cba9518fa45992e8311ae24975b18b1b917
+size 1210
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoSphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoSphere.bin
index aee30218b..ba6d21857 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoSphere.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoSphere.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:31508b23f35c1ec71bcfbeb87ef87b8e067391ec24efd8a9495025ea55d14337
-size 1152
+oid sha256:7a8ef40eaecedcc5662898171237712720c4c869b1e21f8c6bec81091a8f1c08
+size 1160
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoLay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoLay.bin
index b470b4188..2c86b86b1 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoLay.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoLay.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f29e7cec579177962fda34974b3b56d4454be4de80e3979553fb81838af99585
-size 1202
+oid sha256:ca6bbc7bcc517227b7f36da399f2f664f16ddc5d624e20474e11aab45bbf942b
+size 1210
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoSphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoSphere.bin
index ee28b1d82..18ca3d03e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoSphere.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoSphere.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c23f4b98e7e0c473754733ec9f37f8d5d620e7c5ef5fdfaed19fa4c0f207efcc
-size 1152
+oid sha256:5cf3c91a4c3e0ce775a29ae3e1f231301fdb5ac65e645dc8cacaceeb732c8ad7
+size 1160
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/BroomBubble.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/BroomBubble.bin
new file mode 100644
index 000000000..b00142cc7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/BroomBubble.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff1ca8e75ebea41f867732fc47dc4bcde5925dc232e6cb92ae03d939c07100a9
+size 229
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/HitScreen.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/HitScreen.bin
new file mode 100644
index 000000000..a9acd2044
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/HitScreen.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:88aaafd3c12dd5f1b150642385ec8be16aca8dd4e99e213c97756df90e2836fc
+size 78
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionEffect.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionEffect.bin
new file mode 100644
index 000000000..d7c8b86e1
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionEffect.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5cc5c9a5b0657b136b9efe256a9fc8677bd106548fb887f391a9b6e59e53708a
+size 137
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionScreen.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionScreen.bin
new file mode 100644
index 000000000..f188243e2
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionScreen.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:792feb72878da417eca760a84249867351e6f721d79a93454d375991059e23b4
+size 83
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin
index c5ffa3902..c48e62548 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bb0d150bb6e87ae13f391e22f1e29a1757113db0ae89ea77cd55e5a60b80ea31
-size 202
+oid sha256:3c4b927a7beeec432a1226a380f6bd4a3ce2e367d27a88f74fc7909db0c24b3f
+size 264
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Water_Splesh.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Water_Splesh.bin
index e051c7b1a..2598a72f8 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Water_Splesh.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Water_Splesh.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:02dcd1f6c60081714fc430dbb356a018d36b4c9b990782d444c3a3d49166533c
+oid sha256:6eeca8bc2b5de0f28d08c00dd15c8baf509c6c5dc6372c53e2961461412687c7
size 1215
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT0.bin
index 0f9346928..e3eb25c5b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0c02298204e35c06a863c2d467d3130649f72f6c19ff54daaa8087751f984d95
-size 1162
+oid sha256:af5c86d34488b04462ed4592dc1af43627479fb798c9efa37db550d988ddc1e9
+size 1207
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT1.bin
index b34dc65d2..ef83264fa 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7eed68d1905cb63a7f8f2750b8fe867cec4811050ac56d2438c4d878db0e91f1
-size 1162
+oid sha256:b27bf57f90e25f28a97485a625ae32ccaa57865f28fe8e22febd42c784b51102
+size 1201
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT2.bin
index 69bb6a7cd..25fc3822e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e3c7d372b1c4d90abb5994103962a54052570e6e6cdf00ec1bc810c886d4c619
-size 1209
+oid sha256:b12bf1a031b88e47ff2ad63340bee69a81e0631e4df2c17506909e90810ac57c
+size 1248
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Box/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Box/Smoke.bin
index bfa38e23e..548110648 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Box/Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Box/Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9e336803e9730d9ea4932ae0a5b1770494336898a068931546e823ddd08d5e34
-size 1201
+oid sha256:da43fa49cd287e09edaaacecfb6c4f4603017ad5df6e01380ca0b534ca55c432
+size 1190
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Smoke.bin
index d731c7dd8..548110648 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:fb765eeb637b8d8424e335b8b0d26309400febb214e98a185aba3968326ccde6
-size 1205
+oid sha256:da43fa49cd287e09edaaacecfb6c4f4603017ad5df6e01380ca0b534ca55c432
+size 1190
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT0.bin
index 0cb98198c..1a5fc7e49 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ac4c981ed5ae5555e5025eb958e4e4e7bdbb4774effe840c1e9321d65f31873a
-size 1169
+oid sha256:6924d381d2ab6abd95050e117f6631c5f4fa70439d37ac06f15915285cde5e15
+size 1216
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT1.bin
index 094b9e683..f10033e9c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6f1dd122ed7323a6fba3e4b05ce471a8f47f482cebc83f91cfe2a8c1059bf678
+oid sha256:82ded9ff50f425382f901aed614212217cca0d2882eee48e635c5aa148b2cdb2
size 1175
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionEffect.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionEffect.bin
new file mode 100644
index 000000000..9c3b99dae
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionEffect.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:efcda4d122efa9c35534cb5690377552fd6806926d21aa5694725f7c9403b9d7
+size 1193
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionSmoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionSmoke.bin
new file mode 100644
index 000000000..1be4d207e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionSmoke.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b5f1eb97158a4849bb87d80eea5b52a3530c3da29699ec88a2c5595bbb6c2492
+size 1190
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin
index f829c835c..61ea4da52 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a8c9bcf30d20800a50aec55d63608b8e78b920a28cb4d748c88d85d6c33b8d9c
-size 1169
+oid sha256:9396503b3166f158dc575960e68f6beca5b67411f9aab239940be06259fff598
+size 1219
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin
index 87782589c..1b8ea9810 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3d0457c7ae01b3e01651da8a09c564e366ff6ba2ed20557fad0794f89617e7c6
+oid sha256:e7cd1673c8027f0b044e7bbbf98109498f4b591c4a46f19b21fa569d1f4ddf3f
size 1111
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX_Reverse.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX_Reverse.bin
index 436d643f8..7efd85f7d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX_Reverse.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX_Reverse.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bc5728c2f4120da79b34554b4c08999485481dad9f67be2f2fb4cb072c1c8367
+oid sha256:73f6a96d45de45ac47140d490e0c85769717cd4254a5ebad8287afdaed2b28a2
size 1111
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/HitScreen/Hit_Screen_FX.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/HitScreen/Hit_Screen_FX.bin
new file mode 100644
index 000000000..5045f8867
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/HitScreen/Hit_Screen_FX.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9580ffc6821620c2051d76570d150286edde3657cf923557b75adacfecdc79e0
+size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/PotionScreen/Potion_ScreenFX.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/PotionScreen/Potion_ScreenFX.bin
new file mode 100644
index 000000000..38bd5bfe7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/PotionScreen/Potion_ScreenFX.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9ec2f3949f22a41dcdcfce5f469e646f9a7b0bf025fb262b859523f34dc91d7b
+size 1219
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/BlurMesh.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/BlurMesh.bin
new file mode 100644
index 000000000..a79a64f3d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/BlurMesh.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a7b7f1b095678a75f52ce267c2a92e2498b66376a2205863d68a928dccf31961
+size 1160
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/ElfPos/ElfPos.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/ElfPos/ElfPos.xml
index 209d22039..f6f482bff 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/ElfPos/ElfPos.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/ElfPos/ElfPos.xml
@@ -27,55 +27,55 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml
index e0b9f6fb4..229374586 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml
@@ -1,19 +1,19 @@
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_d_crack_012.003.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_d_crack_012.003.bin
new file mode 100644
index 000000000..25b91cc3f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_d_crack_012.003.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c45484d81f9f7658784621fa997e3657360d47d3ccbf73c6d51744b53e3f9186
+size 31398
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_d_crack_012.003.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_d_crack_012.003.fbx
new file mode 100644
index 000000000..6f89a44ef
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_d_crack_012.003.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:38dc3927c5aec7db71933858160cc8efc12cd1edd74aa1245d6fa8fa2cf10ff9
+size 28028
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_t_crack_10.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_t_crack_10.001.bin
new file mode 100644
index 000000000..c0d52bc9f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_t_crack_10.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6b15c17f5d36704e4900499689d471c57ae31d495651e0c4200068a583a5a520
+size 39708
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_t_crack_10.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_t_crack_10.001.fbx
new file mode 100644
index 000000000..9c78182d3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/NomalMesh/fm_t_crack_10.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d7980ea49ae3f43f7c518b56481a8c6cdd767691fe2858d743ca6e0feb36a4e5
+size 25404
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.xml
index c41c58940..55373afc5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.xml
@@ -1,5 +1,5 @@
-
+
@@ -57,7 +57,7 @@
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin
index 7759156dc..0b72e8a04 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6604b5124987e2c5141ea72c55a47c43345a12898925d294f589887270d68a58
-size 2941528
+oid sha256:d7ab38ef420d7e64d85d37cc8921192c32693ff015e05d564710fb82aa9c9c97
+size 2941510
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml
index 2afcad975..e16001ff5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml
@@ -1,5 +1,5 @@
-
+
@@ -32,7 +32,7 @@
-
+
@@ -184,14 +184,14 @@
-
+
-
+
-
+
@@ -200,7 +200,7 @@
-
+
@@ -211,7 +211,7 @@
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.xml
index ddc59f7e7..4a125dcc6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.xml
@@ -61,7 +61,7 @@
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_D.dds
deleted file mode 100644
index 4ebe3b278..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_D.dds and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_MRO.dds
deleted file mode 100644
index 67945ef99..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_MRO.dds and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_N.dds
deleted file mode 100644
index 1b7285cab..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_N.dds and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_D.dds
new file mode 100644
index 000000000..480122872
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_D.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_N.dds
new file mode 100644
index 000000000..438be8c73
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_SRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_SRO.dds
new file mode 100644
index 000000000..5e8f27ffd
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_Toga01_SRO.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Old_M_Hair_Fig_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Old_M_Hair_Fig_DAO_MSK.dds
new file mode 100644
index 000000000..a746343df
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Old_M_Hair_Fig_DAO_MSK.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Old_M_Hair_Fig_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Old_M_Hair_Fig_THV_MSK.dds
new file mode 100644
index 000000000..576607f3e
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Old_M_Hair_Fig_THV_MSK.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin
index fb94d5259..3cd8e9d93 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4bebd94fc3f5dc0bd4a8a7c3ec66a0bd9476c65b797d0e31f1ab895770101fbb
-size 5167738
+oid sha256:879f387229eb35fc43ea4c4824fdd6d83374ddd13af3c1150cb3cddb1594d2ad
+size 5163347
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx
index 7e3678af4..5aea22682 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:06f8023e3d44b1e374e6ee981e18a783121ecd817e1be2a4df5cea6d87990818
-size 2261596
+oid sha256:7185e6379cc557c3c2806c634bd19439d46028965503fc9113118d6a592c8ccd
+size 2161772
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin
index 8e6f30bfd..19428e61a 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:662555e21da509d51c2418e358be4cdc3c4cf490559ce62658df21909e24347e
-size 43496211
+oid sha256:58d4fd059c5365073ae4c6fc05bf8525ed946c1915c4f06b801d960a3b603a4e
+size 43913479
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx
index 4216dcacd..d4a6f9c5c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:905355a3a9226885f0b6161d6ae5f14a621105ebf345a013b304a6cd279f82e4
-size 136134796
+oid sha256:64cfe5dff551fdc7366383056087d684e4d3eb2df19ea92d838369a8e834f2d3
+size 135563372
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin
deleted file mode 100644
index d28240479..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:50b8408f40f0fdd866fd91fd390abeb885a26aa4e5fa85aadc6c512db7bdf756
-size 8786167
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx
deleted file mode 100644
index 5f0eee33f..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:fd0769dfe1aef6e10679321175e238c5cd06b1ea7d33c9d91bf3b1715cfbc7f8
-size 4490092
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl
index 2e08ae843..ae41deabd 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl
@@ -79,6 +79,11 @@ matrix g_BoneMatrices[256];
matrix g_PrevBoneMatrices[256];
int g_RobeBoneMask[256];
+float g_fRimStrength;
+float g_fRimPower;
+float4 g_vRimColor;
+float2 g_vMotionTrail_LifeTime;
+
struct VS_IN_MESH
{
float3 vPosition : POSITION;
@@ -1387,6 +1392,21 @@ PS_OUT_SHADOW PS_MAIN_SHADOW(PS_IN_SHADOW In)
return Out;
}
+PS_OUT_BLEND PS_RIMLIGHT(PS_IN In)
+{
+ PS_OUT_BLEND Out = (PS_OUT_BLEND) 0;
+
+
+ float4 vRimColor = float4(g_vRimColor.xyz * GetRimLight(g_vCamPosition.xyz, In.vPosition.xyz, In.vNormal, g_fRimPower, g_fRimStrength), g_vRimColor.a);
+
+ vRimColor.a *= g_vMotionTrail_LifeTime.x / g_vMotionTrail_LifeTime.y;
+
+ Out.vAlbedo = vRimColor;
+
+ return Out;
+}
+
+
technique11 DefaultTechnique
{
pass EYELASH_DAOTHV_ToSRO // 0
@@ -1660,4 +1680,13 @@ technique11 DefaultTechnique
VertexShader = compile vs_5_0 VS_MAIN_SHADOW_LEGACY();
PixelShader = compile ps_5_0 PS_MAIN_SHADOW();
}
+
+ pass RimLight // 30
+ {
+ SetRasterizerState(RS_Default);
+ SetDepthStencilState(DSS_Effect, 0);
+ SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ VertexShader = compile vs_5_0 VS_MAIN();
+ PixelShader = compile ps_5_0 PS_RIMLIGHT();
+ }
}
diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
index 477c985c0..14dc49d0c 100644
--- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
@@ -102,16 +102,12 @@ HRESULT CLoader::Loading_For_ObjectViewer()
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(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::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(),
@@ -134,11 +130,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
// TEXT("Prototype_Component_ConjuredDragon_Model")
//));
- futures.emplace_back(Deferred_ModelLoad(
- MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
- TEXT("Prototype_Component_Professor_EleazarFig_Model")
- ));
-
#pragma endregion
#pragma region ITEM
@@ -289,7 +280,7 @@ HRESULT CLoader::Loading_For_ObjectViewer()
));
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(),
+ MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
TEXT("Prototype_Component_Professor_EleazarFig_Model")
));
diff --git a/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp b/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp
index 24eb9da4b..157b01246 100644
--- a/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp
+++ b/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp
@@ -13,7 +13,10 @@ CMotion_Trail::CMotion_Trail(const CMotion_Trail& rhs)
: CComponent(rhs),
m_pClearBuffer(rhs.m_pClearBuffer),
m_CaptureInfos(rhs.m_CaptureInfos),
- m_RemainingInfos(rhs.m_RemainingInfos)
+ m_RemainingInfos(rhs.m_RemainingInfos),
+ m_fMaxCaptureLifeTime(rhs.m_fMaxCaptureLifeTime),
+ m_iMaximumCapture(rhs.m_iMaximumCapture),
+ m_iNumBones(rhs.m_iMaximumCapture)
{
}
@@ -66,6 +69,12 @@ HRESULT CMotion_Trail::Render(CShader* pShader)
if (FAILED(pShader->Bind_Matrix("g_WorldMatrix", &pInfo->WorldMatrix))) {
return E_FAIL;
}
+
+ if (FAILED(pShader->Bind_RawValue("g_vMotionTrail_LifeTime", &pInfo->vCaptureLifeTime , sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+
//if (FAILED(pShader->Bind_RawValue("g_LifeTime", &fRatio, sizeof(_float)))) {
// return E_FAIL;
//}
@@ -229,6 +238,21 @@ void CMotion_Trail::Free()
#ifdef _DEBUG
void CMotion_Trail::Describe_Entity()
{
+
+ if (GUI::TreeNode("Motion Trail"))
+ {
+
+ GUI::DragFloat("m_fMaxCaptureLifeTime", &m_fMaxCaptureLifeTime);
+
+ _int iMaximumCapture = m_iMaximumCapture;
+ if (GUI::DragInt("m_iMaximumCapture", &iMaximumCapture))
+ {
+ m_iMaximumCapture = iMaximumCapture;
+ }
+
+
+ GUI::TreePop();
+ }
}
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Engine/Private/Transform.cpp b/Jusin154_Team3D/Engine/Private/Transform.cpp
index 4bebf38dc..8d387ab66 100644
--- a/Jusin154_Team3D/Engine/Private/Transform.cpp
+++ b/Jusin154_Team3D/Engine/Private/Transform.cpp
@@ -598,6 +598,48 @@ void CTransform::Free()
}
#ifdef _DEBUG
+void TransformXMLInput(CTransform* pTransform)
+{
+ static _char szInput[256] = "";
+
+ GUI::TextUnformatted("Transform XML:");
+ GUI::InputTextMultiline("##TransformXml", szInput, IM_ARRAYSIZE(szInput), ImVec2(-1.0f, 140.0f));
+
+ GUI::SameLine();
+ GUI::Separator();
+ if (GUI::Button("Parse"))
+ {
+ _string strInput = szInput;
+ string wrapped;
+ wrapped.reserve(strInput.size() + 32);
+ wrapped += "";
+ wrapped += strInput;
+ wrapped += "";
+
+ tinyxml2::XMLDocument doc;
+ doc.Parse(wrapped.c_str());
+ tinyxml2::XMLElement* root = doc.FirstChildElement("Root");
+
+ tinyxml2::XMLElement* transformNode = root->FirstChildElement("Transform");
+
+ tinyxml2::XMLElement* rotNode = transformNode->FirstChildElement("RotQ");
+ tinyxml2::XMLElement* transNode = transformNode->FirstChildElement("Trans");
+
+ _float qx, qy, qz, qw;
+ _float tx, ty, tz;
+ rotNode->QueryFloatAttribute("X", &qx);
+ rotNode->QueryFloatAttribute("Y", &qy);
+ rotNode->QueryFloatAttribute("Z", &qz);
+ rotNode->QueryFloatAttribute("W", &qw);
+ transNode->QueryFloatAttribute("X", &tx);
+ transNode->QueryFloatAttribute("Y", &ty);
+ transNode->QueryFloatAttribute("Z", &tz);
+
+ pTransform->Set_State(STATE::POSITION, XMVectorSet(tx, ty, tz, 1.f));
+ pTransform->RotationQ(XMQuaternionNormalize(XMVectorSet(qx, qy, qz, qw)));
+ }
+}
+
void CTransform::Describe_Entity()
{
//#ifdef 기무리
@@ -609,6 +651,7 @@ void CTransform::Describe_Entity()
XMStoreFloat4(&scale, vScale);
XMStoreFloat4(&rotQ, vRotQ);
XMStoreFloat4(&trans, vTrans);
+ TransformXMLInput(this);
if (GUI::SmallButton("Copy")) {
_char buf[512] = {};
sprintf_s(
diff --git a/Jusin154_Team3D/Engine/Private/UIObject.cpp b/Jusin154_Team3D/Engine/Private/UIObject.cpp
index a37199ed4..301c6d13f 100644
--- a/Jusin154_Team3D/Engine/Private/UIObject.cpp
+++ b/Jusin154_Team3D/Engine/Private/UIObject.cpp
@@ -211,7 +211,7 @@ _bool CUIObject::Chack_Visible()
void CUIObject::Set_FadeIn()
{
- if (!m_bFadeIn && m_fAlpha < 1.f)
+ if (!m_bFadeIn && m_fAlpha <= 1.f)
{
m_bFadeIn = true;
m_bFadeOut = false;
@@ -220,7 +220,7 @@ void CUIObject::Set_FadeIn()
void CUIObject::Set_FadeOut()
{
- if (!m_bFadeOut && m_fAlpha > 0.f)
+ if (!m_bFadeOut && m_fAlpha >= 0.f)
{
m_bFadeOut = true;
m_bFadeIn = false;
diff --git a/Jusin154_Team3D/Engine/Private/Unit.cpp b/Jusin154_Team3D/Engine/Private/Unit.cpp
index e050c549b..a5a47ecaa 100644
--- a/Jusin154_Team3D/Engine/Private/Unit.cpp
+++ b/Jusin154_Team3D/Engine/Private/Unit.cpp
@@ -132,6 +132,15 @@ void CUnit::Set_NextID(_int ID)
{
}
+void CUnit::Set_Flow(_int Index)
+{
+}
+
+_int CUnit::Get_Flow()
+{
+ return _int();
+}
+
HRESULT CUnit::Ready_Components(void *pArg)
{
if (FAILED(__super::Ready_Components(pArg))) {
diff --git a/Jusin154_Team3D/Engine/Public/TimeSocket.h b/Jusin154_Team3D/Engine/Public/TimeSocket.h
index 762a52fc2..d6ce50e17 100644
--- a/Jusin154_Team3D/Engine/Public/TimeSocket.h
+++ b/Jusin154_Team3D/Engine/Public/TimeSocket.h
@@ -29,6 +29,7 @@ typedef enum class typeTimeSocket_Func {
ROTATION_LERP,
AFFINE_LERP,
TOGGLE_FLAGS,
+ SET_WORLD_LOCKPOSITION,
// CAMERA
SETTING_CAMERA,
@@ -70,13 +71,14 @@ typedef enum class typeTimeSocket_Func {
static constexpr pair g_SocketFuncTypeTable[ENUM_CLASS(TIMESOCKET_FUNC::END) + 1] =
{
// COMMON
- {"TELEPORTATION", TIMESOCKET_FUNC::TELEPORTATION},
- {"TRANSLATION", TIMESOCKET_FUNC::TRANSLATION},
- {"TRANSLATION_LERP", TIMESOCKET_FUNC::TRANSLATION_LERP},
- {"ROTATION", TIMESOCKET_FUNC::ROTATION},
- {"ROTATION_LERP", TIMESOCKET_FUNC::ROTATION_LERP},
- {"AFFINE_LERP", TIMESOCKET_FUNC::AFFINE_LERP},
- {"TOGGLE_FLAGS", TIMESOCKET_FUNC::TOGGLE_FLAGS},
+ {"TELEPORTATION", TIMESOCKET_FUNC::TELEPORTATION},
+ {"TRANSLATION", TIMESOCKET_FUNC::TRANSLATION},
+ {"TRANSLATION_LERP", TIMESOCKET_FUNC::TRANSLATION_LERP},
+ {"ROTATION", TIMESOCKET_FUNC::ROTATION},
+ {"ROTATION_LERP", TIMESOCKET_FUNC::ROTATION_LERP},
+ {"AFFINE_LERP", TIMESOCKET_FUNC::AFFINE_LERP},
+ {"TOGGLE_FLAGS", TIMESOCKET_FUNC::TOGGLE_FLAGS},
+ {"SET_WORLD_LOCKPOSITION", TIMESOCKET_FUNC::SET_WORLD_LOCKPOSITION},
// CAMERA
{"SETTING_CAMERA", TIMESOCKET_FUNC::SETTING_CAMERA},
diff --git a/Jusin154_Team3D/Engine/Public/Unit.h b/Jusin154_Team3D/Engine/Public/Unit.h
index e91ce8427..1072fb757 100644
--- a/Jusin154_Team3D/Engine/Public/Unit.h
+++ b/Jusin154_Team3D/Engine/Public/Unit.h
@@ -58,6 +58,9 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
virtual _wstring Get_NpcName();
virtual _int Get_TextID();
virtual void Set_NextID(_int ID);
+
+ virtual void Set_Flow(_int Index);
+ virtual _int Get_Flow();
#pragma endregion
protected:
@@ -91,6 +94,8 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
_float m_fHitCross = {};
_int m_eHitType = {};
+ _int m_iCurrentFlow = 0;
+
private:
virtual void Add_FSM() {};
virtual void Set_FSM() {};