diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index 54a164fcd..75797926c 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -163,7 +163,12 @@ call Update_Resources.bat + + + + + @@ -476,7 +481,12 @@ call Update_Resources.bat + + + + + diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index f8ef4e342..9829b8e17 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -922,7 +922,6 @@ 02.GameObjects\Effect\Effects\Accio\AccioSide - 02.GameObjects\UI\GamePlay_Canvas\Broom_Panel\Broom_TargetGate2D @@ -959,9 +958,25 @@ 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 + + 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Prop\Ranrok_PropHit + + @@ -1020,18 +1035,6 @@ {8d89a59c-fbd2-4a4a-ab01-a70abb80cc49} - - {603938cc-e4fe-44d8-890b-784174a86161} - - - {2814c935-13d9-4b9a-94ba-c9e470219a18} - - - {19ee2ea4-2d79-46bd-b857-c759e3ec6cf4} - - - {2561df42-3dfa-4045-a30c-85f44cd65e09} - {25ad4a41-5b06-4659-bd29-c0c4265a3277} @@ -1980,9 +1983,33 @@ {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} + + {06672a35-4ed9-4c17-aa7f-bb249190a1ee} + + + {2561df42-3dfa-4045-a30c-85f44cd65e09} + @@ -2862,9 +2889,22 @@ 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 + + + 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Prop\Ranrok_PropHit + + diff --git a/Jusin154_Team3D/Client/Private/Avadakedavra.cpp b/Jusin154_Team3D/Client/Private/Avadakedavra.cpp index 0077f3d07..8450f9a04 100644 --- a/Jusin154_Team3D/Client/Private/Avadakedavra.cpp +++ b/Jusin154_Team3D/Client/Private/Avadakedavra.cpp @@ -189,8 +189,6 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg) static_cast(m_pOwner)->Start_CameraShake(0.5f, 1.2f); - m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_AVADAKEDAVRA, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); - return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Blink.cpp b/Jusin154_Team3D/Client/Private/Blink.cpp index 9b1057ba3..f8bdcea5e 100644 --- a/Jusin154_Team3D/Client/Private/Blink.cpp +++ b/Jusin154_Team3D/Client/Private/Blink.cpp @@ -206,8 +206,6 @@ HRESULT CBlink::Pre_Setting(CGameObject* pObject, void* pArg) m_fSizeAccTime = 0.f; m_fMoveAccTime = 0.f; - m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BLINK_2, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); - return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Bombard.cpp b/Jusin154_Team3D/Client/Private/Bombard.cpp index df07edd69..1d946ff58 100644 --- a/Jusin154_Team3D/Client/Private/Bombard.cpp +++ b/Jusin154_Team3D/Client/Private/Bombard.cpp @@ -160,8 +160,6 @@ HRESULT CBombard::Pre_Setting(CGameObject* pObject, void* pArg) } } - m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_BOMBARDA, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); - return S_OK; } @@ -211,6 +209,21 @@ void CBombard::OnCollision(CGameObject* pOther, void* pDesc) if (m_bHit == false) return; + _int iRand = m_pGameInstance->Random_Int(0, 2); + switch (iRand) + { + case 0: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_23, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + break; + case 1: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_32, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + break; + case 2: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_39, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + break; + } + + ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); diff --git a/Jusin154_Team3D/Client/Private/Broom.cpp b/Jusin154_Team3D/Client/Private/Broom.cpp index 134511e16..09b6f7330 100644 --- a/Jusin154_Team3D/Client/Private/Broom.cpp +++ b/Jusin154_Team3D/Client/Private/Broom.cpp @@ -45,17 +45,6 @@ HRESULT CBroom::Initialize(void* pArg) Load_AnimXML("../Bin/Resources/Data/AnimList/Broom.xml"); - { - CFSM::FSM_DESC FSMDesc{}; - FSMDesc.pStates = &m_States; - FSMDesc.pStateMask = &m_iStateMask; - - m_pFSM->Bind_States(FSMDesc); - m_pFSM->Change_State(FSMSTATE::IDLE); - } - - m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -100.f, 0.f, 1.f)); - m_pParentUnit = dynamic_cast(m_pOwner); if (m_pParentUnit->IsAI() == false) @@ -72,6 +61,17 @@ HRESULT CBroom::Initialize(void* pArg) } + { + CFSM::FSM_DESC FSMDesc{}; + FSMDesc.pStates = &m_States; + FSMDesc.pStateMask = &m_iStateMask; + + m_pFSM->Bind_States(FSMDesc); + m_pFSM->Change_State(FSMSTATE::IDLE); + } + + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -100.f, 0.f, 1.f)); + return S_OK; } @@ -103,7 +103,8 @@ void CBroom::Update(_float fTimeDelta) { m_bHoverToggle = true; m_fSpeed = 0.f; - + m_fVerticalSpeed = 0.f; + m_pBroomTrail->Get_Component()->Reset_Trail(); m_pFSM->Change_State(FSMSTATE::IDLE); } @@ -221,6 +222,12 @@ HRESULT CBroom::Render() return S_OK; } +void CBroom::Add_TurboBoost(_float fAmount) +{ + m_fTurboBoost += fAmount; + m_fTurboBoost = clamp(m_fTurboBoost, 0.f, 5.f); +} + HRESULT CBroom::Ready_Child() { diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp index a26ca106a..f0d558da7 100644 --- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp @@ -10,6 +10,7 @@ #include "Broom.h" #include "InfoInstance.h" #include "InstancedProp.h" +#include "EffectPool.h" CBroomRaceManager::CBroomRaceManager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CGameObject(pDevice, pContext) @@ -39,6 +40,8 @@ HRESULT CBroomRaceManager::Initialize(void* pArg) m_pInfoInstance->Add_Event(TEXT("BROOMRACENPCINTERACT"), [this](void* p) {this->RaceReady(); }); + + return S_OK; } @@ -65,21 +68,16 @@ void CBroomRaceManager::Priority_Update(_float fTimeDelta) m_bRaceEnd = true; _float Alpha = 2.f; m_pInfoInstance->Event_CallBack(TEXT("UIFadeIn"), &Alpha); - } - for (auto& racer : m_Racers) - { - if (racer.pAI) + for (auto& racer : m_Racers) { - racer.pAI->Get_Broom()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f)); - } - if (racer.pRacer) - { - + if (racer.pAI) + { + racer.pAI->Get_Broom()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f)); + } } } } - } break; } @@ -357,6 +355,11 @@ void CBroomRaceManager::RaceReady() MSG_BOX("Failed Load Balloons"); } + if (FAILED(Load_Broomrace_Effect())) + { + MSG_BOX("Failed Load Broomrace_Effect"); + } + CInstancedProp::INSTANCE_PROP_DESC Instance_Desc = {}; /* InstanceProp RouteMarker*/ @@ -423,7 +426,7 @@ void CBroomRaceManager::RaceReady() CTransform* pTransform = racer.pRacer->Get_Component(); CCharacter_Controller* pCharacter = racer.pRacer->Get_Component(); - XMStoreFloat4(&m_OriginPos, racer.pRacer->Get_WorldPostion()); + XMStoreFloat4(&m_OriginPos, XMVectorSet(-552.794f, -27.676f, -396.840f, 1.f)); pCharacter->Set_Position(spawnPos); pTransform->Set_State(STATE::POSITION, spawnPos); pTransform->LookAt(pRingTransform->Get_State(STATE::POSITION)); @@ -577,6 +580,48 @@ HRESULT CBroomRaceManager::Load_Balloons() return E_FAIL; } + return S_OK; +} + +HRESULT CBroomRaceManager::Load_Broomrace_Effect() +{ + CEffectPool* pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object(); + + if (nullptr == pEffectPool) + return E_FAIL; + + tinyxml2::XMLDocument xmlDoc; + + string strPath = "../Bin/Resources/Data/Map/EffectPart/Bubble_Data.xml"; + + if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) + return E_FAIL; + + tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("EffectParts"); + + if (nullptr == root) + { + MSG_BOX("Failed to Find root"); + return S_OK; + } + + for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object")) + { + _float4 vPosition = {}; + + /* Transform */ + auto* Position = Object->FirstChildElement("Position"); + Position->QueryFloatAttribute("x", &vPosition.x); + Position->QueryFloatAttribute("y", &vPosition.y); + Position->QueryFloatAttribute("z", &vPosition.z); + vPosition.w = 1.f; + + pEffectPool->Use_Skill(SKILL_TYPE::BROOM_RACE_BUBBLE, this, &vPosition); + } + + + + return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp b/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp new file mode 100644 index 000000000..dfc8b202d --- /dev/null +++ b/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp @@ -0,0 +1,252 @@ +#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 vTop = XMLoadFloat4(&m_vStartPos) + XMVectorSet(0.f, 5.f, 0.f, 0.f); + + _vector vBottom = pBubble->Get_WorldPostion() - XMVectorSet(0.f, 5.f, 0.f, 0.f); + + CollisionCheck(vTop, vBottom, 5.f); + + OnCollision(this); + } +} + +void CBroomRace_Bubble::CollisionCheck(_fvector vStartPos, _fvector vEndPos, _float fRadius) +{ + + _vector vDir = { vEndPos - vStartPos }; + + _float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos)); + + PSX::PxSweepBuffer pxBuffer = {}; + + _bool bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer); + + const PSX::PxSweepHit& hit = pxBuffer.block; + PSX::PxRigidActor* pActor = hit.actor; + PSX::PxShape* pShape = hit.shape; + ON_COLLISION_INFO tagCollInfo = {}; + + tagCollInfo.vWorldPos.w = 1.f; + + if (bHit) { + + memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position)); + + memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal)); + XMStoreFloat4(&tagCollInfo.vHitDir, vDir); + tagCollInfo.fLength = fDistance; + + + if (nullptr != pActor && nullptr != pActor->userData) + { + PHYSX_USERDATA* pUserData = static_cast(pActor->userData); + tagCollInfo.pObject = pUserData->pOwner; + + switch (pUserData->eKind) + { + case PHYSX_KIND::CCTActor: + { + switch (PXOBJECT(pUserData->iSubKind)) + { + + case PXOBJECT::PLAYER: + { + dynamic_cast(pUserData->pOwner)->Add_TurboBoost(1.f); + m_bHit = true; + } + break; + + } + } + } + } + + + } +} + +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; + + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_GET_ITEM, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + + + 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/BroomRacerAI.cpp b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp index 8d950a3ed..75a74ac27 100644 --- a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp @@ -39,6 +39,8 @@ HRESULT CBroomRacerAI::Initialize(void* pArg) } m_iIndex = static_cast(pArg)->iIndex; + m_bAI = true; + if (FAILED(Ready_Components())) { return E_FAIL; } @@ -73,7 +75,6 @@ HRESULT CBroomRacerAI::Initialize(void* pArg) m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f)); - m_bAI = true; #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp index da7bb338c..e7a33225a 100644 --- a/Jusin154_Team3D/Client/Private/Broom_States.cpp +++ b/Jusin154_Team3D/Client/Private/Broom_States.cpp @@ -75,6 +75,9 @@ void CBroom::Behavior_IdleEnter() { m_pFSM->Enable_State(FSMSTATE::IDLE); pair<_uint, _bool> pairAnimInfo; + if (m_pParentUnit->IsAI() == false) { + m_pBroomTrail->Get_Component()->Reset_Trail(); + } pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_IDLE_B]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); @@ -121,9 +124,10 @@ void CBroom::Behavior_MoveEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::MOVE); - - m_pBroomTrail->SetDissolve(false); - m_pBroomTrail->Get_Component()->Reset_Trail(); + if (m_pParentUnit->IsAI() == false) { + m_pBroomTrail->SetDissolve(false); + m_pBroomTrail->Get_Component()->Reset_Trail(); + } } HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta) @@ -365,9 +369,10 @@ void CBroom::Behavior_Broom_FlyEnter() { pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::FLY); + m_pModelCom->Set_BlendDuration(0.5f); 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); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false, true); } HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) @@ -384,11 +389,19 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) _bool bShift = m_Input.bHoverToggle; _bool bTurbo = m_Input.bTurbo; + _bool bHasInput = (bLeft || bRight || bUp || bDown); + + if (bHasInput) + m_fInputHoldTime += fTimeDelta; + else + m_fInputHoldTime = 0.f; + + _bool bAllowAnimChange = (m_fInputHoldTime >= m_fHoldThreshold); + if (!m_bHoverToggle) { if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove())) { - if (bFwd) { m_fTargetSpeed = m_fFlyMaxSpeed; } @@ -448,23 +461,11 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) if (vInput.x < 0.f) { - /*if (vInput.z <= 0.f) - { - m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f); - } - else {*/ m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.3f); - //} } else if (vInput.x > 0.f) { - /*if (vInput.z <= 0.f) - { - m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f); - } - else {*/ m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.3f); - //} } @@ -504,9 +505,12 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; } } - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); + if (bAllowAnimChange || pairAnimInfo.first == m_Animation[STATEANIM::BROOM_FLY_B].first) { + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false, true); + } } else { + m_fInputHoldTime = 0.f; pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); } @@ -523,10 +527,6 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_STOP_B]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); - /*if (bShift && iCurrentAnimIndex == m_Animation[STATEANIM::BROOM_HOVER_STOP_B].first) - { - m_bHoverToggle = false; - }*/ if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove())) { if (fRatio >= 0.5f && iCurrentAnimIndex == m_Animation[STATEANIM::BROOM_HOVER_STOP_B].first) @@ -555,6 +555,7 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) void CBroom::Behavior_Broom_FlyExit() { m_pFSM->Disable_State(FSMSTATE::FLY); + m_pModelCom->Set_BlendDuration(0.3f); } void CBroom::Behavior_Broom_TurboFlyEnter() @@ -562,9 +563,10 @@ void CBroom::Behavior_Broom_TurboFlyEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::TURBOFLY); m_bTurbo = true; + m_pModelCom->Set_BlendDuration(0.5f); 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); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false, true); Boost_Effect_Visible(true); } @@ -583,6 +585,15 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta) _bool bShift = m_Input.bHoverToggle; _bool bTurbo = m_Input.bTurbo; + _bool bHasInput = (bLeft || bRight || bUp || bDown); + + if (bHasInput) + m_fInputHoldTime += fTimeDelta; + else + m_fInputHoldTime = 0.f; + + _bool bAllowAnimChange = (m_fInputHoldTime >= m_fHoldThreshold); + if (!m_bHoverToggle) { if (SUCCEEDED(InputMove())) @@ -670,7 +681,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta) pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_UP_B]; else pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_DOWN_B]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); + } else if (ax >= az) { @@ -690,7 +701,6 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta) pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; } } - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); } else { @@ -701,10 +711,13 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta) else { pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; } - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); + } + if (bAllowAnimChange || pairAnimInfo.first == m_Animation[STATEANIM::BROOM_FLY_B].first) { + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false, true); } } else { + m_fInputHoldTime = 0.f; pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); } @@ -752,7 +765,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta) 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/Camera_Cinematic.cpp b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp index 94175f264..c42135acc 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp @@ -150,6 +150,7 @@ void CCamera_Cinematic::Trigger(CTimeSocket& Socket) m_pTransformCom->Set_WorldMatrix(pContents->pxTransform); m_pFollowTargetPart->Set_WorldPostion(m_pTransformCom->Get_State(STATE::POSITION)); m_pLookTargetPart->Set_WorldPostion(m_pTransformCom->Get_State(STATE::POSITION) + m_pTransformCom->Get_State(STATE::LOOK)); + Clear_Lerp_Rotation(); Clear_Lerp_Translation(); } break; case TIMESOCKET_FUNC::TRANSLATION: diff --git a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp index e5404bec9..d4929b680 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp @@ -24,7 +24,8 @@ void CCamera_Debug::Priority_Update(_float fTimeDelta) if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_DEBUG))) { return; } - Transition(fTimeDelta); + const _float fFixedDebugTimeDelta = 1.f / 60.f; + Transition(fFixedDebugTimeDelta); _float3 vCamPos = {}; _float3 vSetPos = {}; XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION)); @@ -39,22 +40,22 @@ void CCamera_Debug::Priority_Update(_float fTimeDelta) #pragma region Position _float fSpeed = 5.f; if (m_pGameInstance->Key_Pressing(DIK_W)) { - m_pTransformCom->Go_Straight(fTimeDelta * fSpeed); + m_pTransformCom->Go_Straight(fFixedDebugTimeDelta * fSpeed); } if (m_pGameInstance->Key_Pressing(DIK_A)) { - m_pTransformCom->Go_Left(fTimeDelta * fSpeed); + m_pTransformCom->Go_Left(fFixedDebugTimeDelta * fSpeed); } if (m_pGameInstance->Key_Pressing(DIK_S)) { - m_pTransformCom->Go_Backward(fTimeDelta * fSpeed); + m_pTransformCom->Go_Backward(fFixedDebugTimeDelta * fSpeed); } if (m_pGameInstance->Key_Pressing(DIK_D)) { - m_pTransformCom->Go_Right(fTimeDelta * fSpeed); + m_pTransformCom->Go_Right(fFixedDebugTimeDelta * fSpeed); } if (m_pGameInstance->Key_Pressing(DIK_SPACE)) { - m_pTransformCom->Go_Up(fTimeDelta * fSpeed); + m_pTransformCom->Go_Up(fFixedDebugTimeDelta * fSpeed); } if (m_pGameInstance->Key_Pressing(DIK_C)) { - m_pTransformCom->Go_Down(fTimeDelta * fSpeed); + m_pTransformCom->Go_Down(fFixedDebugTimeDelta * fSpeed); } if (m_pGameInstance->Key_Pressing(DIK_TAB)) { Set_InitialPos(); @@ -81,8 +82,8 @@ void CCamera_Debug::Priority_Update(_float fTimeDelta) #pragma region Angle _float3 fMove = m_pGameInstance->Get_MouseMove(); - m_pTransformCom->Turn(XMVectorSet(0.f, 1.f, 0.f, 0.f), fTimeDelta * fMove.x * m_fMouseSensor); - m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::RIGHT), fTimeDelta * fMove.y * m_fMouseSensor); + m_pTransformCom->Turn(XMVectorSet(0.f, 1.f, 0.f, 0.f), fFixedDebugTimeDelta * fMove.x * m_fMouseSensor); + m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::RIGHT), fFixedDebugTimeDelta * fMove.y * m_fMouseSensor); #pragma endregion diff --git a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp index ef6fed292..1fecb9d22 100644 --- a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp +++ b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp @@ -17,6 +17,9 @@ CCutSceneInfo::CCutSceneInfo() } void CCutSceneInfo::Update(_float fTimeDelta) { + if (m_pGameInstance->Key_Pressing(DIK_LCONTROL) && m_pGameInstance->Key_Pressing(DIK_RCONTROL) && m_pGameInstance->Key_Pressing(DIK_LSHIFT)&& m_pGameInstance->Key_Pressing(DIK_RSHIFT) && m_pGameInstance->Key_Pressing(DIK_LALT) && m_pGameInstance->Key_Pressing(DIK_RALT)) { + Set_AllActiveEventsExit(); + } #ifdef _DEBUG Describe_Entity(); #endif // _DEBUG @@ -572,3 +575,15 @@ void CCutSceneInfo::Load_CutSceneXML(const string& path) pair<_string, TimeLine*> pairResult = { _string(pContentsNode->Name()), pTimeLine }; m_pInfoInstance->Load_Events(pairResult); } + +void CCutSceneInfo::Set_AllActiveEventsExit() +{ + map<_string, TimeLine*>::iterator iter = m_funcActiveEvents.begin(); + for (; iter != m_funcActiveEvents.end();++iter) { + iter->second->m_vTimer.x = 1.f - FLT_EPSILON; + for (list::iterator socketIter = (*iter).second->m_Sockets.begin(); + socketIter != (*iter).second->m_Sockets.end(); ++socketIter) { + (*socketIter)->Trigger(1.f - FLT_EPSILON); + } + } +} diff --git a/Jusin154_Team3D/Client/Private/Decendo.cpp b/Jusin154_Team3D/Client/Private/Decendo.cpp index b9c227aa3..0247ff623 100644 --- a/Jusin154_Team3D/Client/Private/Decendo.cpp +++ b/Jusin154_Team3D/Client/Private/Decendo.cpp @@ -211,8 +211,6 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject, void* pArg) m_fAngularSpeed = XM_2PI / m_fTimeRate; // 프레임마다 누적할 시간 - m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_DECENDO, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); - return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp b/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp index bc7c74009..fa8f6dd63 100644 --- a/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp +++ b/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp @@ -202,16 +202,37 @@ void CDuelist_Protego::OnCollision(CGameObject* pOther, void* pDesc) switch (iSkillType) { case ENUM_CLASS(SKILL_TYPE::LEVIOSO): + { + _int iRand = m_pGameInstance->Real_Random_Int(0, 1); + if (iRand == 0) { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } + else { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } m_pOwner->OnCollision(pOther, CollisionDesc); m_pRigidBody->Detach_Actor(CURRENT_LEVEL); m_bVisible = false; m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL); + } break; case ENUM_CLASS(SKILL_TYPE::STUPEFY): + { + _int iRand = m_pGameInstance->Real_Random_Int(0, 1); + if (iRand == 0) { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } + else { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } m_pOwner->OnCollision(pOther, CollisionDesc); m_pRigidBody->Detach_Actor(CURRENT_LEVEL); m_bVisible = false; m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL); + } + break; + default: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); break; } } diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp index 22a9df155..dc6df249b 100644 --- a/Jusin154_Team3D/Client/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp @@ -54,6 +54,11 @@ #include "Transformation.h" #include "Avadakedavra.h" #include "Reparo.h" +#include "PotionBroken.h" +#include "PotionScreen.h" +#include "HitScreen.h" +#include "BroomRace_Bubble.h" +#include "Ranrok_PropHit.h" #include "Goblin_ProtegoHit.h" #include "Duelist_ProtegoHit.h" @@ -115,7 +120,7 @@ HRESULT CEffectPool::Initialize(void* pArg) m_isActiveMonsterEffectCreate = true; #endif // #ifdef 기무리 - m_isActiveEffectCreate = false; + m_isActiveEffectCreate = true; m_isActiveMonsterEffectCreate = false; #endif // #ifdef 나 @@ -522,6 +527,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; } @@ -813,6 +854,17 @@ HRESULT CEffectPool::Ready_MonsterEffect() return pEffect; } ))) return E_FAIL; + + if (FAILED(Create_Effect(SKILL_TYPE::RANROK_PROP_HIT, 10, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { + + CRanrok_PropHit* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + ))) return E_FAIL; + + return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp index b7705d753..9c6cf2014 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; } @@ -97,8 +101,6 @@ void CGoblin_Assassin::Update(_float fTimeDelta) if (m_bVisible == false) return; - m_pFSM->Update_State(fTimeDelta); - m_vCaptureTimer.x += fTimeDelta; if (m_vCaptureTimer.y < m_vCaptureTimer.x) { m_vCaptureTimer.x = 0.f; @@ -107,6 +109,8 @@ void CGoblin_Assassin::Update(_float fTimeDelta) } } + m_pFSM->Update_State(fTimeDelta); + m_pModelCom->Play_Animation(fTimeDelta * m_fEasing, m_pTransformCom); __super::Update(fTimeDelta); @@ -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,35 @@ 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 (m_bMotionTrail) + { + 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,12 +266,6 @@ HRESULT CGoblin_Assassin::Render() m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float)); } - if (m_bMotionTrail) { - if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) { - return E_FAIL; - } - } - return S_OK; } @@ -352,6 +375,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++) { @@ -364,7 +398,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); @@ -720,7 +754,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()); @@ -744,6 +778,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_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp index b9b43e30b..fbdc51268 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp @@ -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); @@ -630,6 +634,7 @@ void CGoblin_Assassin::Behavior_DeadEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::DEAD); m_pCharacter_Controller->SetGravity(true); + m_pInfoInstance->Deregist_ActiveMonster(this); _bool bStrongerKnockDown = { false }; @@ -789,7 +794,7 @@ void CGoblin_Assassin::Descendo_Event() m_fAirTime = 0.f; pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 5.f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 3.f); Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD].first, [this]() { pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT]; 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 8661b4d49..dfbb8f51c 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp @@ -5,6 +5,7 @@ #include "EffectPool.h" #include "Player.h" #include "EffectParts.h" +#include "InfoInstance.h" #pragma region STATE #include "State_Idle.h" @@ -510,6 +511,7 @@ void CGoblin_Mage::Behavior_DeadEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::DEAD); m_pCharacter_Controller->SetGravity(true); + m_pInfoInstance->Deregist_ActiveMonster(this); _bool bStrongerKnockDown = { false }; @@ -665,7 +667,7 @@ void CGoblin_Mage::Descendo_Event() m_fAirTime = 0.f; pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 5.f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 3.f); Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD].first, [this]() { pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT]; diff --git a/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp b/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp index 4564ab36d..52a3393a8 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp @@ -202,28 +202,68 @@ void CGoblin_Protego::OnCollision(CGameObject* pOther, void* pDesc) switch (iSkillType) { case ENUM_CLASS(SKILL_TYPE::BOMBARDA): + { + _int iRand = m_pGameInstance->Real_Random_Int(0, 1); + if (iRand == 0) { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } + else { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } + m_pOwner->OnCollision(pOther, CollisionDesc); m_pRigidBody->Detach_Actor(CURRENT_LEVEL); m_bVisible = false; m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL); + } break; case ENUM_CLASS(SKILL_TYPE::AVADAKEDAVRA): + { + _int iRand = m_pGameInstance->Real_Random_Int(0, 1); + if (iRand == 0) { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } + else { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } m_pOwner->OnCollision(pOther, CollisionDesc); m_pRigidBody->Detach_Actor(CURRENT_LEVEL); m_bVisible = false; m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL); + } break; case ENUM_CLASS(SKILL_TYPE::ANCIENT_MAGIC): + { + _int iRand = m_pGameInstance->Real_Random_Int(0, 1); + if (iRand == 0) { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } + else { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } m_pOwner->OnCollision(pOther, CollisionDesc); m_pRigidBody->Detach_Actor(CURRENT_LEVEL); m_bVisible = false; m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL); + } break; case ENUM_CLASS(SKILL_TYPE::STUPEFY): + { + _int iRand = m_pGameInstance->Real_Random_Int(0, 1); + if (iRand == 0) { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } + else { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } m_pOwner->OnCollision(pOther, CollisionDesc); m_pRigidBody->Detach_Actor(CURRENT_LEVEL); m_bVisible = false; m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL); + } + break; + default: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); break; } } @@ -232,6 +272,13 @@ void CGoblin_Protego::OnCollision(CGameObject* pOther, void* pDesc) CMapElement_Interactable* pProps = dynamic_cast(pOther); if (pProps != nullptr) { + _int iRand = m_pGameInstance->Real_Random_Int(0, 1); + if (iRand == 0) { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } + else { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + } m_pOwner->OnCollision(pOther, CollisionDesc); m_pRigidBody->Detach_Actor(CURRENT_LEVEL); m_bVisible = false; diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp index c892c5f35..870f452ec 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp @@ -600,6 +600,7 @@ void CGoblin::Behavior_DeadEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::DEAD); m_pCharacter_Controller->SetGravity(true); + m_pInfoInstance->Deregist_ActiveMonster(this); _bool bStrongerKnockDown = { false }; @@ -756,7 +757,7 @@ void CGoblin::Descendo_Event() m_fAirTime = 0.f; pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 5.f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 3.f); Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD].first, [this]() { pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT]; 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/InstancedProp.cpp b/Jusin154_Team3D/Client/Private/InstancedProp.cpp index f180069b0..1d7d39eb3 100644 --- a/Jusin154_Team3D/Client/Private/InstancedProp.cpp +++ b/Jusin154_Team3D/Client/Private/InstancedProp.cpp @@ -27,8 +27,10 @@ void CInstancedProp::Late_Update(_float fTimeDelta) } m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); +#ifdef Bin m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +#endif // Bin } HRESULT CInstancedProp::Render() @@ -102,6 +104,9 @@ HRESULT CInstancedProp::Ready_Components(void* pArg) INSTANCE_PROP_DESC* pDesc = static_cast(pArg); + m_isShake = pDesc->isShake; + m_isTree = pDesc->isTree; + /* Com_VIBuffer_Instance_Model */ if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, pDesc->strPrototypeTag, reinterpret_cast(&m_pVIBufferInstanceCom)))) @@ -119,7 +124,6 @@ HRESULT CInstancedProp::Ready_Components(void* pArg) if(FAILED(Load_InstancedProp(pDesc->strInstanceDataPath.c_str(), pDesc))) return E_FAIL; - m_isShake = pDesc->isShake; if (m_isShake) m_pVIBufferInstanceCom->Set_Shake_Value(pDesc->vRadius, pDesc->vSpeed); @@ -204,6 +208,8 @@ HRESULT CInstancedProp::Load_InstancedProp(const _char* pFilePath, INSTANCE_PROP { for (_uint i = 0; i < m_iNumMesh; ++i) { + if (true == m_isTree && 0 == i) + continue; CRigidBody_Static* pRigidBody = { nullptr }; CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {}; Desc.pMeshName = RigidBodyTags[i].c_str(); 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/Land.cpp b/Jusin154_Team3D/Client/Private/Land.cpp index e52bf5d0e..7bbf48841 100644 --- a/Jusin154_Team3D/Client/Private/Land.cpp +++ b/Jusin154_Team3D/Client/Private/Land.cpp @@ -32,8 +32,13 @@ void CLand::Late_Update(_float fTimeDelta) if (m_pGameInstance->IsIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_fRaduis)) { m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); - for (auto& pInstanceProp : m_InstanceProps) +#ifdef Bin + m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); + m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +#endif // Bin + for (auto& pInstanceProp : m_InstanceProps){ pInstanceProp->Late_Update(fTimeDelta); + } } } @@ -68,11 +73,14 @@ HRESULT CLand::Render_Shadow(SHADOW eType) if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::SHADOW)))) { return E_FAIL; } - if (FAILED(m_pModelCom->Render(0))) { return E_FAIL; } - + if (SHADOW::SHADOW_PRE == eType) { + for (auto& pInstanceProp : m_InstanceProps) { + pInstanceProp->Render_Shadow(eType); + } + } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp index 8b7df7a50..1e73556f1 100644 --- a/Jusin154_Team3D/Client/Private/Level_Field.cpp +++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp @@ -185,13 +185,6 @@ HRESULT CLevel_Field::Ready_Lights() _float4 vDiffuse = CMyTools::ColorRGBA_HEXtoFLOAT4(0x1E1C1B3C); _float4 vAmbient = CMyTools::ColorRGBA_HEXtoFLOAT4(0x1A191900); _float4 vSpecular = CMyTools::ColorRGBA_HEXtoFLOAT4(0x12121200); - -#if gimch || 진우 - vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f); - vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f); - vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f); -#endif // gimch - m_pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular); m_pLight->Get_Component()->RotationQ(XMVectorSet(-0.574f, -0.409f, 0.584f, -0.402f)); @@ -202,8 +195,6 @@ HRESULT CLevel_Field::Ready_Lights() HRESULT CLevel_Field::Ready_Volumetric() { m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f); - - return S_OK; } @@ -273,8 +264,6 @@ HRESULT CLevel_Field::Ready_Layer_SkyBox() HRESULT CLevel_Field::Ready_Background() { - m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f); - CInfoInstance::GetInstance()->Load_MapObjects("Dungeon_Map_Data", LAYER_BACKGROUND); CInfoInstance::GetInstance()->Load_WorldDecal("Duengon_Decal_Data", LAYER_BACKGROUND); CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data", LAYER_BACKGROUND); diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index 8de642e74..595793bab 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 = false; + bLoadNPC = true; #endif #endif // _DEBUG if (true == bLoadNPC) { @@ -149,12 +149,12 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg) if (FAILED(m_pInfoInstance->Late_Initialize())) return E_FAIL; - + ResetLevel_Environment(); m_bLevel = true; m_pInfoInstance->Event_CallBack(TEXT("UIManagerFadeIn")); - m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_0, SD_CHANNEL_GROUP::BGM, true, 0.6f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_HOGWART_0, SD_CHANNEL_GROUP::BGM, true, 0.6f); return S_OK; } @@ -170,12 +170,12 @@ void CLevel_GamePlay::Update(_float fTimeDelta) _bool bStartCinematic = { true }; #ifdef _DEBUG #ifdef 기무리 - bStartCinematic = true; + bStartCinematic = false; #elif 진우 bStartCinematic = true; #elif Bin bStartCinematic = false; -#elif gimchi +#elif gimch bStartCinematic = false; #elif 나 bStartCinematic = false; @@ -367,7 +367,7 @@ HRESULT CLevel_GamePlay::Ready_Background() #ifdef 기무리 isReady_Background = true; isReady_Hogsmeade = true; - isReady_Hogwart = false; + isReady_Hogwart = true; #endif // #ifdef 나 isReady_Background = false; @@ -613,6 +613,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* InstanceProp Oak_Tree*/ Desc.isShake = true; + Desc.isTree = true; Desc.eShaderPass = SHADER_PASS_WORLDMODLE_INSTANCE::DEFAULT; Desc.bEnableRigidbody = true; Desc.vRadius = _float2(0.015f, 0.02f); @@ -631,6 +632,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* BearBerry */ Desc.isShake = true; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.vRadius = _float2(0.015f, 0.02f); Desc.vSpeed = _float2(0.6f, 1.f); @@ -642,6 +644,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* SM_HM_OwlPost_Window_A */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OwlPost_Window.bin"; @@ -650,6 +653,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) ///* WA_Rectangle_Double_A */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Rectangle_Double_A.bin"; @@ -658,6 +662,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) ///* WC_Retangle_Double_A */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Retangle_Double_A.bin"; @@ -666,6 +671,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) ///* WA_Square_Double_C */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WA_Square_Double_C.bin"; @@ -674,6 +680,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* Quid_Window_A */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Quid_Window_A.bin"; @@ -682,6 +689,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* Ollivanders_Box_Window */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Ollivanders_Box.bin"; @@ -690,6 +698,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* WC_L_DoubleS_A */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_L_DoubleS_A.bin"; @@ -698,6 +707,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* WC_Round_Double_A */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Round_Double_A.bin"; @@ -706,6 +716,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* SM_HM_Door1a */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = true; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door1a.bin"; @@ -714,6 +725,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* SM_HM_Door2b */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = true; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door2b.bin"; @@ -730,6 +742,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* OakTree_TallA */ Desc.isShake = false; + Desc.isTree = true; Desc.bEnableRigidbody = true; Desc.vRadius = _float2(0.015f, 0.016f); Desc.vSpeed = _float2(0.01f, 0.1f); @@ -740,6 +753,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* Shrub_B */ Desc.isShake = true; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.vRadius = _float2(0.015f, 0.04f); Desc.vSpeed = _float2(0.3f, 1.f); @@ -750,6 +764,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* BogMyrtle_A */ Desc.isShake = true; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.vRadius = _float2(0.015f, 0.04f); Desc.vSpeed = _float2(0.3f, 1.f); @@ -764,6 +779,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* Dogwood_B */ Desc.isShake = true; + Desc.isTree = true; Desc.bEnableRigidbody = true; Desc.vRadius = _float2(0.015f, 0.02f); Desc.vSpeed = _float2(0.3f, 1.f); @@ -774,6 +790,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* ScotsPine_LargeA */ Desc.isShake = false; + Desc.isTree = true; Desc.bEnableRigidbody = true; Desc.vRadius = _float2(0.015f, 0.02f); Desc.vSpeed = _float2(0.3f, 1.f); @@ -797,6 +814,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands) /* StratifiedCliff_A1 */ Desc.isShake = false; + Desc.isTree = false; Desc.bEnableRigidbody = false; Desc.vRadius = _float2(0.f, 0.f); Desc.vSpeed = _float2(0.f, 0.f); @@ -1142,8 +1160,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc() isLoad_NPC = false; #endif // #ifdef 기무리 - isLoad_NPC = false; - isLoad_RandomNPC = false; + isLoad_NPC = true; + isLoad_RandomNPC = true; #endif // #ifdef 나 isLoad_RandomNPC = true; @@ -1166,8 +1184,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc() } { CNPC_EleazarFig::NPCDESC NPCDesc{}; - NPCDesc.vPos = _float4(101.f, 14.f, 100.f, 1.f); - NPCDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f); + NPCDesc.vPos = _float4(96.311f, 4.676f, 77.116f, 1.f); + NPCDesc.vRotQ = _float4(0.f, 0.691f, 0.f, 0.723f); if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_NPC, &NPCDesc))) { return E_FAIL; } @@ -1225,6 +1243,13 @@ void CLevel_GamePlay::ResetLevel_Environment() vSpecular = _float4(0.0f, 0.0f, 0.0f, 0.0f); } m_pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular); + + m_pLight->Get_Component()->RotationQ(XMVectorSet(0.581f, 0.239f, -0.183f, 0.757f)); + m_pLight->Get_Component()->Translation(XMVectorSet(0.f, 0.f, 0.f, 1.f)); + m_pGameInstance->Set_Environment(_float3(0.54300f, 0.40100f, 4.00000f), _float(0.700), _float2(0.075f, 0.150f), + _float2(2.300f, 10.000f), _float4(0.0047f, 0.0018f, 0.0018f, 0.0018f), + _float4(2.f, 1.f, 1.f, 1.f), _float3(-55.9f, -10.f, -50.f), _float3(50.f, 100.f, 100.f)); + m_pLight->Capture_PreShadow(); } pair> CLevel_GamePlay::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID, void* pArg) diff --git a/Jusin154_Team3D/Client/Private/Level_Loading.cpp b/Jusin154_Team3D/Client/Private/Level_Loading.cpp index 8a9049abe..b177ce3f2 100644 --- a/Jusin154_Team3D/Client/Private/Level_Loading.cpp +++ b/Jusin154_Team3D/Client/Private/Level_Loading.cpp @@ -87,6 +87,7 @@ void CLevel_Loading::Update(_float fTimeDelta) case LEVEL::FIELD: { pairLevel = CLevel_Field::Create(m_pDevice, m_pContext, m_eNextLevelID, nullptr); + Capture_TerrainPreShadow(); } break; case LEVEL::RESTART: { diff --git a/Jusin154_Team3D/Client/Private/Light_Main.cpp b/Jusin154_Team3D/Client/Private/Light_Main.cpp index 86b3fa2c6..fa319d2fd 100644 --- a/Jusin154_Team3D/Client/Private/Light_Main.cpp +++ b/Jusin154_Team3D/Client/Private/Light_Main.cpp @@ -56,15 +56,12 @@ HRESULT CLight_Main::Render() HRESULT CLight_Main::Capture_PreShadow() { - CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_BACKGROUND); - assert(nullptr != pLayer); + Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_BACKGROUND)); + Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_UNIFIED)); + Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_HOGSMEADE)); + Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_HOGWART)); + Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_HOGWART)); - const list* pObjects = pLayer->Get_Objects(); - for (auto& pObject : *pObjects) { - if (FAILED(m_pGameInstance->Add_RenderGroup(RENDER::PRESHADOW, pObject))) { - assert(false); - } - } vector<_float3> vNeededPos = {}; vNeededPos.reserve(12); { @@ -172,6 +169,19 @@ _matrix CLight_Main::Get_OffCenterProjMatrix(_fmatrix ViewMatrix, vector<_float3 return XMMatrixOrthographicOffCenterLH(fMinX, fMaxX, fMinY, fMaxY, fMinZ, fMaxZ); } +void CLight_Main::Add_PreShadowRenderGroup(CLayer* pLayer) +{ + if (nullptr == pLayer) { + return; + } + const list* pObjects = pLayer->Get_Objects(); + for (auto& pObject : *pObjects) { + if (FAILED(m_pGameInstance->Add_RenderGroup(RENDER::PRESHADOW, pObject))) { + assert(false); + } + } +} + CLight_Main* CLight_Main::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 092dad3b3..59e8c346e 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -211,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" @@ -240,6 +244,7 @@ #include "Ranrok_DeadSplash.h" #include "Ranrok_DeadImpact.h" #include "Ranrok_Prop.h" +#include "Ranrok_PropHit.h" #include "StunEffect.h" #include "Box_Splesh.h" @@ -559,9 +564,9 @@ HRESULT CLoader::Loading_For_GamePlay() #endif // #ifdef 기무리 isLoad_Background = true; - isLoad_Hogwart = false; - isLoad_UI_SEQUANTIAL = false; - isLoad_NPC = false; + isLoad_Hogwart = true; + isLoad_UI_SEQUANTIAL = true; + isLoad_NPC = true; isLoad_Monster = true; #endif // #ifdef 나 @@ -2534,10 +2539,10 @@ HRESULT CLoader::Loading_For_GamePlay() } } { // LIGHT PHYSX DYNAMIC - CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{}; { + CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{}; Desc.eType = ACTOR::BOX; - Desc.ePxRigidBodyFlags = { /*PSX::PxRigidBodyFlag::eKINEMATIC*/ }; + Desc.ePxRigidBodyFlags = { }; Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE }; Desc.ePxMaterialTypes = { PXMATERIAL::DEFAULT }; Desc.vMatInfo = { 0.5f, 0.5f, 0.6f }; @@ -2549,6 +2554,15 @@ HRESULT CLoader::Loading_For_GamePlay() Desc.vAutoDamping = { 1.f, 1.f }; Desc.vLocalRotQ = { 0.f, 0.f, 0.f, 1.f }; Desc.vLocalTranslation = { 0.f, 0.f, 0.f }; + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_THROWABLE_BOX"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_HEAVY_WALL"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) { + return E_FAIL; + } } CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC ShieldDesc{}; @@ -2637,12 +2651,6 @@ HRESULT CLoader::Loading_For_GamePlay() RanrokDesc.vLocalTranslation = { 0.f, 5.f, 0.f }; } - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_HEAVY_WALL"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) { - return E_FAIL; - } - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) { - return E_FAIL; - } if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, ShieldDesc)))) { return E_FAIL; } @@ -2660,10 +2668,6 @@ HRESULT CLoader::Loading_For_GamePlay() if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_RANROK"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, RanrokDesc)))) { return E_FAIL; } - Desc.ePxRigidBodyFlags = { PSX::PxRigidBodyFlag::eKINEMATIC }; - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX_KIN"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) { - return E_FAIL; - } } if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), CCharacter_Controller::Create(m_pDevice, m_pContext)))) { return E_FAIL; @@ -2947,11 +2951,35 @@ 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, CRanrok_PropHit::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; } @@ -4117,8 +4145,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; @@ -4128,8 +4156,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/MapElement_Cave.cpp b/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp index cbfda2425..3be107150 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp @@ -72,6 +72,10 @@ void CMapElement_Cave::Late_Update(_float fTimeDelta) if (m_bVisible) { m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); +#ifdef Bin + m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); + m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +#endif // Bin #ifdef _DEBUG m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, m_pTriggerBox); #endif // _DEBUG @@ -162,7 +166,7 @@ HRESULT CMapElement_Cave::Ready_TriggerBox() CTriggerBox::TRIGGERBOX_DESC Desc = {}; XMStoreFloat4(&Desc.vPosition_Radius, m_pTransformCom->Get_State(STATE::POSITION)); - Desc.vPosition_Radius.w = 10.f; + Desc.vPosition_Radius.w = 3.f; m_pTriggerBox = CTriggerBox::Create(m_pDevice, m_pContext, &Desc); diff --git a/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp b/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp index 3d3ab9df3..7cb92d7cb 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp @@ -59,6 +59,7 @@ HRESULT CMapElement_Chest::Initialize(void* pArg) static_cast(m_pRigidBody)->Set_HalfGeometryInfo(pDesc->vBoxSize); static_cast(m_pRigidBody)->Move_LocalPos(XMVectorSet(0.f, 0.f, 0.f, 1.f), XMLoadFloat3(&pDesc->vBoxLocalPosition)); + m_pRigidBody->Set_Kinematic(true); m_bChest = true; return S_OK; } @@ -235,7 +236,8 @@ HRESULT CMapElement_Chest::Ready_Components(void* pArg) // RIGID_BODY CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; Desc.iSubKind = ENUM_CLASS(PXOBJECT::BOX); - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX_KIN"), (CComponent**)&m_pRigidBody, &Desc))) { + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_THROWABLE_BOX"), (CComponent**)&m_pRigidBody, &Desc))) { return E_FAIL; } @@ -307,10 +309,12 @@ void CMapElement_Chest::Chage_State() case CMapElement_Chest::CHEST_STATE::FOUND: m_iShaderPass_Index = 21; //ENUM_CLASS(SHADER_PASS_MESH::DEFAULT); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::CHEST_FOUND, SD_CHANNEL_GROUP::OBJECT, false, 0.8f); break; case CMapElement_Chest::CHEST_STATE::OPENED: m_iShaderPass_Index = ENUM_CLASS(SHADER_PASS_MESH::DEFAULT); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::CHEST_OPEN, SD_CHANNEL_GROUP::OBJECT, false, 0.8f); m_pLid->Open(); break; diff --git a/Jusin154_Team3D/Client/Private/MapElement_Door.cpp b/Jusin154_Team3D/Client/Private/MapElement_Door.cpp index 1c8c4e357..53be26e21 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Door.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Door.cpp @@ -65,6 +65,9 @@ void CMapElement_Door::ActingIdle() m_bDrive = true; m_pJoint->setRevoluteJointFlag(PSX::PxRevoluteJointFlag::eDRIVE_ENABLED, true); m_pJoint->setDriveForceLimit(120.f); + + // close + m_pGameInstance->Sound_Play(SOUND::SD_KIND::DOOR_CLOSE, SD_CHANNEL_GROUP::OBJECT, false, 0.8f); } if (true == m_bDrive) { // 드라이브 중이면 if (fCurrentDegree > 0.f) { @@ -138,7 +141,8 @@ void CMapElement_Door::OnCollision(CGameObject* pOther, void* pDesc) m_vKinematicTimer.x = FLT_EPSILON3; return; } - + // open + m_pGameInstance->Sound_Play(SOUND::SD_KIND::DOOR_OPEN, SD_CHANNEL_GROUP::OBJECT, false, 0.8f); m_vKinematicTimer.x = FLT_EPSILON3; } diff --git a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp index 96e04adb8..f7395f9f4 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp @@ -50,8 +50,8 @@ HRESULT CMapElement_Interactable::Initialize(void* pArg) // RIGID_BODY CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; - Desc.iSubKind = ENUM_CLASS(PXOBJECT::BOX);//pPhysXDummyDesc->iSubKind; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX_KIN"), (CComponent**)&m_pRigidBody, &Desc))) { + Desc.iSubKind = ENUM_CLASS(PXOBJECT::BOX); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_THROWABLE_BOX"), (CComponent**)&m_pRigidBody, &Desc))) { return E_FAIL; } @@ -61,16 +61,16 @@ HRESULT CMapElement_Interactable::Initialize(void* pArg) static_cast(m_pRigidBody)->Move_LocalPos(XMVectorSet(0.f, 0.f, 0.f, 1.f), XMLoadFloat3(&pDesc->vBoxLocalPosition)); //static_cast(m_pRigidBody)->Set_Kinematic(false); - if (false == m_isPooled) - { - m_bVisible = true; - m_pInfoInstance->Regist_ActiveInteractive(this); - } - else + if (true == m_isPooled) { m_bVisible = false; static_cast(m_pRigidBody)->Set_Kinematic(true); } + else + { + m_bVisible = true; + m_pInfoInstance->Regist_ActiveInteractive(this); + } m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object(); @@ -99,7 +99,7 @@ void CMapElement_Interactable::Late_Update(_float fTimeDelta) { if (m_bVisible) { - if (m_isGraped == true) + if (m_bThrow == true) { _float fRadius = m_pModelComs[0]->Get_Radius(); @@ -344,123 +344,77 @@ ON_COLLISION_INFO CMapElement_Interactable::CollisionCheck(_fvector StartPos, _f _float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos)); - PSX::PxSweepBuffer pxBuffer = {}; + PSX::PxSweepBufferN<12> pxBuffer = {}; - _bool bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer); - - const PSX::PxSweepHit& hit = pxBuffer.block; - PSX::PxRigidActor* pActor = hit.actor; - PSX::PxShape* pShape = hit.shape; + _bool bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC | PSX::PxQueryFlag::eSTATIC | PSX::PxQueryFlag::eNO_BLOCK, pxBuffer); ON_COLLISION_INFO tagCollInfo = {}; - + XMStoreFloat4(&tagCollInfo.vHitDir, vDir); tagCollInfo.vWorldPos.w = 1.f; - if (bHit) { - - memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position)); - - memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal)); - XMStoreFloat4(&tagCollInfo.vHitDir, vDir); - tagCollInfo.fLength = fDistance; - - - if (nullptr != pActor && nullptr != pActor->userData) - { - PHYSX_USERDATA* pUserData = static_cast(pActor->userData); - tagCollInfo.pObject = pUserData->pOwner; - - switch (pUserData->eKind) - { - case PHYSX_KIND::CCTActor: - { - switch (PXOBJECT(pUserData->iSubKind)) - { - case PXOBJECT::MONSTER: + HRESULT hr = CheckHit(&pxBuffer.block, tagCollInfo); + if (FAILED(hr)) { + PSX::PxSweepHit* hits = pxBuffer.touches; + _uint iHitCount = pxBuffer.getNbTouches(); + for (_uint i = 0; i < iHitCount; ++i) { + PSX::PxSweepHit* pHit = &pxBuffer.touches[i]; + hr = CheckHit(pHit, tagCollInfo); + if (SUCCEEDED(hr)) { break; - case PXOBJECT::GOBLIN_WARRIOR: - { - pUserData->pOwner->OnCollision(this, &tagCollInfo); - m_bHit = true; } - break; - case PXOBJECT::GOBLIN_MAGICIAN: - { - pUserData->pOwner->OnCollision(this, &tagCollInfo); - m_bHit = true; - } - break; - case PXOBJECT::GOBLIN_ASSASSIN: - { - pUserData->pOwner->OnCollision(this, &tagCollInfo); - m_bHit = true; - } - break; - case PXOBJECT::TROLL: - { - pUserData->pOwner->OnCollision(this, &tagCollInfo); - m_bHit = true; - } - break; - case PXOBJECT::RANROK_BODY: - case PXOBJECT::RANROK: - { - pUserData->pOwner->OnCollision(this, &tagCollInfo); - m_bHit = true; - } - break; - } - } } } } - - if (bHit == false) - { - memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position)); - memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal)); - XMStoreFloat4(&tagCollInfo.vHitDir, vDir); - tagCollInfo.fLength = fDistance; - tagCollInfo.pObject = this; - - bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eSTATIC, pxBuffer); - - const PSX::PxSweepHit& hit = pxBuffer.block; - PSX::PxRigidActor* pActor = hit.actor; - PSX::PxShape* pShape = hit.shape; - - tagCollInfo.vWorldPos.w = 1.f; - - if (bHit) - { - memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position)); - memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal)); - XMStoreFloat4(&tagCollInfo.vHitDir, vDir); - tagCollInfo.fLength = fDistance; - - if (nullptr != pActor && nullptr != pActor->userData) - { - PHYSX_USERDATA* pUserData = static_cast(pActor->userData); - tagCollInfo.pObject = pUserData->pOwner; - - switch (PXOBJECT(pUserData->iSubKind)) - { - case PXOBJECT::TERRAIN: - { - /* TODO, 터레인 안됨 */ - m_bHit = true; - break; - } - } - - } - } - - - } - return tagCollInfo; } +HRESULT CMapElement_Interactable::CheckHit(PSX::PxSweepHit* pHit, ON_COLLISION_INFO& Info) +{ + HRESULT hr = E_FAIL; + PSX::PxActor* pActor = pHit->actor; + PSX::PxShape* pShape = pHit->shape; + PHYSX_USERDATA* pUserData = { nullptr }; + CGameObject* pTarget = { nullptr }; + if (nullptr != pActor && nullptr != pActor->userData || nullptr != pShape && nullptr != pShape->userData) { + pUserData = static_cast(pActor->userData); + if (nullptr == pUserData) { + pUserData = static_cast(pShape->userData); + } + switch (pUserData->eKind) + { + case PHYSX_KIND::BODY_STATIC: + case PHYSX_KIND::CCTActor: + { + switch (PXOBJECT(pUserData->iSubKind)) + { + case PXOBJECT::TERRAIN: + case PXOBJECT::GOBLIN_WARRIOR: + case PXOBJECT::GOBLIN_MAGICIAN: + case PXOBJECT::GOBLIN_ASSASSIN: + case PXOBJECT::TROLL: + case PXOBJECT::RANROK_BODY: + case PXOBJECT::RANROK: + { + hr = S_OK; + m_bHit = true; + } break; + default: + break; + } + } break; + default: + break; + } + } + if (SUCCEEDED(hr)) { + memcpy_s(&Info.vWorldPos, sizeof(Info.vWorldPos), &pHit->position, sizeof(pHit->position)); + memcpy_s(&Info.vWorldNomal, sizeof(Info.vWorldNomal), &pHit->normal, sizeof(pHit->normal)); + Info.fLength = pHit->distance; + Info.pObject = pUserData->pOwner; + Info.pObject->OnCollision(this, &Info); + } + return hr; +} + CMapElement_Interactable* CMapElement_Interactable::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { CMapElement_Interactable* pInstance = new CMapElement_Interactable(pDevice, pContext); diff --git a/Jusin154_Team3D/Client/Private/MapInfo.cpp b/Jusin154_Team3D/Client/Private/MapInfo.cpp index 074e2c48a..c2d973f48 100644 --- a/Jusin154_Team3D/Client/Private/MapInfo.cpp +++ b/Jusin154_Team3D/Client/Private/MapInfo.cpp @@ -92,6 +92,7 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName, const _wchar* pLayerTa /* Container */ for (auto* Container = root->FirstChildElement("Container"); Container; Container = Container->NextSiblingElement("Container")) { + _bool hasCollisionMesh = false; const _char* pName = {}; _uint iMapContainerType = {}; Container->QueryUnsignedAttribute("MapContainerType", &iMapContainerType); @@ -108,11 +109,16 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName, const _wchar* pLayerTa { Load_StreetContainer(Container, &pContainerObject, pLayerTag); } + else if (2 == iMapContainerType) + { + hasCollisionMesh = true; + Load_BuildingContainer(Container, &pContainerObject, pLayerTag); + } else { return E_FAIL; } - if (FAILED(Load_MapRenderObjects(Container, pContainerObject, pLayerTag))){ + if (FAILED(Load_MapRenderObjects(Container, pContainerObject, pLayerTag, hasCollisionMesh))){ return E_FAIL; } @@ -172,7 +178,7 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName, const _wchar* pLayerTa return S_OK; } -HRESULT CMapInfo::Load_MapRenderObjects(tinyxml2::XMLElement* Container, CMapContainer* pContainerObject, const _wchar* pLayerTag) +HRESULT CMapInfo::Load_MapRenderObjects(tinyxml2::XMLElement* Container, CMapContainer* pContainerObject, const _wchar* pLayerTag, _bool hasCollisionMesh) { #pragma region ADD_PARTOBJECT for (auto* PartObject = Container->FirstChildElement("PartObject"); PartObject; PartObject = PartObject->NextSiblingElement("PartObject")) @@ -192,7 +198,7 @@ HRESULT CMapInfo::Load_MapRenderObjects(tinyxml2::XMLElement* Container, CMapCon Desc.ModelPrototypeTags.push_back(CMyTools::ToWstring(strTag)); } - + Desc.hasCollisionMesh = hasCollisionMesh; Desc.iMaxLodLevel = iLodLevel; Desc.pParentTransform = pContainerObject->Get_Component(); const string strKey = CMyTools::ToString(Desc.ModelPrototypeTags.front()) + to_string(iKeyIndex); diff --git a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp index 985e44d08..8e9c8d0f3 100644 --- a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp +++ b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp @@ -30,7 +30,7 @@ HRESULT CMapObject_Render::Initialize(void* pArg) //m_Type = static_cast(pDesc->iRenderType); m_iMaxLodLevel = pDesc->iMaxLodLevel; - + m_hasCollisionMesh = pDesc->hasCollisionMesh; for (_uint i = 0; i < m_iMaxLodLevel + 1; i++) { m_ModelPrototypeTags.push_back(pDesc->ModelPrototypeTags[i]); @@ -60,8 +60,11 @@ HRESULT CMapObject_Render::Initialize(void* pArg) _matrix ColliderMatrix = XMMatrixTranslation(vOffset.x, vOffset.y, vOffset.z) * XMLoadFloat4x4(&m_CombinedWorldMatrix); XMStoreFloat4(&m_vExtentPosition, ColliderMatrix.r[3]); - ReadyForPhysX(); - ConvertToPhysX(); + if(false == m_hasCollisionMesh) + { + ReadyForPhysX(); + ConvertToPhysX(); + } return S_OK; } @@ -86,6 +89,10 @@ void CMapObject_Render::Late_Update(_float fTimeDelta) m_iNumMeshe = m_pModelComs[m_iLodIndex]->Get_NumMeshes(); m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); +#ifdef Bin + m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); + m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +#endif // Bin } } diff --git a/Jusin154_Team3D/Client/Private/NPCInteraction.cpp b/Jusin154_Team3D/Client/Private/NPCInteraction.cpp index 835ea50ff..e3f09a8b8 100644 --- a/Jusin154_Team3D/Client/Private/NPCInteraction.cpp +++ b/Jusin154_Team3D/Client/Private/NPCInteraction.cpp @@ -196,7 +196,6 @@ void CNPCInteraction::Priority_Update(_float fTimeDelta) m_fFontSize = 0; m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&m_pBoxInfo.fPosition)); } - } void CNPCInteraction::Update(_float fTimeDelta) diff --git a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp index 826dd40ea..f3c8c8549 100644 --- a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp +++ b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp @@ -38,7 +38,9 @@ HRESULT CNPC_EleazarFig::Initialize(void* pArg) m_pCharacter_Controller->Set_Position(vPos); m_pTransformCom->Rotation(XMLoadFloat4(&pDesc->vRotQ)); - m_pModelCom->Set_AnimationIndex(0, true); + _int iRandom = m_pGameInstance->Real_Random_Int(0, 12); + m_pModelCom->Set_AnimationIndex(iRandom, false, 1.f, false, 1.f, false); + m_pCallBack_Behavior->Initialize(m_pCharacter_Controller); m_pCallBack_HitReport->Initialize(m_pCharacter_Controller); m_bNpc = true; @@ -58,8 +60,6 @@ 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); @@ -356,6 +356,7 @@ void CNPC_EleazarFig::Free() void CNPC_EleazarFig::Describe_Entity() { + m_pTransformCom->Describe_Entity(); } #endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 2e065dc41..11b9d3c00 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; // 디버그 무적 모드 @@ -127,6 +127,8 @@ HRESULT CPlayer::Initialize(void* pArg) m_fRayDistance = 5.f; m_pModelCom->Set_DisableRootMotionScale(true); + Ready_Sound_Events("../Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml"); + return S_OK; } @@ -145,7 +147,6 @@ void CPlayer::Update(_float fTimeDelta) Update_CameraCoordinateSystem(fTimeDelta); UpdateGrapInteractive(fTimeDelta); Update_RaycastElements(); - m_pFSM->Update_State(fTimeDelta); Play_SpellHitAnim(); @@ -442,6 +443,11 @@ void CPlayer::ExitBattle() m_pCharacter_Controller->Set_Position(XMLoadFloat4(&m_OriginPos)); } +void CPlayer::Add_TurboBoost(_float fAmount) +{ + m_pBroom->Add_TurboBoost(fAmount); +} + HRESULT CPlayer::Render_Shadow(SHADOW eType) { if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) { @@ -579,6 +585,9 @@ void CPlayer::Trigger(CTimeSocket& Socket) m_pModelCom->Set_AnimationIndex(m_Animation[STATEANIM::SPAWN].first, m_Animation[STATEANIM::SPAWN].second); } } + else if (pContents->vFlags.b[2]) { + m_pFSM->Change_State(FSMSTATE::DODGE); + } } break; case TIMESOCKET_FUNC::BIND_SOCKET_MATRIX: { diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index bf448e6b9..ff87b6fcf 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -67,10 +67,7 @@ void CPlayer::Get_UIState(_int UIState) HRESULT CPlayer::InputAction() { - if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) && - m_eUIState !=ENUM_CLASS(UI_STATE::QUEST) && - m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) && - m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) + if (IsInputLocked()) { if ( m_pGameInstance->Key_Down(DIK_SPACE) @@ -116,11 +113,7 @@ HRESULT CPlayer::InputAction() HRESULT CPlayer::InputMove() { - if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) && - m_eUIState != ENUM_CLASS(UI_STATE::QUEST) && - m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) && - !m_bDuel_ZOnlyMove && - m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) + if (IsInputLocked() && !m_bDuel_ZOnlyMove) { if (m_pGameInstance->Key_Pressing(DIK_W) || m_pGameInstance->Key_Pressing(DIK_A) @@ -136,11 +129,7 @@ HRESULT CPlayer::InputMove() HRESULT CPlayer::InputKeyUpMove() { - if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) && - m_eUIState != ENUM_CLASS(UI_STATE::QUEST) && - m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) && - !m_bDuel_ZOnlyMove && - m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) + if (IsInputLocked() && !m_bDuel_ZOnlyMove) { if (m_pGameInstance->Key_Up(DIK_W) || m_pGameInstance->Key_Up(DIK_A) @@ -155,10 +144,7 @@ HRESULT CPlayer::InputKeyUpMove() HRESULT CPlayer::InputSpell() { - if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) && - m_eUIState != ENUM_CLASS(UI_STATE::QUEST) && - m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) && - m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) { + if (IsInputLocked()) { if ( m_pGameInstance->Key_Down(DIK_1) || m_pGameInstance->Key_Down(DIK_2) @@ -180,10 +166,7 @@ HRESULT CPlayer::InputSpell() HRESULT CPlayer::InputAim() { - if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) && - m_eUIState != ENUM_CLASS(UI_STATE::QUEST) && - m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) && - m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) { + if (IsInputLocked()) { if (m_pGameInstance->Mouse_Pressing(DIM_RBUTTON) || m_pGameInstance->Mouse_Pressing(DIM_LBUTTON)) { @@ -253,6 +236,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); @@ -941,6 +927,14 @@ void CPlayer::Behavior_BlinkEnter() m_pEffectPool->Use_Skill(SKILL_TYPE::BLINK, this); }, 0.1f); + + Add_Sound_Event(m_Animation[STATEANIM::DODGE].first, + [this]() { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BLINK_2, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + }, + 0.01f); + + } HRESULT CPlayer::Behavior_BlinkExitCheck(_float fTimeDelta) @@ -1300,6 +1294,13 @@ HRESULT CPlayer::Behavior_LightAttackExitCheck(_float fTimeDelta) pair<_uint, _bool> pairAnimInfo; _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + + if (m_pBroom->Get_Ride()) + { + m_pFSM->Change_State(FSMSTATE::BROOM_RIDE); + return E_FAIL; + } + if (m_pGameInstance->Mouse_Down(DIM_LBUTTON)) { _uint iCurr = m_pModelCom->Get_AnimIndex(); @@ -1356,16 +1357,15 @@ HRESULT CPlayer::Behavior_LightAttackExitCheck(_float fTimeDelta) m_pFSM->Change_State(FSMSTATE::COMBAT); return E_FAIL; } - - if (SUCCEEDED(InputSpell())) + if (fRatio >= 0.1f) { - if (fRatio >= 0.1f) + if (SUCCEEDED(InputSpell())) { m_pFSM->Change_State(FSMSTATE::COMBAT); return E_FAIL; + } } - if (iCurrAnimIndex == m_Animation[STATEANIM::LIGHT_ATTACK].first+3) { if (SUCCEEDED(InputAction())) @@ -1641,6 +1641,7 @@ void CPlayer::Behavior_SpellExit() m_pInfoInstance->Set_SearchLockOnFlag(true); m_pModelCom->Set_BlendDuration(0.3f); Reset_Event(); + m_pGameInstance->Sound_Stop(SOUND::SD_KIND::SP_BOMBARD_36, SD_CHANNEL_GROUP::EFFECT); m_bLookAt = false; m_bSpellHit = false; m_bStartSpellAnim = false; @@ -1715,6 +1716,34 @@ void CPlayer::Behavior_ShieldEnter() Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::PROTEGO, this); }, 0.1f); + + Add_Sound_Event(pairAnimInfo.first, + [this]() {m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_PROTEGO, SD_CHANNEL_GROUP::VOICE, false, 0.7f); }, + 0.01f); + + Add_Sound_Event(pairAnimInfo.first, + [this]() { + _int iRand = m_pGameInstance->Real_Random_Int(0, 4); + switch (iRand) + { + case 0: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_4, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + break; + case 1: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_8, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + break; + case 2: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_13, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + break; + case 3: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_22, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + break; + case 4: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_30, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + break; + } + }, + 0.1f); } HRESULT CPlayer::Behavior_ShieldExitCheck(_float fTimeDelta) @@ -1945,10 +1974,13 @@ void CPlayer::Behavior_ParryEnter() } Add_Event(pairAnimInfo.first, - [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject()); - m_pGameInstance->SlowMotion(0.4f, 0.2f); }, + [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY_SIDE, Get_PartObject()); + m_pGameInstance->SlowMotion(0.4f, 0.2f); }, 0.01f); + Add_Sound_Event(pairAnimInfo.first, + [this]() {m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_STUPEFY, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);}, + 0.01f); Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY, this); }, @@ -2018,6 +2050,8 @@ void CPlayer::Behavior_HitEnter() } + m_pEffectPool->Use_Skill(SKILL_TYPE::SCREEN_HIT, this); + ProcessHitBehavior(); } @@ -2092,10 +2126,9 @@ void CPlayer::Behavior_Spell_LearningEnter() m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, false); Add_Event(pairAnimInfo.first, [this]() {pair<_uint, _bool> pairAnimInfo; - pairAnimInfo = m_Animation[STATEANIM::SPELL_LEARNING_WANDWAVE]; }, + pairAnimInfo = m_Animation[STATEANIM::SPELL_LEARNING_WANDWAVE]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, false); }, 0.95f); - - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, false); } HRESULT CPlayer::Behavior_Spell_LearningExitCheck(_float fTimeDelta) @@ -2127,6 +2160,7 @@ void CPlayer::Behavior_Broom_RideEnter() { m_pFSM->Enable_State(FSMSTATE::BROOM_RIDE); m_pBroom->Set_Ride(true); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_RIDE, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); pair<_uint, _bool> pairAnimInfo; pairAnimInfo = m_Animation[STATEANIM::BROOM_MOUNT]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); @@ -2350,6 +2384,7 @@ void CPlayer::Behavior_Broom_HoverExit() void CPlayer::Behavior_Broom_FlyEnter() { m_pFSM->Enable_State(FSMSTATE::FLY); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_NORMAL, SD_CHANNEL_GROUP::EFFECT, true, 0.7f); Reset_Event(); } @@ -2523,6 +2558,8 @@ void CPlayer::Behavior_Broom_FlyExit() void CPlayer::Behavior_Broom_TurboFlyEnter() { m_pFSM->Enable_State(FSMSTATE::TURBOFLY); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_BOOST, SD_CHANNEL_GROUP::EFFECT, true, 0.7f); + } HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta) @@ -2656,6 +2693,7 @@ HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta) void CPlayer::Behavior_Broom_TurboFlyExit() { m_pFSM->Disable_State(FSMSTATE::TURBOFLY); + m_pGameInstance->Sound_Stop(SOUND::SD_KIND::BROOM_BOOST, SD_CHANNEL_GROUP::EFFECT); Reset_Event(); } @@ -2663,6 +2701,7 @@ void CPlayer::Behavior_Broom_DismountEnter() { pair<_uint, _bool> pairAnimInfo; m_bOnce = false; + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_DOWN, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); m_pInfoInstance->Event_CallBack(TEXT("BroomRide"), &m_bOnce); pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_DISMOUNT); m_pFSM->Enable_State(FSMSTATE::BROOM_DISMOUNT); @@ -2958,6 +2997,19 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) Add_Event(AnimIndex, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject()); }, 0.f); + + Add_Sound_Event(AnimIndex, + [this]() { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_BOMBARDA, SD_CHANNEL_GROUP::VOICE, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_36, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);}, + 0.01f); + + Add_Sound_Event(AnimIndex, + [this]() { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_9, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); }, + 0.3f); + + Info.pText = TEXT("봄바르다!"); m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info); break; @@ -2970,6 +3022,16 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) Add_Event(AnimIndex, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::DESCENDO_SIDE, Get_PartObject()); }, 0.f); + + Add_Sound_Event(AnimIndex, + [this]() { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_DECENDO, SD_CHANNEL_GROUP::VOICE, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_DECENDO_0, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_DECENDO_5, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_DECENDO_6, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); }, + 0.01f); + + Info.pText = TEXT("디센도!"); m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info); break; @@ -2982,6 +3044,13 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) Add_Event(AnimIndex, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO_SIDE, Get_PartObject()); }, 0.f); + + Add_Sound_Event(AnimIndex, + [this]() { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_LEVIOSO, SD_CHANNEL_GROUP::VOICE, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_LEVIOSA_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); }, + 0.01f); + Info.pText = TEXT("레비오소!"); m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info); break; @@ -2995,6 +3064,17 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) Add_Event(AnimIndex, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::ACCIO_SIDE, Get_PartObject()); }, 0.f); + + Add_Sound_Event(AnimIndex, + [this]() { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_ACCIO_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); }, + 0.01f); + + Add_Sound_Event(AnimIndex, + [this]() { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_ACCIO_15, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); }, + 0.26f); + Info.pText = TEXT("아씨오!"); m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info); break; @@ -3078,6 +3158,13 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LUMOS, Get_PartObject()); }, 0.f); + + Add_Sound_Event(pairAnimInfo.first, + [this]() { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_LUMOS, SD_CHANNEL_GROUP::VOICE, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_LUMOS_0, SD_CHANNEL_GROUP::EFFECT, false, 0.1f); }, + 0.01f); + Info.pText = TEXT("루모스!"); m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info); m_pModelCom->Set_Second_AnimationIndex(ENUM_CLASS(BLEND_BONE::SHOULDER_R), m_Animation[STATEANIM::LUMOS].first, m_Animation[STATEANIM::LUMOS].second); @@ -3130,6 +3217,7 @@ void CPlayer::Play_SpellHitAnim() case ENUM_CLASS(SKILL_TYPE::DESCENDO): pairAnimInfo = m_Animation[STATEANIM::DESCENDO]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_DECENDO_7, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); break; } m_pFSM->Change_State(FSMSTATE::SPELL); @@ -3180,6 +3268,19 @@ void CPlayer::Hit_Levioso(_float fTimeDelta) } } +_bool CPlayer::IsInputLocked() +{ + if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) && + m_eUIState != ENUM_CLASS(UI_STATE::QUEST) && + m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) && + m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) + { + return true; + } + + return false; +} + void CPlayer::Add_FSM() { #pragma region Behavior_Movement_NotFocus 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/Protego.cpp b/Jusin154_Team3D/Client/Private/Protego.cpp index bce139a3f..6c2dcab10 100644 --- a/Jusin154_Team3D/Client/Private/Protego.cpp +++ b/Jusin154_Team3D/Client/Private/Protego.cpp @@ -198,6 +198,8 @@ void CProtego::OnCollision(CGameObject* pOther, void* pDesc) dynamic_cast(m_pOwner)->Set_Shield(true); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object() ->Use_Skill(SKILL_TYPE::PROTEGO_HIT, m_pOwner, &CollisionDesc->vWorldPos); diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp index 37f3eb6a8..646ba28a8 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp @@ -84,6 +84,11 @@ HRESULT CRanrok::Initialize(void* pArg) m_pTransformCom->Compress_WorldMatrix(m_vInitialTrans, m_vInitialRotQ); #endif // _DEBUG + m_fRimStrength = 2.3f; + m_fRimPower = 2.3f; + m_vRimColor = _float4(0.333f, 0.235f, 0.184f, 0.059f); + + return S_OK; } @@ -117,6 +122,7 @@ void CRanrok::Update(_float fTimeDelta) m_pFSM->Update_State(fTimeDelta); Update_CollidersPosition(); + if (m_bMotionTrail) { m_vCaptureTimer.x += fTimeDelta; if (m_vCaptureTimer.y < m_vCaptureTimer.x) { @@ -172,7 +178,7 @@ void CRanrok::Update(_float fTimeDelta) Update_Disolve(fTimeDelta, 0.8f); - + m_pMotionTrailCom->Update_Capture(fTimeDelta); #pragma region TRAIL_UPDATE @@ -213,12 +219,12 @@ void CRanrok::Update(_float fTimeDelta) 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); + PROPUI Prop{}; + XMStoreFloat4(&Prop.vPosition, pEffect->Get_WorldPostion()); + Prop.iIndex = m_iRanRok_PropIndex; + m_pInfoInstance->Event_CallBack(TEXT("RANROKPROP"), &Prop); + } } @@ -293,7 +299,7 @@ HRESULT CRanrok::Render() hr = Render_Nonblend(); } else if (RENDER::BLEND == eCurrentPass) { - //hr = Render_Blend(); + hr = Render_Blend(); hr = S_OK; } #ifdef _DEBUG @@ -375,6 +381,19 @@ void CRanrok::Trigger(CTimeSocket& Socket) HRESULT CRanrok::Render_MotionTrail(ID3D11ShaderResourceView* pSRV) { + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimStrength", &m_fRimStrength, 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; + + 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(), @@ -384,9 +403,10 @@ HRESULT CRanrok::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); @@ -809,13 +829,6 @@ HRESULT CRanrok::Render_Nonblend() m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float)); } -#ifndef 진우 - if (m_bMotionTrail) { - if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) { - return E_FAIL; - } - } -#endif return S_OK; } @@ -856,6 +869,18 @@ HRESULT CRanrok::Render_Blend() return E_FAIL; } } + + if (m_bMotionTrail) { + + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + + if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) { + return E_FAIL; + } + } + return S_OK; } HRESULT CRanrok::Render_OutLine() @@ -1118,6 +1143,14 @@ void CRanrok::Describe_Entity() GUI::Text("Degree %.2f", m_fDegree); GUI::Text("CurrFlow %d", m_iCurrentFlow); + + 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(); + _float3 Pos; XMStoreFloat3(&Pos, Get_WorldPostion()); diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Charge.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Charge.cpp index eae3e2e01..cc969ef6e 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_Charge.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_Charge.cpp @@ -100,7 +100,7 @@ HRESULT CRanrok_Charge::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화*/ - _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition(); pCharge_Goo->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); diff --git a/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp b/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp index 9fb2039a4..d78e14719 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp @@ -106,7 +106,7 @@ HRESULT CRanrok_GroundPulse::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화*/ - _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition(); pRed_Sphere->Get_Component()->Set_WorldMatrix(m_pOwner->Get_Component()->Get_XMWorldMatrix()); pRed_Sphere->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp index 85c96f06d..db61fec5d 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp @@ -5,6 +5,8 @@ #include "EffectParts.h" #include "InfoInstance.h" #include "Player.h" +#include "EffectPool.h" +#include "Layer.h" CRanrok_Prop::CRanrok_Prop(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CEffect_Container{ pDevice, pContext } @@ -44,7 +46,6 @@ HRESULT CRanrok_Prop::Initialize(void* pArg) m_pSphere = Get_PartObject("Sphere"); m_pSphereLay = Get_PartObject("Sphere_Noise"); m_pSphereHitLay = Get_PartObject("HitLay"); - m_pRing = Get_PartObject("Ring"); SAFE_ADDREF(m_pSphere); @@ -182,6 +183,7 @@ HRESULT CRanrok_Prop::Pre_Setting(CGameObject* pObject, void* pArg) m_pSphere->Set_Visible(true); m_pSphereLay->Set_Visible(true); m_pRing->Set_Visible(true); + pAppear_PT->Set_Visible(true); pSpline->Set_Visible(true); @@ -269,23 +271,16 @@ void CRanrok_Prop::OnCollision(CGameObject* pOther, void* pDesc) if (m_fHp > 0) { - CEffectParts* pHitLay = Get_PartObject("HitLay"); - CEffectParts* pHit_PT = Get_PartObject("Hit_PT"); - CEffectParts* pPulse_Purple = Get_PartObject("Pulse_Purple"); - - pHitLay->Set_Visible(true); - pHit_PT->Set_Visible(true); - pPulse_Purple->Set_Visible(true); - - pHitLay->Get_Component()->Instane_Buffer_ReStruct(); - pHit_PT->Get_Component()->Instane_Buffer_ReStruct(); - pPulse_Purple->Get_Component()->Instane_Buffer_ReStruct(); + m_pSphereHitLay->Set_Visible(true); + m_pSphereHitLay->Get_Component()->Instane_Buffer_ReStruct(); if (CollisionDesc != nullptr) { _vector vHitPos = XMLoadFloat4(&CollisionDesc->vWorldPos); - pHit_PT->Get_Component()->Set_State(STATE::POSITION, vHitPos); + + CEffectPool* pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object(); + pEffectPool->Use_Skill(SKILL_TYPE::RANROK_PROP_HIT, this, &CollisionDesc->vWorldPos); } } @@ -326,6 +321,8 @@ void CRanrok_Prop::Free() SAFE_RELEASE(m_pSphere); SAFE_RELEASE(m_pSphereLay); + + if (nullptr != m_pInfoInstance) { CInfoInstance* pInfo = m_pInfoInstance; pInfo->Deregist_ActiveEffect(this); diff --git a/Jusin154_Team3D/Client/Private/Ranrok_PropHit.cpp b/Jusin154_Team3D/Client/Private/Ranrok_PropHit.cpp new file mode 100644 index 000000000..ddd543f4f --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Ranrok_PropHit.cpp @@ -0,0 +1,186 @@ +#include "pch.h" +#include "Ranrok_PropHit.h" + +#include "GameInstance.h" +#include "EffectParts.h" +#include "Wand.h" +#include "Player.h" +#include "InfoInstance.h" + +CRanrok_PropHit::CRanrok_PropHit(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CRanrok_PropHit::CRanrok_PropHit(const CRanrok_PropHit& rhs) + : CEffect_Container(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ + SAFE_ADDREF(m_pInfoInstance); +} + +HRESULT CRanrok_PropHit::Initialize_Prototype() +{ + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPropHit"))) + return E_FAIL; + + return S_OK; + +} + +HRESULT CRanrok_PropHit::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + if (FAILED(Create_Effect())) + return E_FAIL; + + + m_wstrEffectName = L"RanrokPropHit"; + + + + m_fDuration = 5.f; + + + return S_OK; +} + +void CRanrok_PropHit::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CRanrok_PropHit::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + + + +} + +void CRanrok_PropHit::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CRanrok_PropHit::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + _float4 vHitPos = *static_cast<_float4*>(pArg); + + /* 초기 객체 비지블*/ + + CEffectParts* Hit_PT = Get_PartObject("Hit_PT"); + CEffectParts* pPulse_Purple = Get_PartObject("Pulse_Purple"); + + + Hit_PT->Set_Visible(true); + pPulse_Purple->Set_Visible(true); + + + /* 초기 객체 위치 초기화*/ + + _vector vHittingPos = XMLoadFloat4(&vHitPos); + _vector vOwnerPos = m_pOwner->Get_Component()->Get_State(STATE::POSITION); + + Hit_PT->Get_Component()->Set_State(STATE::POSITION, vHittingPos); + pPulse_Purple->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); + + return S_OK; +} + +HRESULT CRanrok_PropHit::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CRanrok_PropHit::Ready_Child() +{ + return S_OK; +} + +CRanrok_PropHit* CRanrok_PropHit::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CRanrok_PropHit* pInstance = new CRanrok_PropHit(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CRanrok_PropHit"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CRanrok_PropHit::Clone(void* pArg, CGameObject* pOwner) +{ + CRanrok_PropHit* pInstance = new CRanrok_PropHit(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CRanrok_PropHit"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CRanrok_PropHit::OnCollision(CGameObject* pOther, void* pDesc) +{ + if (m_bHit == false) + return; + + ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); + + _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + + +} + +void CRanrok_PropHit::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pInfoInstance); + + +} +#ifdef _DEBUG +void CRanrok_PropHit::Describe_Entity() +{ + +} +#endif + +HRESULT CRanrok_PropHit::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp index fb461f08f..bfd0e04df 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp @@ -106,7 +106,7 @@ HRESULT CRanrok_Pulse::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화*/ - _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition(); pRed_Sphere->Get_Component()->Set_WorldMatrix(m_pOwner->Get_Component()->Get_XMWorldMatrix()); pRed_Sphere->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp index fcf859a54..1e87b6306 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp @@ -662,7 +662,7 @@ void CRanrok::Behavior_SwipeEnter() [this]() { m_bMotionTrail = false; }, - 0.6f); + 0.5f); m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); diff --git a/Jusin154_Team3D/Client/Private/Spell_Overlay.cpp b/Jusin154_Team3D/Client/Private/Spell_Overlay.cpp index 84dcb971e..ee8334f5e 100644 --- a/Jusin154_Team3D/Client/Private/Spell_Overlay.cpp +++ b/Jusin154_Team3D/Client/Private/Spell_Overlay.cpp @@ -139,6 +139,11 @@ void CSpell_Overlay::Use_Spell() m_pInfoInstance->Event_CallBack(TEXT("UseSpell"), &Spell); } } + else + { + _int Spell = 0; + m_pInfoInstance->Event_CallBack(TEXT("UseSpell"), &Spell); + } } diff --git a/Jusin154_Team3D/Client/Private/Stupefy.cpp b/Jusin154_Team3D/Client/Private/Stupefy.cpp index a07cfb09e..75a9bf618 100644 --- a/Jusin154_Team3D/Client/Private/Stupefy.cpp +++ b/Jusin154_Team3D/Client/Private/Stupefy.cpp @@ -193,8 +193,6 @@ HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg) m_pProjectile2->Get_Component()->Set_WorldMatrix(PJ_WorldMat); - m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_STUPEFY, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); - return S_OK; } 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/Terrain.cpp b/Jusin154_Team3D/Client/Private/Terrain.cpp index 551c6334e..cb0a8599d 100644 --- a/Jusin154_Team3D/Client/Private/Terrain.cpp +++ b/Jusin154_Team3D/Client/Private/Terrain.cpp @@ -57,23 +57,21 @@ void CTerrain::Priority_Update(_float fTimeDelta) void CTerrain::Update(_float fTimeDelta) { -#ifdef _DEBUG - Describe_Entity(); -#endif // _DEBUG - } void CTerrain::Late_Update(_float fTimeDelta) { //if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); +#ifdef Bin + m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); + m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +#endif // Bin //} } HRESULT CTerrain::Render() { - if (false == m_bVisible) - return S_OK; if (FAILED(Bind_ShaderResources())) { return E_FAIL; } @@ -101,8 +99,6 @@ HRESULT CTerrain::Render() HRESULT CTerrain::Render_Shadow(SHADOW eType) { - if (false == m_bVisible) - return S_OK; if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { return E_FAIL; } @@ -252,24 +248,24 @@ void CTerrain::Free() #ifdef _DEBUG void CTerrain::Describe_Entity() { - GUI::Begin("Renderer", 0, IMGUI_GLOBAL_BEGIN_FLAG); - GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH); - size_t iIndex = (size_t)this; + //GUI::Begin("Renderer", 0, IMGUI_GLOBAL_BEGIN_FLAG); + //GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH); + //size_t iIndex = (size_t)this; - - _string strTag = "Terrain_" + to_string((size_t)iIndex); - if (GUI::CollapsingHeader(strTag.c_str())) - { - static _int iTuningValue = 16; - GUI::DragInt("DSN1", (_int*)&iTuningValue, 1, 1024); - GUI::DragInt("DSN2", (_int*)&iTuningValue, 1, 1024); - GUI::DragInt("DSN3", (_int*)&iTuningValue, 1, 1024); - m_vDRN.x = 1.f / (_float)iTuningValue; - m_vDRN.y = 1.f / (_float)iTuningValue; - m_vDRN.z = 1.f / (_float)iTuningValue; - GUI::PopItemWidth(); - GUI::Checkbox("Visible", &m_bVisible); - } - GUI::End(); + // + //_string strTag = "Terrain_" + to_string((size_t)iIndex); + //if (GUI::CollapsingHeader(strTag.c_str())) + //{ + // static _int iTuningValue = 16; + // GUI::DragInt("DSN1", (_int*)&iTuningValue, 1, 1024); + // GUI::DragInt("DSN2", (_int*)&iTuningValue, 1, 1024); + // GUI::DragInt("DSN3", (_int*)&iTuningValue, 1, 1024); + // m_vDRN.x = 1.f / (_float)iTuningValue; + // m_vDRN.y = 1.f / (_float)iTuningValue; + // m_vDRN.z = 1.f / (_float)iTuningValue; + // GUI::PopItemWidth(); + // GUI::Checkbox("Visible", &m_bVisible); + //} + //GUI::End(); } #endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Transformation.cpp b/Jusin154_Team3D/Client/Private/Transformation.cpp index 38e694493..a3887601e 100644 --- a/Jusin154_Team3D/Client/Private/Transformation.cpp +++ b/Jusin154_Team3D/Client/Private/Transformation.cpp @@ -253,13 +253,29 @@ void CTransformation::OnCollision(CGameObject* pOther, void* pDesc) { return; } + default: + break; } } + default: + break; } + { + _vector vHeadPosition = pCCT->Get_HeadPosition(); + m_pInfoInstance->ActiveAt_Interactive(XMVectorSetY(vHeadPosition, vCCTPos.y += pCCT->Get_Height())); - m_pInfoInstance->ActiveAt_Interactive(XMLoadFloat4(&vCCTPos)); - - CollisionDesc.pObject->Set_Visible(false); + _float fMinusPosition = m_pGameInstance->Real_Random_Float(100, 900); + _vector vTempPos = XMVectorSet(0.f, -fMinusPosition, 0.f, 1.f); + CollisionDesc.pObject->Get_Component()->Set_State(STATE::POSITION, vTempPos); + pCCT->Set_Position(vTempPos); + CFSM* pFSM = CollisionDesc.pObject->Get_Component(); + if (nullptr != pFSM) { + CollisionDesc.pObject->Set_Dead(); + } + else { + pFSM->Set_State(FSMSTATE::DEAD); + } + } //m_pTransformCom->Set_WorldMatrix(CollisionDesc.pObject->Get_Component()->Get_Actor()->getGlobalPose()); diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp index d45b069d0..6cdb56ab1 100644 --- a/Jusin154_Team3D/Client/Private/Troll.cpp +++ b/Jusin154_Team3D/Client/Private/Troll.cpp @@ -454,6 +454,10 @@ void CTroll::Trigger(CTimeSocket& Socket) { if (pContents->vFlags.b[0]){ m_pFSM->Change_State(FSMSTATE::RUSH); + } else if (pContents->vFlags.b[1]) { + m_pFSM->Change_State(FSMSTATE::SLAM); + }else if (pContents->vFlags.b[2]) { + m_pFSM->Change_State(FSMSTATE::IDLE); } } break; case TIMESOCKET_FUNC::SET_ANIMSTATE: @@ -461,6 +465,21 @@ void CTroll::Trigger(CTimeSocket& Socket) if (pContents->vFlags.b[0]){ auto& pairAnimation = m_Animation[STATEANIM::RUSH_LOOP]; m_pModelCom->Set_AnimationIndex(pairAnimation.first, pairAnimation.second); + } else if (pContents->vFlags.b[1]) { + auto& pairAnimation = m_Animation[STATEANIM::SLAM]; + m_pModelCom->Set_AnimationIndex(pairAnimation.first, pairAnimation.second); + } else if (pContents->vFlags.b[2]) { + auto& pairAnimation = m_Animation[STATEANIM::IDLE]; + m_pModelCom->Set_AnimationIndex(pairAnimation.first, pairAnimation.second); + } + } break; + case TIMESOCKET_FUNC::LOOK_AT: + { + if (pContents->vFlags.b[0]) { + m_pTransformCom->LookAt_Horizontal(XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f)); + } + else { + m_pTransformCom->LookAt_Horizontal(pContents->pOtherTarget->Get_WorldPostion()); } } break; case TIMESOCKET_FUNC::END_CINEMATIC: @@ -743,6 +762,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 c0215355b..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); @@ -822,10 +821,6 @@ HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta) m_fDeadRatio += fTimeDelta / 3.f; m_fDeadRatio = min(1.f, m_fDeadRatio); } - else - { - m_fDeadRatio = 0.f; - } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp index 5d9875053..298f87747 100644 --- a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp @@ -125,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; } diff --git a/Jusin154_Team3D/Client/Public/Broom.h b/Jusin154_Team3D/Client/Public/Broom.h index 12f7a934b..1e96134df 100644 --- a/Jusin154_Team3D/Client/Public/Broom.h +++ b/Jusin154_Team3D/Client/Public/Broom.h @@ -40,7 +40,7 @@ class CBroom final : public CUnit void Set_AISpeed(_float speedMul, _float accelMul); void Set_Move(_bool bMove) { m_bMove = bMove; } _bool Get_Move() { return m_bMove; } - void Add_TurboBoost(_float fAmount) { m_fTurboBoost += fAmount; } + void Add_TurboBoost(_float fAmount); _float Get_TurboBoost() { return m_fTurboBoost; } HRESULT Ready_Child(); @@ -69,6 +69,9 @@ class CBroom final : public CUnit _float m_fVerticalSpeed = 0.f; _float m_fTurboBoost = {5.f}; _float m_fTurboBoostChargeDelay = {}; + _float m_fInputHoldTime = 0.f; + _float m_fHoldThreshold = 0.5f; + _float m_fFlyAccel = 1.f; _float m_fFlyDecel = 1.f; diff --git a/Jusin154_Team3D/Client/Public/BroomRaceManager.h b/Jusin154_Team3D/Client/Public/BroomRaceManager.h index fbb2b7251..811c03d95 100644 --- a/Jusin154_Team3D/Client/Public/BroomRaceManager.h +++ b/Jusin154_Team3D/Client/Public/BroomRaceManager.h @@ -44,6 +44,7 @@ class CBroomRaceManager final : public CGameObject HRESULT Load_RaceRing(); HRESULT Load_Balloons(); + HRESULT Load_Broomrace_Effect(); private: CInfoInstance* m_pInfoInstance = { nullptr }; diff --git a/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h b/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h new file mode 100644 index 000000000..6102b3aa6 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h @@ -0,0 +1,55 @@ +#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; + + void CollisionCheck(_fvector StartPos, _fvector EndPos, _float fRadius); + +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/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h index 66ecd2cc0..a31d85afb 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, @@ -86,7 +86,7 @@ namespace Client /*란록*/ RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_HIT , RANROK_IMPACT, RANROK_LAND, RANROK_RUSH_BOTTOM, - RANROK_GROUNDPULSE, RANROK_SWIPE , RANROK_DEAD_SPLASH, RANROK_DEAD_IMPACT, RANROK_PROP, + RANROK_GROUNDPULSE, RANROK_SWIPE , RANROK_DEAD_SPLASH, RANROK_DEAD_IMPACT, RANROK_PROP, RANROK_PROP_HIT, /*듀얼리스트*/ DUELIST_JAP, DUELIST_JAPSIDE , DUELIST_LEVIOSO, DUELIST_PROTEGO, diff --git a/Jusin154_Team3D/Client/Public/CutSceneInfo.h b/Jusin154_Team3D/Client/Public/CutSceneInfo.h index c046f9424..24ba1473e 100644 --- a/Jusin154_Team3D/Client/Public/CutSceneInfo.h +++ b/Jusin154_Team3D/Client/Public/CutSceneInfo.h @@ -25,7 +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(); + HRESULT Clear_AllEvents(); private: CGameInstance* m_pGameInstance = { nullptr }; class CInfoInstance* m_pInfoInstance = { nullptr }; @@ -40,6 +40,7 @@ class CCutSceneInfo final : public CBase void Update_WaitEvents(_float fTimeDelta); HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex); void Load_CutSceneXML(const string& path); + void Set_AllActiveEventsExit(); #ifdef _DEBUG public: diff --git a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h index ed93bbaa8..309746ee8 100644 --- a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h +++ b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h @@ -84,8 +84,8 @@ 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 = {}; @@ -98,7 +98,11 @@ class CGoblin_Assassin final : public CMonster _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/InstancedProp.h b/Jusin154_Team3D/Client/Public/InstancedProp.h index 460ed6b0e..f6d1a6d28 100644 --- a/Jusin154_Team3D/Client/Public/InstancedProp.h +++ b/Jusin154_Team3D/Client/Public/InstancedProp.h @@ -19,6 +19,7 @@ class CInstancedProp final : public CGameObject SHADER_PASS_WORLDMODLE_INSTANCE eShaderPass; _bool isShake; _bool bEnableRigidbody; + _bool isTree; _float2 vRadius; _float2 vSpeed; _wstring strPrototypeTag; @@ -38,6 +39,7 @@ class CInstancedProp final : public CGameObject private: _bool m_isShake = {}; + _bool m_isTree = {}; _uint m_iNumMesh = {}; _uint m_iNumInstacne = {}; SHADER_PASS_WORLDMODLE_INSTANCE m_eShaderPass = {}; 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/Light_Main.h b/Jusin154_Team3D/Client/Public/Light_Main.h index e030c53cd..cab84486f 100644 --- a/Jusin154_Team3D/Client/Public/Light_Main.h +++ b/Jusin154_Team3D/Client/Public/Light_Main.h @@ -29,6 +29,7 @@ class CLight_Main final : public CGameObject HRESULT Ready_Components(void* pArg); HRESULT Bind_ShaderResources(); _matrix Get_OffCenterProjMatrix(_fmatrix ViewMatrix, vector<_float3>& WorldPositions); + void Add_PreShadowRenderGroup(CLayer* pLayer); public: static CLight_Main* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/MapElement_Interactable.h b/Jusin154_Team3D/Client/Public/MapElement_Interactable.h index 9a8b9982f..67c48aa7f 100644 --- a/Jusin154_Team3D/Client/Public/MapElement_Interactable.h +++ b/Jusin154_Team3D/Client/Public/MapElement_Interactable.h @@ -62,6 +62,7 @@ class CMapElement_Interactable final : public CMapElement virtual HRESULT Initialize(void* pArg) override; virtual HRESULT Ready_Components(void* pArg) override; virtual HRESULT Bind_ShaderResources() override; + HRESULT CheckHit(PSX::PxSweepHit* pHit, ON_COLLISION_INFO& Info); public: static CMapElement_Interactable* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/MapInfo.h b/Jusin154_Team3D/Client/Public/MapInfo.h index a349b95f9..42ffc523b 100644 --- a/Jusin154_Team3D/Client/Public/MapInfo.h +++ b/Jusin154_Team3D/Client/Public/MapInfo.h @@ -20,7 +20,7 @@ class CMapInfo final : public CBase public: HRESULT Load_MapObjects(const _char* pFilePath, const _wchar* pLayerTag); - HRESULT Load_MapRenderObjects(tinyxml2::XMLElement* Container, class CMapContainer* pContainerObject, const _wchar* pLayerTag); + HRESULT Load_MapRenderObjects(tinyxml2::XMLElement* Container, class CMapContainer* pContainerObject, const _wchar* pLayerTag, _bool hasCollisionMesh); HRESULT Load_LightElements(const _char* pFileName, const _wchar* pLayerTag); HRESULT Load_InteractableElements(const _char* pFileName, const _wchar* pLayerTag); diff --git a/Jusin154_Team3D/Client/Public/MapObject_Render.h b/Jusin154_Team3D/Client/Public/MapObject_Render.h index 35f91ed18..b02e6687b 100644 --- a/Jusin154_Team3D/Client/Public/MapObject_Render.h +++ b/Jusin154_Team3D/Client/Public/MapObject_Render.h @@ -32,6 +32,7 @@ class CMapObject_Render final : public CMapPartObject // Render PartObject HRESULT Add_LodModel(const _tchar* pModelPrototypeTag); private: + _bool m_hasCollisionMesh = {}; _bool m_bReadyToCreatePhysX = { false }; _bool m_bConverted = { false }; diff --git a/Jusin154_Team3D/Client/Public/MapPartObject.h b/Jusin154_Team3D/Client/Public/MapPartObject.h index 6cd557d1e..a0398fdd3 100644 --- a/Jusin154_Team3D/Client/Public/MapPartObject.h +++ b/Jusin154_Team3D/Client/Public/MapPartObject.h @@ -14,6 +14,7 @@ class CMapPartObject abstract : public CPartObject { public: typedef struct tagMapObject_Desc { + _bool hasCollisionMesh{}; _uint iRenderType{}; CTransform* pParentTransform = { nullptr }; _float3 vScale; diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h index fff24a592..ee204f874 100644 --- a/Jusin154_Team3D/Client/Public/Player.h +++ b/Jusin154_Team3D/Client/Public/Player.h @@ -59,6 +59,7 @@ class CPlayer final : public CUnit void Set_Interaction(_bool bInteraction); void ExitBattle(); void Set_OriginPos(_vector vPos) { XMStoreFloat4(&m_OriginPos, vPos); } + void Add_TurboBoost(_float fAmount); #ifdef _DEBUG void Render_CameraCoordinateSystem(); #endif // _DEBUG @@ -318,7 +319,7 @@ class CPlayer final : public CUnit void Hit_Levioso(_float fTimeDelta); #pragma endregion - + _bool IsInputLocked(); private: class CEffectPool* m_pEffectPool = nullptr; 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 ec727583a..9ed016f3e 100644 --- a/Jusin154_Team3D/Client/Public/Ranrok.h +++ b/Jusin154_Team3D/Client/Public/Ranrok.h @@ -131,7 +131,11 @@ class CRanrok final : public CMonster _int m_iHpPhase = { 0 }; - _float2 m_vCaptureTimer = { 0.f, 0.1f }; + _float2 m_vCaptureTimer = { 0.f, 0.05f }; + + _float m_fRimStrength = { 1.f }; + _float m_fRimPower = { 0.f }; + _float4 m_vRimColor = {}; class CEffect_Container* m_pRanrok_Point = { nullptr }; vector m_pRanrok_Props; diff --git a/Jusin154_Team3D/Client/Public/Ranrok_PropHit.h b/Jusin154_Team3D/Client/Public/Ranrok_PropHit.h new file mode 100644 index 000000000..3ed7870e6 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Ranrok_PropHit.h @@ -0,0 +1,58 @@ +#pragma once + +#include "Client_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Client) + +class CRanrok_PropHit final : public CEffect_Container +{ +private: + CRanrok_PropHit(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CRanrok_PropHit(const CRanrok_PropHit& rhs); + virtual ~CRanrok_PropHit() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + class CEffectParts* m_pGooRod_0 = { nullptr }; + class CEffectParts* m_pSmoke = { nullptr }; + class CEffectParts* m_pSpread_PT = { nullptr }; + + _float3 m_vLook = {}; + _float m_fLinearSpeed = 0.8f; + + _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; + _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; +private: + class CInfoInstance* m_pInfoInstance = { nullptr }; +public: + static CRanrok_PropHit* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // DEBUG + + +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml index acc7e4ff4..4b27f5fda 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml @@ -298,6 +298,117 @@ + + + + + + + + + + + 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 + + + + + + + + + + + @@ -935,7 +1046,7 @@ - + @@ -1053,7 +1164,7 @@ - + @@ -1159,10 +1270,8 @@ - - - - + + @@ -1199,13 +1308,13 @@ - - + + - - + + @@ -1236,7 +1345,417 @@ - + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + 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 + true + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + 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/MapEffect/Ranrok_Decal_15.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin index cf29e542b..61f0d6326 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6a0100606913098e13d31222a6d6c1ebf2ef91e90cf3e79077c506fd51bb8b22 +oid sha256:5a8fe1b53adfaf9eace10bf996cc05b6616668a66773b2ced84cfc9dfa9b1dc1 size 1265 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin index 84ce7d2ff..604b52e53 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b55773c87b4110617f7f9248d4918e33293de79decea75812dc919fa9d5d78b7 +oid sha256:77bb612cb740bd5b2031a09ff1bc6957a00e8dedcc2fc7b936264165fc8aa26c size 1265 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin index fc74bce6a..636416345 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:023dbaf090b11c1e1d477d565ba97b58131ed5c2c550314fd82d7943457de9bb -size 1093 +oid sha256:0fa80fee4a857d55cacf6dc4f8039190e09cdd29f2d5fabd6f7e76c42228e147 +size 955 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPropHit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPropHit.bin new file mode 100644 index 000000000..7b3e12c64 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPropHit.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:236aaf5d29ef132749448425cf3cea9f4c21d72c2689b69c6beb91e8ede0c4ee +size 148 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/Ranrok/RanrokBreath/BottomFire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin index 21e2db0b7..05d3726c6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b25d71ce9c8b01d692a97fd1cafde0f3de39e8ec8a9c0564cbb322a7a4af94f8 +oid sha256:1d328cbbf43c89cd111f774ed4f5004c48bf84cefca40eabf53ac726b0dd52f6 size 1203 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath.bin index 8481dbf48..578c1abf6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:83b9dddf7b517a96f1bcc91a796f9a4c93657e54cdaa65dc4de7e8a101d5634a +oid sha256:81bec5a4f60073eb477951a6c86f9dcb7afb80f04a4fdd50bf4f4bbc841dc852 size 1207 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath_Black.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath_Black.bin index d96a96002..733d9d356 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath_Black.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath_Black.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:08e11e23999b5dcc17919b73cc01b437a19dde917aec9c2a56c8efc3d14225ea +oid sha256:9f3cbf2d0129ed1688cb86c260b43c62453da6424734c552f01d43ff4fc3f3a3 size 1200 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin index af007b08e..d2c4a8763 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:331e1f821f1a3e2e2946e4518fb522e1fbc458a63eae997aa3df038c7df2e068 +oid sha256:73ec2cfc0fd0f1cb9de0fa57a257ad2f74f7550754dcbcd123d561f3bfd80cf2 size 1186 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin index fda9da937..d29f71284 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d89f9e5f845f49272670495184b22728d7a66388037fc3af4dd4ba94fa067138 -size 1208 +oid sha256:18ce266881a642bcf12110d78fdf73f1168544a17779a3d1f5f89d013b223bd2 +size 1204 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin index f3cbf3e82..6d0dc8ea1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b50e115762bf8029f73629f47105b33262c410ae192c8e058611521a7d1f9fe7 -size 1240 +oid sha256:33f6322c2c66f4bd98650a8e38ff17cb337410e4abc54374d177898c9ffa6839 +size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin index e4307715d..7c7409fb1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c20dd7592855085c2cb9fc1c0833bdf01acee294f25c6af300709e050549d04b -size 1252 +oid sha256:fd02c3a857e30bb2b861fcad88c7700c196159ef9c374c22c2f7d3fcc5b89829 +size 1263 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin index 097f8eccc..20d1cd7a2 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e6db6cb06eda2623a0a189766e4fb384b05c21431ed63b046ef4edfb41e64a1c +oid sha256:069730a7e324d6517b628ec307b429183a82bc8b3451f9dfceba39a877d27d2e size 1228 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin index fdbbf3ee3..d8b0af3a9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d6fa2d60a0f35274d2564c245f8d366e6575bd1ea8c1c45c82195a3247d31c1f +oid sha256:466b9d6c7eeee81bf4318c148c082f6ea6506489274a90b3be0dc22ce98aeda1 size 1294 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Hit_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPropHit/Hit_PT.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Hit_PT.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPropHit/Hit_PT.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Pulse_Purple.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPropHit/Pulse_Purple.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Pulse_Purple.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPropHit/Pulse_Purple.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin index 2d4920510..14e5eac38 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fb0031bd2934a1da8ee57c3cbd92bf1b916a29884c9d2a8ac591ffadf8a801ad -size 1240 +oid sha256:ee58782fc0f2135d430f7acb8f9a7ca168df7d26791489b064decb4130ff5001 +size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin index ac5cca1bd..db8e48248 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:031cfc57f78099e40ea49c57d976c547d79b3b33fcf4c2e3bd42496bfb5d9af3 -size 1252 +oid sha256:c7a7d6745ded6afde37363cbe9afe45cae756b9e3e1f3c35269ceca54703abdb +size 1263 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 583b930c2..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/EffectPart/Bubble_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/EffectPart/Bubble_Data.xml new file mode 100644 index 000000000..beea5468d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/EffectPart/Bubble_Data.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml index ab0062bf0..823eec3eb 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml @@ -2683,7 +2683,7 @@ - + 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 9c3b7df91..a0af520b9 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,12 +1,12 @@ - - + + - - + + 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/PlayableCharacter/KeyFrame.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml new file mode 100644 index 000000000..8eb52edda --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin index 8964914d3..240612ab6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3083522ead3ecf9d4aa84e2dfe177c46230c88fb26ba526183507a4cfdf6b2d4 +oid sha256:e0c254f482da3c30b119b5a81d57dbbad1fe8cd65259c6a27b157452ee31b364 size 1204794 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.xml index 86e590f22..8cef6022b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.xml @@ -1,12 +1,12 @@ - + - + - + - + @@ -15,7 +15,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin index 225163d5c..fdce13167 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2e9bbdda1c31a9c50eeb35cf70cbaf040ad411b59b8ed56563893d65801d0459 +oid sha256:4639bce1b6f55e183503be3e6dc73efaa1d95b651803f118d6ec704cea4e26df size 2294821 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.xml index dc5c289b2..09f3c0993 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.xml @@ -1,12 +1,12 @@ - + - + - + @@ -15,7 +15,7 @@ - + @@ -28,14 +28,14 @@ - + - + - + @@ -44,7 +44,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.dds new file mode 100644 index 000000000..959e565e3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.png deleted file mode 100644 index 9079fb61a..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.png and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.dds new file mode 100644 index 000000000..25415810f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.png deleted file mode 100644 index ebd0dd6d0..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.png and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_MRO.dds new file mode 100644 index 000000000..cee7452bc Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_MRO.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_MRO.png deleted file mode 100644 index c3a2ac1b8..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_MRO.png and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.dds new file mode 100644 index 000000000..e97e9366e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.png deleted file mode 100644 index 5d6771a93..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.png and /dev/null differ 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/Bin/Resources/Sounds/BGM/Battle_BGM_2.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/battle_BGM_0.wav similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/Battle_BGM_2.wav rename to Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/battle_BGM_0.wav diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/grassland_day.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/grassland_day.wav new file mode 100644 index 000000000..4caec1d6a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/grassland_day.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/grassland_night.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/grassland_night.wav new file mode 100644 index 000000000..e233372fe Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/grassland_night.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/Hogwart_BGM_2.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/hogwart_BGM_1.wav similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/Hogwart_BGM_2.wav rename to Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/hogwart_BGM_1.wav diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/hogwart_BGM_int.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/hogwart_BGM_int.wav new file mode 100644 index 000000000..24209fec8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/hogwart_BGM_int.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_0.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_0.wav new file mode 100644 index 000000000..f5a0caff1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_0.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_1.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_1.wav new file mode 100644 index 000000000..0f89304ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_1.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_10.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_10.wav new file mode 100644 index 000000000..fc697708c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_10.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_100.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_100.wav new file mode 100644 index 000000000..e586ece96 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_100.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_101.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_101.wav new file mode 100644 index 000000000..d65adc7f4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_101.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_102.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_102.wav new file mode 100644 index 000000000..46e2451bd Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_102.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_103.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_103.wav new file mode 100644 index 000000000..bca8beaf8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_103.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_104.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_104.wav new file mode 100644 index 000000000..500338d65 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_104.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_105.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_105.wav new file mode 100644 index 000000000..8d268cec0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_105.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_106.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_106.wav new file mode 100644 index 000000000..8d40604c4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_106.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_107.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_107.wav new file mode 100644 index 000000000..99e969ece Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_107.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_108.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_108.wav new file mode 100644 index 000000000..7ab21f799 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_108.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_109.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_109.wav new file mode 100644 index 000000000..e69e2b532 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_109.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_11.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_11.wav new file mode 100644 index 000000000..1b2c51ed3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_11.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_110.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_110.wav new file mode 100644 index 000000000..ea02db7d7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_110.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_111.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_111.wav new file mode 100644 index 000000000..66df25752 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_111.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_112.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_112.wav new file mode 100644 index 000000000..3e40d14ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_112.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_113.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_113.wav new file mode 100644 index 000000000..ebf546785 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_113.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_114.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_114.wav new file mode 100644 index 000000000..567c4d7e0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_114.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_115.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_115.wav new file mode 100644 index 000000000..bd5afc1f2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_115.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_116.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_116.wav new file mode 100644 index 000000000..5633df615 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_116.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_117.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_117.wav new file mode 100644 index 000000000..33d88d010 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_117.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_118.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_118.wav new file mode 100644 index 000000000..7be1cebf0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_118.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_119.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_119.wav new file mode 100644 index 000000000..1ab961490 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_119.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_12.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_12.wav new file mode 100644 index 000000000..b5ee19a1d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_12.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_120.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_120.wav new file mode 100644 index 000000000..839559dcc Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_120.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_121.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_121.wav new file mode 100644 index 000000000..e16de3dfb Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_121.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_122.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_122.wav new file mode 100644 index 000000000..f2a09c65f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_122.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_123.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_123.wav new file mode 100644 index 000000000..d1b31d8cc Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_123.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_124.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_124.wav new file mode 100644 index 000000000..d7bcedb66 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_124.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_125.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_125.wav new file mode 100644 index 000000000..1f5e21a15 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_125.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_126.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_126.wav new file mode 100644 index 000000000..cd9714761 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_126.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_127.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_127.wav new file mode 100644 index 000000000..da8c1cffd Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_127.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_128.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_128.wav new file mode 100644 index 000000000..0a6d45001 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_128.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_129.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_129.wav new file mode 100644 index 000000000..850cf5e3b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_129.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_13.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_13.wav new file mode 100644 index 000000000..cbbac7d8a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_13.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_130.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_130.wav new file mode 100644 index 000000000..738bf9dc7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_130.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_131.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_131.wav new file mode 100644 index 000000000..89fbd049b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_131.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_132.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_132.wav new file mode 100644 index 000000000..681c73e77 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_132.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_133.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_133.wav new file mode 100644 index 000000000..ddf883373 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_133.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_134.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_134.wav new file mode 100644 index 000000000..8db7879bf Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_134.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_135.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_135.wav new file mode 100644 index 000000000..ac239eaba Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_135.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_136.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_136.wav new file mode 100644 index 000000000..c39dd8e6c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_136.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_137.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_137.wav new file mode 100644 index 000000000..fa050378c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_137.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_138.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_138.wav new file mode 100644 index 000000000..39773a474 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_138.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_139.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_139.wav new file mode 100644 index 000000000..ae282f3e9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_139.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_14.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_14.wav new file mode 100644 index 000000000..17bffc1cc Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_14.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_140.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_140.wav new file mode 100644 index 000000000..c1322a1a8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_140.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_141.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_141.wav new file mode 100644 index 000000000..34465de71 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_141.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_142.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_142.wav new file mode 100644 index 000000000..61159182f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_142.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_143.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_143.wav new file mode 100644 index 000000000..d331b22ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_143.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_144.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_144.wav new file mode 100644 index 000000000..3f56304d2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_144.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_145.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_145.wav new file mode 100644 index 000000000..b606a083c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_145.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_146.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_146.wav new file mode 100644 index 000000000..624e2b14b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_146.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_147.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_147.wav new file mode 100644 index 000000000..97d158685 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_147.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_148.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_148.wav new file mode 100644 index 000000000..9196eceb9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_148.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_149.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_149.wav new file mode 100644 index 000000000..4c2a6e50d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_149.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_15.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_15.wav new file mode 100644 index 000000000..c47e49661 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_15.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_150.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_150.wav new file mode 100644 index 000000000..92cf38fdd Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_150.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_16.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_16.wav new file mode 100644 index 000000000..708dfbab4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_16.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_17.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_17.wav new file mode 100644 index 000000000..d38082041 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_17.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_18.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_18.wav new file mode 100644 index 000000000..d1c401bc7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_18.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_19.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_19.wav new file mode 100644 index 000000000..d50a3f067 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_19.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_2.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_2.wav new file mode 100644 index 000000000..5063950d8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_2.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_20.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_20.wav new file mode 100644 index 000000000..3331c052d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_20.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_21.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_21.wav new file mode 100644 index 000000000..f6129bd8c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_21.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_22.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_22.wav new file mode 100644 index 000000000..3c9852b99 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_22.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_23.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_23.wav new file mode 100644 index 000000000..49e9052d2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_23.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_24.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_24.wav new file mode 100644 index 000000000..6563b05fa Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_24.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_25.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_25.wav new file mode 100644 index 000000000..49f2327b1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_25.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_26.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_26.wav new file mode 100644 index 000000000..b7606880a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_26.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_27.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_27.wav new file mode 100644 index 000000000..c55ac8708 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_27.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_28.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_28.wav new file mode 100644 index 000000000..b5ccd5172 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_28.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_29.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_29.wav new file mode 100644 index 000000000..1af4f8515 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_29.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_3.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_3.wav new file mode 100644 index 000000000..68328ba8b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_3.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_30.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_30.wav new file mode 100644 index 000000000..d2444985e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_30.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_31.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_31.wav new file mode 100644 index 000000000..decf04878 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_31.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_32.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_32.wav new file mode 100644 index 000000000..b383cbd5f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_32.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_33.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_33.wav new file mode 100644 index 000000000..761c1662b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_33.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_34.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_34.wav new file mode 100644 index 000000000..490230b82 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_34.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_35.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_35.wav new file mode 100644 index 000000000..e4ae1b72d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_35.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_36.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_36.wav new file mode 100644 index 000000000..b5bd1ecd1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_36.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_37.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_37.wav new file mode 100644 index 000000000..d16691840 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_37.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_38.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_38.wav new file mode 100644 index 000000000..25ea58f8e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_38.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_39.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_39.wav new file mode 100644 index 000000000..044a57b64 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_39.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_4.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_4.wav new file mode 100644 index 000000000..4513e3707 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_4.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_40.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_40.wav new file mode 100644 index 000000000..a51a35e1f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_40.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_41.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_41.wav new file mode 100644 index 000000000..faa747e97 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_41.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_42.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_42.wav new file mode 100644 index 000000000..632ad6e8a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_42.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_43.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_43.wav new file mode 100644 index 000000000..688ec0f01 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_43.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_44.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_44.wav new file mode 100644 index 000000000..be0c32e80 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_44.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_45.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_45.wav new file mode 100644 index 000000000..fb5093214 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_45.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_46.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_46.wav new file mode 100644 index 000000000..ca8ee0084 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_46.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_47.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_47.wav new file mode 100644 index 000000000..f4eeee993 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_47.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_48.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_48.wav new file mode 100644 index 000000000..378a31dae Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_48.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_49.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_49.wav new file mode 100644 index 000000000..60193de65 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_49.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_5.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_5.wav new file mode 100644 index 000000000..4115fac4d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_5.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_50.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_50.wav new file mode 100644 index 000000000..0693494eb Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_50.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_51.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_51.wav new file mode 100644 index 000000000..7fdc8c953 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_51.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_52.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_52.wav new file mode 100644 index 000000000..f43617db8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_52.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_53.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_53.wav new file mode 100644 index 000000000..d81191692 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_53.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_54.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_54.wav new file mode 100644 index 000000000..64823bcda Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_54.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_55.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_55.wav new file mode 100644 index 000000000..b5ea14f58 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_55.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_56.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_56.wav new file mode 100644 index 000000000..2814cbdb1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_56.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_57.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_57.wav new file mode 100644 index 000000000..5a7775a41 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_57.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_58.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_58.wav new file mode 100644 index 000000000..8870f71a8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_58.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_59.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_59.wav new file mode 100644 index 000000000..b73d8ce29 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_59.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_6.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_6.wav new file mode 100644 index 000000000..1d6a42409 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_6.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_60.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_60.wav new file mode 100644 index 000000000..e1fb1ca11 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_60.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_61.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_61.wav new file mode 100644 index 000000000..9cba13d83 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_61.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_62.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_62.wav new file mode 100644 index 000000000..7f0265c8f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_62.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_63.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_63.wav new file mode 100644 index 000000000..b951cde71 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_63.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_64.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_64.wav new file mode 100644 index 000000000..b6f2ba568 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_64.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_65.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_65.wav new file mode 100644 index 000000000..3a774fc0f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_65.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_66.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_66.wav new file mode 100644 index 000000000..72c7107db Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_66.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_67.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_67.wav new file mode 100644 index 000000000..c70d17e95 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_67.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_68.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_68.wav new file mode 100644 index 000000000..5a025b64c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_68.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_69.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_69.wav new file mode 100644 index 000000000..5ff59285f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_69.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_7.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_7.wav new file mode 100644 index 000000000..144be41b5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_7.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_70.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_70.wav new file mode 100644 index 000000000..e98ecf45f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_70.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_71.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_71.wav new file mode 100644 index 000000000..d5107ebcc Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_71.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_72.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_72.wav new file mode 100644 index 000000000..3869a9b48 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_72.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_73.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_73.wav new file mode 100644 index 000000000..d2fa725c4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_73.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_74.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_74.wav new file mode 100644 index 000000000..d32228b49 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_74.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_75.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_75.wav new file mode 100644 index 000000000..3c3f997d0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_75.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_76.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_76.wav new file mode 100644 index 000000000..60b2c869d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_76.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_77.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_77.wav new file mode 100644 index 000000000..8d4891048 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_77.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_78.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_78.wav new file mode 100644 index 000000000..02c65ac95 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_78.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_79.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_79.wav new file mode 100644 index 000000000..40f3c82ad Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_79.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_8.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_8.wav new file mode 100644 index 000000000..dc8f8bd4b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_8.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_80.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_80.wav new file mode 100644 index 000000000..2935b430c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_80.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_81.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_81.wav new file mode 100644 index 000000000..23422e131 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_81.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_82.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_82.wav new file mode 100644 index 000000000..a07eba0ae Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_82.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_83.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_83.wav new file mode 100644 index 000000000..f670114e8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_83.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_84.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_84.wav new file mode 100644 index 000000000..35b3ed59e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_84.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_85.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_85.wav new file mode 100644 index 000000000..03133ef20 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_85.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_86.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_86.wav new file mode 100644 index 000000000..8c9ddbd6d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_86.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_87.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_87.wav new file mode 100644 index 000000000..be2546997 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_87.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_88.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_88.wav new file mode 100644 index 000000000..2ca9b3b2e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_88.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_89.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_89.wav new file mode 100644 index 000000000..a5905bb5f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_89.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_9.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_9.wav new file mode 100644 index 000000000..e0c7a0466 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_9.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_90.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_90.wav new file mode 100644 index 000000000..0418484c1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_90.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_91.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_91.wav new file mode 100644 index 000000000..12571eff6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_91.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_92.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_92.wav new file mode 100644 index 000000000..83288c2b6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_92.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_93.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_93.wav new file mode 100644 index 000000000..343f392df Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_93.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_94.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_94.wav new file mode 100644 index 000000000..4a4a7eeee Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_94.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_95.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_95.wav new file mode 100644 index 000000000..a99d28785 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_95.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_96.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_96.wav new file mode 100644 index 000000000..7b85c9d19 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_96.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_97.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_97.wav new file mode 100644 index 000000000..f477f29b5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_97.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_98.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_98.wav new file mode 100644 index 000000000..f366b4052 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_98.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_99.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_99.wav new file mode 100644 index 000000000..5727ec830 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Goblin/goblin_99.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Chest/chest_found.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Chest/chest_found.wav new file mode 100644 index 000000000..688a7dc39 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Chest/chest_found.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Chest/chest_open.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Chest/chest_open.wav new file mode 100644 index 000000000..4b6917c18 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Chest/chest_open.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Door/door_close.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Door/door_close.wav new file mode 100644 index 000000000..00e2881ff Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Door/door_close.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Door/door_open.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Door/door_open.wav new file mode 100644 index 000000000..3546d46ec Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Interactive/Door/door_open.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_female_voice_0.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_female_voice_0.wav new file mode 100644 index 000000000..d03b743f2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_female_voice_0.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_female_voice_1.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_female_voice_1.wav new file mode 100644 index 000000000..b61c86bb9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_female_voice_1.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_laugh.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_laugh.wav new file mode 100644 index 000000000..dd60a3040 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Npc/npc_laugh.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_boost.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_boost.wav new file mode 100644 index 000000000..e1727f7ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_boost.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_down.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_down.wav new file mode 100644 index 000000000..c9af72eda Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_down.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_get_item.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_get_item.wav new file mode 100644 index 000000000..6232f7ef1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_get_item.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_normal.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_normal.wav new file mode 100644 index 000000000..e1727f7ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_normal.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_ride.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_ride.wav new file mode 100644 index 000000000..ac6f46850 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Broom/broom_ride.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Voice/accio_voice.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Voice/accio_voice.wav new file mode 100644 index 000000000..0927eeee8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Voice/accio_voice.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Voice/avadakedavra_voice.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Voice/avadakedavra_voice.wav index 140a7b699..cb952fbde 100644 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Voice/avadakedavra_voice.wav and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/Voice/avadakedavra_voice.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_int.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_int.wav new file mode 100644 index 000000000..c086b132f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_int.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_road.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_road.wav new file mode 100644 index 000000000..4b90d555c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_road.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_rock.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_rock.wav new file mode 100644 index 000000000..32327d5f5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_rock.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_terrain.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_terrain.wav new file mode 100644 index 000000000..42848fe45 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/footsteps/step_terrain.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/levioso_state/levioso_state.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/levioso_state/levioso_state.wav new file mode 100644 index 000000000..a11b02b41 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/levioso_state/levioso_state.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_0.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_0.wav new file mode 100644 index 000000000..19b50744f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_0.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_1.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_1.wav new file mode 100644 index 000000000..d17927304 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_1.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_2.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_2.wav new file mode 100644 index 000000000..3ea1802f3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_2.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_3.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_3.wav new file mode 100644 index 000000000..c70190d56 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Player/spells_finisher_am_lightningstrike_akb/lightnig_3.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_0.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_0.wav new file mode 100644 index 000000000..b6cb8e9ec Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_0.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_1.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_1.wav new file mode 100644 index 000000000..96b60b838 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_1.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_10.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_10.wav new file mode 100644 index 000000000..aafc4f42e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_10.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_11.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_11.wav new file mode 100644 index 000000000..6016ff693 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_11.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_12.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_12.wav new file mode 100644 index 000000000..c105c3164 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_12.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_13.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_13.wav new file mode 100644 index 000000000..1a73a92f4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_13.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_14.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_14.wav new file mode 100644 index 000000000..393177402 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_14.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_15.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_15.wav new file mode 100644 index 000000000..1f96d1c89 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_15.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_16.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_16.wav new file mode 100644 index 000000000..b56db6aa3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_16.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_17.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_17.wav new file mode 100644 index 000000000..168a7dea2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_17.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_18.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_18.wav new file mode 100644 index 000000000..dd3e137f1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_18.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_19.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_19.wav new file mode 100644 index 000000000..5cc034b52 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_19.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_2.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_2.wav new file mode 100644 index 000000000..f57bae7e1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_2.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_20.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_20.wav new file mode 100644 index 000000000..b5cf5dbe2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_20.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_21.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_21.wav new file mode 100644 index 000000000..0b070549b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_21.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_22.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_22.wav new file mode 100644 index 000000000..2d8de64bd Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_22.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_23.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_23.wav new file mode 100644 index 000000000..7716d7c23 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_23.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_24.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_24.wav new file mode 100644 index 000000000..5b0a25736 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_24.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_25.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_25.wav new file mode 100644 index 000000000..99d0a65e8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_25.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_26.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_26.wav new file mode 100644 index 000000000..e8a69a43b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_26.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_27.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_27.wav new file mode 100644 index 000000000..72bf435c3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_27.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_28.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_28.wav new file mode 100644 index 000000000..12bc69a33 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_28.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_29.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_29.wav new file mode 100644 index 000000000..3a124bb96 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_29.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_3.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_3.wav new file mode 100644 index 000000000..c852f6d46 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_3.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_30.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_30.wav new file mode 100644 index 000000000..88022049f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_30.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_31.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_31.wav new file mode 100644 index 000000000..52ee3549a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_31.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_32.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_32.wav new file mode 100644 index 000000000..764d41e80 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_32.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_33.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_33.wav new file mode 100644 index 000000000..4df15ac7c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_33.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_34.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_34.wav new file mode 100644 index 000000000..a977d72a7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_34.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_35.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_35.wav new file mode 100644 index 000000000..dd95a46a0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_35.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_36.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_36.wav new file mode 100644 index 000000000..f60f06185 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_36.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_37.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_37.wav new file mode 100644 index 000000000..a3c976c64 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_37.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_38.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_38.wav new file mode 100644 index 000000000..70ff76d59 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_38.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_39.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_39.wav new file mode 100644 index 000000000..a2e5c28bd Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_39.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_4.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_4.wav new file mode 100644 index 000000000..15cdc034c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_4.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_5.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_5.wav new file mode 100644 index 000000000..536f8c199 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_5.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_6.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_6.wav new file mode 100644 index 000000000..1dcfdfe11 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_6.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_7.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_7.wav new file mode 100644 index 000000000..2fdef9559 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_7.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_8.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_8.wav new file mode 100644 index 000000000..ffd931d1e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_8.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_9.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_9.wav new file mode 100644 index 000000000..23e0c2a0d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_9.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_yell.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_yell.wav new file mode 100644 index 000000000..553b8dd26 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Ranrok/ranrok_yell.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_0.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_0.wav new file mode 100644 index 000000000..8089fd74f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_0.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_1.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_1.wav new file mode 100644 index 000000000..f671fcbe8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_1.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_10.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_10.wav new file mode 100644 index 000000000..0111d9b39 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_10.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_100.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_100.wav new file mode 100644 index 000000000..8c385074e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_100.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_101.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_101.wav new file mode 100644 index 000000000..63e013058 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_101.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_11.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_11.wav new file mode 100644 index 000000000..a24f0d219 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_11.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_12.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_12.wav new file mode 100644 index 000000000..261eb1f9e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_12.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_13.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_13.wav new file mode 100644 index 000000000..d518a1081 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_13.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_14.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_14.wav new file mode 100644 index 000000000..565972037 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_14.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_15.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_15.wav new file mode 100644 index 000000000..2961fce6a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_15.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_16.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_16.wav new file mode 100644 index 000000000..ae76f88ad Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_16.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_17.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_17.wav new file mode 100644 index 000000000..b925058a8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_17.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_18.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_18.wav new file mode 100644 index 000000000..3024cf4f8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_18.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_19.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_19.wav new file mode 100644 index 000000000..3542dc548 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_19.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_2.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_2.wav new file mode 100644 index 000000000..956c3e6d5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_2.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_20.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_20.wav new file mode 100644 index 000000000..08d9376a5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_20.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_21.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_21.wav new file mode 100644 index 000000000..2335e10f0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_21.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_22.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_22.wav new file mode 100644 index 000000000..871965632 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_22.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_23.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_23.wav new file mode 100644 index 000000000..49e8d25f6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_23.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_24.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_24.wav new file mode 100644 index 000000000..0be927fd7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_24.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_25.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_25.wav new file mode 100644 index 000000000..1406bf5e2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_25.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_26.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_26.wav new file mode 100644 index 000000000..98edbd62a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_26.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_27.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_27.wav new file mode 100644 index 000000000..1bd841bc4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_27.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_28.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_28.wav new file mode 100644 index 000000000..8c0ecc503 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_28.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_29.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_29.wav new file mode 100644 index 000000000..68da764a4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_29.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_3.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_3.wav new file mode 100644 index 000000000..1a0eeba82 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_3.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_30.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_30.wav new file mode 100644 index 000000000..b65289bcd Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_30.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_31.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_31.wav new file mode 100644 index 000000000..de4d55362 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_31.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_32.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_32.wav new file mode 100644 index 000000000..4b6a1bd05 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_32.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_33.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_33.wav new file mode 100644 index 000000000..e05016dd8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_33.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_34.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_34.wav new file mode 100644 index 000000000..e1a57f8e8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_34.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_35.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_35.wav new file mode 100644 index 000000000..9298dac28 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_35.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_36.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_36.wav new file mode 100644 index 000000000..de8d4d690 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_36.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_37.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_37.wav new file mode 100644 index 000000000..3d70c33d2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_37.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_38.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_38.wav new file mode 100644 index 000000000..42ac62786 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_38.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_39.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_39.wav new file mode 100644 index 000000000..b6051895b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_39.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_4.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_4.wav new file mode 100644 index 000000000..57fc2ac28 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_4.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_40.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_40.wav new file mode 100644 index 000000000..905c1fe5b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_40.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_41.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_41.wav new file mode 100644 index 000000000..f463769e4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_41.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_42.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_42.wav new file mode 100644 index 000000000..83fef3d04 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_42.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_43.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_43.wav new file mode 100644 index 000000000..9cd18e955 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_43.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_44.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_44.wav new file mode 100644 index 000000000..e31e406ad Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_44.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_45.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_45.wav new file mode 100644 index 000000000..28aa2da56 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_45.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_46.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_46.wav new file mode 100644 index 000000000..3cf82062d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_46.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_47.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_47.wav new file mode 100644 index 000000000..68dfb0a5e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_47.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_48.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_48.wav new file mode 100644 index 000000000..fc9c5f578 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_48.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_49.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_49.wav new file mode 100644 index 000000000..ac021b90a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_49.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_5.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_5.wav new file mode 100644 index 000000000..60377e6c8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_5.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_50.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_50.wav new file mode 100644 index 000000000..e1d55f4e8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_50.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_51.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_51.wav new file mode 100644 index 000000000..e8c74b161 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_51.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_52.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_52.wav new file mode 100644 index 000000000..6d64bfd83 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_52.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_53.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_53.wav new file mode 100644 index 000000000..00161171d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_53.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_54.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_54.wav new file mode 100644 index 000000000..7730544e0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_54.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_55.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_55.wav new file mode 100644 index 000000000..79f37f20a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_55.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_56.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_56.wav new file mode 100644 index 000000000..f09ebcf5d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_56.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_57.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_57.wav new file mode 100644 index 000000000..59d2e66f3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_57.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_58.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_58.wav new file mode 100644 index 000000000..56ca25265 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_58.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_59.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_59.wav new file mode 100644 index 000000000..6cd9472b6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_59.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_6.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_6.wav new file mode 100644 index 000000000..531445601 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_6.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_60.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_60.wav new file mode 100644 index 000000000..9853a9b60 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_60.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_61.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_61.wav new file mode 100644 index 000000000..224063682 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_61.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_62.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_62.wav new file mode 100644 index 000000000..43ae77d88 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_62.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_63.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_63.wav new file mode 100644 index 000000000..f8bd18859 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_63.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_64.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_64.wav new file mode 100644 index 000000000..8a04dc752 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_64.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_65.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_65.wav new file mode 100644 index 000000000..0d2597924 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_65.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_66.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_66.wav new file mode 100644 index 000000000..bcad461fc Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_66.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_67.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_67.wav new file mode 100644 index 000000000..c84067069 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_67.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_68.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_68.wav new file mode 100644 index 000000000..d11521ce4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_68.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_69.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_69.wav new file mode 100644 index 000000000..7465b9c12 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_69.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_7.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_7.wav new file mode 100644 index 000000000..aaccfc5aa Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_7.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_70.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_70.wav new file mode 100644 index 000000000..617b1294a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_70.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_71.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_71.wav new file mode 100644 index 000000000..f015bbb9a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_71.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_72.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_72.wav new file mode 100644 index 000000000..1b31ed81a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_72.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_73.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_73.wav new file mode 100644 index 000000000..5587d2057 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_73.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_74.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_74.wav new file mode 100644 index 000000000..cf3b4a652 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_74.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_75.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_75.wav new file mode 100644 index 000000000..f552a8caf Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_75.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_76.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_76.wav new file mode 100644 index 000000000..5841c3442 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_76.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_77.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_77.wav new file mode 100644 index 000000000..5dd7f0331 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_77.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_78.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_78.wav new file mode 100644 index 000000000..5fd94e500 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_78.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_79.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_79.wav new file mode 100644 index 000000000..80678d78e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_79.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_8.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_8.wav new file mode 100644 index 000000000..349b32d65 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_8.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_80.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_80.wav new file mode 100644 index 000000000..5a5ee4a5e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_80.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_81.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_81.wav new file mode 100644 index 000000000..c92a4847b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_81.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_82.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_82.wav new file mode 100644 index 000000000..c1ec9775e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_82.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_83.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_83.wav new file mode 100644 index 000000000..915b5da01 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_83.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_84.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_84.wav new file mode 100644 index 000000000..2707ab0bb Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_84.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_85.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_85.wav new file mode 100644 index 000000000..ea9bdc315 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_85.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_86.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_86.wav new file mode 100644 index 000000000..8242d7dd3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_86.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_87.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_87.wav new file mode 100644 index 000000000..f0c6d9997 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_87.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_88.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_88.wav new file mode 100644 index 000000000..64bf355d2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_88.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_89.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_89.wav new file mode 100644 index 000000000..573be196b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_89.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_9.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_9.wav new file mode 100644 index 000000000..8ad33b8fa Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_9.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_90.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_90.wav new file mode 100644 index 000000000..85d45543b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_90.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_91.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_91.wav new file mode 100644 index 000000000..8fecbb5f4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_91.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_92.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_92.wav new file mode 100644 index 000000000..d8b76253f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_92.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_93.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_93.wav new file mode 100644 index 000000000..a67a4340d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_93.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_94.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_94.wav new file mode 100644 index 000000000..f9873729d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_94.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_95.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_95.wav new file mode 100644 index 000000000..664083c5f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_95.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_96.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_96.wav new file mode 100644 index 000000000..6f8e9b01d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_96.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_97.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_97.wav new file mode 100644 index 000000000..4a0594dd4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_97.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_98.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_98.wav new file mode 100644 index 000000000..8118bc66b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_98.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_99.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_99.wav new file mode 100644 index 000000000..ec6296da4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_99.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/UI/Logo_Intro.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/UI/Logo_Intro.wav new file mode 100644 index 000000000..78fa49d90 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/UI/Logo_Intro.wav differ diff --git a/Jusin154_Team3D/Editor/Private/Camera_Debug.cpp b/Jusin154_Team3D/Editor/Private/Camera_Debug.cpp index b34a27319..26e95ba16 100644 --- a/Jusin154_Team3D/Editor/Private/Camera_Debug.cpp +++ b/Jusin154_Team3D/Editor/Private/Camera_Debug.cpp @@ -86,7 +86,7 @@ void CCamera_Debug::Priority_Update(_float fTimeDelta) void CCamera_Debug::Update(_float fTimeDelta) { - + Describe_Entity(); } void CCamera_Debug::Late_Update(_float fTimeDelta) @@ -176,4 +176,30 @@ void CCamera_Debug::Free() } void CCamera_Debug::Describe_Entity() { + _float3 vPosition = {}; + GUI::Begin("CAMERA"); + GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH); + if (m_pGameInstance->Key_Pressing(DIK_Y)) + { + if (m_pGameInstance->isPicking(&vPosition)) + { + GUI::InputFloat3("Pos", (float*)&vPosition); + } + } + GUI::End(); + GUI::Begin("CAMERA"); + _int iPriority = m_iPriority; + size_t iAddress = (size_t)this; + _string strHeader = "DEBUG_CAMERA_Priority##" + to_string(iAddress); + if (GUI::SliderInt(strHeader.c_str(), &iPriority, 45, 60)) { + m_iPriority = iPriority; + } + if (GUI::CollapsingHeader("DebugCamera")) { + m_pTransformCom->Describe_Entity(); + _float fFovYDegree = XMConvertToDegrees(m_fFovy); + if (GUI::SliderFloat("FOV", &fFovYDegree, 0.01f, 89.f, "%.2f")) { + m_fFovy = XMConvertToRadians(fFovYDegree); + } + } + GUI::End(); } diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp index 97d719961..cb4b76aa2 100644 --- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp @@ -75,7 +75,7 @@ HRESULT CEffectPool::Initialize(void* pArg) m_isActiveMonsterEffectCreate = false; #endif // #ifdef 진우 - m_isActiveEffectCreate = true; + m_isActiveEffectCreate = false; m_isActiveMonsterEffectCreate = true; #endif // #ifdef 기무리 diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp index 647d0560e..87f3a181b 100644 --- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp @@ -42,10 +42,7 @@ HRESULT CLevel_EffectViewer::Initialize() { return E_FAIL; } - if (FAILED(Ready_Layer_BackGround(TEXT("Layer_Background")))) - { - return E_FAIL; - } + if (FAILED(Ready_Layer_Effect(TEXT("Layer_Effect")))) { @@ -78,12 +75,12 @@ HRESULT CLevel_EffectViewer::Initialize() /* if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster")))) return E_FAIL;*/ - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster")))) - return E_FAIL; - - //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster")))) + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster")))) // return E_FAIL; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster")))) + return E_FAIL; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Sky")))){ return E_FAIL; } @@ -97,26 +94,31 @@ HRESULT CLevel_EffectViewer::Initialize() if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Sky") , &pDesc))) { return E_FAIL; } - - //ZeroMemory(&m_PlaneData, sizeof(m_PlaneData)); - //m_PlaneData.eKind = PHYSX_KIND::BODY_STATIC; - //m_PlaneData.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + if (FAILED(Ready_Layer_BackGround(TEXT("Layer_Background")))) + { + return E_FAIL; + } - //m_pGameInstance->Add_Editor_Plane(m_PlaneData); + ZeroMemory(&m_PlaneData, sizeof(m_PlaneData)); + m_PlaneData.eKind = PHYSX_KIND::BODY_STATIC; + m_PlaneData.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + + m_pGameInstance->Add_Editor_Plane(m_PlaneData); /* 호그 스미드 */ - m_pGameInstance->Setting_Volumetirc( - 1.251f, // 밀도 - 0.0253f, // 빛 강도 - 0.9f, // 산란 계수 - 1.78f, // 깊이 분포 계수 - 0.f); + //m_pGameInstance->Setting_Volumetirc( + // 1.251f, // 밀도 + // 0.0253f, // 빛 강도 + // 0.9f, // 산란 계수 + // 1.78f, // 깊이 분포 계수 + // 0.f); /* 란록 맵*/ - //m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f); + + //pLight->Capture_PreShadow(); return S_OK; @@ -166,29 +168,7 @@ HRESULT CLevel_EffectViewer::Ready_Layer_Camera(const _wstring& strLayerTag) HRESULT CLevel_EffectViewer::Ready_Layer_Light() { - CMainLight* pLight = { nullptr }; - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::STATIC), NEXT_LEVEL, LAYER_LIGHT, nullptr, nullptr, &pLight))) { - return E_FAIL; - } - - //_float4 vDiffuse = _float4(0.607f, 0.658f, 0.698f, 0.f); - //_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f); - //_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f); - - /* 란록맵 */ - //_float4 vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f); - //_float4 vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f); - //_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f); - - /* 호그스미드 */ - _float4 vDiffuse = _float4(0.6529f, 0.6157f, 0.7843f, 1.0f); - _float4 vAmbient = _float4(0.6275f, 0.6275f, 0.6275f, 0.0314f); - _float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.05f); - - - - pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular); return S_OK; } @@ -243,28 +223,51 @@ HRESULT CLevel_EffectViewer::Ready_Layer_PhysX(const _wstring& strLayerTag) HRESULT CLevel_EffectViewer::Ready_Layer_BackGround(const _wstring& strLayerTag) { + CMainLight* pLight = { nullptr }; + + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::STATIC), NEXT_LEVEL, LAYER_LIGHT, nullptr, nullptr, &pLight))) { + return E_FAIL; + } - CTerrain::TERRAIN_DESC Desc = {}; + _float4 vDiffuse = CMyTools::ColorRGBA_HEXtoFLOAT4(0x1E1C1B3C); + _float4 vAmbient = CMyTools::ColorRGBA_HEXtoFLOAT4(0x1A191900); + _float4 vSpecular = CMyTools::ColorRGBA_HEXtoFLOAT4(0x12121200); + + pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular); + pLight->Get_Component()->RotationQ(XMVectorSet(-0.574f, -0.409f, 0.584f, -0.402f)); + pLight->Get_Component()->Translation(XMVectorSet(0.f, 0.f, 0.f, 1.f)); + + m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f); + + vDiffuse = CMyTools::ColorRGBA_HEXtoFLOAT4(0x1E1C1B3C); + vAmbient = CMyTools::ColorRGBA_HEXtoFLOAT4(0x1A191900); + vSpecular = CMyTools::ColorRGBA_HEXtoFLOAT4(0x12121200); + pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular); + pLight->Get_Component()->RotationQ(XMVectorSet(-0.574f, -0.409f, 0.584f, -0.402f)); + pLight->Get_Component()->Translation(XMVectorSet(0.f, 0.f, 0.f, 1.f)); + m_pGameInstance->Set_Environment(_float3(0.585f, 0.182f, 2.83f), _float(2.f), _float2(0.075f, 0.150f), _float2(2.300f, 10.000f), _float4(0.0360f, 0.0326f, 0.0057f, 0.0018f), _float4(2.0000f, 1.f, 1.f, 1.f), _float3(0.f, 0.f, -100.f), _float3(0.f, 0.f, 100.f)); + m_pGameInstance->Setting_Volumetirc(1.743f, 0.0001f, 0.2000f, 1.050f, 0.04862f); /* Hogsmeade */ - Desc.isEdit = false; - Desc.iAlphaSizeX = 2048; - Desc.iAlphaSizeY = 2048; - Desc.vPosition = _float3(-194, 18.5f, -153.f); - Desc.strAlphaMapTag = "Hogsmeade_AlphaMap.bin"; - Desc.strHeightMapTag = "Hogsmeade_HeightMap.bin"; - Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogsmeade"); + //Desc.isEdit = false; + //Desc.iAlphaSizeX = 2048; + //Desc.iAlphaSizeY = 2048; + //Desc.vPosition = _float3(-194, 18.5f, -153.f); + //Desc.strAlphaMapTag = "Hogsmeade_AlphaMap.bin"; + //Desc.strHeightMapTag = "Hogsmeade_HeightMap.bin"; + //Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogsmeade"); - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Terrain"), &Desc))) - return E_FAIL; + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Terrain"), &Desc))) + // return E_FAIL; - //_float4 vColor = _float4(0.2f, 0.2f, 0.2f, 1.f); - //m_pGameInstance->Set_FogColor(vColor); - //m_pGameInstance->Set_Fog(10.f, 5.f); - //m_pInfoInstance->Load_MapObjects("Dungeon_Map_Data"); - //CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data"); + _float4 vColor = _float4(0.2f, 0.2f, 0.2f, 1.f); + m_pGameInstance->Set_FogColor(vColor); + m_pGameInstance->Set_Fog(10.f, 5.f); + m_pInfoInstance->Load_MapObjects("Dungeon_Map_Data"); + + CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data"); return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Level_Logo.cpp b/Jusin154_Team3D/Editor/Private/Level_Logo.cpp index a297cbb4f..cf0dea8d1 100644 --- a/Jusin154_Team3D/Editor/Private/Level_Logo.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_Logo.cpp @@ -56,11 +56,11 @@ void CLevel_Logo::Update(_float fTimeDelta) } GUI::End(); #ifdef gimch - if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::MAP)))) + if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::OBJECT)))) return; #endif // gimch #ifdef 기무리 - if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::OBJECT)))) + if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::EFFECT)))) return; #endif // 기무리 #ifdef 진우 diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp index da8df57ee..39e1db320 100644 --- a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp @@ -806,9 +806,9 @@ HRESULT CLevel_MapViewer::Ready_Layer_MapObjectManager(const _wstring& strLayerT HRESULT CLevel_MapViewer::Ready_Layer_Player_And_Ranrok() { - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_PLAYER))) { - return E_FAIL; - } + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_PLAYER))) { + // return E_FAIL; + //} /*if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster")))) diff --git a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp index df032518f..f58aaf9c9 100644 --- a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp @@ -20,6 +20,8 @@ #include "Goblin.h" #include "Broom.h" #include "ReparoObject.h" +#include "Sound_Manager.h" +#include "Unit.h" CLevel_ObjectViewer::CLevel_ObjectViewer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID) : CLevel{ pDevice, pContext, ENUM_CLASS(eLevelID) } { @@ -42,6 +44,7 @@ HRESULT CLevel_ObjectViewer::Initialize() return E_FAIL; } + m_fVolume = 0.8f; return S_OK; } @@ -59,6 +62,12 @@ void CLevel_ObjectViewer::Update(_float fTimeDelta) Parts_Object_Setting(); Find_Anim(); + + if(m_isUpdateEvent) + { + for (auto& pObject : m_Objects) + dynamic_cast(pObject)->Play_Event(); + } } HRESULT CLevel_ObjectViewer::Render() @@ -362,6 +371,7 @@ void CLevel_ObjectViewer::Show_AnimList() GUI::End(); } + void CLevel_ObjectViewer::Show_ObjectList() { for (size_t i = 0; i < m_Objects.size(); i++) @@ -428,6 +438,7 @@ void CLevel_ObjectViewer::Dummy_Object_Setting() _int iIndex = pModel->Get_AnimIndex(); if (GUI::InputInt("Anim Index", &iIndex)) { + m_iCurAnimIndex = iIndex; pModel->Set_AnimationIndex(iIndex); } @@ -438,8 +449,15 @@ void CLevel_ObjectViewer::Dummy_Object_Setting() Load_KeyFrame(szName); } - - static _char EventName[64] = {}; + if(GUI::Button("Load KeyFrame_")) + { + for (auto& pObject : m_Objects) + { + dynamic_cast(pObject)->Reset_SoundEvent(); + dynamic_cast(m_Objects[m_iObjectIndex])->Ready_Sound_Events("../Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml"); + } + } + static _char EventName[256] = {}; GUI::InputText("EventName", EventName, sizeof(EventName)); GUI::SameLine(); @@ -456,6 +474,35 @@ void CLevel_ObjectViewer::Dummy_Object_Setting() EventName[0] = '\0'; } } + GUI::Checkbox("isUpdateEvent", &m_isUpdateEvent); + GUI::InputFloat("Volume", &m_fVolume); + static _char SoundFilter[256] = {}; + + if (GUI::Button("Stop Sound")) + m_pGameInstance->Sound_StopAll(); + + if (GUI::CollapsingHeader("Sound list")) + { + GUI::InputText("Filter", SoundFilter, sizeof(SoundFilter)); + + _wstring soudnfilter = CMyTools::ToWstring(SoundFilter); + for (_uint i = 0; i < ENUM_CLASS(SOUND::SD_KIND::END); ++i) + { + _wstring Name = SOUND::SD_PATH::SD_KIND_PATHS[i]; + if (string::npos != Name.find(soudnfilter)) + { + if (GUI::Button(("S_" + CMyTools::ToString(Name)).c_str())) + { + strcpy_s(EventName, CMyTools::ToString(Name).c_str()); + m_pGameInstance->Sound_Play(static_cast(i), SD_CHANNEL_GROUP::EFFECT, false, m_fVolume); + } + GUI::SameLine(); + if (GUI::SmallButton(("Stop Sound##" + to_string(i)).c_str())) + m_pGameInstance->Sound_Stop(static_cast(i), SD_CHANNEL_GROUP::EFFECT); + } + } + } + for (auto& iter : m_KeyFrames) @@ -702,6 +749,7 @@ void CLevel_ObjectViewer::Find_Anim() void CLevel_ObjectViewer::Save_KeyFrame() { + _char szDrive[MAX_PATH] = {}; _char szDir[MAX_PATH] = {}; _splitpath_s(m_DummyPath, szDrive, MAX_PATH, szDir, MAX_PATH, nullptr, 0, nullptr, 0); @@ -736,17 +784,17 @@ void CLevel_ObjectViewer::Save_KeyFrame() } } - if (!pAnimNode) + if (nullptr == pAnimNode) { pAnimNode = doc.NewElement("Animation"); pAnimNode->SetAttribute("Index", m_iCurAnimIndex); pRoot->InsertEndChild(pAnimNode); } - while (tinyxml2::XMLElement* pKey = pAnimNode->FirstChildElement("KeyFrame")) - { - pAnimNode->DeleteChild(pKey); - } + //while (tinyxml2::XMLElement* pKey = pAnimNode->FirstChildElement("KeyFrame")) + //{ + // pAnimNode->DeleteChild(pKey); + //} for (auto& iter : m_KeyFrames) { @@ -757,9 +805,20 @@ void CLevel_ObjectViewer::Save_KeyFrame() pKey->SetAttribute("Ratio", buf); pKey->SetAttribute("Volume", m_fVolume); pAnimNode->InsertEndChild(pKey); + + SOUND::SD_KIND eSoundKind = m_pGameInstance->Find_Sound(CMyTools::ToWstring(Path)); + + if(nullptr != m_Objects[m_iObjectIndex]) + { + dynamic_cast(m_Objects[m_iObjectIndex])->Add_Sound_Event(m_iCurAnimIndex, + [this, eSoundKind, iter]() { m_pGameInstance->Sound_Play(eSoundKind, SD_CHANNEL_GROUP::EFFECT, false, m_fVolume); }, + iter.second, true); + } } + m_KeyFrames.clear(); doc.SaveFile(Path.c_str()); + } HRESULT CLevel_ObjectViewer::Ready_Layer_Camera(const _wstring& strLayerTag) diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index 1990d7f4f..b37ad9c3f 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -418,6 +418,15 @@ HRESULT CLoader::Loading_For_Logo() m_strMessage = TEXT("Model Loading.."); + m_strMessage = TEXT("Sound Loading.."); + + const _tchar* pSoundFilePath = TEXT("../Bin/Resources/Sounds/"); + + for (int iIndex = 0; iIndex < ENUM_CLASS(SOUND::SD_KIND::END); ++iIndex) { + if (FAILED(m_pGameInstance->Load_Sound((SOUND::SD_KIND)iIndex, (_wstring(pSoundFilePath) + SOUND::SD_PATH::SD_KIND_PATHS[iIndex]).c_str(), FMOD_DEFAULT))) { + return E_FAIL; + } + } m_strMessage = TEXT("Shader Loading.."); @@ -1812,62 +1821,123 @@ HRESULT CLoader::Loading_For_Effect() #pragma region DUNGEON_MAP vector<_wstring> ModelPrototypeTags = {}; vector ModelPrototypePath = {}; - /* Cave Wall */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Wall", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Props */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Props", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* ArenaFloor */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/ArenaFloor", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_Center_Structure_AnteChamber */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/Center_Structure/AnteChamber", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_Center_Structure_Core */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/Center_Structure/Core", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_ConjuredDragonAttackZones */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/ConjuredDragonAttackZones", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_Rock_Barriers */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/Rock_Barriers", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_Rock_SM_Repository_FloatingGround */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/SM_Repository_FloatingGround", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_Rock_SM_Repository_Stage3MoveableRocks */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/Stage3MoveableRocks", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_Rock_Interactables */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/BreakingRocks/LG_E", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_Rock_Main */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Sanctum_Dungeon_Rock_Main */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Interactables", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - /* Cavern_Dungeon_Rocks */ - if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Cavern_Dungeon/Mesh/Rocks", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; + + vector> jobFutures; + + _uint iLoadCount = 13; + vector*> Contents(iLoadCount); + + _bool isLoad_Map = { true }; + if (isLoad_Map) + { + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Wall", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Props", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/ArenaFloor", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/Center_Structure/AnteChamber", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/Center_Structure/Core", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/ConjuredDragonAttackZones", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/Rock_Barriers", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/SM_Repository_FloatingGround", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/Stage3MoveableRocks", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository/BreakingRocks/LG_E", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Meshes/Repository", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Sanctum_Dungeon/Interactables", + ".bin", false, + &Contents[jobFutures.size()] + )); + + jobFutures.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Cavern_Dungeon/Mesh/Rocks", + ".bin", false, + &Contents[jobFutures.size()] + )); + } #pragma endregion + if (isLoad_Map) + { + for (auto& jobFuture : jobFutures) + { + jobFuture.get(); + } + for (_uint i = 0; i < Contents.size(); ++i) { + for (_uint j = 0; j < (Contents[i])->size(); ++j) { + FOLDER_LOAD* pContents = (*Contents[i])[j]; + if (true == pContents->bLoadTags) { + ModelPrototypeTags.push_back(pContents->pModelTag); + ModelPrototypePath.push_back(pContents->pathModel); + } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pModelTag, pContents->pLoadedModel))) { + return E_FAIL; + } + + for (_uint k = 0; k < pContents->pRigidBodyTags.size(); ++k) { + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pRigidBodyTags[k], pContents->LoadedRigidBody[k]))) { + return E_FAIL; + } + } + + } + } + } m_strMessage = TEXT("Shader Loading.."); @@ -2129,7 +2199,24 @@ HRESULT CLoader::Loading_For_Effect() return E_FAIL; + CModel* pModelOriginal = (CModel*)m_pGameInstance->Find_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_Model")); + CMotion_Trail::MODELCAPTURE_DESC Desc{}; + 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; + } + if (isLoad_Map) + { + for (_uint i = 0; i < Contents.size(); ++i) { + for (_uint j = 0; j < (Contents[i])->size(); ++j) { + Safe_Delete((*Contents[i])[j]); + } + Safe_Delete(Contents[i]); + } + } m_strMessage = TEXT("Loading Success!"); @@ -2858,25 +2945,25 @@ HRESULT CLoader::Loading_For_MapViewer() // return E_FAIL; //} - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Playable_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { - return E_FAIL; - } + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Playable_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + // return E_FAIL; + //} - if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok::Create(m_pDevice, m_pContext)))) { - return E_FAIL; - } + //if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok::Create(m_pDevice, m_pContext)))) { + // return E_FAIL; + //} - if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CFSM::Create(m_pDevice, m_pContext)))) - return E_FAIL; + //if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CFSM::Create(m_pDevice, m_pContext)))) + // return E_FAIL; - /* For.Prototype_GameObject_Player */ - if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPlayer::Create(m_pDevice, m_pContext)))) - return E_FAIL; + ///* For.Prototype_GameObject_Player */ + //if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPlayer::Create(m_pDevice, m_pContext)))) + // return E_FAIL; - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), CCharacter_Controller::Create(m_pDevice, m_pContext)))) { - return E_FAIL; - } + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), CCharacter_Controller::Create(m_pDevice, m_pContext)))) { + // return E_FAIL; + //} /* For.Prototype_GameObject_Wand */ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CWand::Create(m_pDevice, m_pContext)))) @@ -3490,7 +3577,7 @@ _bool bLoadHogsmeade = true; } #pragma region HOGWART -_bool bHogwartLoad = { false }; +_bool bHogwartLoad = { true }; /* Hogwart LOD */ if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogwarts/HogwartsLOD", @@ -3833,7 +3920,7 @@ vector> jobFutures; _uint iLoadCount = 44; vector*> Contents(iLoadCount); -_bool isLoad_Map = { true }; +_bool isLoad_Map = { false }; if(isLoad_Map) { { /* Terrain */ diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index 14dc49d0c..5a2bbca19 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -75,14 +75,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() #pragma region MONSTER - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "C:\\MeshTable\\Game\\RiggedObjects\\Props\\Weapons\\Goblins\\SK_WPN_GOB_BattleAxe01.fbx", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "C:\\MeshTable\\Game\\RiggedObjects\\Props\\Weapons\\Goblins\\SK_WPN_GOB_SmallSword.fbx", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; - futures.emplace_back(Deferred_ModelLoad( MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model") diff --git a/Jusin154_Team3D/Editor/Private/MainLight.cpp b/Jusin154_Team3D/Editor/Private/MainLight.cpp index 1974bf8ed..2f5c0a8fd 100644 --- a/Jusin154_Team3D/Editor/Private/MainLight.cpp +++ b/Jusin154_Team3D/Editor/Private/MainLight.cpp @@ -4,6 +4,8 @@ #include "GameInstance.h" #include "Camera_Debug.h" #include "GameTime.h" +#include "Layer.h" +#include "GameInstance.h" CMainLight::CMainLight(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CGameObject(pDevice, pContext) @@ -126,7 +128,73 @@ HRESULT CMainLight::Render() return S_OK; } +HRESULT CMainLight::Capture_PreShadow() +{ + CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_BACKGROUND); + assert(nullptr != pLayer); + const list* pObjects = pLayer->Get_Objects(); + for (auto& pObject : *pObjects) { + if (FAILED(m_pGameInstance->Add_RenderGroup(RENDER::PRESHADOW, pObject))) { + assert(false); + } + } + vector<_float3> vNeededPos = {}; + vNeededPos.reserve(12); + { + // 외곽이 더 많아지면 많아질수록 더 정밀한 경계가 가능함 + // 하지만 더 실제보다 멀리 외곽을 두르면 필요한 것보다 더 많이 찍게 됨 + // 결국 딱 맞춰서 찍는게 제일 중요함 + vNeededPos.emplace_back(_float3(-112.f, 155.f, 362.f)); + vNeededPos.emplace_back(_float3(-188.f, 10.f, 476.f)); + vNeededPos.emplace_back(_float3(-571.f, 19.f, 476.f)); + vNeededPos.emplace_back(_float3(-326.f, -64.f, 480.f)); + vNeededPos.emplace_back(_float3(569.f, 77.f, 250.f)); + vNeededPos.emplace_back(_float3(320.f, -236.f, 360.f)); + vNeededPos.emplace_back(_float3(570.f, 277.f, -277.f)); + vNeededPos.emplace_back(_float3(570.f, 176.f, -527.f)); + vNeededPos.emplace_back(_float3(-108.f, -64.f, -1146.f)); + vNeededPos.emplace_back(_float3(-824.f, 128.f, -533.f)); + vNeededPos.emplace_back(_float3(-826.f, 145.f, -150.f)); + vNeededPos.emplace_back(_float3(-256.f, -92.f, -414.f)); + } + _matrix xmViewMatrix = m_pTransformCom->Get_WorldMatrixInv(); + _float4x4 ViewMatrix = {}; XMStoreFloat4x4(&ViewMatrix, xmViewMatrix); + _float4x4 ProjMatrix = {}; XMStoreFloat4x4(&ProjMatrix, Get_OffCenterProjMatrix(xmViewMatrix, vNeededPos)); + + m_pGameInstance->Render_PreShadow(ViewMatrix, ProjMatrix); + + m_pGameInstance->Update_Volumetric(); + return S_OK; +} + +_matrix CMainLight::Get_OffCenterProjMatrix(_fmatrix ViewMatrix, vector<_float3>& WorldPositions) +{ + _float fMinX = FLT_MAX; + _float fMinY = FLT_MAX; + _float fMinZ = FLT_MAX; + _float fMaxX = -FLT_MAX; + _float fMaxY = -FLT_MAX; + _float fMaxZ = -FLT_MAX; + + _uint iPosNum = (_uint)WorldPositions.size(); + for (_uint iIndexPoint = 0; iIndexPoint < iPosNum; ++iIndexPoint) + { + _vector vLightViewPos = XMVector4Transform(XMVectorSetW(XMLoadFloat3(&WorldPositions[iIndexPoint]), 1.f), ViewMatrix); + + _float x = XMVectorGetX(vLightViewPos); + _float y = XMVectorGetY(vLightViewPos); + _float z = XMVectorGetZ(vLightViewPos); + + fMinX = min(fMinX, x); fMaxX = max(fMaxX, x); + fMinY = min(fMinY, y); fMaxY = max(fMaxY, y); + fMinZ = min(fMinZ, z); fMaxZ = max(fMaxZ, z); + } + _float fShadowDepthMArgin = 10.f; // 캐릭터 이동 보정 + fMinZ -= fShadowDepthMArgin; + fMaxZ += fShadowDepthMArgin; + return XMMatrixOrthographicOffCenterLH(fMinX, fMaxX, fMinY, fMaxY, fMinZ, fMaxZ); +} HRESULT CMainLight::Ready_Components() { diff --git a/Jusin154_Team3D/Editor/Private/MapElement_Static.cpp b/Jusin154_Team3D/Editor/Private/MapElement_Static.cpp index e81c70eaf..e5c04ef77 100644 --- a/Jusin154_Team3D/Editor/Private/MapElement_Static.cpp +++ b/Jusin154_Team3D/Editor/Private/MapElement_Static.cpp @@ -58,6 +58,9 @@ HRESULT CMapElement_Static::Initialize(void* pArg) XMStoreFloat3(&m_vWorldCenterPosition, XMVector3TransformCoord(XMLoadFloat3(&vOffset), m_pTransformCom->Get_XMWorldMatrix())); #endif // _DEBUG + ReadyForPhysX(); + ConvertToPhysX(); + return S_OK; } @@ -157,6 +160,38 @@ HRESULT CMapElement_Static::Bind_ShaderResources() return S_OK; } +void CMapElement_Static::ReadyForPhysX() +{ + _uint iLevel = NEXT_LEVEL; + + CModel* pModel = m_pModelComs[0]; + + if (FAILED(pModel->Ready_PhysXMeshes(XMMatrixIdentity(), iLevel))) { + assert(false); + } +} + +void CMapElement_Static::ConvertToPhysX() +{ + CModel* pModel = m_pModelComs[0]; + + _uint iNumMeshes = pModel->Get_NumMeshes(); + + for (_uint iIndex = 0; iIndex < iNumMeshes; ++iIndex) + { + _wstring wstrName = CMyTools::ToWstring(pModel->Get_MeshName(iIndex)) + to_wstring(iIndex); + CRigidBody_Static* pRigidBody = { nullptr }; + CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + Desc.pMeshName = wstrName.c_str(); + Desc.pWorldMatrix = m_pTransformCom->Get_WorldMatrixPtr(); + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, wstrName, (CComponent**)&pRigidBody, &Desc))) { + assert(false); + } + m_RigidBodies.push_back(pRigidBody); + } +} + CMapElement_Static* CMapElement_Static::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { CMapElement_Static* pInstance = new CMapElement_Static(pDevice, pContext); @@ -188,6 +223,10 @@ void CMapElement_Static::Free() __super::Free(); SAFE_RELEASE(m_pShaderCom); + + for (_uint i = 0; i < m_RigidBodies.size(); ++i) { + SAFE_RELEASE(m_RigidBodies[i]); + } m_RigidBodies.clear(); for (auto& pModel : m_pModelComs) SAFE_RELEASE(pModel); } @@ -196,6 +235,11 @@ void CMapElement_Static::Describe_Entity() { if (m_bDead) return; + + for (_uint i = 0; i < m_RigidBodies.size(); ++i) { + SAFE_RELEASE(m_RigidBodies[i]); + } m_RigidBodies.clear(); + if (nullptr == m_pGameInstance) return; diff --git a/Jusin154_Team3D/Editor/Private/MapInfo.cpp b/Jusin154_Team3D/Editor/Private/MapInfo.cpp index d251a0162..05ea2c11d 100644 --- a/Jusin154_Team3D/Editor/Private/MapInfo.cpp +++ b/Jusin154_Team3D/Editor/Private/MapInfo.cpp @@ -247,10 +247,10 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFilePath) Desc.ModelPrototypeTags.push_back(CMyTools::ToWstring(strTag)); } - if (MAPOBJECT_TYPE::ELEMENT_STATIC == eType) + //if (MAPOBJECT_TYPE::ELEMENT_STATIC == eType) m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Element_Static"), &Desc); - else if (MAPOBJECT_TYPE::ELEMENT_INTERACT == eType) - m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Element_Interactable"), &Desc); + //else if (MAPOBJECT_TYPE::ELEMENT_INTERACT == eType) + //m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Element_Interactable"), &Desc); } diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp index 686407b32..fb52ae93f 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp @@ -76,7 +76,7 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) /*if (FAILED(Load_LightObject("LightElement"))) return E_FAIL;*/ - if (FAILED(Load_InteractObject("E_INTER_Barrel"))) + /*if (FAILED(Load_InteractObject("E_INTER_Barrel"))) return E_FAIL; if (FAILED(Load_InteractObject("E_INTER_PostPackage_B"))) return E_FAIL; @@ -85,11 +85,11 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) if (FAILED(Load_InteractObject("E_INTER_TeaShopTable"))) return E_FAIL; if (FAILED(Load_InteractObject("E_INTER_TeaShopChair"))) - return E_FAIL; + return E_FAIL;*/ #pragma region HOGSMEADE - if (FAILED(Load_MapData("Hogsmeade_MapContainer_Data", LAYER_HOGSMEADE))) - return E_FAIL; + //if (FAILED(Load_MapData("Hogsmeade_MapContainer_Data", LAYER_HOGSMEADE))) + // return E_FAIL; #pragma endregion #pragma region DUNGEON @@ -100,10 +100,10 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) #pragma endregion #pragma region HOGWART - //if (FAILED(Load_MapData("Hogwart_MapContainer_Data", LAYER_HOGWART))) - // return E_FAIL; - //if (FAILED(Load_MapData("HogwartMap1221", LAYER_HOGWART))) - // return E_FAIL; + if (FAILED(Load_MapData("Hogwart_MapContainer_Data", LAYER_HOGWART))) + return E_FAIL; + if (FAILED(Load_MapData("HogwartMap1221", LAYER_HOGWART))) + return E_FAIL; #pragma endregion #pragma region Light @@ -277,9 +277,9 @@ void CMapObject_Manager::Update(_float fTimeDelta) //Update_LightSpawer(); //Update_Decal(); //Update_RaceRing(); - //Update_EditEffect(); + Update_EditEffect(); //Update_Balloon(); - Update_DummyNpc(); + //Update_DummyNpc(); Update_Unified(); @@ -2766,7 +2766,7 @@ void CMapObject_Manager::Update_EditEffect() if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::MAP), NEXT_LEVEL, TEXT("Layer_Effect_EDIT"), &PartsDesc, nullptr, &pEffect))) return; - pEffect->Load("../Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35",LEVEL::MAP); + pEffect->Load("../Bin/Resources/Data/Effect/BroomRace/Bubble",LEVEL::MAP); pEffect->Set_Visible(true); } diff --git a/Jusin154_Team3D/Editor/Private/Ranrok.cpp b/Jusin154_Team3D/Editor/Private/Ranrok.cpp index 0ce2bdcfd..1b81b818b 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok.cpp @@ -79,8 +79,16 @@ HRESULT CRanrok::Initialize(void* pArg) m_pCharacter_Controller->SetGravity(false); #endif + m_pModelCom->Set_DisableRootMotionScale(true); + Load_RanrokPos("../Bin/Resources/Data/RanrokPos/RanrokPos.xml"); + + m_fRimStrength = 2.3f; + m_fRimPower = 2.3f; + m_vRimColor = _float4(0.333f, 0.235f, 0.184f, 0.059f); + + return S_OK; } @@ -151,6 +159,17 @@ void CRanrok::Update(_float fTimeDelta) } + if (m_bMotionTrail) { + m_vCaptureTimer.x += fTimeDelta; + if (m_vCaptureTimer.y < m_vCaptureTimer.x) { + m_vCaptureTimer.x = 0.f; + if (FAILED(m_pModelCom->Capture_BoneBuffer(m_pMotionTrailCom, *m_pTransformCom->Get_WorldMatrixPtr()))) { + assert(false); + } + } + } + + #pragma region TRAIL_UPDATE _matrix WorldMat = m_pTransformCom->Get_XMWorldMatrix(); @@ -182,6 +201,8 @@ void CRanrok::Update(_float fTimeDelta) } #pragma endregion + + m_pMotionTrailCom->Update_Capture(fTimeDelta); } void CRanrok::Late_Update(_float fTimeDelta) @@ -223,7 +244,7 @@ HRESULT CRanrok::Render() hr = Render_Nonblend(); } else if (RENDER::BLEND == eCurrentPass) { - //hr = Render_Blend(); + hr = Render_Blend(); hr = S_OK; } return hr; @@ -529,6 +550,12 @@ HRESULT CRanrok::Ready_Parts() m_pRightEye_BoneMat = m_pModelCom->Get_BoneMatrixPtr("eye_right"); #pragma endregion + + CMotion_Trail::MOTIONTRAIL_RENDERFUNC funcDesc{}; + funcDesc.funcRenderCall = [this](ID3D11ShaderResourceView* pSRV) { Render_MotionTrail(pSRV); }; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Ranrok_MotionTrail"), (CComponent**)&m_pMotionTrailCom, &funcDesc))) { + return E_FAIL; + } return S_OK; } @@ -673,6 +700,52 @@ HRESULT CRanrok::Render_Blend() } } + if (m_bMotionTrail) { + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + + if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) { + return E_FAIL; + } + } + + return S_OK; +} + +HRESULT CRanrok::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; + + 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(), + (_int)m_pModelCom->Get_OffsetMatrix(i).size()))) { + return E_FAIL; + } + if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::RIMLIGHT)))) + return E_FAIL; + + m_pContext->VSSetShaderResources(26, 1, &pSRV); + + if (FAILED(m_pModelCom->Render(i))) { + return E_FAIL; + } + } return S_OK; } @@ -845,6 +918,7 @@ void CRanrok::Describe_Entity() SAFE_RELEASE(m_pRightEye_Trail); SAFE_RELEASE(m_pRightPt); SAFE_RELEASE(m_pLeftPt); + SAFE_RELEASE(m_pMotionTrailCom); for (auto& pParts : m_PartObjects) { @@ -856,6 +930,14 @@ void CRanrok::Describe_Entity() Ready_Parts(); } + + 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(); + if (GUI::Button("Create Prop")) { m_vCreatePropTime.x = m_vCreatePropTime.y; @@ -867,52 +949,52 @@ void CRanrok::Describe_Entity() m_pCharacter_Controller->Set_Position(XMVectorSet(m_pGameInstance->Get_CamPosition()->x, m_pGameInstance->Get_CamPosition()->y, m_pGameInstance->Get_CamPosition()->z, 1.f)); } - GUI::DragFloat("Tucked Speed", &m_fTuckedSpeed); + //GUI::DragFloat("Tucked Speed", &m_fTuckedSpeed); - for (_uint i = 0; i < m_Points.size(); ++i) - { - GUI::Separator(); + //for (_uint i = 0; i < m_Points.size(); ++i) + //{ + // GUI::Separator(); - if (GUI::TreeNode(("Points " + to_string(i)).c_str())) - { - GUI::Text("Points[%d] Count : %d", i, (_int)m_Points[i].size()); + // if (GUI::TreeNode(("Points " + to_string(i)).c_str())) + // { + // GUI::Text("Points[%d] Count : %d", i, (_int)m_Points[i].size()); - for (_uint j = 0; j < m_Points[i].size(); ) - { - _float3 p = { m_Points[i][j].x,m_Points[i][j].y,m_Points[i][j].z }; + // for (_uint j = 0; j < m_Points[i].size(); ) + // { + // _float3 p = { m_Points[i][j].x,m_Points[i][j].y,m_Points[i][j].z }; - GUI::PushID((int)(i * 10000 + j)); + // GUI::PushID((int)(i * 10000 + j)); - GUI::Text("[%d] (%.2f, %.2f, %.2f)", j, p.x, p.y, p.z); - GUI::SameLine(); + // GUI::Text("[%d] (%.2f, %.2f, %.2f)", j, p.x, p.y, p.z); + // GUI::SameLine(); - if (GUI::SmallButton("Move")) - { - m_pCharacter_Controller->Set_Position( - XMVectorSet(p.x, p.y, p.z, 1.f)); - } + // if (GUI::SmallButton("Move")) + // { + // m_pCharacter_Controller->Set_Position( + // XMVectorSet(p.x, p.y, p.z, 1.f)); + // } - GUI::SameLine(); + // GUI::SameLine(); - if (GUI::SmallButton("X")) - { - m_Points[i].erase(m_Points[i].begin() + j); - GUI::PopID(); - continue; - } + // if (GUI::SmallButton("X")) + // { + // m_Points[i].erase(m_Points[i].begin() + j); + // GUI::PopID(); + // continue; + // } - GUI::PopID(); - ++j; - } + // GUI::PopID(); + // ++j; + // } - if (GUI::SmallButton(("Clear##" + to_string(i)).c_str())) - { - m_Points[i].clear(); - } - GUI::TreePop(); - } + // if (GUI::SmallButton(("Clear##" + to_string(i)).c_str())) + // { + // m_Points[i].clear(); + // } + // GUI::TreePop(); + // } - } + //} if (GUI::DragFloat3("Change CCT Pos" , (_float*)& m_vCCTPos)) { _vector vPos = XMLoadFloat3(&m_vCCTPos); diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Charge.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Charge.cpp index f45abcfa2..78afeba98 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok_Charge.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok_Charge.cpp @@ -98,7 +98,7 @@ HRESULT CRanrok_Charge::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화*/ - _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition(); pCharge_Goo->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_GroundPulse.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_GroundPulse.cpp index e066865f9..b6d28e11c 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok_GroundPulse.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok_GroundPulse.cpp @@ -103,7 +103,7 @@ HRESULT CRanrok_GroundPulse::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화*/ - _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition(); pRed_Sphere->Get_Component()->Set_WorldMatrix(m_pOwner->Get_Component()->Get_XMWorldMatrix()); pRed_Sphere->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Pulse.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Pulse.cpp index 5b25b22be..a4ec65dd5 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok_Pulse.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok_Pulse.cpp @@ -105,7 +105,7 @@ HRESULT CRanrok_Pulse::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화*/ - _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition(); pRed_Sphere->Get_Component()->Set_WorldMatrix(m_pOwner->Get_Component()->Get_XMWorldMatrix()); pRed_Sphere->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp index be4965f97..15f7b6009 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp @@ -567,9 +567,15 @@ void CRanrok::Behavior_SwipeEnter() Add_Event(pairAnimInfo.first, [this]() { + m_bMotionTrail = true; m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_SWIPE , this); }, 0.3f); + Add_Event(pairAnimInfo.first, + [this]() { + m_bMotionTrail = false; + }, + 0.5f); } HRESULT CRanrok::Behavior_SwipeExitCheck(_float fTimeDelta) diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h index 24254b1df..26eba3cbd 100644 --- a/Jusin154_Team3D/Editor/Public/Editor_Define.h +++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h @@ -26,7 +26,7 @@ namespace Editor 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 SHADER_PASS_MESH { DEFAULT, SHADOW, SKYBOX, ALPHABLEND, EFFECT_ALPHABLEND, EFFECT_BLEND, EFFECT_ALPHABLEND_CULL, EFFECT_BLEND_CULL, CAPTURE, BLUR, EFFECT_ALPHABLEND_UVMOVE, MAPTOOL, GLASS, OUTLINE_WRITE, OUTLINE_READ, BLOOM, WATER, LAND, NONMRO, SPECTOR_WEAPON, GLASS_CUBE, LEVIOSO, DECAL, WIREFRAME, END }; diff --git a/Jusin154_Team3D/Editor/Public/Level_ObjectViewer.h b/Jusin154_Team3D/Editor/Public/Level_ObjectViewer.h index ee8c4d011..9ddd7d970 100644 --- a/Jusin154_Team3D/Editor/Public/Level_ObjectViewer.h +++ b/Jusin154_Team3D/Editor/Public/Level_ObjectViewer.h @@ -47,6 +47,8 @@ class CLevel_ObjectViewer final : public CLevel vector m_Objects; vector m_PartsObjects; class CRootModelPart* m_HumanRoot = { nullptr }; + + _bool m_isUpdateEvent = { true }; _int m_iObjectIndex = { 0 }; _int m_iPartsObjectIndex = { 0 }; _float m_fKeyFrame = {}; diff --git a/Jusin154_Team3D/Editor/Public/MainLight.h b/Jusin154_Team3D/Editor/Public/MainLight.h index 111f7be96..6eb100602 100644 --- a/Jusin154_Team3D/Editor/Public/MainLight.h +++ b/Jusin154_Team3D/Editor/Public/MainLight.h @@ -26,6 +26,8 @@ class CMainLight final : public CGameObject virtual void Update(_float fTimeDelta) override; virtual void Late_Update(_float fTimeDelta) override; virtual HRESULT Render() override; + HRESULT Capture_PreShadow(); + _matrix Get_OffCenterProjMatrix(_fmatrix ViewMatrix, vector<_float3>& WorldPositions); private: CLight* m_pLightCom = { nullptr }; diff --git a/Jusin154_Team3D/Editor/Public/MapElement_Static.h b/Jusin154_Team3D/Editor/Public/MapElement_Static.h index 93118e86a..f209dad2c 100644 --- a/Jusin154_Team3D/Editor/Public/MapElement_Static.h +++ b/Jusin154_Team3D/Editor/Public/MapElement_Static.h @@ -23,12 +23,17 @@ class CMapElement_Static : public CMapElement _float m_fRadius = {}; _float3 m_vWorldCenterPosition = {}; + vector m_RigidBodies; + private: virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; virtual HRESULT Ready_Components(void* pArg) override; virtual HRESULT Bind_ShaderResources() override; + void ReadyForPhysX(); + void ConvertToPhysX(); + public: static CMapElement_Static* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; diff --git a/Jusin154_Team3D/Editor/Public/Monster.h b/Jusin154_Team3D/Editor/Public/Monster.h index 1bb67dca8..0457d3cef 100644 --- a/Jusin154_Team3D/Editor/Public/Monster.h +++ b/Jusin154_Team3D/Editor/Public/Monster.h @@ -25,6 +25,7 @@ class CMonster abstract : public CUnit protected: class CInfoInstance* m_pInfoInstance = { nullptr }; + CMotion_Trail* m_pMotionTrailCom = { nullptr }; CUnit* m_pTarget = { nullptr }; CStat* m_pStat = { nullptr }; _float4 m_vTargetPos = { }; diff --git a/Jusin154_Team3D/Editor/Public/Ranrok.h b/Jusin154_Team3D/Editor/Public/Ranrok.h index 755872d9a..03ec67bf8 100644 --- a/Jusin154_Team3D/Editor/Public/Ranrok.h +++ b/Jusin154_Team3D/Editor/Public/Ranrok.h @@ -50,6 +50,7 @@ class CRanrok final : public CMonster virtual void Late_Update(_float fTimeDelta) override; virtual HRESULT Render() override; virtual HRESULT Render_Shadow(SHADOW eType) override; + HRESULT Render_MotionTrail(ID3D11ShaderResourceView* pSRV); virtual _vector Get_LockOnPos() override; virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override; virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override; @@ -128,9 +129,15 @@ class CRanrok final : public CMonster _float m_fTuckedSpeed = { 75.f}; _float2 m_vCreatePropTime = {0.f , 60.f}; - + _bool m_bMotionTrail = {}; _float3 m_vCCTPos = {}; + _float2 m_vCaptureTimer = { 0.f, 0.05f }; + + _float m_fRimStrength = { 1.f }; + _float m_fRimPower = { 0.f }; + _float4 m_vRimColor = {}; + void Behavior_IdleEnter(); HRESULT Behavior_IdleExitCheck(); void Behavior_IdleExit(); diff --git a/Jusin154_Team3D/Engine/Private/Character_Controller.cpp b/Jusin154_Team3D/Engine/Private/Character_Controller.cpp index 04cb27166..c15c524f7 100644 --- a/Jusin154_Team3D/Engine/Private/Character_Controller.cpp +++ b/Jusin154_Team3D/Engine/Private/Character_Controller.cpp @@ -147,6 +147,26 @@ _float3 CCharacter_Controller::Get_Volume() } } +_float CCharacter_Controller::Get_Height() +{ + switch (m_eBodyType) + { + case Engine::ACTOR::BOX: + { + PSX::PxBoxController* pBox = static_cast(m_pController); + return pBox->getHalfHeight() * 2.f; + } break; + case Engine::ACTOR::CAPSULE: + { + PSX::PxCapsuleController* pCapsule = static_cast(m_pController); + return (pCapsule->getRadius() + pCapsule->getHeight()) * 2.f; + } break; + default: + return 2.f; + break; + } +} + HRESULT CCharacter_Controller::ConvertToDO(CRigidBody_Dynamic& BodyOriginal) { PSX::PxRigidDynamic* pDOActor = BodyOriginal.Get_Actor(); diff --git a/Jusin154_Team3D/Engine/Private/GameInstance.cpp b/Jusin154_Team3D/Engine/Private/GameInstance.cpp index d4b1d3ae0..f17105244 100644 --- a/Jusin154_Team3D/Engine/Private/GameInstance.cpp +++ b/Jusin154_Team3D/Engine/Private/GameInstance.cpp @@ -1032,10 +1032,34 @@ HRESULT CGameInstance::Load_Sound(SOUND::SD_KIND eKind, const _tchar* wstrSoundF { return m_pSound_Manager->Load_Sound(eKind, wstrSoundFilePath, eSoundMode); } +SOUND::SD_KIND CGameInstance::Find_Sound(const _wstring wstrFilePath) +{ + return m_pSound_Manager->Find_Sound(wstrFilePath); +} void CGameInstance::Sound_Play(SOUND::SD_KIND eSoundKind, SD_CHANNEL_GROUP eSoundChannel, _bool bRepeat, _float fVolume) { m_pSound_Manager->Sound_Play(eSoundKind, eSoundChannel, bRepeat, fVolume); } +void CGameInstance::Sound_Play_3DPos(SOUND::SD_KIND eSoundKind, SD_CHANNEL_GROUP eSoundChannel, _float3& refSpeaker, _float fMin, _float fMax, _bool bRepeat) +{ + m_pSound_Manager->Sound_Play_3DPos(eSoundKind, eSoundChannel, refSpeaker, fMin, fMax, bRepeat); +} +void CGameInstance::Sound_Pause_Channel(SD_CHANNEL_GROUP eSoundChannel, bool bPause) +{ + m_pSound_Manager->Sound_Pause_Channel(eSoundChannel, bPause); +} +void CGameInstance::Sound_Set3DListenerPos(CTransform* pTransform) +{ + m_pSound_Manager->Sound_Set3DListenerPos(pTransform); +} +void CGameInstance::Sound_StopChannel(SD_CHANNEL_GROUP eSoundChannel) +{ + m_pSound_Manager->Sound_StopChannel(eSoundChannel); +} +void CGameInstance::Sound_Stop(SOUND::SD_KIND eSoundKind, SD_CHANNEL_GROUP eSoundChannel) +{ + m_pSound_Manager->Sound_Stop(eSoundKind, eSoundChannel); +} void CGameInstance::Sound_StopAll() { m_pSound_Manager->Sound_StopAll(); diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp index a2db9cd90..bbef4ae3f 100644 --- a/Jusin154_Team3D/Engine/Private/Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Model.cpp @@ -194,6 +194,13 @@ void CModel::Set_ChainAnimation(pair<_uint, _bool> chainAnim) } +void CModel::Clear_QueuedAnim() +{ + m_bQueuedAnim = false; + m_iQueuedAnimIndex = -1; +} + + _bool CModel::Play_Animation(_float fTimeDelta, CTransform* pTransform) { if (m_iCurrentAnimIndex < 0 || m_iCurrentAnimIndex >= (_int)m_iNumAnimations){ @@ -292,7 +299,6 @@ _bool CModel::Play_Anim(_float fTimeDelta, CTransform* pTransform) { fRatio = 1.f; m_iPreAnimIndex = m_iCurrentAnimIndex; - m_fBlendTime = 0.f; if (m_iQueuedAnimIndex != -1) { @@ -300,7 +306,7 @@ _bool CModel::Play_Anim(_float fTimeDelta, CTransform* pTransform) _bool loop = m_bQueuedLoop; m_iQueuedAnimIndex = -1; - Set_AnimationIndex(next, loop,m_fAmount,m_bRatio,1.f,false); + Set_AnimationIndex(next, loop,m_fQueuedAmount,m_bQueuedRatio,m_fQueuedSpeed,m_bQueuedRootBone); } } } @@ -447,6 +453,13 @@ _bool CModel::IsBlending() const void CModel::Set_AnimationIndex(_uint iIndex, _bool isLoop, _float fAmount, _bool bRatio, _float fAnimSpeed,_bool bRootBone,_bool bQueuedAnim) { + + if (!bQueuedAnim) + { + m_bQueuedAnim = false; + m_iQueuedAnimIndex = -1; + } + m_bQueuedAnim = bQueuedAnim; if (m_iCurrentAnimIndex == iIndex) return; @@ -456,6 +469,11 @@ void CModel::Set_AnimationIndex(_uint iIndex, _bool isLoop, _float fAmount, _boo { m_iQueuedAnimIndex = iIndex; m_bQueuedLoop = isLoop; + m_fQueuedAmount = fAmount; + m_bQueuedRatio = bRatio; + m_fQueuedSpeed = fAnimSpeed; + m_bQueuedRootBone = bRootBone; + return; } } @@ -479,6 +497,7 @@ void CModel::Set_AnimationIndex(_uint iIndex, _bool isLoop, _float fAmount, _boo m_bIsLoop = isLoop; m_fAmount = fAmount; m_bRatio = bRatio; + m_bIsFinishedAnim = false; m_Animations[m_iCurrentAnimIndex]->Depart_Animation(); m_Animations[m_iCurrentAnimIndex]->Set_AnimSpeed(fAnimSpeed); 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/PhysX_Manager.cpp b/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp index 30eb1103d..444139556 100644 --- a/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp +++ b/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp @@ -69,80 +69,7 @@ PSX::PxRigidDynamic* CPhysX_Manager::Add_DynamicActor(CRigidBody_Dynamic& RigidB PSX::PxRigidStatic* CPhysX_Manager::Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel) { - _matrix WorldMatrix = RigidBody.Get_TransformPtr()->Get_XMWorldMatrix(); - PSX::PxTransform pxWorldMatrix = XMWorldToPx_NoScaleNoFlip(WorldMatrix); - - // PxRigidStatic 씬의 정적 바디 인터페이스 - PSX::PxRigidStatic* pActorStatic = m_pPhysics->createRigidStatic(pxWorldMatrix); - PSX::PxShape* pShape = { nullptr }; - PSX::PxGeometry* pGeometry = { nullptr }; - - switch (RigidBody.Get_Type()) - { - case ACTOR::PLANE: - break; - case ACTOR::TRIANGLEMESH: - { // SetUp Geometry - PSX::PxTriangleMesh* pPxMesh = Find_TriangleMesh(RigidBody.Get_PxMeshKey(), iLevel); - PSX::PxTriangleMeshGeometry* pPxMeshGeometry = { nullptr }; - - _vector vPos, vRotq, vScale; - XMMatrixDecompose(&vScale, &vRotq, &vPos, WorldMatrix); - vRotq = XMQuaternionNormalize(vRotq); - - PSX::PxTransform out; - XMStoreFloat3((_float3*)&out.p, vPos); - XMStoreFloat4((_float4*)&out.q, vRotq); - PSX::PxMeshScale meshScale( - PSX::PxVec3(fabsf(vScale.m128_f32[0]), fabsf(vScale.m128_f32[1]), fabsf(vScale.m128_f32[2])), - PSX::PxQuat(PSX::PxIdentity) // 스케일 축은 로컬 기준 - ); - pPxMeshGeometry = new PSX::PxTriangleMeshGeometry(pPxMesh, meshScale); - - // GeoFlag 중 더블사이드는 이제 지원 안함, 할거면 노말 뒤집어서 하라고 함 - // pPxMeshGeometry->meshFlags |= PSX::PxMeshGeometryFlag::eDOUBLE_SIDED; - // 유효성 체크 - PX_ASSERT(pPxMeshGeometry->isValid()); - pGeometry = pPxMeshGeometry; - _bool bEmplaceSuccess = m_TriangleMeshGeometry[iLevel].emplace(RigidBody.Get_PxMeshKey(), pPxMeshGeometry).second; - if (false == bEmplaceSuccess) { - Safe_Delete(pPxMeshGeometry); - pGeometry = (*m_TriangleMeshGeometry[iLevel].find(RigidBody.Get_PxMeshKey())).second; - } - } - break; - case ACTOR::HEIGHTFIELD: - { // SetUp HeightField - PSX::PxHeightField* pHeightField = Find_HeightField(RigidBody.Get_PxMeshKey(), iLevel); - PSX::PxHeightFieldGeometry* pPxHeightGeometry = new PSX::PxHeightFieldGeometry(pHeightField); - pPxHeightGeometry->heightScale = 0.01f/* 기본 정밀도 100배 0.01 -> 1cm, 1 -> 1m */; - - // 유효성 체크 - PX_ASSERT(pPxHeightGeometry->isValid()); - pGeometry = pPxHeightGeometry; - _bool bEmplaceSuccess = m_HeightFieldGeometry[iLevel].emplace(RigidBody.Get_PxMeshKey(), pPxHeightGeometry).second; - if (false == bEmplaceSuccess) { - Safe_Delete(pPxHeightGeometry); - pGeometry = (*m_HeightFieldGeometry[iLevel].find(RigidBody.Get_PxMeshKey())).second; - } - } - break; - default: - assert(false); - break; - } - - pShape = PSX::PxRigidActorExt::createExclusiveShape(*pActorStatic, *pGeometry, *m_pMaterials[ENUM_CLASS(RigidBody.Get_MaterialType())]); - - pShape->setFlags(RigidBody.Get_ShapeFlags()); - pShape->setContactOffset(RigidBody.Get_ContactOffset()); - pShape->setRestOffset(0.f); - - m_pRestBodies[iLevel].insert(pActorStatic); - ApplyFilterData(pActorStatic); - Attach_Actor(*pActorStatic, iLevel); - - return pActorStatic; + return Add_StaticActor(RigidBody, iLevel, RigidBody.Get_TransformPtr()->Get_WorldMatrixPtr()); } PSX::PxRigidStatic* CPhysX_Manager::Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel, const _float4x4* pWorldMatrix) @@ -153,6 +80,7 @@ PSX::PxRigidStatic* CPhysX_Manager::Add_StaticActor(CRigidBody_Static& RigidBody // PxRigidStatic 씬의 정적 바디 인터페이스 PSX::PxRigidStatic* pActorStatic = m_pPhysics->createRigidStatic(pxWorldMatrix); + pActorStatic->userData = RigidBody.Get_UserDataPtr(); PSX::PxShape* pShape = { nullptr }; PSX::PxGeometry* pGeometry = { nullptr }; @@ -477,11 +405,11 @@ HRESULT CPhysX_Manager::SaveTriMeshes(const _char* pPath, vectoruserData = &PlaneData; pGroundPlane->setName("PHYSX_EDITPLANE"); m_pScene->addActor(*pGroundPlane); @@ -650,36 +578,14 @@ uint32_t CPhysX_Manager::ConvertPhysxKindToBit(const PHYSX_USERDATA& physxUserDa return COLLISIONCATERGORY_BIT32::CharacterController; if (physxUserData.eKind == PHYSX_KIND::BODY_DYNAMIC) - { - _bool isJointRelatedPart = - physxUserData.iSubKind == ENUM_CLASS(PXOBJECT::JOINT_ANCHOR) || - physxUserData.iSubKind == ENUM_CLASS(PXOBJECT::JOINT_ROUTE); - - if (true == isJointRelatedPart) - return COLLISIONCATERGORY_BIT32::JointedParts; - return COLLISIONCATERGORY_BIT32::WorldDynamic; - } return 0u; } uint32_t CPhysX_Manager::BuildCollisionMaskFromCategoryBit(uint32_t iMyBit) { - if (iMyBit == COLLISIONCATERGORY_BIT32::CharacterController) - { - // CCT는 조인트 파츠 충돌x - return COLLISIONCATERGORY_BIT32::WorldStatic | COLLISIONCATERGORY_BIT32::WorldDynamic; - } - - if (iMyBit == COLLISIONCATERGORY_BIT32::JointedParts) - { - // 조인트 파츠도 CCT 충돌x - return COLLISIONCATERGORY_BIT32::WorldStatic | COLLISIONCATERGORY_BIT32::WorldDynamic; - } - - // 기본값 - return COLLISIONCATERGORY_BIT32::WorldStatic | COLLISIONCATERGORY_BIT32::WorldDynamic | COLLISIONCATERGORY_BIT32::CharacterController | COLLISIONCATERGORY_BIT32::JointedParts; + return COLLISIONCATERGORY_BIT32::WorldStatic | COLLISIONCATERGORY_BIT32::WorldDynamic | COLLISIONCATERGORY_BIT32::CharacterController; } void CPhysX_Manager::ApplyFilterData(PSX::PxRigidActor* pRigidActor) @@ -693,8 +599,8 @@ void CPhysX_Manager::ApplyFilterData(PSX::PxRigidActor* pRigidActor) return; } - const uint32_t CategoryBit = ConvertPhysxKindToBit(*physxUserData); // who am i - const uint32_t MaskBits = BuildCollisionMaskFromCategoryBit(CategoryBit); // for what + _uint CategoryBit = ConvertPhysxKindToBit(*physxUserData); // who am i + _uint MaskBits = BuildCollisionMaskFromCategoryBit(CategoryBit); // for what PSX::PxFilterData DATAfilter = {}; DATAfilter.word0 = CategoryBit; // 나는 누구인가 @@ -717,7 +623,6 @@ void CPhysX_Manager::ApplyFilterData(PSX::PxRigidActor* pRigidActor) // 씬쿼리 대상 플래그 보장 shape->setFlag(PSX::PxShapeFlag::eSCENE_QUERY_SHAPE, true); } - } PSX::PxFilterFlags CPhysX_Manager::SimulationFilterShader(PSX::PxFilterObjectAttributes pxAttributes0, PSX::PxFilterData pxFilterData0, PSX::PxFilterObjectAttributes pxAttributes1, PSX::PxFilterData pxFilterData1, PSX::PxPairFlags& pxPairFlags, const void* pConstantBlock, PSX::PxU32 iConstantBlockSize) diff --git a/Jusin154_Team3D/Engine/Private/SoundSrc.cpp b/Jusin154_Team3D/Engine/Private/SoundSrc.cpp index e28e9b271..eaa11b351 100644 --- a/Jusin154_Team3D/Engine/Private/SoundSrc.cpp +++ b/Jusin154_Team3D/Engine/Private/SoundSrc.cpp @@ -7,17 +7,240 @@ using namespace Engine::SOUND; const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = { #pragma region BGM - TEXT("BGM/Hogwart_BGM_0.wav"), - TEXT("BGM/Ranrok_BGM.wav"), + TEXT("BGM/battle_BGM_0.wav"), + TEXT("BGM/battle_BGM_1.wav"), + TEXT("BGM/grassland_day.wav"), + TEXT("BGM/grassland_night.wav"), + TEXT("BGM/hogwart_BGM_0.wav"), + TEXT("BGM/hogwart_BGM_1.wav"), + TEXT("BGM/hogwart_BGM_int.wav"), + TEXT("BGM/Ranrok_BGM.wav"), #pragma endregion #pragma region SPELL - TEXT("Player/spells_jap_akb/jap_0.wav"), + TEXT("Player/spells_jap_akb/jap_0.wav"), TEXT("Player/spells_jap_akb/jap_1.wav"), TEXT("Player/spells_jap_akb/jap_13.wav"), TEXT("Player/spells_perk_shadowblink_akb/blink_2.wav"), #pragma endregion +#pragma region AVADA_KEDAVRA + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_0.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_1.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_2.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_3.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_4.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_5.wav"), // 5 + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_6.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_7.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_8.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_9.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_10.wav"), // 10 + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_11.wav"), + TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_12.wav"), +#pragma endregion + +#pragma region ANCIENT_LIGHTNING + TEXT("Player/spells_finisher_am_lightningstrike_akb/lightnig_0.wav"), + TEXT("Player/spells_finisher_am_lightningstrike_akb/lightnig_1.wav"), + TEXT("Player/spells_finisher_am_lightningstrike_akb/lightnig_2.wav"), + TEXT("Player/spells_finisher_am_lightningstrike_akb/lightnig_3.wav"), +#pragma endregion + +#pragma region ACCIO + + TEXT("Player/spells_accio_akb/accio_0.wav"), + TEXT("Player/spells_accio_akb/accio_1.wav"), + TEXT("Player/spells_accio_akb/accio_2.wav"), + TEXT("Player/spells_accio_akb/accio_3.wav"), + TEXT("Player/spells_accio_akb/accio_4.wav"), + TEXT("Player/spells_accio_akb/accio_5.wav"), + TEXT("Player/spells_accio_akb/accio_6.wav"), + TEXT("Player/spells_accio_akb/accio_7.wav"), + TEXT("Player/spells_accio_akb/accio_8.wav"), + TEXT("Player/spells_accio_akb/accio_9.wav"), + TEXT("Player/spells_accio_akb/accio_10.wav"), + TEXT("Player/spells_accio_akb/accio_11.wav"), + TEXT("Player/spells_accio_akb/accio_12.wav"), + TEXT("Player/spells_accio_akb/accio_13.wav"), + TEXT("Player/spells_accio_akb/accio_14.wav"), + TEXT("Player/spells_accio_akb/accio_15.wav"), + TEXT("Player/spells_accio_akb/accio_16.wav"), + TEXT("Player/spells_accio_akb/accio_17.wav"), + TEXT("Player/spells_accio_akb/accio_18.wav"), + TEXT("Player/spells_accio_akb/accio_19.wav"), + TEXT("Player/spells_accio_akb/accio_20.wav"), + TEXT("Player/spells_accio_akb/accio_21.wav"), + TEXT("Player/spells_accio_akb/accio_22.wav"), + TEXT("Player/spells_accio_akb/accio_23.wav"), + +#pragma endregion + +#pragma region REPARO + TEXT("Player/spells_reparo_akb/reparo_0.wav"), + TEXT("Player/spells_reparo_akb/reparo_11.wav"), + TEXT("Player/spells_reparo_akb/reparo_21.wav"), +#pragma endregion + +#pragma region DECENDO + + TEXT("Player/spells_descendo_akb/descendo_0.wav"), + TEXT("Player/spells_descendo_akb/descendo_1.wav"), + TEXT("Player/spells_descendo_akb/descendo_2.wav"), + TEXT("Player/spells_descendo_akb/descendo_3.wav"), + TEXT("Player/spells_descendo_akb/descendo_4.wav"), + TEXT("Player/spells_descendo_akb/descendo_5.wav"), + TEXT("Player/spells_descendo_akb/descendo_6.wav"), + TEXT("Player/spells_descendo_akb/descendo_7.wav"), + TEXT("Player/spells_descendo_akb/descendo_8.wav"), + TEXT("Player/spells_descendo_akb/descendo_9.wav"), + TEXT("Player/spells_descendo_akb/descendo_10.wav"), + TEXT("Player/spells_descendo_akb/descendo_11.wav"), + TEXT("Player/spells_descendo_akb/descendo_12.wav"), + TEXT("Player/spells_descendo_akb/descendo_13.wav"), + TEXT("Player/spells_descendo_akb/descendo_14.wav"), + TEXT("Player/spells_descendo_akb/descendo_15.wav"), + TEXT("Player/spells_descendo_akb/descendo_16.wav"), + TEXT("Player/spells_descendo_akb/descendo_17.wav"), + TEXT("Player/spells_descendo_akb/descendo_18.wav"), + TEXT("Player/spells_descendo_akb/descendo_19.wav"), + TEXT("Player/spells_descendo_akb/descendo_20.wav"), + TEXT("Player/spells_descendo_akb/descendo_21.wav"), + TEXT("Player/spells_descendo_akb/descendo_22.wav"), + TEXT("Player/spells_descendo_akb/descendo_23.wav"), + TEXT("Player/spells_descendo_akb/descendo_24.wav"), + TEXT("Player/spells_descendo_akb/descendo_25.wav"), + +#pragma endregion + + +#pragma region BOMBARD + + TEXT("Player/spells_bombard_akb/bombard_0.wav"), + TEXT("Player/spells_bombard_akb/bombard_1.wav"), + TEXT("Player/spells_bombard_akb/bombard_2.wav"), + TEXT("Player/spells_bombard_akb/bombard_3.wav"), + TEXT("Player/spells_bombard_akb/bombard_4.wav"), + TEXT("Player/spells_bombard_akb/bombard_5.wav"), + TEXT("Player/spells_bombard_akb/bombard_6.wav"), + TEXT("Player/spells_bombard_akb/bombard_7.wav"), + TEXT("Player/spells_bombard_akb/bombard_8.wav"), + TEXT("Player/spells_bombard_akb/bombard_9.wav"), + TEXT("Player/spells_bombard_akb/bombard_10.wav"), + TEXT("Player/spells_bombard_akb/bombard_11.wav"), + TEXT("Player/spells_bombard_akb/bombard_12.wav"), + TEXT("Player/spells_bombard_akb/bombard_13.wav"), + TEXT("Player/spells_bombard_akb/bombard_14.wav"), + TEXT("Player/spells_bombard_akb/bombard_15.wav"), + TEXT("Player/spells_bombard_akb/bombard_16.wav"), + TEXT("Player/spells_bombard_akb/bombard_17.wav"), + TEXT("Player/spells_bombard_akb/bombard_18.wav"), + TEXT("Player/spells_bombard_akb/bombard_19.wav"), + TEXT("Player/spells_bombard_akb/bombard_20.wav"), + TEXT("Player/spells_bombard_akb/bombard_21.wav"), + TEXT("Player/spells_bombard_akb/bombard_22.wav"), + TEXT("Player/spells_bombard_akb/bombard_23.wav"), + TEXT("Player/spells_bombard_akb/bombard_24.wav"), + TEXT("Player/spells_bombard_akb/bombard_25.wav"), + TEXT("Player/spells_bombard_akb/bombard_26.wav"), + TEXT("Player/spells_bombard_akb/bombard_27.wav"), + TEXT("Player/spells_bombard_akb/bombard_28.wav"), + TEXT("Player/spells_bombard_akb/bombard_29.wav"), + TEXT("Player/spells_bombard_akb/bombard_30.wav"), + TEXT("Player/spells_bombard_akb/bombard_31.wav"), + TEXT("Player/spells_bombard_akb/bombard_32.wav"), + TEXT("Player/spells_bombard_akb/bombard_33.wav"), + TEXT("Player/spells_bombard_akb/bombard_34.wav"), + TEXT("Player/spells_bombard_akb/bombard_35.wav"), + TEXT("Player/spells_bombard_akb/bombard_36.wav"), + TEXT("Player/spells_bombard_akb/bombard_37.wav"), + TEXT("Player/spells_bombard_akb/bombard_38.wav"), + TEXT("Player/spells_bombard_akb/bombard_39.wav"), + TEXT("Player/spells_bombard_akb/bombard_40.wav"), + TEXT("Player/spells_bombard_akb/bombard_41.wav"), + TEXT("Player/spells_bombard_akb/bombard_42.wav"), + TEXT("Player/spells_bombard_akb/bombard_43.wav"), + TEXT("Player/spells_bombard_akb/bombard_44.wav"), + TEXT("Player/spells_bombard_akb/bombard_45.wav"), + TEXT("Player/spells_bombard_akb/bombard_46.wav"), +#pragma endregion + +#pragma region LEVIOSA + TEXT("Player/spells_leviosa_akb/leviosa_0.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_1.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_2.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_3.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_4.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_5.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_6.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_7.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_8.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_9.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_10.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_11.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_12.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_13.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_14.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_15.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_16.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_17.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_18.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_19.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_20.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_21.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_22.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_23.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_24.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_25.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_26.wav"), + TEXT("Player/spells_leviosa_akb/leviosa_27.wav"), + +#pragma endregion + +#pragma region PROTEGO + + TEXT("Player/spells_protego_akb/protego_0.wav"), + TEXT("Player/spells_protego_akb/protego_1.wav"), + TEXT("Player/spells_protego_akb/protego_2.wav"), + TEXT("Player/spells_protego_akb/protego_3.wav"), + TEXT("Player/spells_protego_akb/protego_4.wav"), + TEXT("Player/spells_protego_akb/protego_5.wav"), + TEXT("Player/spells_protego_akb/protego_6.wav"), + TEXT("Player/spells_protego_akb/protego_7.wav"), + TEXT("Player/spells_protego_akb/protego_8.wav"), + TEXT("Player/spells_protego_akb/protego_9.wav"), + TEXT("Player/spells_protego_akb/protego_10.wav"), + TEXT("Player/spells_protego_akb/protego_11.wav"), + TEXT("Player/spells_protego_akb/protego_12.wav"), + TEXT("Player/spells_protego_akb/protego_13.wav"), + TEXT("Player/spells_protego_akb/protego_14.wav"), + TEXT("Player/spells_protego_akb/protego_15.wav"), + TEXT("Player/spells_protego_akb/protego_16.wav"), + TEXT("Player/spells_protego_akb/protego_17.wav"), + TEXT("Player/spells_protego_akb/protego_18.wav"), + TEXT("Player/spells_protego_akb/protego_19.wav"), + TEXT("Player/spells_protego_akb/protego_20.wav"), + TEXT("Player/spells_protego_akb/protego_21.wav"), + TEXT("Player/spells_protego_akb/protego_22.wav"), + TEXT("Player/spells_protego_akb/protego_23.wav"), + TEXT("Player/spells_protego_akb/protego_24.wav"), + TEXT("Player/spells_protego_akb/protego_25.wav"), + TEXT("Player/spells_protego_akb/protego_26.wav"), + TEXT("Player/spells_protego_akb/protego_27.wav"), + TEXT("Player/spells_protego_akb/protego_28.wav"), + TEXT("Player/spells_protego_akb/protego_29.wav"), + TEXT("Player/spells_protego_akb/protego_30.wav"), + +#pragma endregion + + + + +#pragma region LUMOS + TEXT("Player/spells_lumos_akb/lumos_0.wav"), + TEXT("Player/spells_lumos_akb/lumos_1.wav"), +#pragma endregion + #pragma region VOICE TEXT("Player/Voice/avadakedavra_voice.wav"), TEXT("Player/Voice/bombarda_voice.wav"), @@ -30,7 +253,24 @@ const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = { TEXT("Player/Voice/stupefy_voice.wav"), #pragma endregion +#pragma region BROOM + TEXT("Player/Broom/broom_boost.wav"), + TEXT("Player/Broom/broom_down.wav"), + TEXT("Player/Broom/broom_get_item.wav"), + TEXT("Player/Broom/broom_normal.wav"), + TEXT("Player/Broom/broom_ride.wav"), +#pragma endregion + +#pragma region DOOR + TEXT("Interactive/Door/door_open.wav"), + TEXT("Interactive/Door/door_close.wav"), +#pragma endregion + +#pragma region CHEST + TEXT("Interactive/Chest/chest_found.wav"), + TEXT("Interactive/Chest/chest_open.wav"), +#pragma endregion }; -//static_assert(SD_KIND_COUNT == _countof(SD_PATH::SD_KIND_PATHS), -// "SD_KIND and SD_PATH::SD_KIND_PATHS num is not match" "match same num"); +static_assert(SD_KIND_COUNT == _countof(SD_PATH::SD_KIND_PATHS), + "SD_KIND and SD_PATH::SD_KIND_PATHS num is not match" "match same num"); diff --git a/Jusin154_Team3D/Engine/Private/Sound_Manager.cpp b/Jusin154_Team3D/Engine/Private/Sound_Manager.cpp index 6d46c82a7..cf4e8effc 100644 --- a/Jusin154_Team3D/Engine/Private/Sound_Manager.cpp +++ b/Jusin154_Team3D/Engine/Private/Sound_Manager.cpp @@ -7,7 +7,7 @@ System* CSound_Manager::s_pSystem = { nullptr }; _string CSound_Manager::s_ArrChannelName[ENUM_CLASS(SD_CHANNEL_GROUP::END)] = { "BGM", "ENVIRONMENT", "EFFECT", "VOICE" }; list CSound_Manager::s_listChannel[ENUM_CLASS(SD_CHANNEL_GROUP::END)] = {}; Sound* CSound_Manager::s_ArrSounds[ENUM_CLASS(SOUND::SD_KIND::END)] = {}; - +map<_wstring, SOUND::SD_KIND > CSound_Manager::s_SoundMap = {}; CSound_Manager::CSound_Manager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : m_pDevice(pDevice), @@ -38,7 +38,6 @@ HRESULT CSound_Manager::Update() } } } - Sound_Test(); return S_OK; } @@ -204,45 +203,8 @@ void CSound_Manager::Sound_SetVolume(SD_CHANNEL_GROUP eSoundChannel, float fVolu } } -void CSound_Manager::Sound_Test() -{ - //GUI::Begin("Music_Player"); - //static int item_selected_CHANNEL = 0; - //static int item_selected_SD_KIND = 0; - - //GUI::BeginChild("##ITEMs", ImVec2(350.f, 175.f), true, ImGuiWindowFlags_HorizontalScrollbar); - //for (int iIndex = 0; iIndex < SOUND::SD_KIND::END; ++iIndex) { - // if (GUI::Button(CMyTools::ToString(SOUND::SD_PATH::SD_KIND_STRING[iIndex]).c_str())) { - // item_selected_SD_KIND = iIndex; - // } - //} - //GUI::EndChild(); - //GUI::BeginChild("##Channels", ImVec2(350.f, 175.f), true, ImGuiWindowFlags_HorizontalScrollbar); - //for (int iIndex = 0; iIndex < ENUM_CLASS(SD_CHANNEL_GROUP::END); ++iIndex) { - // if (GUI::Button(s_ArrChannelName[iIndex].c_str())) { - // item_selected_CHANNEL = iIndex; - // } - //} - //GUI::EndChild(); - - //if (GUI::Button("Play_Sound", { 50, 50 })) { - // Sound_Play(static_cast(item_selected_SD_KIND), static_cast(item_selected_CHANNEL), false, false, 1.f); - //} GUI::SameLine(); - //if (GUI::Button("Sound_STOP", { 50, 50 })) { - // Sound_StopAll(); - //} - //GUI::End(); -} - HRESULT CSound_Manager::Load_Sound(SOUND::SD_KIND eKind, const _tchar* wstrSoundFilePath, FMOD_MODE eSoundMode) { - //const _tchar* pSoundFilePath = TEXT("../Bin/Resources/Sounds/"); - //for (int iIndex = 0; iIndex < ENUM_CLASS(SOUND::SD_KIND::END); ++iIndex) { - // if (FAILED(m_pGameInstance->Load_Sound((SOUND::SD_KIND)iIndex, (_wstring(pSoundFilePath) + SOUND::SD_PATH::SD_KIND_STRING[iIndex]).c_str()))) { - // return E_FAIL; - // } - //} - //// 사운드 생성, 파일 불러오기 FMOD_RESULT fr = CSound_Manager::s_pSystem->createSound( CMyTools::ToString(wstrSoundFilePath).c_str(), // 대상 경로 @@ -255,6 +217,16 @@ HRESULT CSound_Manager::Load_Sound(SOUND::SD_KIND eKind, const _tchar* wstrSound return E_FAIL; } +SOUND::SD_KIND CSound_Manager::Find_Sound(const _wstring wstrFilePath) +{ + auto iter = s_SoundMap.find(wstrFilePath); + + if (iter == s_SoundMap.end()) + return SOUND::SD_KIND::END; + + return iter->second; +} + HRESULT CSound_Manager::Initialize() { FMOD_RESULT r = System_Create(&s_pSystem); @@ -275,9 +247,22 @@ HRESULT CSound_Manager::Initialize() s_pSystem->init(512, FMOD_INIT_NORMAL, nullptr); } + Ready_SoundMap(); + return S_OK; } +void CSound_Manager::Ready_SoundMap() +{ + _uint iNumSound = ENUM_CLASS(SOUND::SD_KIND::END); + for (_uint i = 0; i < iNumSound; ++i) + { + s_SoundMap.emplace(SOUND::SD_PATH::SD_KIND_PATHS[i], static_cast(i)); + } +} + + + CSound_Manager* CSound_Manager::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { CSound_Manager* pInstance = new CSound_Manager(pDevice, pContext); diff --git a/Jusin154_Team3D/Engine/Private/Stat.cpp b/Jusin154_Team3D/Engine/Private/Stat.cpp index 9f96ac871..725f41aed 100644 --- a/Jusin154_Team3D/Engine/Private/Stat.cpp +++ b/Jusin154_Team3D/Engine/Private/Stat.cpp @@ -1,6 +1,7 @@ #include "pch.h" #include "Stat.h" #include "StatEvent.h" +#include "GameInstance.h" CStat::CStat(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CComponent{ pDevice, pContext } @@ -185,6 +186,8 @@ void CStat::Add_Hp(_float iAmount) pair<_float, _float> CStat::Get_Damage(_float fDamage) { _float FinalDamage = Compute_Damage(fDamage); + _int iRand = m_pGameInstance->Real_Random_Int(-5, 5); + FinalDamage += (_float)iRand; _float fCurHp = Get_Stat().fCurrentHp - FinalDamage; Add_Stat(ENUM_CLASS(STAT::TARGETHP), -FinalDamage); if (fCurHp <= 0) { fCurHp = 0;} diff --git a/Jusin154_Team3D/Engine/Private/Unit.cpp b/Jusin154_Team3D/Engine/Private/Unit.cpp index a5a47ecaa..a5615d92f 100644 --- a/Jusin154_Team3D/Engine/Private/Unit.cpp +++ b/Jusin154_Team3D/Engine/Private/Unit.cpp @@ -186,6 +186,37 @@ void CUnit::Play_Event() ++iter; } + + /* Sound */ + for (auto iter = m_SoundEvents.begin(); iter != m_SoundEvents.end(); ) + { + _float ratio = m_pModelCom->Get_CurrentTrackProgressRatio(); + _uint curAnim = m_pModelCom->Get_AnimIndex(); + + _float prevRatio = iter->PrevRatio; + + if (curAnim == iter->AnimIndex) + { + if (prevRatio <= iter->fRatio && ratio >= iter->fRatio) + { + iter->Callback(); + + if (!iter->bKeep) + { + iter = m_SoundEvents.erase(iter); + continue; + } + } + + iter->PrevRatio = ratio; + } + else + { + iter->PrevRatio = 0.f; + } + + ++iter; + } } void CUnit::Add_Event(_uint AnimIndex, function Callback, _float fRatio,_bool bKeep) @@ -198,6 +229,21 @@ void CUnit::Add_Event(_uint AnimIndex, function Callback, _float fRatio, m_PendingEvents.push_back(Desc); } +void CUnit::Add_Sound_Event(_uint AnimIndex, function Callback, _float fRatio, _bool bKeep) +{ + PendingEvent Desc; + Desc.AnimIndex = AnimIndex; + Desc.fRatio = fRatio; + Desc.Callback = Callback; + Desc.bKeep = bKeep; + m_SoundEvents.push_back(Desc); +} + +void CUnit::Reset_SoundEvent() +{ + m_SoundEvents.clear(); +} + void CUnit::Reset_Event() { m_PendingEvents.clear(); @@ -584,6 +630,48 @@ STATEANIM::ESTATE CUnit::StringToStateAnim(const string& s) return it->second; } +HRESULT CUnit::Ready_Sound_Events(const _char* pFilePath) +{ + tinyxml2::XMLDocument xmlDoc; + + if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(pFilePath))) + return E_FAIL; + + tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("KeyFrames"); + + if (nullptr == root) + { + MSG_BOX("Failed to Find root"); + return S_OK; + } + + for (auto* Animation = root->FirstChildElement("Animation"); Animation; Animation = Animation->NextSiblingElement("Animation")) + { + _uint iAnimationIndex = {}; + + Animation->QueryUnsignedAttribute("Index", &iAnimationIndex); + + + for (auto* KeyFrame = Animation->FirstChildElement("KeyFrame"); KeyFrame; KeyFrame = KeyFrame->NextSiblingElement("KeyFrame")) + { + _float fVolume = {}; + _float fRatio = {}; + const _char* pPath = {}; + + KeyFrame->QueryStringAttribute("Event", &pPath); + KeyFrame->QueryFloatAttribute("Ratio", &fRatio); + KeyFrame->QueryFloatAttribute("Volume", &fVolume); + + SOUND::SD_KIND eSoundKind = m_pGameInstance->Find_Sound(CMyTools::ToWstring(pPath)); + + Add_Sound_Event(iAnimationIndex, + [this, eSoundKind, fVolume]() { m_pGameInstance->Sound_Play(eSoundKind, SD_CHANNEL_GROUP::EFFECT, false, fVolume); }, + fRatio, true); + } + } + + return S_OK; +} void CUnit::Free() { diff --git a/Jusin154_Team3D/Engine/Public/Character_Controller.h b/Jusin154_Team3D/Engine/Public/Character_Controller.h index 1572d270c..2b88293d0 100644 --- a/Jusin154_Team3D/Engine/Public/Character_Controller.h +++ b/Jusin154_Team3D/Engine/Public/Character_Controller.h @@ -67,6 +67,7 @@ class ENGINE_DLL CCharacter_Controller final : void Resize_Volume(_float fHeight); // 높이를 수정하고 바닥에 붙임 void Modify_Volume(_float3 fVolume); // 높이 수정하고 바닥에 붙든 말든 상관안함 _float3 Get_Volume(); + _float Get_Height(); HRESULT ConvertToDO(class CRigidBody_Dynamic& BodyOriginal); _float3 Get_LastSlopeNormal() { return m_vLastClimbNormal; }; diff --git a/Jusin154_Team3D/Engine/Public/Engine_Enum.h b/Jusin154_Team3D/Engine/Public/Engine_Enum.h index dc52a61a9..e594d71da 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Enum.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Enum.h @@ -25,6 +25,7 @@ enum class SD_CHANNEL_GROUP { ENVIRONMENT, EFFECT, VOICE, + OBJECT, END }; diff --git a/Jusin154_Team3D/Engine/Public/GameInstance.h b/Jusin154_Team3D/Engine/Public/GameInstance.h index b229b5ac3..5e92ee860 100644 --- a/Jusin154_Team3D/Engine/Public/GameInstance.h +++ b/Jusin154_Team3D/Engine/Public/GameInstance.h @@ -211,8 +211,14 @@ class ENGINE_DLL CGameInstance final : public CBase #pragma endregion #pragma region SOUND_MANAGER HRESULT Load_Sound(SOUND::SD_KIND eKind, const _tchar* wstrSoundFilePath, FMOD_MODE eSoundMode); + SOUND::SD_KIND Find_Sound(const _wstring wstrFilePath); void Sound_Play(SOUND::SD_KIND eSoundKind, SD_CHANNEL_GROUP eSoundChannel, _bool bRepeat, _float fVolume); - void Sound_StopAll(); // 전체 정지 + void Sound_Play_3DPos(SOUND::SD_KIND eSoundKind, SD_CHANNEL_GROUP eSoundChannel, _float3& refSpeaker, _float fMin = 3.f, _float fMax = 20.f, _bool bRepeat = false); + void Sound_Pause_Channel(SD_CHANNEL_GROUP eSoundChannel, bool bPause); + void Sound_Set3DListenerPos(class CTransform* pTransform); + void Sound_StopChannel(SD_CHANNEL_GROUP eSoundChannel); + void Sound_Stop(SOUND::SD_KIND eSoundKind, SD_CHANNEL_GROUP eSoundChannel); + void Sound_StopAll(); #pragma endregion #pragma region PICKING @@ -245,10 +251,10 @@ class ENGINE_DLL CGameInstance final : public CBase void ApplyFilterData(PSX::PxRigidActor* pRigidActor); HRESULT ConvertToTriMeshes(vector& Meshes, vector& pxTriMeshes, _fmatrix WorldMatrix = XMMatrixIdentity()); #ifdef EDITOR_PROJECT + void Add_Editor_Plane(PHYSX_USERDATA& PlaneData); HRESULT SaveTriMeshes(const _char* pPath, vector& TriMeshes); #endif // EDITOR_PROJECT HRESULT LoadTriMeshes(const _char* pPath, vector& TriMeshes); // 모델 불러왔던 경로에 그대로 있음 - void Add_Editor_Plane(PHYSX_USERDATA& PlaneData); #pragma endregion #pragma region THREADHOLDER template diff --git a/Jusin154_Team3D/Engine/Public/Model.h b/Jusin154_Team3D/Engine/Public/Model.h index 17717391a..fbafd8205 100644 --- a/Jusin154_Team3D/Engine/Public/Model.h +++ b/Jusin154_Team3D/Engine/Public/Model.h @@ -110,6 +110,7 @@ class ENGINE_DLL CModel final : public CComponent void Update_ChainAnimation(); void Set_ChainAnimation(pair<_uint, _bool> chainAnim); void IsRootBone(_bool bRootBone) { m_bRootBone = bRootBone; } + void Clear_QueuedAnim(); #pragma endregion #pragma region Mesh const _char* Get_MeshName(_uint iIndex); @@ -264,6 +265,10 @@ class ENGINE_DLL CModel final : public CComponent _int m_iQueuedAnimIndex = -1; _bool m_bQueuedLoop = false; _bool m_bQueuedAnim = { false }; + _float m_fQueuedAmount = {}; + _bool m_bQueuedRatio = {}; + _float m_fQueuedSpeed = {}; + _bool m_bQueuedRootBone = {}; _float4 m_RootBoneMomentum = {}; _bool m_IsSkip = {false}; _bool m_bSecondAnim = { false }; diff --git a/Jusin154_Team3D/Engine/Public/PhysX_Manager.h b/Jusin154_Team3D/Engine/Public/PhysX_Manager.h index 149f75d89..a4a01c376 100644 --- a/Jusin154_Team3D/Engine/Public/PhysX_Manager.h +++ b/Jusin154_Team3D/Engine/Public/PhysX_Manager.h @@ -17,9 +17,8 @@ class CPhysX_Manager final : public CBase enum COLLISIONCATERGORY_BIT32 : uint32_t { CharacterController = 1u << 0 - , JointedParts = 1u << 1 - , WorldStatic = 1u << 2 - , WorldDynamic = 1u << 3 + , WorldStatic = 1u << 1 + , WorldDynamic = 1u << 2 }; private: CPhysX_Manager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Engine/Public/SoundSrc.h b/Jusin154_Team3D/Engine/Public/SoundSrc.h index f3628c31d..1c98e508b 100644 --- a/Jusin154_Team3D/Engine/Public/SoundSrc.h +++ b/Jusin154_Team3D/Engine/Public/SoundSrc.h @@ -4,18 +4,17 @@ NS_BEGIN(Engine) NS_BEGIN(SOUND) -enum class SD_CHANNEL_GROUP { - BGM, - ENVIRONMENT, - EFFECT, - VOICE, - END -}; enum class SD_KIND { #pragma region BGM - BGM_0, - BGM_1, + BGM_Battle_0, + BGM_Battle_1, + BGM_Land_DAY, + BGM_Land_NIGHT, + BGM_HOGWART_0, + BGM_HOGWART_1, + BGM_HOGWART_INT, + BGM_RANROK_0, #pragma endregion #pragma region SPELL SP_JAP_0, @@ -23,6 +22,221 @@ enum class SD_KIND { SP_JAP_13, SP_BLINK_2, #pragma endregion +#pragma region AVADA_KEDAVRA + S_AVADA_KEDAVRA_0, + S_AVADA_KEDAVRA_1, + S_AVADA_KEDAVRA_2, + S_AVADA_KEDAVRA_3, + S_AVADA_KEDAVRA_4, + S_AVADA_KEDAVRA_5, + S_AVADA_KEDAVRA_6, + S_AVADA_KEDAVRA_7, + S_AVADA_KEDAVRA_8, + S_AVADA_KEDAVRA_9, + S_AVADA_KEDAVRA_10, + S_AVADA_KEDAVRA_11, + S_AVADA_KEDAVRA_12, +#pragma endregion + +#pragma region ANCIENT_LIGHTNING + SP_LIGHTNING_0, + SP_LIGHTNING_1, + SP_LIGHTNING_2, + SP_LIGHTNING_3, +#pragma endregion + +#pragma region ACCIO + SP_ACCIO_0, + SP_ACCIO_1, + SP_ACCIO_2, + SP_ACCIO_3, + SP_ACCIO_4, + SP_ACCIO_5, + SP_ACCIO_6, + SP_ACCIO_7, + SP_ACCIO_8, + SP_ACCIO_9, + SP_ACCIO_10, + SP_ACCIO_11, + SP_ACCIO_12, + SP_ACCIO_13, + SP_ACCIO_14, + SP_ACCIO_15, + SP_ACCIO_16, + SP_ACCIO_17, + SP_ACCIO_18, + SP_ACCIO_19, + SP_ACCIO_20, + SP_ACCIO_21, + SP_ACCIO_22, + SP_ACCIO_23, + +#pragma endregion + +#pragma region REPARO + SP_REPARO_0, + SP_REPARO_1, + SP_REPARO_2, +#pragma endregion + +#pragma region DECENDO + SP_DECENDO_0, + SP_DECENDO_1, + SP_DECENDO_2, + SP_DECENDO_3, + SP_DECENDO_4, + SP_DECENDO_5, + SP_DECENDO_6, + SP_DECENDO_7, + SP_DECENDO_8, + SP_DECENDO_9, + SP_DECENDO_10, + SP_DECENDO_11, + SP_DECENDO_12, + SP_DECENDO_13, + SP_DECENDO_14, + SP_DECENDO_15, + SP_DECENDO_16, + SP_DECENDO_17, + SP_DECENDO_18, + SP_DECENDO_19, + SP_DECENDO_20, + SP_DECENDO_21, + SP_DECENDO_22, + SP_DECENDO_23, + SP_DECENDO_24, + SP_DECENDO_25, + +#pragma endregion + +#pragma region BOMBARD + SP_BOMBARD_0, + SP_BOMBARD_1, + SP_BOMBARD_2, + SP_BOMBARD_3, + SP_BOMBARD_4, + SP_BOMBARD_5, + SP_BOMBARD_6, + SP_BOMBARD_7, + SP_BOMBARD_8, + SP_BOMBARD_9, + SP_BOMBARD_10, + SP_BOMBARD_11, + SP_BOMBARD_12, + SP_BOMBARD_13, + SP_BOMBARD_14, + SP_BOMBARD_15, + SP_BOMBARD_16, + SP_BOMBARD_17, + SP_BOMBARD_18, + SP_BOMBARD_19, + SP_BOMBARD_20, + SP_BOMBARD_21, + SP_BOMBARD_22, + SP_BOMBARD_23, + SP_BOMBARD_24, + SP_BOMBARD_25, + SP_BOMBARD_26, + SP_BOMBARD_27, + SP_BOMBARD_28, + SP_BOMBARD_29, + SP_BOMBARD_30, + SP_BOMBARD_31, + SP_BOMBARD_32, + SP_BOMBARD_33, + SP_BOMBARD_34, + SP_BOMBARD_35, + SP_BOMBARD_36, + SP_BOMBARD_37, + SP_BOMBARD_38, + SP_BOMBARD_39, + SP_BOMBARD_40, + SP_BOMBARD_41, + SP_BOMBARD_42, + SP_BOMBARD_43, + SP_BOMBARD_44, + SP_BOMBARD_45, + SP_BOMBARD_46, +#pragma endregion + +#pragma region LEVIOSA + + SP_LEVIOSA_0, + SP_LEVIOSA_1, + SP_LEVIOSA_2, + SP_LEVIOSA_3, + SP_LEVIOSA_4, + SP_LEVIOSA_5, + SP_LEVIOSA_6, + SP_LEVIOSA_7, + SP_LEVIOSA_8, + SP_LEVIOSA_9, + SP_LEVIOSA_10, + SP_LEVIOSA_11, + SP_LEVIOSA_12, + SP_LEVIOSA_13, + SP_LEVIOSA_14, + SP_LEVIOSA_15, + SP_LEVIOSA_16, + SP_LEVIOSA_17, + SP_LEVIOSA_18, + SP_LEVIOSA_19, + SP_LEVIOSA_20, + SP_LEVIOSA_21, + SP_LEVIOSA_22, + SP_LEVIOSA_23, + SP_LEVIOSA_24, + SP_LEVIOSA_25, + SP_LEVIOSA_26, + SP_LEVIOSA_27, + +#pragma endregion + + +#pragma region PROTEGO + + SP_PROTEGO_0, + SP_PROTEGO_1, + SP_PROTEGO_2, + SP_PROTEGO_3, + SP_PROTEGO_4, + SP_PROTEGO_5, + SP_PROTEGO_6, + SP_PROTEGO_7, + SP_PROTEGO_8, + SP_PROTEGO_9, + SP_PROTEGO_10, + SP_PROTEGO_11, + SP_PROTEGO_12, + SP_PROTEGO_13, + SP_PROTEGO_14, + SP_PROTEGO_15, + SP_PROTEGO_16, + SP_PROTEGO_17, + SP_PROTEGO_18, + SP_PROTEGO_19, + SP_PROTEGO_20, + SP_PROTEGO_21, + SP_PROTEGO_22, + SP_PROTEGO_23, + SP_PROTEGO_24, + SP_PROTEGO_25, + SP_PROTEGO_26, + SP_PROTEGO_27, + SP_PROTEGO_28, + SP_PROTEGO_29, + SP_PROTEGO_30, + + +#pragma endregion + + + + +#pragma region LUMOS + SP_LUMOS_0, + SP_LUMOS_1, +#pragma endregion #pragma region VOICE VOICE_AVADAKEDAVRA, @@ -35,6 +249,25 @@ enum class SD_KIND { VOICE_REVELIO, VOICE_STUPEFY, #pragma endregion + +#pragma region BROOM + BROOM_BOOST, + BROOM_DOWN, + BROOM_GET_ITEM, + BROOM_NORMAL, + BROOM_RIDE, +#pragma endregion + +#pragma region DOOR + DOOR_OPEN, + DOOR_CLOSE, +#pragma endregion + +#pragma region CHEST + CHEST_FOUND, + CHEST_OPEN, +#pragma endregion + END, }; diff --git a/Jusin154_Team3D/Engine/Public/Sound_Manager.h b/Jusin154_Team3D/Engine/Public/Sound_Manager.h index b5931c8e3..e5e213158 100644 --- a/Jusin154_Team3D/Engine/Public/Sound_Manager.h +++ b/Jusin154_Team3D/Engine/Public/Sound_Manager.h @@ -11,6 +11,7 @@ class CSound_Manager final : static _string s_ArrChannelName[ENUM_CLASS(SD_CHANNEL_GROUP::END)]; static list s_listChannel[ENUM_CLASS(SD_CHANNEL_GROUP::END)]; static Sound* s_ArrSounds[ENUM_CLASS(SOUND::SD_KIND::END)]; + static map<_wstring, SOUND::SD_KIND> s_SoundMap; private: CSound_Manager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); @@ -29,9 +30,9 @@ class CSound_Manager final : void Sound_Stop(SOUND::SD_KIND eSoundKind, SD_CHANNEL_GROUP eSoundChannel); // 특정 사운드 정지 void Sound_StopAll(); // 전체 정지 void Sound_SetVolume(SD_CHANNEL_GROUP eSoundChannel, float fVolume); - void Sound_Test(); HRESULT Load_Sound(SOUND::SD_KIND eKind, const _tchar* wstrSoundFilePath, FMOD_MODE eSoundMode); + SOUND::SD_KIND Find_Sound(const _wstring wstrFilePath); private: ID3D11Device* m_pDevice = { nullptr }; @@ -41,6 +42,7 @@ class CSound_Manager final : private: HRESULT Initialize(); + void Ready_SoundMap(); public: static CSound_Manager* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Engine/Public/Unit.h b/Jusin154_Team3D/Engine/Public/Unit.h index 1072fb757..04a531250 100644 --- a/Jusin154_Team3D/Engine/Public/Unit.h +++ b/Jusin154_Team3D/Engine/Public/Unit.h @@ -36,6 +36,9 @@ class ENGINE_DLL CUnit abstract : public CContainerObject _wstring& Get_PrototypeTag() { return m_strModelPrototypeTag; } _bool IsAI() { return m_bAI; } + HRESULT Ready_Sound_Events(const _char* pFilePath); + void Add_Sound_Event(_uint AnimIndex, function Callback, _float fRatio = 0.f, _bool bKeep = false); + void Reset_SoundEvent(); #ifdef _DEBUG void Load_KeyFrame(); #endif // _DEBUG @@ -89,6 +92,7 @@ class ENGINE_DLL CUnit abstract : public CContainerObject _float m_fHitRadius = {}; vector m_PendingEvents; + vector m_SoundEvents = {}; _float m_fHitDegree = {}; _float m_fHitCross = {}; @@ -105,12 +109,17 @@ class ENGINE_DLL CUnit abstract : public CContainerObject protected: HRESULT Ready_Components(void*pArg); +#ifdef _DEBUG +public: +#endif // _DEBUG void Play_Event(); +protected: void Add_Event(_uint AnimIndex, function Callback, _float fRatio = 0.f, _bool bKeep = false); void Reset_Event(); void Check_HitAngle(_vector ProjectileDir); virtual void Load_AnimXML(const string& path); STATEANIM::ESTATE StringToStateAnim(const string& s); + public: virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr)PURE; virtual void Free() override;