diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index c2ee49327..f53c506ec 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 @@ -980,6 +979,7 @@ 02.GameObjects\NPC\Hostile\Monster\Ranrok\Ranrok_Ether + @@ -2919,6 +2919,7 @@ 02.GameObjects\NPC\Hostile\Monster\Ranrok\Ranrok_Ether + diff --git a/Jusin154_Team3D/Client/Private/Accio.cpp b/Jusin154_Team3D/Client/Private/Accio.cpp index 834213de4..1b5b30ebd 100644 --- a/Jusin154_Team3D/Client/Private/Accio.cpp +++ b/Jusin154_Team3D/Client/Private/Accio.cpp @@ -289,6 +289,9 @@ void CAccio::OnCollision(CGameObject* pOther, void* pDesc) { if (m_bHit == false) return; + m_pGameInstance->Sound_Stop(SOUND::SD_KIND::SP_ACCIO_15, SD_CHANNEL_GROUP::EFFECT); + + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_ACCIO_15, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); dynamic_cast(m_pOwner)->Set_SpellHit(true); 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 90e11e5d7..6deb0a159 100644 --- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp @@ -11,7 +11,7 @@ #include "InfoInstance.h" #include "InstancedProp.h" #include "EffectPool.h" - +#include "EffectParts.h" CBroomRaceManager::CBroomRaceManager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CGameObject(pDevice, pContext) { @@ -49,6 +49,10 @@ void CBroomRaceManager::Priority_Update(_float fTimeDelta) { __super::Priority_Update(fTimeDelta); + for (auto& RaceEnd : m_pRaceEndEffects) + { + RaceEnd->Priority_Update(fTimeDelta); + } switch (m_eRaceState) { case ENUM_CLASS(RACE_STATE::COUNTDOWN): @@ -89,6 +93,11 @@ void CBroomRaceManager::Update(_float fTimeDelta) { __super::Update(fTimeDelta); + for (auto& RaceEnd : m_pRaceEndEffects) + { + RaceEnd->Update(fTimeDelta); + } + if (m_bRaceReady == true) { m_fRedayTime += fTimeDelta; @@ -114,6 +123,19 @@ void CBroomRaceManager::Update(_float fTimeDelta) m_fRacingTimer = 0.f; if (m_bRaceStart == true) { + CTransform* pRingTransform = m_pRaceRings[m_pRaceRings.size() - 1]->Get_Component(); + for (auto& RaceEnd : m_pRaceEndEffects) + { + RaceEnd->Set_Visible(true); + + _vector LastRingPos = pRingTransform->Get_State(STATE::POSITION); + _vector ringRIght = pRingTransform->Get_State(STATE::RIGHT); + ringRIght = XMVector3Normalize(ringRIght); + + _vector spawnPos = LastRingPos - ringRIght * 27.f; + + RaceEnd->Get_Component()->Set_WorldMatrix(XMMatrixTranslationFromVector(spawnPos)); + } m_pInfoInstance->Event_CallBack(TEXT("RaceEnd")); m_iCount = 3; m_bRaceStart = false; @@ -152,6 +174,10 @@ void CBroomRaceManager::Update(_float fTimeDelta) void CBroomRaceManager::Late_Update(_float fTimeDelta) { __super::Late_Update(fTimeDelta); + for (auto& RaceEnd : m_pRaceEndEffects) + { + RaceEnd->Late_Update(fTimeDelta); + } } HRESULT CBroomRaceManager::Render() @@ -171,6 +197,38 @@ HRESULT CBroomRaceManager::Ready_Components() return E_FAIL; } + + CPartObject::PARTOBJECT_DESC PartsDesc{}; + + PartsDesc.pParentTransform = m_pTransformCom; + + + { + _string BasePath = "../Bin/Resources/Data/Effect/BroomRace/"; + + array<_string, 3> Colors = + { + "Firewark_Blue", + "Firewark_Red", + "Firewark_Yellow" + }; + + for (_uint i = 0; i < m_pRaceEndEffects.size(); ++i) + { + _string EffectFinal = BasePath + Colors[i]; + + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer( + g_iStaticLevel, NEXT_LEVEL, LAYER_EFFECT, &PartsDesc, this, &m_pRaceEndEffects[i]))) + { + return E_FAIL; + } + + m_pRaceEndEffects[i]->Load(EffectFinal.c_str(), static_cast(g_iStaticLevel)); + m_pRaceEndEffects[i]->Set_Visible(false); + } + } + + return S_OK; } @@ -218,6 +276,10 @@ void CBroomRaceManager::Free() SAFE_RELEASE(Ring); } m_pRaceRings.clear(); + for (auto& RaceEndEffects : m_pRaceEndEffects) + { + SAFE_RELEASE(RaceEndEffects); + } } #ifdef _DEBUG @@ -313,6 +375,8 @@ void CBroomRaceManager::Check_RingPassed() { racer.curRing = (_uint)m_pRaceRings.size(); + + if (racer.pAI) { racer.pAI->Get_Broom()->Set_Hover(true); racer.pAI->Get_Broom()->Set_Move(false); @@ -323,11 +387,15 @@ void CBroomRaceManager::Check_RingPassed() racer.pRacer->Get_Broom()->Set_Move(false); } + + XMStoreFloat4(&racer.prevPos, currPos); continue; } racer.pAI ? SetTargetRing(racer.pAI) : SetTargetRing(racer.pRacer); + + } } @@ -402,15 +470,12 @@ void CBroomRaceManager::RaceReady() if (racer.pAI) { CTransform* pTransform = - racer.pAI->Get_Broom()->Get_Component(); - - const _float fSpacing = 3.0f; - const _float fJitter = 0.5f; + racer.pAI->Get_Broom()->Get_Component(); _float lane = (_float)i - (_float)(m_Racers.size() - 1) * 0.5f; - _float side = lane * fSpacing; + _float side = lane * 3.0f; - side += m_pGameInstance->Real_Random_Float(-fJitter, fJitter); + side += m_pGameInstance->Real_Random_Float(-0.5f, 0.5f); _vector offset = XMVectorSet(0.f, 1.3f, 0.f, 0.f) + pTransform->Get_State(STATE::LOOK) * side; @@ -423,15 +488,15 @@ void CBroomRaceManager::RaceReady() } else if (racer.pRacer) { - CTransform* pTransform = - racer.pRacer->Get_Component(); + 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)); racer.pRacer->Get_Broom()->Set_Ride(true); racer.pRacer->Get_Broom()->Set_Move(false); + m_pRaceRings[racer.curRing]->Set_Target(true);; } } @@ -457,9 +522,15 @@ void CBroomRaceManager::SetTargetRing(CGameObject* pRacer) { if (racer.pRacer == pRacer) { + + m_pRaceRings[racer.curRing-1]->Set_Target(false); + racer.pRacer->Set_RaceRing(m_pRaceRings[racer.curRing]); m_pInfoInstance->Event_CallBack(TEXT("CurrentRing")); m_iLastRing++; + + m_pRaceRings[racer.curRing]->Set_Target(true); + } } diff --git a/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp b/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp index ec665b5c7..dfc8b202d 100644 --- a/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp @@ -76,11 +76,67 @@ void CBroomRace_Bubble::Late_Update(_float fTimeDelta) CEffectParts* pBubble = Get_PartObject("Bubble"); if (false == m_bHit) { - _vector vStartPos = XMLoadFloat4(&m_vStartPos); - _vector vEndPos = pBubble->Get_WorldPostion(); - ON_COLLISION_INFO CollisionInfo = MonsterSweepTarget(vStartPos, vEndPos, 0.002f); + _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; + + } + } + } + } - OnCollision(this, &CollisionInfo); } } @@ -157,6 +213,8 @@ 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"); diff --git a/Jusin154_Team3D/Client/Private/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp index e3c0a3491..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); @@ -366,10 +369,10 @@ void CBroom::Behavior_Broom_FlyEnter() { pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::FLY); - m_pModelCom->Set_BlendDuration(0.8f); + 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) @@ -386,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; } @@ -494,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); } @@ -549,10 +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.8f); + 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); } @@ -571,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())) @@ -658,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) { @@ -678,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 { @@ -689,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); } diff --git a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp index a16c9ed45..6672b9a01 100644 --- a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp +++ b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp @@ -354,23 +354,20 @@ void CCamPosition_Shoulder::Set_CameraAnim(_uint iIndex) _vector CCamPosition_Shoulder::Get_ShoulderGlobalPos() { // Right/Left 숄더를 로컬 X 부호로 결정 - _float shoulderSideSign = (true == m_bRightShoulderActive) ? 1.f : -1.f; + _float fShoulderSide = (true == m_bRightShoulderActive) ? 1.f : -1.f; - _float3 shoulderLocalPosition = m_vShoulderLocalPos; - shoulderLocalPosition.x *= shoulderSideSign; + _float3 vShoulderLocalPos = m_vShoulderLocalPos; + vShoulderLocalPos.x *= fShoulderSide; - _vector shoulderLocalOffset = XMLoadFloat3(&shoulderLocalPosition); + _vector vShoulderLocalOffset = XMLoadFloat3(&vShoulderLocalPos); // 카메라 회전(현재 마우스로 누적된 pitch/yaw) - _vector cameraRotationQuaternion = XMQuaternionRotationRollPitchYaw( + _vector vCameraRotQ = XMQuaternionRotationRollPitchYaw( XMConvertToRadians(m_vAccRotDegrees.x + m_vAccRealDegrees.x), XMConvertToRadians(m_vAccRotDegrees.y + m_vAccRealDegrees.y), 0.f ); - // 카메라 로컬 오프셋을 카메라 회전에 맞춰 월드로 회전 - _vector shoulderWorldOffset = XMVector3Rotate(shoulderLocalOffset, cameraRotationQuaternion); - - return shoulderWorldOffset; + return XMVector3Rotate(vShoulderLocalOffset, vCameraRotQ); } diff --git a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp index c42135acc..faaa71fa5 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp @@ -170,7 +170,7 @@ void CCamera_Cinematic::Trigger(CTimeSocket& Socket) case TIMESOCKET_FUNC::ROTATION_LERP: { Clear_Lerp_Rotation(); - Start_Lerp_Rotation(pContents->vParam_11.x, pContents->pxTransform); + Start_Lerp_Rotation(pContents->vParam_11.x, pContents->pxTransform, pContents->vFlags.b[0]); } break; case TIMESOCKET_FUNC::LOOK_AT: { @@ -352,17 +352,21 @@ void CCamera_Cinematic::Lerp_Rotation(_float fTimeDelta) Rotation(vRotQ); } } -void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform) +void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform, _bool bMainTainDistance) { _float4 vRotQ = { pxTransform.q.x, pxTransform.q.y, pxTransform.q.z, pxTransform.q.w }; - Start_Lerp_Rotation(fTimeMaximum, vRotQ); + Start_Lerp_Rotation(fTimeMaximum, vRotQ, bMainTainDistance); + } -void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ) +void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ, _bool bMainTainDistance) { m_bLerpRotiation = { fTimeMaximum != 0 }; m_vLerpRotiationTimer = { 0.f, fTimeMaximum }; XMStoreFloat4(&m_vLerpRotQStart, m_pTransformCom->Get_QuarternionVector()); m_vLerpRotQEnd = vRotQ; + _vector vPos = m_pFollowTargetPart->Get_WorldPostion(); + _vector vLookPos = m_pLookTargetPart->Get_WorldPostion(); + m_fMaintainingDistance = XMVectorGetX(XMVector3Length(vLookPos - vPos)); } void CCamera_Cinematic::Clear_Lerp_Rotation() { @@ -370,6 +374,7 @@ void CCamera_Cinematic::Clear_Lerp_Rotation() m_vLerpRotiationTimer = {}; m_vLerpRotQStart = {}; m_vLerpRotQEnd = {}; + m_fMaintainingDistance = {}; } void CCamera_Cinematic::Lerp_FovY(_float fTimeDelta) { @@ -427,6 +432,9 @@ void CCamera_Cinematic::Rotation(_fvector vRotQ) _vector vLookDir = XMVector3Rotate(XMVectorSet(0.f, 0.f, 1.f, 0.f), vRotQ); if (true == m_pLookTargetPart->IsStalking()) { // 스토킹 중이면 팔로우가 움직이고 아니면 룩타겟이 움직임 + if (true == m_bLerpRotiation) { + fDistance = m_fMaintainingDistance; + } m_pFollowTargetPart->Set_WorldPostion(XMVectorSetW(vLookPos - (fDistance * vLookDir), 1.f)); } else { diff --git a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp index 184c98758..07388152a 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp @@ -254,6 +254,10 @@ void CCamera_Gaze::Describe_Entity() m_iPriority = iPriority; } if (GUI::CollapsingHeader("Camera_Gaze_Describe")) { + _float fFovYDegree = XMConvertToDegrees(m_fFovy); + if (GUI::SliderFloat("FOV", &fFovYDegree, 0.01f, 89.f, "%.2f")) { + m_fFovy = XMConvertToRadians(fFovYDegree); + } m_pTransformCom->Describe_Entity(); GUI::Text("LOOK_SRC %.2f, %.2f, %.2f", m_vLookPos_Src.x, m_vLookPos_Src.y, m_vLookPos_Src.z); GUI::Text("LOOK_DST %.2f, %.2f, %.2f", m_vLookPos_Dest.x, m_vLookPos_Dest.y, m_vLookPos_Dest.z); 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/Dialogue_Data.cpp b/Jusin154_Team3D/Client/Private/Dialogue_Data.cpp index aeb9c6fb6..4030d74ac 100644 --- a/Jusin154_Team3D/Client/Private/Dialogue_Data.cpp +++ b/Jusin154_Team3D/Client/Private/Dialogue_Data.cpp @@ -67,6 +67,7 @@ HRESULT CDialogue_Data::Load_SpellInfo(const _char* pFilePath) if (choiceText) choice.pText = CMyTools::ToWstring(choiceText); pChoice->QueryIntAttribute("NextID", &choice.NextTypeID); + pChoice->QueryIntAttribute("QuestID", &choice.QuestID); line.ChoiceInfo.push_back(choice); pChoice = pChoice->NextSiblingElement("Choice"); diff --git a/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp b/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp index bcc8a1299..9fd67e40a 100644 --- a/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp +++ b/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp @@ -67,14 +67,18 @@ void CDialogue_Font::Update(_float fTimeDelta) switch (m_iType) { case ENUM_CLASS(NPCTEXTTYPE::ENDTEXT): + //m_pNpc->Set_Flow(m_pNpc->Get_Flow() + 1); ENDText(); break; + case ENUM_CLASS(NPCTEXTTYPE::NEXTTEXT): NextText(); break; + case ENUM_CLASS(NPCTEXTTYPE::CHOICE): CHoice(); break; + case ENUM_CLASS(NPCTEXTTYPE::SHOPTEXT): break; @@ -96,6 +100,7 @@ void CDialogue_Font::Update(_float fTimeDelta) m_pInfoInstance->Event_CallBack(TEXT("BATTLE"), &m_bBattle); ReSet(); break; + default: break; } @@ -110,7 +115,7 @@ void CDialogue_Font::Update(_float fTimeDelta) { case ENUM_CLASS(NPCTEXTTYPE::ENDTEXT): m_fTime = 0.5f; - ReSet(); + ENDText(); break; case ENUM_CLASS(NPCTEXTTYPE::NEXTTEXT): m_fTime = 0.5f; @@ -333,18 +338,38 @@ void CDialogue_Font::SpellLearn() void CDialogue_Font::Quest() { - m_pInfoInstance->Set_AcceptQuest(m_iNextID); - _bool Interact = false; - m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact); - m_pCurrentDialogue[0]->Set_Hover(Interact); - m_pCurrentDialogue[0]->Visible(Interact); - m_DialoguInfo.push_back(m_pCurrentDialogue[0]); - m_pCurrentDialogue.erase(m_pCurrentDialogue.begin()); - if (m_bChoiceText == true) + _int Index = m_pInfoInstance->Set_AcceptQuest(m_iQuestID); + NPCINTERACT Interact{}; + + switch (Index) { - m_pInfoInstance->Event_CallBack(TEXT("CHOICERESET")); - ReSet(); + case 0: + Interact.bInteract = false; + Interact.fAlpha = 0.5f; + m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact); + m_pCurrentDialogue[0]->Set_Hover(Interact.bInteract); + m_pCurrentDialogue[0]->Visible(Interact.bInteract); + m_DialoguInfo.push_back(m_pCurrentDialogue[0]); + m_pCurrentDialogue.erase(m_pCurrentDialogue.begin()); + if (m_bChoiceText == true) + { + m_pInfoInstance->Event_CallBack(TEXT("CHOICERESET")); + ReSet(); + } + break; + + case 1: + NextText(999); + break; + + case 2: + NextText(); + break; + + default: + break; } + } void CDialogue_Font::ReSet() @@ -374,6 +399,7 @@ void CDialogue_Font::NextText() if (m_bChoiceText == true) { ReSet(); + m_pNpc->Set_Flow(m_pNpc->Get_Flow() + 1); } NpcDialogue(); } @@ -382,24 +408,59 @@ void CDialogue_Font::NextLevel(CHOICEINFO Choice) { m_iNextID = m_NextLevel[Choice.iChoice]; m_iType = Choice.iType; + m_iQuestID = Choice.QuestID; m_bChoiceText = true; - m_pNpc->Set_Flow(m_pNpc->Get_Flow() + 1); NpcNextText(); } void CDialogue_Font::ENDText() { - _bool Interact = false; + NPCINTERACT Interact{}; + Interact.bInteract = false; + Interact.fAlpha = 0.8f; m_pNpc->Set_NextID(m_iTextID); m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact); - m_pCurrentDialogue[0]->Set_Hover(Interact); - m_pCurrentDialogue[0]->Visible(Interact); + m_pCurrentDialogue[0]->Set_Hover(Interact.bInteract); + m_pCurrentDialogue[0]->Visible(Interact.bInteract); m_DialoguInfo.push_back(m_pCurrentDialogue[0]); m_pCurrentDialogue.erase(m_pCurrentDialogue.begin()); m_pInfoInstance->Event_CallBack(TEXT("CHOICERESET")); ReSet(); } +void CDialogue_Font::NextText(_int Index) +{ + m_pCurrentDialogue[0]->Visible(false); + m_DialoguInfo.push_back(m_pCurrentDialogue[0]); + m_pCurrentDialogue.erase(m_pCurrentDialogue.begin()); + if (m_bChoiceText == true) + { + ReSet(); + } + NpcDialogue(Index); +} + +void CDialogue_Font::NpcDialogue(_int Index) +{ + auto Info = m_pInfoInstance->Get_Dialogue(m_pNpcName, Index); + m_bTag = Info.bTag; + if (m_bTag == false) + { + m_Info.pName = m_pInfoInstance->Get_PlayerStatPtr()->Get_Stat().pUnit_Name; + } + else + { + m_Info.pName = m_pName; + } + m_Info.pText = Info.pText; + m_Info.fTime = 99999.f; + m_iType = Info.iType; + m_iNextID = Info.NextTextID; + m_iTextID = Info.iLineID; + m_pNpc->Set_NextID(m_iNextID); + Npc_Dialogue(m_Info); +} + CDialogue_Font* CDialogue_Font::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { CDialogue_Font* pInstance = new CDialogue_Font(pDevice, pContext); 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 389552309..4e6735079 100644 --- a/Jusin154_Team3D/Client/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp @@ -120,8 +120,8 @@ HRESULT CEffectPool::Initialize(void* pArg) m_isActiveMonsterEffectCreate = true; #endif // #ifdef 기무리 - m_isActiveEffectCreate = false; - m_isActiveMonsterEffectCreate = false; + m_isActiveEffectCreate = true; + m_isActiveMonsterEffectCreate = true; #endif // #ifdef 나 m_isActiveEffectCreate = true; diff --git a/Jusin154_Team3D/Client/Private/Elf.cpp b/Jusin154_Team3D/Client/Private/Elf.cpp index b6ee97c6b..f58f70556 100644 --- a/Jusin154_Team3D/Client/Private/Elf.cpp +++ b/Jusin154_Team3D/Client/Private/Elf.cpp @@ -71,7 +71,7 @@ void CElf::Update(_float fTimeDelta) Set_Anim(); - if (m_pGameInstance->Key_Up(DIK_U)) + if (m_pGameInstance->Key_Down(DIK_U)) { m_iCurrentFlow++; } @@ -472,14 +472,14 @@ HRESULT CElf::Ready_Components(void* pArg) Desc.eBodyType = ACTOR::CAPSULE; Desc.fContactOffset = 0.0001f; Desc.fMaterial = { 1.2f, 1.0f, 0.0f }; - Desc.bAutoStepping = { true }; - Desc.fStepOffset = { 0.08f }; - Desc.fRadius = 0.2f; - Desc.fHeight = 0.3f; + Desc.bAutoStepping = { false }; + Desc.fStepOffset = { 0.02f }; + Desc.fRadius = 0.225f; + Desc.fHeight = 0.35f; Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_NonPlayable_HitReport::Create(); Desc.pCallback_Behavior = m_pCallBack_Behavior = CCallBack_NonPlayable_Behavior::Create(); Desc.eClimbingMode = PSX::PxCapsuleClimbingMode::eEASY; - Desc.fWalkableSlope = 45.f; + Desc.fWalkableSlope = 80.f; if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), (CComponent**)&m_pCharacter_Controller, &Desc))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp index 4034b8cd7..d4727e9a9 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp @@ -101,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; @@ -111,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); diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp index 3fb873f9a..fbdc51268 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp @@ -634,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 }; @@ -793,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_Mage.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp index 1164bb08e..7a968b1c3 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp @@ -307,6 +307,7 @@ _vector CGoblin_Mage::Get_LockOnPos() void CGoblin_Mage::OnCollision(CGameObject* pOther, void* pDesc) { + return; if (true == m_bDead) { return; } 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/InfoInstance.cpp b/Jusin154_Team3D/Client/Private/InfoInstance.cpp index b7b5f8e0b..607d20380 100644 --- a/Jusin154_Team3D/Client/Private/InfoInstance.cpp +++ b/Jusin154_Team3D/Client/Private/InfoInstance.cpp @@ -344,6 +344,11 @@ _int CInfoInstance::Get_SpellLearnIndex() return m_pSpellLearn_Data->Get_Index(); } +void CInfoInstance::Spell_UnLock(_int SpellID) +{ + m_pSkillInfo->Spell_UnLock(SpellID); +} + //void CInfoInstance::Set_Font(void* pArg) //{ // m_pDialogue_Font->Add_Text(pArg); diff --git a/Jusin154_Team3D/Client/Private/InstancedProp.cpp b/Jusin154_Team3D/Client/Private/InstancedProp.cpp index b67ca2ff5..ae093962e 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); - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +//#ifdef Bin +// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); +// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +//#endif // Bin } HRESULT CInstancedProp::Render() diff --git a/Jusin154_Team3D/Client/Private/Land.cpp b/Jusin154_Team3D/Client/Private/Land.cpp index e52bf5d0e..32b5f7e63 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_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index 26ee4ee7a..269199a21 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -126,7 +126,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg) _bool bLoadNPC = { true }; #ifdef _DEBUG #ifdef 기무리 - bLoadNPC = true; + bLoadNPC = false; #endif #endif // _DEBUG if (true == bLoadNPC) { @@ -149,7 +149,7 @@ 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")); @@ -170,13 +170,15 @@ void CLevel_GamePlay::Update(_float fTimeDelta) _bool bStartCinematic = { true }; #ifdef _DEBUG #ifdef 기무리 - bStartCinematic = true; + bStartCinematic = false; #elif 진우 bStartCinematic = true; #elif Bin bStartCinematic = false; #elif gimch bStartCinematic = false; +#elif 나 + bStartCinematic = false; #endif #endif // _DEBUG @@ -1158,8 +1160,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc() isLoad_NPC = false; #endif // #ifdef 기무리 - isLoad_NPC = true; - isLoad_RandomNPC = true; + isLoad_NPC = false; + isLoad_RandomNPC = false; #endif // #ifdef 나 isLoad_RandomNPC = true; @@ -1241,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/Levioso.cpp b/Jusin154_Team3D/Client/Private/Levioso.cpp index 639653c91..d1a866af9 100644 --- a/Jusin154_Team3D/Client/Private/Levioso.cpp +++ b/Jusin154_Team3D/Client/Private/Levioso.cpp @@ -160,7 +160,6 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg) } } - m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_LEVIOSO, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); return S_OK; } 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 fe4299fcd..b0a90f169 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -575,7 +575,7 @@ HRESULT CLoader::Loading_For_GamePlay() isLoad_Background = true; isLoad_Hogwart = true; isLoad_UI_SEQUANTIAL = false; - isLoad_NPC = true; + isLoad_NPC = false; isLoad_Monster = true; #endif // #ifdef 나 @@ -1352,7 +1352,7 @@ HRESULT CLoader::Loading_For_GamePlay() TEXT("Prototype_Component_Troll_Model") )); jobCharacterModels.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Ranrok_Model") )); } @@ -2562,10 +2562,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 }; @@ -2577,6 +2577,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{}; @@ -2665,12 +2674,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; } @@ -2688,10 +2691,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; diff --git a/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp b/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp index bffdd0152..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 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 87d4830e3..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(); 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..9bf92e59c 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/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 42a412971..7252f7001 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -58,6 +58,10 @@ HRESULT CPlayer::Initialize(void* pArg) #if 진우 m_isDebugMode = false; // 디버그 무적 모드 #endif + +#if 기무리 + m_isDebugMode = true; // 디버그 무적 모드 +#endif #if 나 m_isDebugMode = true; // 디버그 무적 모드 #endif @@ -119,6 +123,7 @@ HRESULT CPlayer::Initialize(void* pArg) m_pInfoInstance->Add_Event(TEXT("UseSpell"), [this](void* p) {this->Get_Spell(*reinterpret_cast<_int*>(p)); }); m_pInfoInstance->Add_Event(TEXT("Player_CanvasChange"), [this](void* p) {this->Get_UIState(*reinterpret_cast<_int*>(p)); }); m_pInfoInstance->Add_Event(TEXT("NpcInteraction"), [this](void* p) {this->Set_Interaction(*reinterpret_cast<_bool*>(p)); }); + m_pInfoInstance->Add_Event(TEXT("SpellLearningSuccess"), [this](void* p) {this->Set_Spell_Learning_Success(); }); m_bAI = false; @@ -171,8 +176,11 @@ void CPlayer::Update(_float fTimeDelta) { if (m_bNpcInteraction == true) { + NPCINTERACT Interact{}; m_bCurrentInteraction = true; - m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &m_bNpcInteraction); + Interact.bInteract = true; + Interact.fAlpha = 0.f; + m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact); } } if (m_bGuarding) { @@ -439,6 +447,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()))) { diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index 9af215504..ff87b6fcf 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -49,6 +49,11 @@ #pragma region States +void CPlayer::Set_Spell_Learning_Success() +{ + m_bSpell_Learning_Success = true; +} + // UI 연동 추가 void CPlayer::Get_Spell(_int SkillIndex) { @@ -922,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) @@ -1344,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())) @@ -1629,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; @@ -1703,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) @@ -1933,11 +1974,13 @@ void CPlayer::Behavior_ParryEnter() } Add_Event(pairAnimInfo.first, - [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); }, @@ -2117,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); @@ -2340,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(); } @@ -2513,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) @@ -2646,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(); } @@ -2653,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); @@ -2948,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; @@ -2960,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; @@ -2972,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; @@ -2985,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; @@ -3068,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); @@ -3120,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); @@ -3172,10 +3270,15 @@ void CPlayer::Hit_Levioso(_float fTimeDelta) _bool CPlayer::IsInputLocked() { - return m_eUIState != ENUM_CLASS(UI_STATE::SPELL) && + 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); + m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) + { + return true; + } + + return false; } void CPlayer::Add_FSM() 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/Quest_Data.cpp b/Jusin154_Team3D/Client/Private/Quest_Data.cpp index eedfdcc01..a2efc7395 100644 --- a/Jusin154_Team3D/Client/Private/Quest_Data.cpp +++ b/Jusin154_Team3D/Client/Private/Quest_Data.cpp @@ -150,22 +150,31 @@ _int CQuest_Data::Get_Count(_int Index) } } -HRESULT CQuest_Data::Set_AcceptQuest(_int Index) +_int CQuest_Data::Set_AcceptQuest(_int Index) { - if (QuestInfos[Index].iAcceptState == ENUM_CLASS(QUESTSTATE::ACCEPTED) || QuestInfos[Index].iAcceptState == ENUM_CLASS(QUESTSTATE::CLEARED)) - return S_OK; + if (QuestInfos[Index].iAcceptState == ENUM_CLASS(QUESTSTATE::ACCEPTED)) + { + return 1; + } + if (QuestInfos[Index].iAcceptState == ENUM_CLASS(QUESTSTATE::CLEARED)) + { + return 2; + } + + HRESULT hr = m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, &QuestInfos[Index], nullptr, reinterpret_cast(&m_pQuestInstance)); + if (FAILED(hr)) + { + return -1; + } + QuestInfos[Index].iAcceptState = ENUM_CLASS(QUESTSTATE::ACCEPTED); - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, &QuestInfos[Index], nullptr, reinterpret_cast(&m_pQuestInstance)))) - { - return E_FAIL; - } m_pInfoInstance->Add_Event(TEXT("MonsterDead"), [this](void* p) {this->Update_AcceptQuest(*reinterpret_cast<_int*>(p)); }); m_AcceptedInfo.QeustData = m_pQuestInstance; m_AcceptedInfo.QeustInfo = QuestInfos[Index]; m_QuestAcceptedInfos.push_back(m_AcceptedInfo); m_iAcceptQeustCount++; - return S_OK; + return 0; } void CQuest_Data::Set_ClearQuest(_int Index) diff --git a/Jusin154_Team3D/Client/Private/Quest_Panel.cpp b/Jusin154_Team3D/Client/Private/Quest_Panel.cpp index 31de7eb35..6ebec47ac 100644 --- a/Jusin154_Team3D/Client/Private/Quest_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/Quest_Panel.cpp @@ -54,7 +54,7 @@ HRESULT CQuest_Panel::Initialize(void* pArg) Visible(true); ElementAllVisible(true); Set_Status(); - m_pInfoInstance->Set_AcceptQuest(0); + //m_pInfoInstance->Set_AcceptQuest(0); //m_pInfoInstance->Set_AcceptQuest(1); //m_pInfoInstance->Set_AcceptQuest(2); Add_Function(TEXT("Click"), [this](void* p) {this->Slot_Hover(*reinterpret_cast<_int*>(p)); }); diff --git a/Jusin154_Team3D/Client/Private/RaceRing.cpp b/Jusin154_Team3D/Client/Private/RaceRing.cpp index 877fd0186..73c8388cd 100644 --- a/Jusin154_Team3D/Client/Private/RaceRing.cpp +++ b/Jusin154_Team3D/Client/Private/RaceRing.cpp @@ -3,14 +3,16 @@ #include "BroomRaceManager.h" #include "GameInstance.h" +#include "PartObject.h" +#include "EffectParts.h" CRaceRing::CRaceRing(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) - : CGameObject(pDevice, pContext) + : CContainerObject(pDevice, pContext) { } CRaceRing::CRaceRing(const CRaceRing& Prototype) - : CGameObject(Prototype) + : CContainerObject(Prototype) { } @@ -30,6 +32,10 @@ HRESULT CRaceRing::Initialize(void* pArg) return E_FAIL; } + if (FAILED(Ready_Parts())) { + return E_FAIL; + } + //m_iIndex = static_cast(pArg)->iIndex; //_float X = m_pGameInstance->Real_Random_Float(-200.f, 200.f); @@ -54,6 +60,8 @@ void CRaceRing::Priority_Update(_float fTimeDelta) Describe_Entity(); #endif // _DEBUG + + __super::Priority_Update(fTimeDelta); } void CRaceRing::Update(_float fTimeDelta) @@ -61,10 +69,22 @@ void CRaceRing::Update(_float fTimeDelta) m_pModelCom->Combined_BoneMatrix(); World_to_ScreenUI(); + + __super::Update(fTimeDelta); + + if (m_bTarget == true) + { + m_pRingEffect->Set_Visible(true); + m_pRingEffect->Get_Component()->Set_WorldMatrix(m_pTransformCom->Get_XMWorldMatrix()); + } + else { + m_pRingEffect->Set_Visible(false); + } } void CRaceRing::Late_Update(_float fTimeDelta) { + __super::Late_Update(fTimeDelta); m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); } @@ -238,6 +258,24 @@ HRESULT CRaceRing::Bind_ShaderResources() return S_OK; } +HRESULT CRaceRing::Ready_Parts() +{ + CPartObject::PARTOBJECT_DESC PartsDesc{}; + + PartsDesc.pParentTransform = m_pTransformCom; + + + if (FAILED(Add_PartObject("Ring_Blur", g_iStaticLevel, &m_pRingEffect, &PartsDesc))) + { + return E_FAIL; + } + + m_pRingEffect->Load("../Bin/Resources/Data/Effect/BroomRace/Ring_Blur", static_cast(g_iStaticLevel)); + m_pRingEffect->Set_Visible(false); + + return S_OK; +} + CRaceRing* CRaceRing::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) @@ -272,6 +310,7 @@ void CRaceRing::Free() SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pModelCom); + SAFE_RELEASE(m_pRingEffect); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Skill_Data.cpp b/Jusin154_Team3D/Client/Private/Skill_Data.cpp index 23182e4a1..8b661c9c8 100644 --- a/Jusin154_Team3D/Client/Private/Skill_Data.cpp +++ b/Jusin154_Team3D/Client/Private/Skill_Data.cpp @@ -20,7 +20,7 @@ HRESULT CSkill_Data::Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pCon Spell_UnLock(3); Spell_UnLock(4); Spell_UnLock(6); - Spell_UnLock(11); + //Spell_UnLock(11); Spell_UnLock(14); Spell_UnLock(15); Spell_UnLock(20); diff --git a/Jusin154_Team3D/Client/Private/SpellLearn_MovePointer.cpp b/Jusin154_Team3D/Client/Private/SpellLearn_MovePointer.cpp index 4fcfde3c2..fd30e3d24 100644 --- a/Jusin154_Team3D/Client/Private/SpellLearn_MovePointer.cpp +++ b/Jusin154_Team3D/Client/Private/SpellLearn_MovePointer.cpp @@ -92,6 +92,9 @@ void CSpellLearn_MovePointer::Line(_float fTime, _float2 fMouse) m_bMoveStart = false; Set_FadeOut(); static_cast(m_pOwner)->Function_Callback(TEXT("LearnClear")); + m_pInfoInstance->Spell_UnLock(m_iSpellID); + m_pInfoInstance->Event_CallBack(TEXT("SpellLearningSuccess")); + } } } @@ -104,6 +107,11 @@ void CSpellLearn_MovePointer::Set_Booster(void* pArg) m_bBooster = m_Booster.bBoosterOn; } +void CSpellLearn_MovePointer::Set_ID(_int Index) +{ + m_iSpellID = Index; +} + void CSpellLearn_MovePointer::Priority_Update(_float fTimeDelta) { if (!__super::Chack_Visible()) diff --git a/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp b/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp index d16532b7c..1bd670db2 100644 --- a/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp @@ -75,6 +75,7 @@ HRESULT CSpellLearn_Panel::Initialize(void* pArg) void CSpellLearn_Panel::Set_Learn(_int Index) { m_fTime = 0.f; + static_cast(m_pSpellLearn_MovePointer)->Set_ID(m_pInfoInstance->Get_SpellLearn(Index).iSpellID); static_cast(m_pSpellLearn)->Change_Image(Index); static_cast(m_pSpellLearn_MovePointer)->Set_SpellLearn(Index); static_cast(m_pSpellLearn_ChaserPointer)->Set_SpellLearn(Index); 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/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/ThestralCarriage.cpp b/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp index c0f442291..94e4cde37 100644 --- a/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp +++ b/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp @@ -201,21 +201,21 @@ void CThestralCarriage::Trigger(CTimeSocket& Socket) } break; case TIMESOCKET_FUNC::SET_FSMSTATE: { - // if (pContents->vFlags.b[0]) { - // m_iAnimationIndex = 0; - // m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); - // m_pModelCom->IsRootBone(false); - // } - // else if (pContents->vFlags.b[1]) { - // m_iAnimationIndex = 1; - // m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); - // m_pModelCom->IsRootBone(false); - // } - // else if (pContents->vFlags.b[2]) { - // m_iAnimationIndex = 2; - // m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); - // m_pModelCom->IsRootBone(false); - // } + if (pContents->vFlags.b[0]) { + m_iAnimationIndex = 0; + m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); + m_pModelCom->IsRootBone(false); + } + else if (pContents->vFlags.b[1]) { + m_iAnimationIndex = 1; + m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); + m_pModelCom->IsRootBone(false); + } + else if (pContents->vFlags.b[2]) { + m_iAnimationIndex = 2; + m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); + m_pModelCom->IsRootBone(false); + } } break; case TIMESOCKET_FUNC::BIND_SOCKET_MATRIX: { 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_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp index 0d52d46f4..f9e11efa2 100644 --- a/Jusin154_Team3D/Client/Private/Troll_States.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp @@ -808,8 +808,6 @@ void CTroll::Behavior_DeadEnter() m_pDead_Smoke->Get_Component()->Set_State(STATE::POSITION, m_pTransformCom->Get_State(STATE::POSITION)); }, 0.55f); - Get_PartObject()->Set_Disolve(true); - } HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta) @@ -820,6 +818,7 @@ HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta) { m_fDeadRatio += fTimeDelta / 3.f; m_fDeadRatio = min(1.f, m_fDeadRatio); + Get_PartObject()->Set_Disolve(true); } return S_OK; diff --git a/Jusin154_Team3D/Client/Private/UI_Manager.cpp b/Jusin154_Team3D/Client/Private/UI_Manager.cpp index 11478a023..72340f529 100644 --- a/Jusin154_Team3D/Client/Private/UI_Manager.cpp +++ b/Jusin154_Team3D/Client/Private/UI_Manager.cpp @@ -62,7 +62,7 @@ HRESULT CUI_Manager::Initialize(void* pArg) m_bActive = false; m_pInfoInstance->Set_UISTATE(m_eType); m_pInfoInstance->Add_Event(TEXT("Canvas_Change"), [this](void* p) {this->Canvas_Change(*reinterpret_cast(p)); }); - m_pInfoInstance->Add_Event(TEXT("NpcInteract"), [this](void* p) {this->NpcInteract(*reinterpret_cast<_bool*>(p)); }); + m_pInfoInstance->Add_Event(TEXT("NpcInteract"), [this](void* p) {this->NpcInteract(p); }); m_pInfoInstance->Add_Event(TEXT("UIManagerFadeIn"), [this](void* p) {this->Set_Fade(); }); m_pInfoInstance->Add_Event(TEXT("UIFadeIn"), [this](void* p) {this->FadeIn(*reinterpret_cast<_float*>(p)); }); m_pInfoInstance->Add_Event(TEXT("RACEREADY"), [this](void* p) {this->Set_Race(*reinterpret_cast<_bool*>(p)); }); @@ -205,19 +205,19 @@ void CUI_Manager::Update(_float fTimeDelta) if (m_pGameInstance->Key_Down(DIK_TAB)) { m_fAlphaVelue = 1.f; + if (m_eType == UI_STATE::GAMEPLAYER) + { + m_eType = UI_STATE::QUEST; + + } + else if (m_eType == UI_STATE::QUEST) + { + m_eType = UI_STATE::GAMEPLAYER; + } if (m_bActive == false) { m_bActive = true; m_bAlphaZero = true; - if (m_eType == UI_STATE::GAMEPLAYER) - { - m_eType = UI_STATE::QUEST; - - } - else if (m_eType == UI_STATE::QUEST) - { - m_eType = UI_STATE::GAMEPLAYER; - } } } } @@ -227,18 +227,18 @@ void CUI_Manager::Update(_float fTimeDelta) if (m_pGameInstance->Key_Down(DIK_ESCAPE)) { m_fAlphaVelue = 1.f; + if (m_eType == UI_STATE::GAMEPLAYER) + { + m_eType = UI_STATE::SPELLLNEARN; + } + else if (m_eType == UI_STATE::SPELLLNEARN) + { + m_eType = UI_STATE::GAMEPLAYER; + } if (m_bActive == false) { m_bActive = true; m_bAlphaZero = true; - if (m_eType == UI_STATE::GAMEPLAYER) - { - m_eType = UI_STATE::SPELLLNEARN; - } - else if (m_eType == UI_STATE::SPELLLNEARN) - { - m_eType = UI_STATE::GAMEPLAYER; - } } } } @@ -279,7 +279,7 @@ void CUI_Manager::Update(_float fTimeDelta) m_fAlpha += fTimeDelta * m_fAlphaTime; } - if (m_fAlpha > m_fAlphaVelue && m_bAlphaZero == true) + if (m_fAlpha >= m_fAlphaVelue && m_bAlphaZero == true) { m_bAlphaZero = false; m_fAlpha = 1.f; @@ -495,11 +495,14 @@ CGameObject* CUI_Manager::Find_Canvas(const _wstring& Name) return iter->second; } -void CUI_Manager::NpcInteract(_bool bInteract) +void CUI_Manager::NpcInteract(void* pArg) { - m_bNPCInteract = bInteract; - m_bHover = bInteract; - m_bActive = bInteract; + NPCINTERACT Interact = *reinterpret_cast(pArg); + + m_bNPCInteract = Interact.bInteract; + m_bHover = Interact.bInteract; + m_bActive = Interact.bInteract; + m_fAlpha= Interact.fAlpha; m_bAlphaZero = true; } 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 811c03d95..52a6aec55 100644 --- a/Jusin154_Team3D/Client/Public/BroomRaceManager.h +++ b/Jusin154_Team3D/Client/Public/BroomRaceManager.h @@ -48,7 +48,7 @@ class CBroomRaceManager final : public CGameObject private: CInfoInstance* m_pInfoInstance = { nullptr }; - + array m_pRaceEndEffects = { nullptr, nullptr, nullptr }; vector m_pRaceRings = {}; vector m_Racers = {}; _float m_fCountTimer = {}; diff --git a/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h b/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h index b84f08a2a..6102b3aa6 100644 --- a/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h +++ b/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h @@ -20,6 +20,8 @@ class CBroomRace_Bubble final : public CEffect_Container 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; diff --git a/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h b/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h index b27d1b591..22d88854b 100644 --- a/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h +++ b/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h @@ -73,6 +73,10 @@ class CCamPosition_Shoulder final : public CCamPosition _float2 m_vMoveLerpPositions = { }; _float2 m_vMoveLerpTimer = { 0.f, TIMER_SHORT_LERP }; + + //_int m_iSpellFovLerp = { 0 }; + //_float3 m_vSpellFovLerpTimer = { 0.f, 1.f, 2.f }; + //_float3 m_vSpellFovLerpDegree = { 60.f, 30.f, 60.f }; #pragma endregion _float2 m_vCameraShakeTimer = { 0.f, 0.3f }; diff --git a/Jusin154_Team3D/Client/Public/Camera_Cinematic.h b/Jusin154_Team3D/Client/Public/Camera_Cinematic.h index 102fd0af0..09d8a17e8 100644 --- a/Jusin154_Team3D/Client/Public/Camera_Cinematic.h +++ b/Jusin154_Team3D/Client/Public/Camera_Cinematic.h @@ -49,8 +49,8 @@ class CCamera_Cinematic final : public CCamera void Start_Lerp_Translation(_float fTimeMaximum, _float3& vTrans); void Clear_Lerp_Translation(); void Lerp_Rotation(_float fTimeDelta); - void Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform); - void Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ); + void Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform, _bool bMainTainDistance); + void Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ, _bool bMainTainDistance); void Clear_Lerp_Rotation(); @@ -82,6 +82,7 @@ class CCamera_Cinematic final : public CCamera _bool m_bLerpFovY = { false }; _float2 m_vFovYLerp = { 60.f, 60.f }; _float2 m_vLerpFovYTimer = { }; + _float m_fMaintainingDistance = { }; #ifdef _DEBUG unique_ptr m_pSubShape = { nullptr }; unique_ptr> m_Batch = { nullptr }; diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h index ce3a2cd95..8abc0839b 100644 --- a/Jusin154_Team3D/Client/Public/Client_Enum.h +++ b/Jusin154_Team3D/Client/Public/Client_Enum.h @@ -45,7 +45,7 @@ namespace Client enum class QUESTTYPE { MAIN, SUB, END }; enum class QUESTSTATE { NONE, ACCEPTED, CLEARED, END }; - enum class NPCTEXTTYPE { ENDTEXT, NEXTTEXT, CHOICE, SHOPTEXT, QUESTTEXT, SPELLLEAN, BROOM, BATTLE, END }; + enum class NPCTEXTTYPE { ENDTEXT, NEXTTEXT, CHOICE, SHOPTEXT, QUESTTEXT, SPELLLEAN, BROOM, BATTLE, CURRENTQUEST, END }; enum class EFFECT_TYPE { EFFECT, TRAIL, END }; diff --git a/Jusin154_Team3D/Client/Public/Client_Struct.h b/Jusin154_Team3D/Client/Public/Client_Struct.h index 75d1cf961..209731778 100644 --- a/Jusin154_Team3D/Client/Public/Client_Struct.h +++ b/Jusin154_Team3D/Client/Public/Client_Struct.h @@ -1,9 +1,9 @@ #pragma once NS_BEGIN(Engine) - class CModel; - class CRigidBody_Static; - class CUnit; - class CTimeSocket; +class CModel; +class CRigidBody_Static; +class CUnit; +class CTimeSocket; NS_END NS_BEGIN(Client) @@ -37,81 +37,89 @@ typedef struct tagSpellInfo _float fVidio{}; }SPELL_INFO; - typedef struct DialogueChoice - { - _int eType = { false }; - _wstring pText; - _int NextTypeID{}; - }DIALOGUECHOICEINFO; +typedef struct DialogueChoice +{ + _int eType = { false }; + _wstring pText; + _int NextTypeID{}; + _int QuestID{}; +}DIALOGUECHOICEINFO; - typedef struct DialogueInfo - { - _int iLineID{}; - _bool bTag{}; - _int iType{}; - _wstring pText; - _int NextTextID{}; - vector ChoiceInfo; - }CURRENTDIALOGUEINFO; +typedef struct DialogueInfo +{ + _int iLineID{}; + _bool bTag{}; + _int iType{}; + _wstring pText; + _int NextTextID{}; + vector ChoiceInfo; +}CURRENTDIALOGUEINFO; - typedef struct NpcDialogue - { - _wstring pNpcName; - _int iNpcID{}; - map<_int, CURRENTDIALOGUEINFO> Info; - }NPCDIALOGUEINFO; +typedef struct NpcDialogue +{ + _wstring pNpcName; + _int iNpcID{}; + map<_int, CURRENTDIALOGUEINFO> Info; +}NPCDIALOGUEINFO; - typedef struct tagLockOnInfo { - CUnit* pUnit = { nullptr }; - class CMapElement_Interactable* pInteractive = { nullptr }; - class CMapElement_Chest* pChest = { nullptr }; - class CEffect_Container* pEffect = { nullptr }; - }LOCKON_INFO; +typedef struct tagLockOnInfo { + CUnit* pUnit = { nullptr }; + class CMapElement_Interactable* pInteractive = { nullptr }; + class CMapElement_Chest* pChest = { nullptr }; + class CEffect_Container* pEffect = { nullptr }; +}LOCKON_INFO; - typedef struct tegNPCInteractionInfo - { - CGameObject* pOwner = { nullptr }; - _wstring pNPCName; - _wstring pName; - _float4 fNPCPosition{}; - _int iTextID{}; - }NPCINTERACTIONINFO; +typedef struct tegNPCInteractionInfo +{ + CGameObject* pOwner = { nullptr }; + _wstring pNPCName; + _wstring pName; + _float4 fNPCPosition{}; + _int iTextID{}; +}NPCINTERACTIONINFO; - typedef struct tegBoxInteractionInfo - { - CGameObject* pOwner = { nullptr }; - _wstring pName; - _float4 fPosition{}; - }BOXINTERACTIONINFO; +typedef struct tegBoxInteractionInfo +{ + CGameObject* pOwner = { nullptr }; + _wstring pName; + _float4 fPosition{}; +}BOXINTERACTIONINFO; - typedef struct Choice - { - _int iChoice{}; - _int iType{}; - }CHOICEINFO; +typedef struct Choice +{ + _int iChoice{}; + _int iType{}; + _int QuestID{}; +}CHOICEINFO; - typedef struct PropUI - { - _float4 vPosition{}; - _int iIndex{}; - }PROPUI; +typedef struct PropUI +{ + _float4 vPosition{}; + _int iIndex{}; +}PROPUI; - typedef struct tagUnitInfo - { - _wstring pUnit_Name; - _float fCurrentHp{}; - _float fMaxHp{}; - _float fTargetHp{}; - _float fMelee{}; - _float fMagic{}; - _float fDefense{}; - _float fSpeed{}; - _float fAgility{}; - _int iLevel{}; - _float fExprince{}; - _float fMaxExprience{}; - _int iGold{}; - }UNITINFO; +typedef struct tagUnitInfo +{ + _wstring pUnit_Name; + _float fCurrentHp{}; + _float fMaxHp{}; + _float fTargetHp{}; + _float fMelee{}; + _float fMagic{}; + _float fDefense{}; + _float fSpeed{}; + _float fAgility{}; + _int iLevel{}; + _float fExprince{}; + _float fMaxExprience{}; + _int iGold{}; +}UNITINFO; + +typedef struct tagNpcInteract +{ + _bool bInteract{}; + _float fAlpha{}; +}NPCINTERACT; typedef struct tagDamageInfo { @@ -312,15 +320,15 @@ typedef struct tagEffectInfo _float4 vPadding4 = {}; _float4 vPadding5 = {}; _float4 vPadding6 = {}; - }EFFECT_INFO; +}EFFECT_INFO; - typedef struct tagTrailInfo - { - EFFECT_TYPE eEffectType = { EFFECT_TYPE::TRAIL }; - /* 디퓨즈 */ - _bool isDiffuse = {}; - _float fDiffuseAlpha = { 1.f }; - _float4 vColor = { 0.f ,0.f ,0.f ,1.f }; +typedef struct tagTrailInfo +{ + EFFECT_TYPE eEffectType = { EFFECT_TYPE::TRAIL }; + /* 디퓨즈 */ + _bool isDiffuse = {}; + _float fDiffuseAlpha = { 1.f }; + _float4 vColor = { 0.f ,0.f ,0.f ,1.f }; /* 마스크 */ _bool isMask = {}; @@ -395,7 +403,7 @@ typedef struct tagEffectInfo struct TimeLine { _float2 m_vTimer = {}; _uint m_eTypeTimeLine = {}; - class CTriggerBox* m_pTriggerBox = { nullptr }; + class CTriggerBox* m_pTriggerBox = { nullptr }; list m_Sockets = {}; }; NS_END diff --git a/Jusin154_Team3D/Client/Public/Dialogue_Font.h b/Jusin154_Team3D/Client/Public/Dialogue_Font.h index 0fc167a15..a606ac795 100644 --- a/Jusin154_Team3D/Client/Public/Dialogue_Font.h +++ b/Jusin154_Team3D/Client/Public/Dialogue_Font.h @@ -46,6 +46,8 @@ class CDialogue_Font final : public CGameObject void NextText(); void NextLevel(CHOICEINFO Choice); void ENDText(); + void NextText(_int Index); + void NpcDialogue(_int Index); private: void NpcInfo(void* pArg); void NpcInteract(_bool bInteract); @@ -82,6 +84,7 @@ class CDialogue_Font final : public CGameObject _wstring m_pName; _int m_iTextID{}; _int m_iNextID{}; + _int m_iQuestID{}; _int m_iType{}; _bool m_bTag{}; diff --git a/Jusin154_Team3D/Client/Public/InfoInstance.h b/Jusin154_Team3D/Client/Public/InfoInstance.h index 0b99775dd..5c52bead8 100644 --- a/Jusin154_Team3D/Client/Public/InfoInstance.h +++ b/Jusin154_Team3D/Client/Public/InfoInstance.h @@ -81,6 +81,7 @@ DECLARE_SINGLETON(CInfoInstance) _float Get_Spell_Damage(_int Index); void Add_Event(_wstring EventName, function Event); void Event_CallBack(_wstring EventName, void* pArg = nullptr); + #pragma endregion #pragma region QuestINFO QUESTINFO Get_Quest(_int QuestType, _int QuestID); @@ -93,6 +94,7 @@ DECLARE_SINGLETON(CInfoInstance) #pragma region SpellLearn_Data const SPELLLEARNINFO& Get_SpellLearn(_int Index) const; _int Get_SpellLearnIndex(); + void Spell_UnLock(_int SpellID); #pragma endregion #pragma region Dialogue_Font //void Set_Font(void* pArg); 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/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 56c71d11f..4fe1a62c7 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 @@ -147,7 +148,7 @@ class CPlayer final : public CUnit public: virtual void Reset_Sprint() { m_bSprintToggle = false; } virtual void Reset_Walk() { m_bWalkToggle = false; } - + void Set_Spell_Learning_Success(); private: // UI 연동 추가 void Get_Spell(_int SkillIndex); @@ -293,7 +294,7 @@ class CPlayer final : public CUnit void Behavior_Broom_HoverEnter(); HRESULT Behavior_Broom_HoverExitCheck(_float fTimeDelta); void Behavior_Broom_HoverExit(); - + void Behavior_Broom_FlyEnter(); HRESULT Behavior_Broom_FlyExitCheck(_float fTimeDelta); void Behavior_Broom_FlyExit(); diff --git a/Jusin154_Team3D/Client/Public/Quest_Data.h b/Jusin154_Team3D/Client/Public/Quest_Data.h index c33d834fe..5c7cef5ab 100644 --- a/Jusin154_Team3D/Client/Public/Quest_Data.h +++ b/Jusin154_Team3D/Client/Public/Quest_Data.h @@ -36,7 +36,7 @@ class CQuest_Data final : public CBase const vector& Get_AllQuest() const; const vector& Get_ClearQuest() const; vector& Get_AcceptQuest(); - HRESULT Set_AcceptQuest(_int index); + _int Set_AcceptQuest(_int index); private: CInfoInstance* m_pInfoInstance = { nullptr }; diff --git a/Jusin154_Team3D/Client/Public/RaceRing.h b/Jusin154_Team3D/Client/Public/RaceRing.h index 8bc69c598..59e3b054a 100644 --- a/Jusin154_Team3D/Client/Public/RaceRing.h +++ b/Jusin154_Team3D/Client/Public/RaceRing.h @@ -1,11 +1,11 @@ #pragma once #include "Client_Define.h" -#include "PartObject.h" +#include "ContainerObject.h" NS_BEGIN(Client) -class CRaceRing final : public CGameObject +class CRaceRing final : public CContainerObject { public: typedef struct RaceRingDesc @@ -37,6 +37,7 @@ class CRaceRing final : public CGameObject private: class CBroomRaceManager* m_pBroomRaceManager = { nullptr }; + class CEffectParts* m_pRingEffect = { nullptr }; CShader* m_pShaderCom = { nullptr }; CModel* m_pModelCom = { nullptr }; _bool m_bTarget = { false }; @@ -47,6 +48,7 @@ class CRaceRing final : public CGameObject private: HRESULT Ready_Components(); HRESULT Bind_ShaderResources(); + HRESULT Ready_Parts(); public: static CRaceRing* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/SpellLearn_MovePointer.h b/Jusin154_Team3D/Client/Public/SpellLearn_MovePointer.h index 45324a65e..8a8734cbb 100644 --- a/Jusin154_Team3D/Client/Public/SpellLearn_MovePointer.h +++ b/Jusin154_Team3D/Client/Public/SpellLearn_MovePointer.h @@ -41,6 +41,7 @@ class CSpellLearn_MovePointer final : public CElementObject void Set_SpellLearn(_int Index); _int Get_SpellTrail(); _bool Get_MoveStart(); + void Set_ID(_int Index); private: void Line(_float fTime, _float2 fMouse); @@ -64,6 +65,7 @@ class CSpellLearn_MovePointer final : public CElementObject _int m_iCurrentLine{}; vector<_float4> m_MoveLine; vector<_float4> m_Boosters; + _int m_iSpellID{}; public: static CSpellLearn_MovePointer* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/UI_Manager.h b/Jusin154_Team3D/Client/Public/UI_Manager.h index 3f896b725..0fa9d439b 100644 --- a/Jusin154_Team3D/Client/Public/UI_Manager.h +++ b/Jusin154_Team3D/Client/Public/UI_Manager.h @@ -46,7 +46,7 @@ class CUI_Manager final : public CUIObject void Add_Canvas(_wstring Name, class CGameObject* pCanvas); CGameObject* Find_Canvas(const _wstring& Name); - void NpcInteract(_bool bInteract); + void NpcInteract(void* pArg); void Set_Fade(); void Change_Map(); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml index 4982d2544..7db6bf716 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml @@ -152,8 +152,8 @@ - - + + @@ -226,8 +226,8 @@ - - + + @@ -263,8 +263,8 @@ - - + + @@ -332,6 +332,80 @@ + + + + + + + + + + + true + 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 + + + + + + + + + + + @@ -370,12 +444,12 @@ - + - - + + @@ -400,23 +474,23 @@ - + - + - - + + - false + true false false false @@ -437,266 +511,7 @@ - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - + @@ -705,344 +520,6 @@ --> - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - @@ -1054,9 +531,47 @@ - true + false false - false + true + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + + false + false + true false false false diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml index 5890f5101..c9666f74a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml @@ -3,9 +3,9 @@ - - - + + + @@ -21,9 +21,9 @@ - - - + + + @@ -31,23 +31,42 @@ - - + + - - - - + + + + + + + + + + + + + + + + + + + + - + + - - + + @@ -74,8 +93,8 @@ - - + + 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 229374586..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 @@ -10,7 +10,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml index 8095db0b0..8eb52edda 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml @@ -2,9 +2,6 @@ - - - @@ -18,10 +15,6 @@ - - - - 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/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/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/Private/Level_Logo.cpp b/Jusin154_Team3D/Editor/Private/Level_Logo.cpp index cf0dea8d1..2b7e782da 100644 --- a/Jusin154_Team3D/Editor/Private/Level_Logo.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_Logo.cpp @@ -60,7 +60,7 @@ void CLevel_Logo::Update(_float fTimeDelta) return; #endif // gimch #ifdef 기무리 - if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::EFFECT)))) + if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::OBJECT)))) return; #endif // 기무리 #ifdef 진우 diff --git a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp index 0001d9a95..f58aaf9c9 100644 --- a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp @@ -496,6 +496,9 @@ void CLevel_ObjectViewer::Dummy_Object_Setting() 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); } } } diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index 5a2bbca19..b3821e2c4 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -102,10 +102,15 @@ HRESULT CLoader::Loading_For_ObjectViewer() futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_ConjuredDragon_Model") )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon_Anim.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_ConjuredDragon_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_trsoll_Model") 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/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/PhysX_Manager.cpp b/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp index b03e3934a..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 }; @@ -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/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp index 1f8ca2b5b..6604f3181 100644 --- a/Jusin154_Team3D/Engine/Private/Renderer.cpp +++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp @@ -353,7 +353,7 @@ void CRenderer::Render_Decal() if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_Decal")))) { return; } - + m_eType = RENDER::DECAL; for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::DECAL)]) { if (nullptr != pRenderObject) { @@ -451,6 +451,7 @@ void CRenderer::Render_Combined() COMPUTE_TIMEDELTA("Timer_Render_Combined"); EVENTSCOPE_("Render_Combined"); + if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_Combined")))) { return; } @@ -541,7 +542,7 @@ void CRenderer::Render_EnvironmentPostProcess() if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_ENV_Blur_X")))) { // Target_ENV_Blur_X return; } - + m_pShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix); m_pShader->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix); m_pShader->Bind_Matrix("g_ProjMatrix", &m_ScreenProjMatrix); @@ -660,6 +661,7 @@ void CRenderer::Render_Effect() if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_WB")))) { return; } + m_eType = RENDER::EFFECT; for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::EFFECT)]) @@ -683,7 +685,7 @@ void CRenderer::Render_WeightBlend() COMPUTE_TIMEDELTA("Timer_Render_WeightBlend"); EVENTSCOPE_("Render_WeightBlend"); // Bind_Resorces - + m_pWeightBlendShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix); m_pWeightBlendShader->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix); m_pWeightBlendShader->Bind_Matrix("g_ProjMatrix", &m_ScreenProjMatrix); @@ -835,7 +837,7 @@ void CRenderer::Render_SSAO() COMPUTE_TIMEDELTA("Timer_Render_SSAO"); EVENTSCOPE_("Render_SSAO"); _uint iKernelSize = SSAO_SAMPLE_NUMBER; - + if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_SSAO_OCCLUSION")))) { return; } @@ -984,7 +986,7 @@ void CRenderer::Render_Blur_Mesh() { COMPUTE_TIMEDELTA("Timer_Render_Blur_Mesh"); EVENTSCOPE_("Render_Blur_Mesh"); - + m_eType = RENDER::BLUR; m_RenderObjects[ENUM_CLASS(RENDER::BULR_MESH)].sort([](CGameObject* pSour, CGameObject* pDest)->_bool { return pSour->Get_Depth() > pDest->Get_Depth(); }); @@ -1016,6 +1018,7 @@ void CRenderer::Render_PostProcessing() /* POSTPROCESSING */ COMPUTE_TIMEDELTA("Timer_Render_PostProcessing"); EVENTSCOPE_("Render_PostProcessing"); + { ID3D11Texture2D* pBackBuffer = { nullptr }; m_pGameInstance->Get_BackBufferPTR(&pBackBuffer); @@ -1089,7 +1092,7 @@ void CRenderer::Render_PostProcessing() } } m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::MOTIONBLUR)); - + m_pVIBuffer->Bind_Resources(); m_pVIBuffer->Render(); if (false == m_bMB) { diff --git a/Jusin154_Team3D/Engine/Private/SoundSrc.cpp b/Jusin154_Team3D/Engine/Private/SoundSrc.cpp index 37208bf90..eaa11b351 100644 --- a/Jusin154_Team3D/Engine/Private/SoundSrc.cpp +++ b/Jusin154_Team3D/Engine/Private/SoundSrc.cpp @@ -7,18 +7,18 @@ using namespace Engine::SOUND; const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = { #pragma region BGM - 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"), + 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"), @@ -48,13 +48,32 @@ const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = { #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 @@ -63,6 +82,165 @@ const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = { 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"), @@ -72,10 +250,27 @@ const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = { TEXT("Player/Voice/protego_voice.wav"), TEXT("Player/Voice/reparo_voice.wav"), TEXT("Player/Voice/revelio.voice.wav"), - TEXT("Player/Voice/stupefy_voice.wav") + 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/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/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/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 a755eae6f..1c98e508b 100644 --- a/Jusin154_Team3D/Engine/Public/SoundSrc.h +++ b/Jusin154_Team3D/Engine/Public/SoundSrc.h @@ -4,13 +4,6 @@ NS_BEGIN(Engine) NS_BEGIN(SOUND) -enum class SD_CHANNEL_GROUP { - BGM, - ENVIRONMENT, - EFFECT, - VOICE, - END -}; enum class SD_KIND { #pragma region BGM @@ -60,6 +53,24 @@ enum class SD_KIND { 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 @@ -68,6 +79,164 @@ enum class SD_KIND { 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, @@ -80,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/TimeSocket.h b/Jusin154_Team3D/Engine/Public/TimeSocket.h index d6ce50e17..dea6320db 100644 --- a/Jusin154_Team3D/Engine/Public/TimeSocket.h +++ b/Jusin154_Team3D/Engine/Public/TimeSocket.h @@ -49,6 +49,7 @@ typedef enum class typeTimeSocket_Func { // CHARACTER SET_ANIMSTATE, + SET_ANIMTRACKPOSITION, SET_FSMSTATE, BIND_SOCKET_MATRIX, UNBIND_SOCKET_MATRIX, @@ -97,10 +98,11 @@ static constexpr pair g_SocketFuncTypeTable[ENUM_C {"SHAKE", TIMESOCKET_FUNC::SHAKE}, // CHARACTER - {"SET_ANIMSTATE", TIMESOCKET_FUNC::SET_ANIMSTATE}, - {"SET_FSMSTATE", TIMESOCKET_FUNC::SET_FSMSTATE}, - {"BIND_SOCKET_MATRIX", TIMESOCKET_FUNC::BIND_SOCKET_MATRIX}, - {"UNBIND_SOCKET_MATRIX",TIMESOCKET_FUNC::UNBIND_SOCKET_MATRIX}, + {"SET_ANIMSTATE", TIMESOCKET_FUNC::SET_ANIMSTATE}, + {"SET_ANIMTRACKPOSITION", TIMESOCKET_FUNC::SET_ANIMTRACKPOSITION}, + {"SET_FSMSTATE", TIMESOCKET_FUNC::SET_FSMSTATE}, + {"BIND_SOCKET_MATRIX", TIMESOCKET_FUNC::BIND_SOCKET_MATRIX}, + {"UNBIND_SOCKET_MATRIX", TIMESOCKET_FUNC::UNBIND_SOCKET_MATRIX}, // EFFECT