diff --git a/.gitignore b/.gitignore index 8ce467e13..5484ffc9a 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,7 @@ x64/ Release/ Debug/ Inc/ +enc_temp_folder/ Jusin154_Team3D/Client/Bin/Resources/ # Imgui 임시 파일 diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index 456378909..f49384cbf 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -190,12 +190,15 @@ call Update_Resources.bat + + + @@ -456,6 +459,7 @@ call Update_Resources.bat + @@ -466,11 +470,14 @@ call Update_Resources.bat + + + diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index 46ac96442..798841985 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -845,6 +845,15 @@ 02.GameObjects\NPC\Ally\RandomNpc + + 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Rush + + + 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Land + + + 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_GroundPulse + @@ -1749,6 +1758,15 @@ {88b62177-01fc-424d-a444-4fb5fd4b2db5} + + {9cf44fef-f3be-409e-b530-6aef90db5c0c} + + + {c756e70b-1ba2-4a25-a177-b50bbc1a332a} + + + {eb8e52f5-0283-4acf-8fbb-0e734b7580e9} + {9c357e12-18b3-461e-b74c-76f85280796f} @@ -2547,6 +2565,18 @@ 02.GameObjects\NPC\Ally\RandomNpc + + 02.GameObjects\Player\Robe + + + 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Rush + + + 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Land + + + 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_GroundPulse + diff --git a/Jusin154_Team3D/Client/Private/Broom.cpp b/Jusin154_Team3D/Client/Private/Broom.cpp index b6e7762e8..bf5b7331b 100644 --- a/Jusin154_Team3D/Client/Private/Broom.cpp +++ b/Jusin154_Team3D/Client/Private/Broom.cpp @@ -29,6 +29,10 @@ HRESULT CBroom::Initialize(void* pArg) return E_FAIL; } + if (pArg) { + m_iIndex = *static_cast<_int*>(pArg); + } + if (FAILED(Ready_Components())) { return E_FAIL; @@ -224,8 +228,26 @@ HRESULT CBroom::Ready_Components() __super::Ready_Components(&Desc); + switch (m_iIndex) + { + case 0: + m_strModelPrototypeTag = TEXT("Prototype_Component_Broom_Model"); + break; + case 1: + m_strModelPrototypeTag = TEXT("Prototype_Component_SK_MoonTrimmerBroom_Model"); + break; + case 2: + m_strModelPrototypeTag = TEXT("Prototype_Component_DarkWizardBroom_Model"); + break; + case 3: + m_strModelPrototypeTag = TEXT("Prototype_Component_WildFireBroom_Model"); + break; + default: + break; + } + /* Com_Model */ - if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Broom_Model"), + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, m_strModelPrototypeTag, reinterpret_cast(&m_pModelCom)))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp index f6c751d22..d08b64b3f 100644 --- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp @@ -166,10 +166,12 @@ void CBroomRaceManager::Describe_Entity() { MSG_BOX("Failed Load RaceRing"); } - - for (_uint i = 0; i < 3; i++) + CBroomRacerAI::RacerDesc Desc = {}; + for (_uint i = 1; i < 4; i++) { - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_RACERAI, this))) + Desc.pRacerManager = this; + Desc.iIndex = i; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_RACERAI, &Desc))) return; } m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_PLAYER)->Get_Object()->Set_RaceInfo(); diff --git a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp index 487b014a3..3431d8e7b 100644 --- a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp @@ -44,6 +44,8 @@ HRESULT CBroomRacerAI::Initialize(void* pArg) m_bAI = true; + m_iIndex = static_cast(pArg)->iIndex; + if (FAILED(Ready_Parts())) { return E_FAIL; } @@ -88,7 +90,7 @@ HRESULT CBroomRacerAI::Initialize(void* pArg) m_pBroom->Set_Ride(true); - m_pBroomRaceManager = static_cast(pArg); + m_pBroomRaceManager = static_cast(pArg)->pRacerManager; CBroomRaceManager::RacerInfo Info; @@ -311,7 +313,7 @@ HRESULT CBroomRacerAI::Ready_Components() HRESULT CBroomRacerAI::Ready_Parts() { - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_ITEM, nullptr, this, &m_pBroom))) { + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_ITEM, &m_iIndex, this, &m_pBroom))) { return E_FAIL; } @@ -350,35 +352,22 @@ HRESULT CBroomRacerAI::Bind_ShaderParameters(_uint iMeshOrder) _float fMixerFactor = { FLT_MAX }; _uint iColorMixerMethod = { 0 }; - switch (MESH_ORDER(iMeshOrder)) + switch (m_pModelCom->Get_UsingPass(iMeshOrder, m_pShaderCom)) { - case MESH_ORDER::HAIR_MAIN: - case MESH_ORDER::HEAD_EYELASH: - case MESH_ORDER::HAIR_SUB: - bUseColorMixer = true; - iColorParam = 0x2E2E2E; - fMixerFactor = 0.9f; - iColorMixerMethod = 1; - break; - case MESH_ORDER::LOWER: - bUseColorMixer = true; - iColorParam = 0x292557; - fMixerFactor = 0.5f; - iColorMixerMethod = 1; - break; - case MESH_ORDER::SHOES: - bUseColorMixer = true; - iColorParam = 0x614242; - fMixerFactor = 0.5f; - iColorMixerMethod = 1; - break; - case MESH_ORDER::UPPER: - bUseColorMixer = true; - iColorParam = 0xBFAC29; - fMixerFactor = 0.658333f; - iColorMixerMethod = 1; - break; - default: + case 23: + if (m_strModelPrototypeTag == TEXT("Prototype_Component_F_Student_Model")) + { + bUseColorMixer = true; + iColorParam = 0x2E2E2E; + fMixerFactor = 0.00f; + iColorMixerMethod = 1; + } + else { + bUseColorMixer = true; + iColorParam = 0x2E2E2E; + fMixerFactor = 0.9f; + iColorMixerMethod = 1; + } break; } if (true == bUseColorMixer) { diff --git a/Jusin154_Team3D/Client/Private/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp index 1be8242ab..fccbe1dd3 100644 --- a/Jusin154_Team3D/Client/Private/Broom_States.cpp +++ b/Jusin154_Team3D/Client/Private/Broom_States.cpp @@ -360,6 +360,7 @@ void CBroom::Behavior_Broom_FlyEnter() { pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::FLY); + m_pModelCom->Set_BlendDuration(0.8f); m_bHoverToggle = false; pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false); @@ -443,23 +444,23 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) if (vInput.x < 0.f) { - if (vInput.z <= 0.f) + /*if (vInput.z <= 0.f) { - m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.5f); - } - else { - m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.3f); + m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f); } + else {*/ + m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.2f); + //} } else if (vInput.x > 0.f) { - if (vInput.z <= 0.f) + /*if (vInput.z <= 0.f) { - m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.5f); - } - else { - m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.3f); + m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f); } + else {*/ + m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.2f); + //} } @@ -469,7 +470,6 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_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) { @@ -489,7 +489,6 @@ 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); } else { @@ -500,12 +499,12 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) else { 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,false,0.1f); } else { 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); } } @@ -552,12 +551,14 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) void CBroom::Behavior_Broom_FlyExit() { m_pFSM->Disable_State(FSMSTATE::FLY); + m_pModelCom->Set_BlendDuration(0.3f); } void CBroom::Behavior_Broom_TurboFlyEnter() { pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::TURBOFLY); + m_pModelCom->Set_BlendDuration(0.8f); m_bTurbo = true; m_bHoverToggle = false; pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; @@ -747,6 +748,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta) void CBroom::Behavior_Broom_TurboFlyExit() { m_pFSM->Disable_State(FSMSTATE::TURBOFLY); + m_pModelCom->Set_BlendDuration(0.3f); } diff --git a/Jusin154_Team3D/Client/Private/Camera_Model.cpp b/Jusin154_Team3D/Client/Private/Camera_Model.cpp index dcde7b522..8399307da 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Model.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Model.cpp @@ -91,6 +91,7 @@ HRESULT CCamera_Model::Render() } } else if (RENDER::NONLIGHT == eType) { +#ifdef _DEBUG m_Batch->Begin(); _vector vRight = m_pTransformCom->Get_State(STATE::RIGHT); @@ -102,16 +103,16 @@ HRESULT CCamera_Model::Render() static _float fLength = 1.f; GUI::DragFloat("Length", &fLength, 0.1f, 0.1f, 10.f, "%.1f"); m_Batch->DrawLine( - VertexPositionColor(vPosition, DirectX::Colors::GhostWhite), - VertexPositionColor(vPosition + vRight * fLength, DirectX::Colors::Green) + VertexPositionColor(vPosition, DirectX::Colors::GhostWhite), + VertexPositionColor(vPosition + vRight * fLength, DirectX::Colors::Green) ); m_Batch->DrawLine( - VertexPositionColor(vPosition, DirectX::Colors::GhostWhite), - VertexPositionColor(vPosition + vUp * fLength, DirectX::Colors::Red) + VertexPositionColor(vPosition, DirectX::Colors::GhostWhite), + VertexPositionColor(vPosition + vUp * fLength, DirectX::Colors::Red) ); m_Batch->DrawLine( - VertexPositionColor(vPosition, DirectX::Colors::GhostWhite), - VertexPositionColor(vPosition + vLook * fLength, DirectX::Colors::Blue) + VertexPositionColor(vPosition, DirectX::Colors::GhostWhite), + VertexPositionColor(vPosition + vLook * fLength, DirectX::Colors::Blue) ); _vector vColor = CMyTools::ColorRGB_A_HEXtoVECTOR(0xff0000, 1.f); _matrix WorldMatrix; @@ -132,6 +133,9 @@ HRESULT CCamera_Model::Render() m_pSubShape->Draw(WorldMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true); m_Batch->End(); +#endif // _DEBUG + + } return S_OK; diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp index 8765c16ee..025be182d 100644 --- a/Jusin154_Team3D/Client/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp @@ -49,7 +49,9 @@ #include "Ranrok_Charge.h" #include "Ranrok_Hit.h" #include "Ranrok_Impact.h" - +#include "Ranrok_Land.h" +#include "Ranrok_GroundPulse.h" +#include "Ranrok_Rush_Bottom.h" CEffectPool::CEffectPool(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CGameObject(pDevice, pContext) @@ -637,7 +639,35 @@ HRESULT CEffectPool::Ready_MonsterEffect() ))) return E_FAIL; - + if (FAILED(Create_Effect(SKILL_TYPE::RANROK_LAND, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { + + CRanrok_Land* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + + ))) return E_FAIL; + + if (FAILED(Create_Effect(SKILL_TYPE::RANROK_GROUNDPULSE, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { + + CRanrok_GroundPulse* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + + ))) return E_FAIL; + + if (FAILED(Create_Effect(SKILL_TYPE::RANROK_RUSH_BOTTOM, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { + + CRanrok_Rush_Bottom* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + + ))) return E_FAIL; return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp index b35ee6116..108a3de50 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp @@ -342,25 +342,35 @@ HRESULT CGoblin_Assassin::Render_Shadow(SHADOW eType) HRESULT CGoblin_Assassin::Render_MotionTrail(ID3D11ShaderResourceView* pSRV) { - _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); - for (_uint i = 0; i < iNumMeshes; i++) { - if (FAILED(m_pShaderCom->Bind_Matrices("g_OffsetMatrix", m_pModelCom->Get_OffsetMatrix(i).data(), - (_int)m_pModelCom->Get_OffsetMatrix(i).size()))) { + ID3D11RasterizerState* pPrevRS = nullptr; + m_pContext->RSGetState(&pPrevRS); + + _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); + for (_uint i = 0; i < iNumMeshes; i++) + { + if (FAILED(m_pShaderCom->Bind_Matrices( + "g_OffsetMatrix", + m_pModelCom->Get_OffsetMatrix(i).data(), + (_int)m_pModelCom->Get_OffsetMatrix(i).size()))) return E_FAIL; - } - if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { + + if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) return E_FAIL; - } - if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { + + if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) return E_FAIL; - } + + m_pContext->RSSetState(m_pRS_Wireframe); m_pContext->VSSetShaderResources(26, 1, &pSRV); - if (FAILED(m_pModelCom->Render(i))) { + if (FAILED(m_pModelCom->Render(i))) return E_FAIL; - } } + + m_pContext->RSSetState(pPrevRS); + if (pPrevRS) SAFE_RELEASE(pPrevRS); + return S_OK; } @@ -540,6 +550,17 @@ HRESULT CGoblin_Assassin::Ready_Components() } } + D3D11_RASTERIZER_DESC rsDesc{}; + rsDesc.FillMode = D3D11_FILL_WIREFRAME; + rsDesc.CullMode = D3D11_CULL_NONE; + rsDesc.DepthClipEnable = TRUE; + + HRESULT hr = m_pDevice->CreateRasterizerState(&rsDesc, &m_pRS_Wireframe); + if (FAILED(hr)) + return E_FAIL; + + + return S_OK; } @@ -693,8 +714,10 @@ void CGoblin_Assassin::Free() SAFE_RELEASE(m_pGoblin_Particle); SAFE_RELEASE(m_pGoblin_Particle2); SAFE_RELEASE(m_pEffectPool); + SAFE_RELEASE(m_pRS_Wireframe); Safe_Delete(m_pCallBack_Behavior); Safe_Delete(m_pCallBack_HitReport); + } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp index 3b24a2d10..018fe4de3 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_Spector.cpp @@ -315,6 +315,11 @@ HRESULT CGoblin_Assassin_Spector::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { return E_FAIL; } + + _float Intensity = 0.f; + if (FAILED(m_pShaderCom->Bind_RawValue("g_fMBIntensity", &Intensity, sizeof(_float)))) { + return E_FAIL; + } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Goblin_Spector.cpp b/Jusin154_Team3D/Client/Private/Goblin_Spector.cpp index 77348aaa1..977d57ce3 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Spector.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Spector.cpp @@ -296,6 +296,10 @@ HRESULT CGoblin_Spector::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { return E_FAIL; } + _float Intensity = 0.f; + if (FAILED(m_pShaderCom->Bind_RawValue("g_fMBIntensity", &Intensity, sizeof(_float)))) { + return E_FAIL; + } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index c56951785..fe46d92d1 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -340,7 +340,7 @@ HRESULT CLevel_GamePlay::Ready_Background() #endif // #ifdef 기무리 isReady_Background = true; - isReady_Hogsmeade = true; + isReady_Hogsmeade = false; isReady_Hogwart = false; #endif // #ifdef 나 @@ -726,8 +726,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag) isLoad_RandomNPC = true; #endif // #ifdef 기무리 - isLoad_NPC = true; - isLoad_RandomNPC = true; + isLoad_NPC = false; + isLoad_RandomNPC = false; #endif // #ifdef 나 isLoad_RandomNPC = true; @@ -760,13 +760,13 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag) if (true == isLoad_NPC) { - for (_uint i = 0; i < 7; i++) + for (_uint i = 0; i < 12; i++) { { CRandomNpc::NPCDESC NPCDesc{}; _float X = m_pGameInstance->Real_Random_Float(22.f, 29.f); _float Z = m_pGameInstance->Real_Random_Float(20.f, 29.f); - NPCDesc.vPos = _float4(X, -0.4f, Z, 1.f); + NPCDesc.vPos = _float4(X, 1.f, Z, 1.f); NPCDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f); NPCDesc.iIndex = i; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &NPCDesc))) { diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 1702ecec2..8ee4ae956 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -215,6 +215,9 @@ #include "Ranrok_Pulse.h" #include "Ranrok_Hit.h" #include "Ranrok_Impact.h" +#include "Ranrok_Land.h" +#include "Ranrok_GroundPulse.h" +#include "Ranrok_Rush_Bottom.h" #include "StunEffect.h" #include "Box_Splesh.h" @@ -406,7 +409,7 @@ HRESULT CLoader::Loading_For_GamePlay() isLoad_Background = true; isLoad_Hogwart = false; isLoad_UI_SEQUANTIAL = false; - isLoad_NPC = true; + isLoad_NPC = false; isLoad_Monster = true; #endif // #ifdef 나 @@ -2069,6 +2072,30 @@ HRESULT CLoader::Loading_For_GamePlay() CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { return E_FAIL; } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Kitchen_Female_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_BaiHowin_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GeorgeOsric_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_DinahHecat_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_MudiwaOnai_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } } if (true == isLoad_Monster) { @@ -2149,6 +2176,18 @@ HRESULT CLoader::Loading_For_GamePlay() CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) return E_FAIL; + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_SK_MoonTrimmerBroom_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + return E_FAIL; + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_DarkWizardBroom_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + return E_FAIL; + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_WildFireBroom_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + return E_FAIL; + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Weapon_Model"), CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/SubTroll_Weapon/SK_WPN_Troll_Club07.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationX(XMConvertToRadians(-90.f)) * XMMatrixIdentity())))) return E_FAIL; @@ -2365,6 +2404,15 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok_Land::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok_GroundPulse::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok_Rush_Bottom::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CGoblin_Teleport::Create(m_pDevice, m_pContext)))) { diff --git a/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp b/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp index 9b884eb18..b442840c7 100644 --- a/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp +++ b/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp @@ -80,6 +80,9 @@ HRESULT CNPC_Ollivander::Render() if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { return E_FAIL; } + if (FAILED(Bind_ShaderParameters(i))) { + return E_FAIL; + } if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { return E_FAIL; } @@ -185,6 +188,41 @@ HRESULT CNPC_Ollivander::Bind_ShaderResources() return S_OK; } +HRESULT CNPC_Ollivander::Bind_ShaderParameters(_uint iMeshOrder) +{ + _bool bUseColorMixer = false; + + _uint iColorParam = { UINT_MAX }; + _float fMixerFactor = { FLT_MAX }; + _uint iColorMixerMethod = { 0 }; + + switch (m_pModelCom->Get_UsingPass(iMeshOrder, m_pShaderCom)) + { + case 23: + { + bUseColorMixer = true; + iColorParam = 0x2E2E2E; + fMixerFactor = 0.9f; + iColorMixerMethod = 1; + } + break; + } + if (true == bUseColorMixer) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_iPackedBlendColor", &iColorParam, sizeof(_uint)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fMixerFactor", &fMixerFactor, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_iColorMixerMethod", &iColorMixerMethod, sizeof(_uint)))) { + return E_FAIL; + } + } + return S_OK; +} + HRESULT CNPC_Ollivander::Initialize_Prototype() { return S_OK; diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 40ec27cd4..4cd34a868 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -166,7 +166,6 @@ void CPlayer::Update(_float fTimeDelta) } m_pInfoInstance->Set_PlayerPos(m_pTransformCom->Get_State(STATE::POSITION)); - } void CPlayer::Late_Update(_float fTimeDelta) @@ -198,18 +197,6 @@ void CPlayer::Late_Update(_float fTimeDelta) { m_pTransformCom->LookAt_Horizontal_Lerp(m_LockOnInfo.pUnit->Get_WorldPostion(), fTimeDelta, 5.f); } - //////////////////////////////////////////////////////////////////////////// - _vector look = XMVector3Normalize(m_pTransformCom->Get_State(STATE::LOOK)); - - _vector worldUp = XMVectorSet(0.f, 1.f, 0.f, 0.f); - - _vector right = XMVector3Normalize(XMVector3Cross(worldUp, look)); - _vector up = XMVector3Normalize(XMVector3Cross(look, right)); - - m_pTransformCom->Set_State(STATE::RIGHT, right); - m_pTransformCom->Set_State(STATE::UP, up); - m_pTransformCom->Set_State(STATE::LOOK, look); - //////////////////////////////////////////////////////////////////////////// } @@ -613,15 +600,15 @@ HRESULT CPlayer::Ready_Parts() //XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("broomSocket")); #ifdef 기무리 - { - CPlayerRobe::PlayerRobe_DESC Desc{}; - Desc.pModel = m_pModelCom; - Desc.pParentTransform = m_pTransformCom; - Desc.pSocketMatrix = m_pModelCom->Get_BoneMatrixPtr("Hips_Cloth"); - if (FAILED(Add_PartObject("RobePart", g_iStaticLevel, &m_pRobePart, &Desc))) { - assert(false); - } - } + //{ + // CPlayerRobe::PlayerRobe_DESC Desc{}; + // Desc.pModel = m_pModelCom; + // Desc.pParentTransform = m_pTransformCom; + // Desc.pSocketMatrix = m_pModelCom->Get_BoneMatrixPtr("Hips_Cloth"); + // if (FAILED(Add_PartObject("RobePart", g_iStaticLevel, &m_pRobePart, &Desc))) { + // assert(false); + // } + //} #endif // 기무리 @@ -691,51 +678,51 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder) fMixerFactor = 0.658333f; iColorMixerMethod = 1; break; -#ifdef 기무리 - - case PLAYER_MESH_ORDER::ROBE_CLOTH: - { - CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)); - _uint MeshBoneCount = pMesh->Get_NumBone(); - - for (_uint i = 0; i < MeshBoneCount; ++i) - { - XMStoreFloat4x4(&SkinMatrices[i], XMMatrixIdentity()); - } - - _uint temp = 0; - vector<_uint> globalMask = m_pModelCom->Get_BoneMask(ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)); - vector<_int> boneIndices = pMesh->Get_BoneIndices(); - - for (_uint i = 0; i < MeshBoneCount; ++i) - { - _uint global = boneIndices[i]; - if (global == 38) - continue; - if (globalMask[global] == 1) - { - SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++); - } - } - - GUI::DragFloat("TempWeight", &m_fTempWeight, 0.01f); - - if (FAILED(m_pShaderCom->Bind_RawValue("g_TempWeight", &m_fTempWeight, sizeof(_float)))) { - return E_FAIL; - } - - - if (FAILED(m_pShaderCom->Bind_Matrices( - "g_BoneMatrices", - SkinMatrices.data(), - (_int)SkinMatrices.size() - ))) - { - return E_FAIL; - } - } - break; -#endif // _DEBUG +//#ifdef 기무리 +// +// case PLAYER_MESH_ORDER::ROBE_CLOTH: +// { +// CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)); +// _uint MeshBoneCount = pMesh->Get_NumBone(); +// +// for (_uint i = 0; i < MeshBoneCount; ++i) +// { +// XMStoreFloat4x4(&SkinMatrices[i], XMMatrixIdentity()); +// } +// +// _uint temp = 0; +// vector<_uint> globalMask = m_pModelCom->Get_BoneMask(ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)); +// vector<_int> boneIndices = pMesh->Get_BoneIndices(); +// +// for (_uint i = 0; i < MeshBoneCount; ++i) +// { +// _uint global = boneIndices[i]; +// if (global == 38) +// continue; +// if (globalMask[global] == 1) +// { +// SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++); +// } +// } +// +// GUI::DragFloat("TempWeight", &m_fTempWeight, 0.01f); +// +// if (FAILED(m_pShaderCom->Bind_RawValue("g_TempWeight", &m_fTempWeight, sizeof(_float)))) { +// return E_FAIL; +// } +// +// +// if (FAILED(m_pShaderCom->Bind_Matrices( +// "g_BoneMatrices", +// SkinMatrices.data(), +// (_int)SkinMatrices.size() +// ))) +// { +// return E_FAIL; +// } +// } +// break; +//#endif // _DEBUG default: break; diff --git a/Jusin154_Team3D/Client/Private/PlayerRobe.cpp b/Jusin154_Team3D/Client/Private/PlayerRobe.cpp index 72906c3ac..17ce09cb6 100644 --- a/Jusin154_Team3D/Client/Private/PlayerRobe.cpp +++ b/Jusin154_Team3D/Client/Private/PlayerRobe.cpp @@ -2,31 +2,21 @@ #include "PlayerRobe.h" #include "GameInstance.h" -CPlayerRobe::CPlayerRobe(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) - : CPartObject(pDevice, pContext) -{ -} - -CPlayerRobe::CPlayerRobe(const CPlayerRobe& Prototype) - : CPartObject(Prototype) -{ -} void CPlayerRobe::Priority_Update(_float fTimeDelta) { #ifdef _DEBUG #ifdef 기무리 - //Update_RobeJoints(); -#endif // 기무리 - Describe_Entity(); + Update_RobeJoints(); +#endif // 기무리 #endif // _DEBUG } void CPlayerRobe::Update(_float fTimeDelta) { - _matrix SocketMatrixFixed = (XMMatrixRotationZ(XM_PI) * XMLoadFloat4x4(m_pSocketMatrix)) * - XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()); + _matrix SocketMatrixFixed = (XMMatrixRotationZ(XM_PI) * XMLoadFloat4x4(m_pSocketMatrix)) + * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()); m_pRobeMainAnchor->Move_Kinematic(SocketMatrixFixed, false); //m_pRobeMainAnchor->Get_Actor()->wakeUp(); @@ -44,7 +34,12 @@ HRESULT CPlayerRobe::Render() { #ifdef _DEBUG #ifdef 기무리 - //Render_BonePhysX(); + if (m_pGameInstance->Key_Up(DIK_8)) { + m_bRenderDebug = !m_bRenderDebug; + } + if (m_bRenderDebug) { + Render_BonePhysX(); + } #endif // 기무리 #endif // _DEBUG return S_OK; @@ -56,12 +51,6 @@ HRESULT CPlayerRobe::Update_RobeSocketPosition() PSX::PxTransform pxTransform = {}; _matrix WorldMatrix = {}; _matrix OwnerInvWorldMatrix = m_pParentTransformCom->Get_WorldMatrixInv(); - //{ - // pxTransform = m_pRobeMainAnchor->Get_GlobalPosition(); - // WorldMatrix = XMMatrixAffineTransformation(XMVectorSet(1.f, 1.f, 1.f, 0.f), XMVectorZero(), XMLoadFloat4((_float4*)&pxTransform.q), XMVectorSetW(XMLoadFloat3((_float3*)&pxTransform.p), 1.f)); - // _fmatrix LocalMatrix = WorldMatrix * OwnerInvWorldMatrix; - // m_pModelCom->Set_BoneCombinedTransformation("Hips_Cloth", LocalMatrix); - //} for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { pxTransform = m_pRobeJointAnchor[i]->Get_GlobalPosition(); WorldMatrix = XMMatrixAffineTransformation(XMVectorSet(1.f, 1.f, 1.f, 0.f), XMVectorZero(), XMLoadFloat4((_float4*)&pxTransform.q), XMVectorSetW(XMLoadFloat3((_float3*)&pxTransform.p), 1.f)); @@ -73,29 +62,6 @@ HRESULT CPlayerRobe::Update_RobeSocketPosition() return S_OK; } -HRESULT CPlayerRobe::Helper_RouteJointGenerater(CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC& Desc_Body, ROUTE_DESC& Desc_Route, _matrix* xmAnchorMatricesWorld) -{ - - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { - return E_FAIL; - } - m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(xmAnchorMatricesWorld[Desc_Route.iStartBoneIndex].r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); - - - PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iStartBoneIndex]->Get_Actor(); - PSX::PxRigidDynamic* routeRigidActor = m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); - PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); - - PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- - PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ - - m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); - - m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); - - return S_OK; -} - HRESULT CPlayerRobe::Update_LegsPosition() { _matrix WorldMatrix = m_pParentTransformCom->Get_XMWorldMatrix(); @@ -137,60 +103,73 @@ HRESULT CPlayerRobe::Update_LegsPosition() } #endif // _DEBUG } - m_pLower0Bound->Move_Kinematic(m_pParentTransformCom->Get_XMWorldMatrix(), false); - m_pLower1Bound->Move_Kinematic(m_pParentTransformCom->Get_XMWorldMatrix(), false); + { + + _vector vLegPos = XMVector4Transform(XMLoadFloat4((_float4*)&m_pLeftLegLocalMatrix->m[3][0]), WorldMatrix); + _vector vLegUp = XMVector4Transform(XMLoadFloat4((_float4*)&m_pLeftLegUpLocalMatrix->m[3][0]), WorldMatrix); + m_pLeftThigh->Set_CenterTransform(vLegPos, vLegUp, false); + +#ifdef _DEBUG + { + _vector vCenterWorldPos = (vLegPos + vLegUp ) * 0.5f; + _vector vRotQ = XMQuaternionIdentity(); + _vector vDir = XMVectorSetW(vLegUp - vLegPos, 0.f); + _float vLength = XMVectorGetX(XMVector3Length(vDir)); + if (vLength > FLT_EPSILON5) { + vDir = XMVector3Normalize(vDir); + vRotQ = CMyTools::MakeQuaternionFromTo(XMVectorSet(0.f, 1.f, 0.f, 0.f), vDir); + } + XMStoreFloat4x4(&m_LeftThighMatrix, XMMatrixRotationQuaternion(vRotQ) * XMMatrixTranslationFromVector(vCenterWorldPos)); + } +#endif // _DEBUG + + vLegPos = XMVector4Transform(XMLoadFloat4((_float4*)&m_pRightLegLocalMatrix->m[3][0]), WorldMatrix); + vLegUp = XMVector4Transform(XMLoadFloat4((_float4*)&m_pRightLegUpLocalMatrix->m[3][0]), WorldMatrix); + m_pRightThigh->Set_CenterTransform(vLegPos, vLegUp, false); + +#ifdef _DEBUG + { + _vector vCenterWorldPos = (vLegPos + vLegUp) * 0.5f; + _vector vRotQ = XMQuaternionIdentity(); + _vector vDir = XMVectorSetW(vLegUp - vLegPos, 0.f); + _float vLength = XMVectorGetX(XMVector3Length(vDir)); + if (vLength > FLT_EPSILON5) { + vDir = XMVector3Normalize(vDir); + vRotQ = CMyTools::MakeQuaternionFromTo(XMVectorSet(0.f, 1.f, 0.f, 0.f), vDir); + } + XMStoreFloat4x4(&m_RightThighMatrix, XMMatrixRotationQuaternion(vRotQ) * XMMatrixTranslationFromVector(vCenterWorldPos)); + } +#endif // _DEBUG + } + m_pLower0Bound->Move_Kinematic(XMMatrixTranslationFromVector(XMVectorSet(0.f, -0.2f, 0.f, 0.f)) * XMLoadFloat4x4(m_pLower0BoundMatrix) * WorldMatrix, false); + m_pLower1Bound->Move_Kinematic(XMMatrixTranslationFromVector(XMVectorSet(0.f, -0.7f, 0.f, 0.f)) * XMLoadFloat4x4(m_pLower1BoundMatrix) * WorldMatrix, false); return S_OK; } #ifdef _DEBUG -HRESULT CPlayerRobe::Render_Legs() +HRESULT CPlayerRobe::Render_Legs(_fmatrix LowerMatrix) { _float fHeight = 0.25f; - _matrix WorldMatrix = XMLoadFloat4x4(&m_LeftLegMatrix); _matrix ViewMatrix = m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW); _matrix ProjMatrix = m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ); _vector vColor = CMyTools::ColorRGB_A_HEXtoVECTOR(0xff0000, 1.f); - m_pMainShape->Draw(WorldMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, + m_pMainShape->Draw(LowerMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, [this]() { m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); }); - _matrix WorldUp = XMMatrixTranslationFromVector(WorldMatrix.r[1] * fHeight); - _matrix WorldDown = XMMatrixTranslationFromVector(WorldMatrix.r[1] * -fHeight); - m_pSubShape->Draw(WorldUp * WorldMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, + _matrix WorldUp = XMMatrixTranslationFromVector(LowerMatrix.r[1] * fHeight); + _matrix WorldDown = XMMatrixTranslationFromVector(LowerMatrix.r[1] * -fHeight); + m_pSubShape->Draw(WorldUp * LowerMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, [this]() { m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); }); - m_pSubShape->Draw(WorldDown * WorldMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, + m_pSubShape->Draw(WorldDown * LowerMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, [this]() { m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); }); - - WorldMatrix = XMLoadFloat4x4(&m_RightLegMatrix); - - m_pMainShape->Draw(WorldMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, - [this]() { - m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); - }); - WorldUp = XMMatrixTranslationFromVector(WorldMatrix.r[1] * fHeight); - WorldDown = XMMatrixTranslationFromVector(WorldMatrix.r[1] * -fHeight); - m_pSubShape->Draw(WorldUp * WorldMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, - [this]() { - m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); - }); - m_pSubShape->Draw(WorldDown * WorldMatrix, ViewMatrix, ProjMatrix, vColor, nullptr, true, - [this]() { - m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); - }); - m_pLower0Bound->Render([this]() { - m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); - }); - m_pLower1Bound->Render([this]() { - m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); - }); - return S_OK; } HRESULT CPlayerRobe::Render_BonePhysX() @@ -220,7 +199,10 @@ HRESULT CPlayerRobe::Render_BonePhysX() m_pRobeMainAnchor->Render([this]() { m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0); }); - Render_Legs(); + Render_Legs(XMLoadFloat4x4(&m_LeftLegMatrix)); + Render_Legs(XMLoadFloat4x4(&m_RightLegMatrix)); + Render_Legs(XMLoadFloat4x4(&m_LeftThighMatrix)); + Render_Legs(XMLoadFloat4x4(&m_RightThighMatrix)); _vector vRouteColor = CMyTools::ColorRGB_A_HEXtoVECTOR(0x0000ff, 1.f); for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { m_pRobeJointAnchor[i]->Render([this]() { @@ -231,403 +213,134 @@ HRESULT CPlayerRobe::Render_BonePhysX() if (pPrevDSS != nullptr) { pPrevDSS->Release(); } + m_pLower0Bound->Render(); + m_pLower1Bound->Render(); return S_OK; } #endif // _DEBUG -HRESULT CPlayerRobe::Ready_Components() +HRESULT CPlayerRobe::Update_RobeJoints() { - __super::Ready_Components(nullptr); - - _matrix socketWorld = /*XMMatrixRotationZ(XM_PIDIV2) * */XMLoadFloat4x4(m_pSocketMatrix) * m_pParentTransformCom->Get_XMWorldMatrix(); - _matrix xmAnchorMatricesWorld[ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END)] = { }; - for (_uint iBoneIndex = 0; iBoneIndex < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++iBoneIndex) { - xmAnchorMatricesWorld[iBoneIndex] = XMLoadFloat4x4(&m_ReconstructedJointAnchorMatirces[iBoneIndex]) * socketWorld; - } - - { // - CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; - Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); - Desc.bAutoOwnerTranslation = false; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_Leg"), (CComponent**)&m_pLeftLeg, &Desc))) { - return E_FAIL; - } - } - { // - CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; - Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); - Desc.bAutoOwnerTranslation = false; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_Leg"), (CComponent**)&m_pRightLeg, &Desc))) { - return E_FAIL; - } - } - { // - CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; - Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); - Desc.bAutoOwnerTranslation = false; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_LowerBound"), (CComponent**)&m_pLower0Bound, &Desc))) { - return E_FAIL; - } - } - { // - CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; - Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); - Desc.bAutoOwnerTranslation = false; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_LowerBound"), (CComponent**)&m_pLower1Bound, &Desc))) { - return E_FAIL; - } - } - { // RobeSocket - { // Fixed_MainAnchor - CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; - Desc.iSubKind = ENUM_CLASS(PXOBJECT::JOINT_ANCHOR); - Desc.bAutoOwnerTranslation = false; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ANCHOR"), (CComponent**)&m_pRobeMainAnchor, &Desc))) { - return E_FAIL; - } - m_pRobeMainAnchor->Set_Kinematic(true); - m_pRobeMainAnchor->Set_Transform(socketWorld, true); -#ifdef _DEBUG - m_pRobeMainAnchor->Set_Name("MainAnchor"); -#endif // _DEBUG - } - // SubAnchors - for (_int i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { - CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; - Desc.iSubKind = ENUM_CLASS(PXOBJECT::JOINT_ANCHOR); - Desc.bAutoOwnerTranslation = false; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ANCHOR"), (CComponent**)&m_pRobeJointAnchor[i], &Desc))) { - return E_FAIL; - } - - m_pRobeJointAnchor[i]->Set_Transform(xmAnchorMatricesWorld[i], true); -#ifdef _DEBUG - m_pRobeJointAnchor[i]->Set_Name(PLAYER_JOINT_BONE_NAMES[i]); -#endif // _DEBUG - } - } - { // RobeRoute - CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc_Body = {}; - ROUTE_DESC Desc_Route = {}; - Desc_Body.bAutoOwnerTranslation = false; - Desc_Body.iSubKind = ENUM_CLASS(PXOBJECT::JOINT_ROUTE); - /*Origin_Linked_Routes*/ - { - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::ORIGIN_TO_RUP); - Desc_Route.iStartBoneIndex = -1; - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTUP); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { - return E_FAIL; - } - m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(socketWorld.r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); -#ifdef _DEBUG - m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Set_Name("Origin_Linked_Routes"); -#endif // _DEBUG - { // Joint - PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeMainAnchor->Get_Actor(); - PSX::PxRigidDynamic* routeRigidActor = m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); - PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); - - PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- - PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ - - m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); - m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); - } - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::ORIGIN_TO_TUP); - Desc_Route.iStartBoneIndex = -1; - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILUP); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_TUP_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { - return E_FAIL; - } - m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(socketWorld.r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); -#ifdef _DEBUG - m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Set_Name("Origin_Linked_Routes"); -#endif // _DEBUG - { // Joint - PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeMainAnchor->Get_Actor(); - PSX::PxRigidDynamic* routeRigidActor = m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); - PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); - - PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- - PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ - - m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); - m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); - } - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::ORIGIN_TO_LUP); - Desc_Route.iStartBoneIndex = -1; - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTUP); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_LUP_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { - return E_FAIL; - } - m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(socketWorld.r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); -#ifdef _DEBUG - m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Set_Name("Origin_Linked_Routes"); -#endif // _DEBUG - { // Joint - PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeMainAnchor->Get_Actor(); - PSX::PxRigidDynamic* routeRigidActor = m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); - PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); - - PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- - PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ - - m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); - m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); - } - } - } - /*UP_TO_MIDDLE*/ - { - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::RUP_TO_RMIDDLE); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTUP); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHT); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::RUP_TO_RMIDDLE_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::TUP_TO_TMIDDLE); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILUP); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAIL); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::TUP_TO_TMIDDLE_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::LUP_TO_LMIDDLE); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTUP); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFT); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::LUP_TO_LMIDDLE_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - } - /*MIDDLE_TO_DOWN*/ - { - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::RMIDDLE_TO_RR); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHT); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTDOWNRIGHT); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::RMIDDLE_TO_RR_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::RMIDDLE_TO_R); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHT); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTDOWN); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::RMIDDLE_TO_R_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::TMIDDLE_TO_TR); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAIL); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILRIGHTDOWN); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::TMIDDLE_TO_TR_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::TMIDDLE_TO_TL); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAIL); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILLEFTDOWN); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::LMIDDLE_TO_L); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFT); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTDOWN); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::LMIDDLE_TO_L_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - { - Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::LMIDDLE_TO_LL); - Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFT); - Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTDOWNLEFT); - Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_START); - Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; - Helper_RouteJointGenerater(Desc_Body, Desc_Route, xmAnchorMatricesWorld); - } - } - } - return S_OK; -} - -HRESULT CPlayerRobe::Initialize_Prototype() -{ - return S_OK; -} - -HRESULT CPlayerRobe::Initialize(void* pArg) -{ - PlayerRobe_DESC* pDesc = static_cast (pArg); - m_pSocketMatrix = pDesc->pSocketMatrix; - m_pModelCom = pDesc->pModel; - - m_ReconstructedJointAnchorMatirces.resize(ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END)); - - m_iBoneNum = m_pModelCom->Get_MeshInfluencedBoneNum(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)); - m_PrevRobeBoneMatrices.resize(m_iBoneNum); - if (FAILED(m_pModelCom->Capture_BoneMatrices(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH), m_PrevRobeBoneMatrices))) { - return E_FAIL; - } - - m_pLeftFootLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("LeftFoot"); - m_pLeftLegLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("LeftLeg"); - m_pRightFootLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("RightFoot"); - m_pRightLegLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("RightLeg"); - - XMStoreFloat4x4(&m_PreTransformMatrix, XMLoadFloat4x4(m_pModelCom->Get_PreTransformMatrixPtr())); - - for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { - m_RobeJointAnchorMatrices[i] = m_pModelCom->Get_BoneLocalMatrixPtr(PLAYER_JOINT_BONE_NAMES[i]); - } - for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) - { - _uint iParentIndex = UINT_MAX; - _bool bCopyPreTransform = false; - - switch ((PLAYER_JOINT_BONE_ORDER)i) - { - case PLAYER_JOINT_BONE_ORDER::RIGHTUP: - case PLAYER_JOINT_BONE_ORDER::TAILUP: - case PLAYER_JOINT_BONE_ORDER::LEFTUP: - bCopyPreTransform = true; - break; - - case PLAYER_JOINT_BONE_ORDER::RIGHT: - iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTUP); - break; - case PLAYER_JOINT_BONE_ORDER::TAIL: - iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILUP); - break; - case PLAYER_JOINT_BONE_ORDER::LEFT: - iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTUP); - break; - case PLAYER_JOINT_BONE_ORDER::RIGHTDOWNRIGHT: - case PLAYER_JOINT_BONE_ORDER::RIGHTDOWN: - iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHT); - break; - case PLAYER_JOINT_BONE_ORDER::TAILRIGHTDOWN: - case PLAYER_JOINT_BONE_ORDER::TAILLEFTDOWN: - iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAIL); - break; - case PLAYER_JOINT_BONE_ORDER::LEFTDOWN: - case PLAYER_JOINT_BONE_ORDER::LEFTDOWNLEFT: - iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFT); - break; - default: - assert(false); - break; - } - - if (true == bCopyPreTransform) - { - _matrix constructedMatrix = XMLoadFloat4x4(m_RobeJointAnchorMatrices[i]) * XMLoadFloat4x4(&m_PreTransformMatrix); - - XMStoreFloat4x4(&m_ReconstructedJointAnchorMatirces[i], constructedMatrix); - continue; - } - - _matrix constructedMatrix = XMLoadFloat4x4(m_RobeJointAnchorMatrices[i]) - * XMLoadFloat4x4(&m_ReconstructedJointAnchorMatirces[iParentIndex]); - - XMStoreFloat4x4(&m_ReconstructedJointAnchorMatirces[i], constructedMatrix); - } - - if (FAILED(__super::Initialize(pArg))) { - return E_FAIL; - } - - if (FAILED(Ready_Components())) { - return E_FAIL; - } - - D6JOINTDESC JointDesc = D6JOINTDESC(); for (_uint i = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_START); i < ENUM_CLASS(PLAYER_JOINT_ORDER::END); ++i) { - JointDesc.ApplyToJoint(*m_pDynamicJoints[i]); - m_JointDescriptions[i] = JointDesc; - } + m_JointDescriptions[i].InitFromJoint(*m_pDynamicJoints[i]); + switch (PLAYER_JOINT_ORDER(i)) + { + /* From Origin */ + { + case PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_START: + case PLAYER_JOINT_ORDER::ORIGIN_TO_TUP_START: + case PLAYER_JOINT_ORDER::ORIGIN_TO_LUP_START: + case PLAYER_JOINT_ORDER::ORIGIN_TO_RSIDEUP_START: + case PLAYER_JOINT_ORDER::ORIGIN_TO_LSIDEUP_START: + m_JointDescriptions[i].iMotionTwist = 1; + m_JointDescriptions[i].iMotionSwing1 = 1; + m_JointDescriptions[i].iMotionSwing2 = 1; + m_JointDescriptions[i].fLinearLimit = 0.f; + m_JointDescriptions[i].fTwistAbsDeg = 0.f; + m_JointDescriptions[i].fSwingDeg = 40.f; + break; + case PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_END: + case PLAYER_JOINT_ORDER::ORIGIN_TO_TUP_END: + case PLAYER_JOINT_ORDER::ORIGIN_TO_LUP_END: + case PLAYER_JOINT_ORDER::ORIGIN_TO_RSIDEUP_END: + case PLAYER_JOINT_ORDER::ORIGIN_TO_LSIDEUP_END: + m_JointDescriptions[i].iMotionTwist = 1; + m_JointDescriptions[i].iMotionSwing1 = 1; + m_JointDescriptions[i].iMotionSwing2 = 1; + m_JointDescriptions[i].fLinearLimit = 0.f; + m_JointDescriptions[i].fTwistAbsDeg = 0.f; + m_JointDescriptions[i].fSwingDeg = 40.f; + break; + } + /* From_Middle */ + { + case PLAYER_JOINT_ORDER::RUP_TO_RMIDDLE_START: + case PLAYER_JOINT_ORDER::TUP_TO_TMIDDLE_START: + case PLAYER_JOINT_ORDER::LUP_TO_LMIDDLE_START: + case PLAYER_JOINT_ORDER::RSIDEUP_TO_RSIDE_START: + case PLAYER_JOINT_ORDER::LSIDEUP_TO_LSIDE_START: + m_JointDescriptions[i].iMotionTwist = 0; + m_JointDescriptions[i].iMotionSwing1 = 0; + m_JointDescriptions[i].iMotionSwing2 = 0; + m_JointDescriptions[i].fLinearLimit = 0.f; + m_JointDescriptions[i].fTwistAbsDeg = 0.f; + m_JointDescriptions[i].fSwingDeg = 10.f; + break; -#ifdef _DEBUG - m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 0.05f, 22, false, false)); - m_pMainShape = (GeometricPrimitive::CreateCylinder(m_pContext, 0.3f, 0.075f, 22, false)); - D3D11_DEPTH_STENCIL_DESC depthStencilDesc = {}; - depthStencilDesc.DepthEnable = FALSE; - depthStencilDesc.DepthWriteMask = D3D11_DEPTH_WRITE_MASK_ZERO; - depthStencilDesc.DepthFunc = D3D11_COMPARISON_ALWAYS; - depthStencilDesc.StencilEnable = FALSE; + case PLAYER_JOINT_ORDER::RUP_TO_RMIDDLE_END: + case PLAYER_JOINT_ORDER::TUP_TO_TMIDDLE_END: + case PLAYER_JOINT_ORDER::LUP_TO_LMIDDLE_END: + case PLAYER_JOINT_ORDER::RSIDEUP_TO_RSIDE_END: + case PLAYER_JOINT_ORDER::LSIDEUP_TO_LSIDE_END: + m_JointDescriptions[i].iMotionTwist = 1; + m_JointDescriptions[i].iMotionSwing1 = 1; + m_JointDescriptions[i].iMotionSwing2 = 1; + m_JointDescriptions[i].fLinearLimit = 0.f; + m_JointDescriptions[i].fSwingDeg = 0.f; + m_JointDescriptions[i].fTwistAbsDeg = 0.f; - HRESULT result = m_pDevice->CreateDepthStencilState(&depthStencilDesc, &m_pDepthStencilStateNone); - if (FAILED(result)){ - return E_FAIL; + m_JointDescriptions[i].bEnableSlerpDrive = true; + m_JointDescriptions[i].fLinearStiffness = 10.f; + m_JointDescriptions[i].fSlerpDamping = 3.f; + m_JointDescriptions[i].fSlerpForceLimit = 40.f; + m_JointDescriptions[i].bSlerpAccel = true; + break; + } + /* From_Lower */ + { + case PLAYER_JOINT_ORDER::RMIDDLE_TO_RR_START: + case PLAYER_JOINT_ORDER::RSIDE_TO_R_START: + m_JointDescriptions[i].iMotionTwist = 1; + m_JointDescriptions[i].iMotionSwing1 = 1; + m_JointDescriptions[i].iMotionSwing2 = 1; + m_JointDescriptions[i].fLinearLimit = 0.f; + m_JointDescriptions[i].fTwistAbsDeg = 15.f; + m_JointDescriptions[i].fSwingDeg = 15.f; + break; + + case PLAYER_JOINT_ORDER::RSIDE_TO_R_END: + case PLAYER_JOINT_ORDER::RMIDDLE_TO_RR_END: + break; + + case PLAYER_JOINT_ORDER::TMIDDLE_TO_TR_START: + case PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_START: + m_JointDescriptions[i].iMotionTwist = 1; + m_JointDescriptions[i].iMotionSwing1 = 1; + m_JointDescriptions[i].iMotionSwing2 = 1; + m_JointDescriptions[i].fLinearLimit = 0.f; + m_JointDescriptions[i].fTwistAbsDeg = 15.f; + m_JointDescriptions[i].fSwingDeg = 15.f; + break; + + case PLAYER_JOINT_ORDER::TMIDDLE_TO_TR_END: + case PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_END: + break; + + case PLAYER_JOINT_ORDER::LSIDE_TO_L_START: + case PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_START: + m_JointDescriptions[i].iMotionTwist = 1; + m_JointDescriptions[i].iMotionSwing1 = 1; + m_JointDescriptions[i].iMotionSwing2 = 1; + m_JointDescriptions[i].fLinearLimit = 0.f; + m_JointDescriptions[i].fTwistAbsDeg = 15.f; + m_JointDescriptions[i].fSwingDeg = 15.f; + break; + + case PLAYER_JOINT_ORDER::LSIDE_TO_L_END: + case PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_END: + break; + } + default: + break; + } + + //m_JointDescriptions[i].iMotionTwist = 0; + //m_JointDescriptions[i].iMotionSwing1 = 0; + //m_JointDescriptions[i].iMotionSwing2 = 0; + m_JointDescriptions[i].ApplyToJoint(*m_pDynamicJoints[i]); } -#endif // _DEBUG return S_OK; } - -CPlayerRobe* CPlayerRobe::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) -{ - CPlayerRobe* pInstance = new CPlayerRobe(pDevice, pContext); - - if (FAILED(pInstance->Initialize_Prototype())) - { - MSG_BOX("Failed to Created : CPlayerRobe"); - SAFE_RELEASE(pInstance); - } - - return pInstance; -} - -CGameObject* CPlayerRobe::Clone(void* pArg, CGameObject* pOwner) -{ - CPlayerRobe* pInstance = new CPlayerRobe(*this); - pInstance->m_pOwner = pOwner; - if (FAILED(pInstance->Initialize(pArg))) - { - MSG_BOX("Failed to Cloned : CPlayerRobe"); - SAFE_RELEASE(pInstance); - } - - return pInstance; -} - -void CPlayerRobe::Free() -{ - __super::Free(); -#ifdef _DEBUG - SAFE_RELEASE(m_pDepthStencilStateNone); -#endif // _DEBUG - SAFE_RELEASE(m_pRightLeg); - SAFE_RELEASE(m_pLower0Bound); - SAFE_RELEASE(m_pLower1Bound); - SAFE_RELEASE(m_pLeftLeg); - SAFE_RELEASE(m_pRobeMainAnchor); - for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::END); ++i) { - SAFE_RELEASE(m_pRobeJointRoute[i]); - } - for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { - SAFE_RELEASE(m_pRobeJointAnchor[i]); - } -} #ifdef _DEBUG void CPlayerRobe::Describe_Entity() diff --git a/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp b/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp new file mode 100644 index 000000000..23fd682c4 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp @@ -0,0 +1,548 @@ +#include "pch.h" +#include "PlayerRobe.h" +#include "GameInstance.h" + +CPlayerRobe::CPlayerRobe(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CPartObject(pDevice, pContext) { } +CPlayerRobe::CPlayerRobe(const CPlayerRobe& Prototype) : CPartObject(Prototype) { } +HRESULT CPlayerRobe::Helper_RouteJointGenerater(PHYSX_JOINT eType, CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC& Desc_Body, ROUTE_DESC& Desc_Route, _matrix* xmAnchorMatricesWorld) +{ + if (PHYSX_JOINT::D6 == eType) { + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { + return E_FAIL; + } + m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(xmAnchorMatricesWorld[Desc_Route.iStartBoneIndex].r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); + + PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iStartBoneIndex]->Get_Actor(); + PSX::PxRigidDynamic* routeRigidActor = m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); + PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); + + PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- + PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ + + m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); + m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); + } + //else if (PHYSX_JOINT::FIXED == eType) { + // if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { + // return E_FAIL; + // } + // m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(xmAnchorMatricesWorld[Desc_Route.iStartBoneIndex].r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); + + // PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iStartBoneIndex]->Get_Actor(); + // PSX::PxRigidDynamic* routeRigidActor = m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); + // PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); + + // PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- + // PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ + + // m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxFixedJoint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); + // m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxFixedJoint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); + //} + + return S_OK; +} +HRESULT CPlayerRobe::Ready_Components() +{ + __super::Ready_Components(nullptr); + + _matrix socketWorld = XMLoadFloat4x4(m_pSocketMatrix) * m_pParentTransformCom->Get_XMWorldMatrix(); + _matrix xmAnchorMatricesWorld[ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END)] = { }; + for (_uint iBoneIndex = 0; iBoneIndex < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++iBoneIndex) { + xmAnchorMatricesWorld[iBoneIndex] = XMLoadFloat4x4(&m_ReconstructedJointAnchorMatirces[iBoneIndex]) * socketWorld; + } +#pragma region BASIC_COMP + { // LLEG + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_Leg"), (CComponent**)&m_pLeftLeg, &Desc))) { + return E_FAIL; + } + } + { // RLEG + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_Leg"), (CComponent**)&m_pRightLeg, &Desc))) { + return E_FAIL; + } + } + + { // LTHIGH + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_Leg"), (CComponent**)&m_pLeftThigh, &Desc))) { + return E_FAIL; + } + } + { // RTHIGH + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_Leg"), (CComponent**)&m_pRightThigh, &Desc))) { + return E_FAIL; + } + } + { // L0BOUND + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_LowerBound"), (CComponent**)&m_pLower0Bound, &Desc))) { + return E_FAIL; + } + } + { // L1BOUND + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::LEG); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_Player_LowerBound"), (CComponent**)&m_pLower1Bound, &Desc))) { + return E_FAIL; + } + } +#pragma endregion +#pragma region SOCKET +#pragma region SOCKET_DECLARE + { // RobeSocket + { // Fixed_MainAnchor + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::JOINT_ANCHOR); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ANCHOR"), (CComponent**)&m_pRobeMainAnchor, &Desc))) { + return E_FAIL; + } + m_pRobeMainAnchor->Set_Kinematic(true); + m_pRobeMainAnchor->Set_Transform(socketWorld, true); +#ifdef _DEBUG + m_pRobeMainAnchor->Set_Name("MainAnchor"); +#endif // _DEBUG + } + // SubAnchors + for (_int i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::JOINT_ANCHOR); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ANCHOR"), (CComponent**)&m_pRobeJointAnchor[i], &Desc))) { + return E_FAIL; + } + + m_pRobeJointAnchor[i]->Set_Transform(xmAnchorMatricesWorld[i], true); +#ifdef _DEBUG + m_pRobeJointAnchor[i]->Set_Name(PLAYER_JOINT_BONE_NAMES[i]); +#endif // _DEBUG + } + } +#pragma endregion + { // RobeRoute + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc_Body = {}; + ROUTE_DESC Desc_Route = {}; + Desc_Body.bAutoOwnerTranslation = false; + Desc_Body.iSubKind = ENUM_CLASS(PXOBJECT::JOINT_ROUTE); + /*Origin_Linked_Routes*/ + { + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::ORIGIN_TO_RUP); + Desc_Route.iStartBoneIndex = -1; + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTUP); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { + return E_FAIL; + } + m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(socketWorld.r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); + { // Joint + PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeMainAnchor->Get_Actor(); + PSX::PxRigidDynamic* routeRigidActor = m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); + PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); + + PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- + PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ + + m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); + m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); + } + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::ORIGIN_TO_TUP); + Desc_Route.iStartBoneIndex = -1; + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILUP); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_TUP_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { + return E_FAIL; + } + m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(socketWorld.r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); + { // Joint + PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeMainAnchor->Get_Actor(); + PSX::PxRigidDynamic* routeRigidActor = m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); + PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); + + PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- + PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ + + m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); + m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); + } + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::ORIGIN_TO_LUP); + Desc_Route.iStartBoneIndex = -1; + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTUP); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_LUP_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { + return E_FAIL; + } + m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(socketWorld.r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); + { // Joint + PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeMainAnchor->Get_Actor(); + PSX::PxRigidDynamic* routeRigidActor = m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); + PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); + + PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- + PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ + + m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); + m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); + } + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::ORIGIN_TO_RSIDEUP); + Desc_Route.iStartBoneIndex = -1; + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTSIDEUP); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_RSIDEUP_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { + return E_FAIL; + } + m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(socketWorld.r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); + { // Joint + PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeMainAnchor->Get_Actor(); + PSX::PxRigidDynamic* routeRigidActor = m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); + PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); + + PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- + PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ + + m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); + m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); + } + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::ORIGIN_TO_LSIDEUP); + Desc_Route.iStartBoneIndex = -1; + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTSIDEUP); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_LSIDEUP_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_JOINT_ROUTE"), (CComponent**)&m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex], &Desc_Body))) { + return E_FAIL; + } + m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Set_CenterTransform(socketWorld.r[3], xmAnchorMatricesWorld[Desc_Route.iEndBoneIndex].r[3], true); + { // Joint + PSX::PxRigidDynamic* startAnchorRigidActor = m_pRobeMainAnchor->Get_Actor(); + PSX::PxRigidDynamic* routeRigidActor = m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_Actor(); + PSX::PxRigidDynamic* endAnchorRigidActor = m_pRobeJointAnchor[Desc_Route.iEndBoneIndex]->Get_Actor(); + + PSX::PxTransform startJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), false); // start y-- + PSX::PxTransform endJointWorldPose = CMyTools::Calc_JointPosFromRoute(routeRigidActor, m_pRobeVerticalJointRoute[Desc_Route.iTargetRouteIndex]->Get_HalfGeometryInfo(), true); // end y++ + + m_pDynamicJoints[Desc_Route.iStartJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(startAnchorRigidActor, routeRigidActor, startJointWorldPose); + m_pDynamicJoints[Desc_Route.iEndJointIndex] = m_pGameInstance->Create_BasicPxD6Joint(routeRigidActor, endAnchorRigidActor, endJointWorldPose); + } + } + } + /*UP_TO_MIDDLE*/ + { + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::RUP_TO_RMIDDLE); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTUP); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHT); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::RUP_TO_RMIDDLE_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::TUP_TO_TMIDDLE); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILUP); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAIL); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::TUP_TO_TMIDDLE_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::LUP_TO_LMIDDLE); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTUP); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFT); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::LUP_TO_LMIDDLE_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::RSIDEUP_TO_RSIDE); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTSIDEUP); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTSIDE); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::RSIDEUP_TO_RSIDE_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::LSIDEUP_TO_LSIDE); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTSIDEUP); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTSIDE); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::LSIDEUP_TO_LSIDE_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + } + /*MIDDLE_TO_DOWN*/ + { + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::RMIDDLE_TO_RR); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHT); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTDOWN); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::RMIDDLE_TO_RR_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::RSIDE_TO_R); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTSIDE); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTDOWNSIDE); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::RSIDE_TO_R_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::TMIDDLE_TO_TR); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAIL); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILRIGHTDOWN); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::TMIDDLE_TO_TR_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::TMIDDLE_TO_TL); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAIL); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILLEFTDOWN); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::LSIDE_TO_L); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTSIDE); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTDOWNSIDE); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::LSIDE_TO_L_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::LMIDDLE_TO_LL); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFT); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTDOWN); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + { + Desc_Route.iTargetRouteIndex = ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::LMIDDLE_TO_LL); + Desc_Route.iStartBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFT); + Desc_Route.iEndBoneIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTDOWN); + Desc_Route.iStartJointIndex = ENUM_CLASS(PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_START); + Desc_Route.iEndJointIndex = Desc_Route.iStartJointIndex + 1; + Helper_RouteJointGenerater(PHYSX_JOINT::D6, Desc_Body, Desc_Route, xmAnchorMatricesWorld); + } + } + } +#pragma endregion + return S_OK; +} +HRESULT CPlayerRobe::Initialize_Prototype() { return S_OK; } +HRESULT CPlayerRobe::Initialize(void* pArg) +{ + PlayerRobe_DESC* pDesc = static_cast (pArg); + m_pSocketMatrix = pDesc->pSocketMatrix; + m_pModelCom = pDesc->pModel; + + m_ReconstructedJointAnchorMatirces.resize(ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END)); + + m_iBoneNum = m_pModelCom->Get_MeshInfluencedBoneNum(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)); + m_PrevRobeBoneMatrices.resize(m_iBoneNum); + if (FAILED(m_pModelCom->Capture_BoneMatrices(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH), m_PrevRobeBoneMatrices))) { + return E_FAIL; + } + + // Leg-Thigh + m_pLeftFootLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("LeftFoot"); + m_pLeftLegLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("LeftLeg"); + m_pRightFootLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("RightFoot"); + m_pRightLegLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("RightLeg"); + m_pLeftLegUpLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("LeftUpLeg"); + m_pRightLegUpLocalMatrix = m_pModelCom->Get_BoneMatrixPtr("RightUpLeg"); + + // Circle + m_pLower1BoundMatrix = m_pLower0BoundMatrix = m_pModelCom->Get_BoneMatrixPtr("Hips"); + +#pragma region READY_INITIAL_COMBINED_TRANSFORMATIONMATRIX + XMStoreFloat4x4(&m_PreTransformMatrix, XMLoadFloat4x4(m_pModelCom->Get_PreTransformMatrixPtr())); + for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { + m_RobeJointAnchorMatrices[i] = m_pModelCom->Get_BoneLocalMatrixPtr(PLAYER_JOINT_BONE_NAMES[i]); + } + for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) + { + _uint iParentIndex = UINT_MAX; + _bool bCopyPreTransform = false; + + switch ((PLAYER_JOINT_BONE_ORDER)i) + { + case PLAYER_JOINT_BONE_ORDER::RIGHTUP: + case PLAYER_JOINT_BONE_ORDER::TAILUP: + case PLAYER_JOINT_BONE_ORDER::LEFTUP: + case PLAYER_JOINT_BONE_ORDER::RIGHTSIDEUP: + case PLAYER_JOINT_BONE_ORDER::LEFTSIDEUP: + bCopyPreTransform = true; + break; + + case PLAYER_JOINT_BONE_ORDER::RIGHT: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTUP); + break; + case PLAYER_JOINT_BONE_ORDER::TAIL: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAILUP); + break; + case PLAYER_JOINT_BONE_ORDER::LEFT: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTUP); + break; + case PLAYER_JOINT_BONE_ORDER::RIGHTSIDE: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTSIDEUP); + break; + case PLAYER_JOINT_BONE_ORDER::LEFTSIDE: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTSIDEUP); + break; + + case PLAYER_JOINT_BONE_ORDER::RIGHTDOWN: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHT); + break; + case PLAYER_JOINT_BONE_ORDER::TAILRIGHTDOWN: + case PLAYER_JOINT_BONE_ORDER::TAILLEFTDOWN: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::TAIL); + break; + case PLAYER_JOINT_BONE_ORDER::LEFTDOWN: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFT); + break; + case PLAYER_JOINT_BONE_ORDER::RIGHTDOWNSIDE: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::RIGHTSIDE); + break; + case PLAYER_JOINT_BONE_ORDER::LEFTDOWNSIDE: + iParentIndex = ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::LEFTSIDE); + break; + default: + assert(false); + break; + } + + if (true == bCopyPreTransform) + { + _matrix constructedMatrix = XMLoadFloat4x4(m_RobeJointAnchorMatrices[i]) * XMLoadFloat4x4(&m_PreTransformMatrix); + + XMStoreFloat4x4(&m_ReconstructedJointAnchorMatirces[i], constructedMatrix); + continue; + } + + _matrix constructedMatrix = XMLoadFloat4x4(m_RobeJointAnchorMatrices[i]) + * XMLoadFloat4x4(&m_ReconstructedJointAnchorMatirces[iParentIndex]); + + XMStoreFloat4x4(&m_ReconstructedJointAnchorMatirces[i], constructedMatrix); + } +#pragma endregion + + if (FAILED(__super::Initialize(pArg))) { + return E_FAIL; + } + + if (FAILED(Ready_Components())) { + return E_FAIL; + } + + D6JOINTDESC JointDesc = D6JOINTDESC(); + for (_uint i = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_START); i < ENUM_CLASS(PLAYER_JOINT_ORDER::END); ++i) { + JointDesc.ApplyToJoint(*m_pDynamicJoints[i]); + m_JointDescriptions[i] = JointDesc; + } + + Update_LegsPosition(); + Update_RobeJoints(); + +#ifdef _DEBUG + m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 0.05f, 22, false, false)); + m_pMainShape = (GeometricPrimitive::CreateCylinder(m_pContext, 0.3f, 0.075f, 22, false)); + D3D11_DEPTH_STENCIL_DESC depthStencilDesc = {}; + depthStencilDesc.DepthEnable = FALSE; + depthStencilDesc.DepthWriteMask = D3D11_DEPTH_WRITE_MASK_ZERO; + depthStencilDesc.DepthFunc = D3D11_COMPARISON_ALWAYS; + depthStencilDesc.StencilEnable = FALSE; + + HRESULT result = m_pDevice->CreateDepthStencilState(&depthStencilDesc, &m_pDepthStencilStateNone); + if (FAILED(result)){ + return E_FAIL; + } +#endif // _DEBUG + return S_OK; +} + +CPlayerRobe* CPlayerRobe::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CPlayerRobe* pInstance = new CPlayerRobe(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CPlayerRobe"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CPlayerRobe::Clone(void* pArg, CGameObject* pOwner) +{ + CPlayerRobe* pInstance = new CPlayerRobe(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CPlayerRobe"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CPlayerRobe::Free() +{ + __super::Free(); +#ifdef _DEBUG + SAFE_RELEASE(m_pDepthStencilStateNone); +#endif // _DEBUG + SAFE_RELEASE(m_pRightLeg); + SAFE_RELEASE(m_pLeftLeg); + SAFE_RELEASE(m_pLeftThigh); + SAFE_RELEASE(m_pRightThigh); + SAFE_RELEASE(m_pLower0Bound); + SAFE_RELEASE(m_pLower1Bound); + SAFE_RELEASE(m_pRobeMainAnchor); + for (_uint i = 0; i < ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::END); ++i) { + SAFE_RELEASE(m_pRobeVerticalJointRoute[i]); + } + for (_uint i = 0; i < ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::END); ++i) { + SAFE_RELEASE(m_pRobeFixedJointRoute[i]); + } + for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { + SAFE_RELEASE(m_pRobeJointAnchor[i]); + } + if (nullptr != m_pMainShape) { + m_pMainShape.release(); + m_pMainShape = nullptr; + } + if (nullptr != m_pSubShape) { + m_pSubShape.release(); + m_pSubShape = nullptr; + } +} diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index c216de943..0825c1ace 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -2230,11 +2230,7 @@ HRESULT CPlayer::Behavior_Broom_FlyExitCheck(_float fTimeDelta) if (iCurrAnimIndex != pairAnimInfo.first) { - m_pModelCom->Set_AnimationIndex( - pairAnimInfo.first, - pairAnimInfo.second, - 1.f, false, 1.f, true, true - ); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, false, true); } } else { @@ -2243,11 +2239,7 @@ HRESULT CPlayer::Behavior_Broom_FlyExitCheck(_float fTimeDelta) if (iCurrAnimIndex != pairAnimInfo.first) { - m_pModelCom->Set_AnimationIndex( - pairAnimInfo.first, - pairAnimInfo.second, - 1.f, false, 1.f, true, true - ); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, false, true); } } @@ -2494,6 +2486,16 @@ HRESULT CPlayer::Behavior_Broom_DismountExitCheck(_float fTimeDelta) void CPlayer::Behavior_Broom_DismountExit() { m_pFSM->Disable_State(FSMSTATE::BROOM_DISMOUNT); + _vector look = XMVector3Normalize(m_pTransformCom->Get_State(STATE::LOOK)); + + _vector worldUp = XMVectorSet(0.f, 1.f, 0.f, 0.f); + + _vector right = XMVector3Normalize(XMVector3Cross(worldUp, look)); + _vector up = XMVector3Normalize(XMVector3Cross(look, right)); + + m_pTransformCom->Set_State(STATE::RIGHT, right); + m_pTransformCom->Set_State(STATE::UP, up); + m_pTransformCom->Set_State(STATE::LOOK, look); Reset_Event(); } @@ -2687,7 +2689,7 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::AVADAKEDAVRA, this); }, - 0.45f); + 0.3f); Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::AVADAKEDAVRA_SIDE, Get_PartObject()); }, @@ -3097,10 +3099,19 @@ void CPlayer::Add_FSM() Desc.funcPriorityUpdate = [this](_float fTimeDelta) { _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); if (!m_bOnce) { - m_pBroomTransform->Set_WorldMatrix(m_pTransformCom->Get_XMWorldMatrix()); - m_pBroomTransform->Set_State(STATE::POSITION, m_pTransformCom->Get_State(STATE::POSITION) + XMVectorSet(0.f,2.f,0.f,0.f)); + m_pBroomTransform->Set_State( + STATE::POSITION, + m_pTransformCom->Get_State(STATE::POSITION) + XMVectorSet(0.f, 2.f, 0.f, 0.f) + ); + + m_pBroomTransform->Set_State(STATE::LOOK, m_pTransformCom->Get_State(STATE::LOOK)); + m_pBroomTransform->Set_State(STATE::UP, m_pTransformCom->Get_State(STATE::UP)); + m_pBroomTransform->Set_State(STATE::RIGHT, m_pTransformCom->Get_State(STATE::RIGHT)); + _float3 vScale = { 0.3f,0.3f,0.3f }; + _float3 vPlayerScale = { 1.f,1.f,1.f }; m_pBroomTransform->Set_Scale(vScale); + m_pTransformCom->Set_Scale(vPlayerScale); m_bOnce = true; m_pInfoInstance->Event_CallBack(TEXT("BroomRide"), &m_bOnce); } @@ -3111,6 +3122,8 @@ void CPlayer::Add_FSM() { m_pBroomTransform->Set_Scale(m_BroomScale); } + _float3 vPlayerScale = { 1.f,1.f,1.f }; + m_pBroomTransform->Set_Scale(vPlayerScale); Attach_Broom(); }; Desc.funcLateUpdate = nullptr; diff --git a/Jusin154_Team3D/Client/Private/RandomNpc.cpp b/Jusin154_Team3D/Client/Private/RandomNpc.cpp index ebcfb5905..2a0a56c57 100644 --- a/Jusin154_Team3D/Client/Private/RandomNpc.cpp +++ b/Jusin154_Team3D/Client/Private/RandomNpc.cpp @@ -73,7 +73,9 @@ void CRandomNpc::Update(_float fTimeDelta) m_pCallBack_HitReport->Set_CurrentSlop(); } - /*m_pNPCInteraction->Set_Visible(0 < m_iEntered);*/ + m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true); + + m_pInfoInstance->Set_PlayerPos(m_pTransformCom->Get_State(STATE::POSITION)); } void CRandomNpc::Late_Update(_float fTimeDelta) @@ -109,6 +111,9 @@ HRESULT CRandomNpc::Render() if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { return E_FAIL; } + if (FAILED(Bind_ShaderParameters(i))) { + return E_FAIL; + } if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { return E_FAIL; } @@ -204,6 +209,48 @@ HRESULT CRandomNpc::Bind_ShaderResources() return S_OK; } +HRESULT CRandomNpc::Bind_ShaderParameters(_uint iMeshOrder) +{ + _bool bUseColorMixer = false; + + _uint iColorParam = { UINT_MAX }; + _float fMixerFactor = { FLT_MAX }; + _uint iColorMixerMethod = { 0 }; + + switch (m_pModelCom->Get_UsingPass(iMeshOrder,m_pShaderCom)) + { + case 23: + if (m_strModelPrototypeTag == TEXT("Prototype_Component_F_Student_Model")) + { + bUseColorMixer = true; + iColorParam = 0x2E2E2E; + fMixerFactor = 0.00f; + iColorMixerMethod = 1; + } + else { + bUseColorMixer = true; + iColorParam = 0x2E2E2E; + fMixerFactor = 0.9f; + iColorMixerMethod = 1; + } + break; + } + if (true == bUseColorMixer) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_iPackedBlendColor", &iColorParam, sizeof(_uint)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fMixerFactor", &fMixerFactor, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_iColorMixerMethod", &iColorMixerMethod, sizeof(_uint)))) { + return E_FAIL; + } + } + return S_OK; +} + HRESULT CRandomNpc::Ready_Components(void* pArg) { CTransform::TRANSFORM_DESC Desc = {}; @@ -260,6 +307,36 @@ HRESULT CRandomNpc::Ready_Components(void* pArg) return E_FAIL; } break; + case 7: + m_strModelPrototypeTag = TEXT("Prototype_Component_BaiHowin_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("BAIHOWIN"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 8: + m_strModelPrototypeTag = TEXT("Prototype_Component_GeorgeOsric_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("GEORGEOSRIC"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 9: + m_strModelPrototypeTag = TEXT("Prototype_Component_DinahHecat_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("DINAHHECAT"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 10: + m_strModelPrototypeTag = TEXT("Prototype_Component_MudiwaOnai_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("MUDIWAONAI"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 11: + m_strModelPrototypeTag = TEXT("Prototype_Component_Kitchen_Female_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("KITCHENFEMALE"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; } /* Com_Model */ @@ -303,12 +380,6 @@ HRESULT CRandomNpc::Ready_Components(void* pArg) } } - //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, &m_pNPCInteraction))) { - // return E_FAIL; - //} - - //m_pNPCInteraction->NpcInfo(m_pNpcStat->Get_Stat().pNpc_Name); - return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp index 72a70b398..4e8d24960 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp @@ -399,10 +399,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) Add_Event(pairAnimInfo.first, [&]() {m_bDisolve = true; }, - 0.75f); + 0.15f); Add_Event(pairAnimInfo.first, [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, - 0.95f); + 0.5f); m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } @@ -415,10 +415,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) Add_Event(pairAnimInfo.first, [&]() {m_bDisolve = true; }, - 0.75f); + 0.15f); Add_Event(pairAnimInfo.first, [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, - 0.95f); + 0.5f); m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } @@ -432,10 +432,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) Add_Event(pairAnimInfo.first, [&]() {m_bDisolve = true; }, - 0.75f); + 0.15f); Add_Event(pairAnimInfo.first, [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, - 0.95f); + 0.5f); m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } @@ -660,6 +660,9 @@ HRESULT CRanrok::Render_Nonblend() if (FAILED(m_pModelCom->Render(i))) { return E_FAIL; } + if (true == m_bDrawOutLine) { + m_pGameInstance->End_OutLine_Write(); + } } /*if (m_bDrawOutLine) { diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Breath.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Breath.cpp index de8cf6b89..40b798602 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_Breath.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_Breath.cpp @@ -6,6 +6,7 @@ #include "Wand.h" #include "Player.h" #include "InfoInstance.h" +#include "Ranrok.h" CRanrok_Breath::CRanrok_Breath(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CEffect_Container{ pDevice, pContext } @@ -48,11 +49,13 @@ HRESULT CRanrok_Breath::Initialize(void* pArg) m_pBreath_Black = Get_PartObject("Breath_Black"); m_pBreathSlog = Get_PartObject("BreathSlog"); m_pMouthFire = Get_PartObject("MouthFire"); + m_pLand_Decal = Get_PartObject("Land_Decal"); SAFE_ADDREF(m_pBreath); SAFE_ADDREF(m_pBreath_Black); SAFE_ADDREF(m_pBreathSlog); SAFE_ADDREF(m_pMouthFire); + SAFE_ADDREF(m_pLand_Decal); m_fDuration = 5.f; @@ -130,9 +133,9 @@ HRESULT CRanrok_Breath::Pre_Setting(CGameObject* pObject, void* pArg) /* 브레스 시간 제어 */ - _float fBreathTime = *static_cast<_float*>(pArg); + BREATH_INFO BreathDesc = *static_cast(pArg); - Set_BreathTime(fBreathTime); + Set_BreathTime(BreathDesc.fTime); /* 초기 객체 비지블*/ @@ -146,7 +149,7 @@ HRESULT CRanrok_Breath::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화*/ - _matrix BoneMat = XMLoadFloat4x4(m_pOwner->Get_Component()->Get_BoneMatrixPtr("jaw")); + _matrix BoneMat = XMLoadFloat4x4(m_pOwner->Get_Component()->Get_BoneMatrixPtr("tongue_01")); for (int i = 0; i < 3; ++i) { BoneMat.r[i] = XMVector3Normalize(BoneMat.r[i]); @@ -180,6 +183,33 @@ HRESULT CRanrok_Breath::Pre_Setting(CGameObject* pObject, void* pArg) m_isParticleEnd = false; m_isStartRayCast = false; + + + + /* 바닥 페이즈 일때*/ + + if (static_cast(BreathDesc.iPase) == CRanrok::RANROK_PHASE::PHASE_GROUND) + { + m_pLand_Decal->Set_Visible(true); + + _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first; + + if (pPlayer == nullptr) + return E_FAIL; + + _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition(); + + XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos); + + _vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos)); + + m_pLand_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + + m_pLand_Decal->Get_Component()->Set_Loop(true); + + } + return S_OK; } @@ -254,6 +284,7 @@ void CRanrok_Breath::OnCollision(CGameObject* pOther, void* pDesc) pSplatterBottom0->Set_Visible(true); pSplatterBottom0->Get_Component()->Set_State(STATE::POSITION, vPos + vDir * 3.f); + m_pLand_Decal->Get_Component()->Set_Loop(false); XMStoreFloat4(&m_vPreCollisionPos, vPos); } @@ -304,7 +335,7 @@ void CRanrok_Breath::Free() SAFE_RELEASE(m_pBreath_Black); SAFE_RELEASE(m_pBreathSlog); SAFE_RELEASE(m_pMouthFire); - + SAFE_RELEASE(m_pLand_Decal); //SAFE_RELEASE(m_pFireBall_Tail); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp b/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp new file mode 100644 index 000000000..9fb2039a4 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp @@ -0,0 +1,207 @@ +#include "pch.h" +#include "Ranrok_GroundPulse.h" + +#include "GameInstance.h" +#include "EffectParts.h" +#include "Wand.h" +#include "Player.h" +#include "InfoInstance.h" + +CRanrok_GroundPulse::CRanrok_GroundPulse(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CRanrok_GroundPulse::CRanrok_GroundPulse(const CRanrok_GroundPulse& rhs) + : CEffect_Container(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ + SAFE_ADDREF(m_pInfoInstance); +} + +HRESULT CRanrok_GroundPulse::Initialize_Prototype() +{ + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokGroundPulse"))) + return E_FAIL; + + + return S_OK; + +} + +HRESULT CRanrok_GroundPulse::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + if (FAILED(Create_Effect())) + return E_FAIL; + + + m_wstrEffectName = L"RanrokGroundPulse"; + + + + m_fDuration = 10.f; + + + return S_OK; +} + +void CRanrok_GroundPulse::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CRanrok_GroundPulse::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + + + +} + +void CRanrok_GroundPulse::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CRanrok_GroundPulse::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + + /* 초기 객체 비지블*/ + + CEffectParts* pBottomDecal = Get_PartObject("Bottom_Decal"); + CEffectParts* pBottomSplatter = Get_PartObject("BottomSplatter"); + CEffectParts* pRed_Sphere = Get_PartObject("Red_Sphere"); + CEffectParts* pRock_PT = Get_PartObject("Rock_PT"); + CEffectParts* pSmoke = Get_PartObject("Smoke"); + + pBottomDecal->Set_Visible(true); + pBottomSplatter->Set_Visible(true); + pRock_PT->Set_Visible(true); + pSmoke->Set_Visible(true); + pRed_Sphere->Set_Visible(true); + + + /* 초기 객체 위치 초기화*/ + + _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + + pRed_Sphere->Get_Component()->Set_WorldMatrix(m_pOwner->Get_Component()->Get_XMWorldMatrix()); + pRed_Sphere->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); + + CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first; + + if (pPlayer == nullptr) + return E_FAIL; + + _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition(); + + XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos); + + _vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos)); + + pBottomDecal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pBottomSplatter->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + + + return S_OK; +} + +HRESULT CRanrok_GroundPulse::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CRanrok_GroundPulse::Ready_Child() +{ + return S_OK; +} + +CRanrok_GroundPulse* CRanrok_GroundPulse::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CRanrok_GroundPulse* pInstance = new CRanrok_GroundPulse(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CRanrok_GroundPulse"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CRanrok_GroundPulse::Clone(void* pArg, CGameObject* pOwner) +{ + CRanrok_GroundPulse* pInstance = new CRanrok_GroundPulse(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CRanrok_GroundPulse"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CRanrok_GroundPulse::OnCollision(CGameObject* pOther, void* pDesc) +{ + if (m_bHit == false) + return; + + ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); + + _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + + +} + +void CRanrok_GroundPulse::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pInfoInstance); + + +} +#ifdef _DEBUG +void CRanrok_GroundPulse::Describe_Entity() +{ + +} +#endif + +HRESULT CRanrok_GroundPulse::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Land.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Land.cpp new file mode 100644 index 000000000..2d82db520 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Ranrok_Land.cpp @@ -0,0 +1,201 @@ +#include "pch.h" +#include "Ranrok_Land.h" + +#include "GameInstance.h" +#include "EffectParts.h" +#include "Wand.h" +#include "Player.h" +#include "InfoInstance.h" + +CRanrok_Land::CRanrok_Land(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CRanrok_Land::CRanrok_Land(const CRanrok_Land& rhs) + : CEffect_Container(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ + SAFE_ADDREF(m_pInfoInstance); +} + +HRESULT CRanrok_Land::Initialize_Prototype() +{ + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand"))) + return E_FAIL; + + return S_OK; + +} + +HRESULT CRanrok_Land::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + if (FAILED(Create_Effect())) + return E_FAIL; + + + m_wstrEffectName = L"RanrokLand"; + + + + m_fDuration = 5.f; + + + return S_OK; +} + +void CRanrok_Land::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CRanrok_Land::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + + + +} + +void CRanrok_Land::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CRanrok_Land::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + + /* 초기 객체 비지블*/ + + CEffectParts* pBottom_Decal = Get_PartObject("Bottom_Decal"); + CEffectParts* pRock_PT = Get_PartObject("Rock_PT"); + CEffectParts* pSmoke = Get_PartObject("Smoke"); + + + pBottom_Decal->Set_Visible(true); + pSmoke->Set_Visible(true); + pRock_PT->Set_Visible(true); + + + /* 초기 객체 위치 초기화*/ + + + _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + + + CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first; + + if (pPlayer == nullptr) + return E_FAIL; + + _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition(); + + XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos); + + + _vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos)); + + pBottom_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + + return S_OK; +} + +HRESULT CRanrok_Land::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CRanrok_Land::Ready_Child() +{ + return S_OK; +} + +CRanrok_Land* CRanrok_Land::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CRanrok_Land* pInstance = new CRanrok_Land(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CRanrok_Land"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CRanrok_Land::Clone(void* pArg, CGameObject* pOwner) +{ + CRanrok_Land* pInstance = new CRanrok_Land(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CRanrok_Land"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CRanrok_Land::OnCollision(CGameObject* pOther, void* pDesc) +{ + if (m_bHit == false) + return; + + ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); + + _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + + +} + +void CRanrok_Land::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pInfoInstance); + + +} +#ifdef _DEBUG +void CRanrok_Land::Describe_Entity() +{ + +} +#endif + +HRESULT CRanrok_Land::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Rush_Bottom.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Rush_Bottom.cpp new file mode 100644 index 000000000..a01990e65 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Ranrok_Rush_Bottom.cpp @@ -0,0 +1,202 @@ +#include "pch.h" +#include "Ranrok_Rush_Bottom.h" + +#include "GameInstance.h" +#include "EffectParts.h" +#include "Wand.h" +#include "Player.h" +#include "InfoInstance.h" + +CRanrok_Rush_Bottom::CRanrok_Rush_Bottom(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CRanrok_Rush_Bottom::CRanrok_Rush_Bottom(const CRanrok_Rush_Bottom& rhs) + : CEffect_Container(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ + SAFE_ADDREF(m_pInfoInstance); +} + +HRESULT CRanrok_Rush_Bottom::Initialize_Prototype() +{ + + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokRushBottom"))) + return E_FAIL; + + return S_OK; + +} + +HRESULT CRanrok_Rush_Bottom::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + if (FAILED(Create_Effect())) + return E_FAIL; + + + m_wstrEffectName = L"Ranrok_Rush_Bottom"; + + + + m_fDuration = 3.f; + + + return S_OK; +} + +void CRanrok_Rush_Bottom::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CRanrok_Rush_Bottom::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + + + +} + +void CRanrok_Rush_Bottom::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CRanrok_Rush_Bottom::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + + /* 초기 객체 비지블*/ + + CEffectParts* pRush_Decal = Get_PartObject("Rush_Decal"); + CEffectParts* pRock_PT = Get_PartObject("Rock_PT"); + CEffectParts* pSmoke = Get_PartObject("Smoke"); + + + pRush_Decal->Set_Visible(true); + pSmoke->Set_Visible(true); + pRock_PT->Set_Visible(true); + + + /* 초기 객체 위치 초기화*/ + + + _vector vBonePos = XMLoadFloat4(static_cast<_float4*>(pArg)); + + + CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first; + + if (pPlayer == nullptr) + return E_FAIL; + + _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition(); + + XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos); + + + _vector vCompute_Pos = XMVectorSetY(vBonePos, XMVectorGetY(vPlayer_FootPos)); + + pRush_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + + return S_OK; +} + +HRESULT CRanrok_Rush_Bottom::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CRanrok_Rush_Bottom::Ready_Child() +{ + return S_OK; +} + +CRanrok_Rush_Bottom* CRanrok_Rush_Bottom::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CRanrok_Rush_Bottom* pInstance = new CRanrok_Rush_Bottom(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CRanrok_Rush_Bottom"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CRanrok_Rush_Bottom::Clone(void* pArg, CGameObject* pOwner) +{ + CRanrok_Rush_Bottom* pInstance = new CRanrok_Rush_Bottom(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CRanrok_Rush_Bottom"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CRanrok_Rush_Bottom::OnCollision(CGameObject* pOther, void* pDesc) +{ + if (m_bHit == false) + return; + + ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); + + _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + + +} + +void CRanrok_Rush_Bottom::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pInfoInstance); + + +} +#ifdef _DEBUG +void CRanrok_Rush_Bottom::Describe_Entity() +{ + +} +#endif + +HRESULT CRanrok_Rush_Bottom::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp index fe928df36..c47802e5f 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp @@ -7,6 +7,7 @@ #include "EffectPool.h" #include "EffectParts.h" #include "TrailObject.h" +#include "Ranrok_Breath.h" #pragma region STATE #include "State_Idle.h" @@ -352,9 +353,13 @@ void CRanrok::Behavior_FireBreathEnter() Add_Event(m_Animation[STATEANIM::FIREBREATH_A].first, [this]() { - _float fBreathTime = 1.f; - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &fBreathTime); + CRanrok_Breath::BREATH_INFO BreathDesc; + + BreathDesc.fTime = 1.f; + BreathDesc.iPase = ENUM_CLASS(m_ePhase); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &BreathDesc); }, 0.1f); @@ -370,8 +375,13 @@ void CRanrok::Behavior_FireBreathEnter() Add_Event(pairAnimInfo.first, [this]() { - _float fBreathTime = 5.f; - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &fBreathTime); + CRanrok_Breath::BREATH_INFO BreathDesc; + + BreathDesc.fTime = 2.f; + BreathDesc.iPase = ENUM_CLASS(m_ePhase); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &BreathDesc); + m_bLookAt = false; }, 0.2f); @@ -457,9 +467,13 @@ void CRanrok::Behavior_FireSweepEnter() Add_Event(m_Animation[STATEANIM::FIRESWEEP_A].first, [this]() { - _float fBreathTime = 3.f; - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &fBreathTime); + CRanrok_Breath::BREATH_INFO BreathDesc; + + BreathDesc.fTime = 2.5f; + BreathDesc.iPase = ENUM_CLASS(m_ePhase); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &BreathDesc); }, 0.08f); @@ -476,8 +490,13 @@ void CRanrok::Behavior_FireSweepEnter() Add_Event(m_Animation[STATEANIM::FIRESWEEP_G].first, [this]() { - _float fBreathTime = 5.f; - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &fBreathTime); + + CRanrok_Breath::BREATH_INFO BreathDesc; + + BreathDesc.fTime = 3.f; + BreathDesc.iPase = ENUM_CLASS(m_ePhase); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &BreathDesc); m_bLookAt = false; }, 0.2f); @@ -637,7 +656,7 @@ void CRanrok::Behavior_SwipeEnter() else { pairAnimInfo = m_Animation[STATEANIM::GROUND_SWIPE_R]; } - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.5f); } Add_Event(pairAnimInfo.first, @@ -695,9 +714,34 @@ void CRanrok::Behavior_RushEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::RUSH); pairAnimInfo = m_Animation[STATEANIM::RUSH_LOOP]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,2.f); m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::RUSH)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::RUSH)]; m_bLookAt = false; + + Add_Event(m_Animation[STATEANIM::RUSH_LOOP].first, + [this]() { + + _matrix LeftBoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("wrist_left_target")) * m_pTransformCom->Get_XMWorldMatrix(); + + _float4 vLeftPos; + XMStoreFloat4(&vLeftPos, LeftBoneMat.r[3]); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_RUSH_BOTTOM, this, &vLeftPos); + + }, 0.5f, true); + + Add_Event(m_Animation[STATEANIM::RUSH_LOOP].first, + [this]() { + + _matrix RightBoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("wrist_right_target")) * m_pTransformCom->Get_XMWorldMatrix(); + + _float4 vRightPos; + XMStoreFloat4(&vRightPos, RightBoneMat.r[3]); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_RUSH_BOTTOM, this, &vRightPos); + + }, 0.8f, true); + } HRESULT CRanrok::Behavior_RushExitCheck(_float fTimeDelta) @@ -762,6 +806,9 @@ HRESULT CRanrok::Behavior_RushExitCheck(_float fTimeDelta) m_pFSM->Change_State(FSMSTATE::GROUND); return E_FAIL; } + + + return S_OK; } @@ -782,21 +829,31 @@ void CRanrok::Behavior_PulseEnter() m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::PULSE)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::PULSE)]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); - Add_Event(pairAnimInfo.first, - [this]() { CameraShake(10.f, 2.f, 5.f, 1.2f); - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_PURSE, this); - }, - 0.39f); - Add_Event(pairAnimInfo.first, [this]() { m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_CHARGE, this); - m_pLeftSmoke->Set_Visible(false); m_pRightSmoke->Set_Visible(false); m_pBottomSmoke->Set_Visible(false); - }, 0.f); + }, 0.01f); + + if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR)) + { + Add_Event(pairAnimInfo.first, + [this]() { + CameraShake(10.f, 2.f, 5.f, 1.2f); + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_PURSE, this); + }, 0.39f); + } + else + { + Add_Event(pairAnimInfo.first, + [this]() { + CameraShake(10.f, 2.f, 5.f, 1.2f); + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_GROUNDPULSE, this); + }, 0.39f); + } } @@ -908,8 +965,11 @@ void CRanrok::Behavior_LandEnter() pairAnimInfo = m_Animation[STATEANIM::LAND]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,false,fAnimSpeed); + Add_Event(pairAnimInfo.first, - [this]() { CameraShake(30.f, 5.f, 10.f, 1.2f); }, + [this]() { + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_LAND, this); + CameraShake(30.f, 5.f, 10.f, 1.2f); }, 0.53f); } diff --git a/Jusin154_Team3D/Client/Private/TrailObject.cpp b/Jusin154_Team3D/Client/Private/TrailObject.cpp index 4128edbec..23757823f 100644 --- a/Jusin154_Team3D/Client/Private/TrailObject.cpp +++ b/Jusin154_Team3D/Client/Private/TrailObject.cpp @@ -378,8 +378,6 @@ HRESULT CTrailObject::Render_Blur() if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_POSTEX::TRAIL_BLUR)))) return E_FAIL; - - if (FAILED(m_pTrailCom->Render())) return E_FAIL; @@ -470,10 +468,6 @@ HRESULT CTrailObject::Bind_ShaderResources() if (FAILED(m_pTrailCom->Bind_Resources())) return E_FAIL; - if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { - return E_FAIL; - } - if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Depth"), m_pShaderCom, "g_DepthTexture"))) { return E_FAIL; } @@ -482,6 +476,11 @@ HRESULT CTrailObject::Bind_ShaderResources() return E_FAIL; } + + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp index 6ae4217d8..a06507914 100644 --- a/Jusin154_Team3D/Client/Private/Troll_States.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp @@ -641,15 +641,18 @@ void CTroll::Behavior_HitEnter() { m_pFSM->Enable_State(FSMSTATE::HIT); _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); pair<_uint, _bool> pairAnimInfo; m_bLookAt = false; if (iCurrAnimIndex == m_Animation[STATEANIM::SLAM].first) { - pairAnimInfo = m_Animation[STATEANIM::HIT_FACE]; - Add_Event(pairAnimInfo.first, - [this]() {CameraShake(10.f, 2.f, 3.f, 0.3f); }, - 0.1f); + if (fRatio >= 0.75f) { + pairAnimInfo = m_Animation[STATEANIM::HIT_FACE]; + Add_Event(pairAnimInfo.first, + [this]() {CameraShake(10.f, 2.f, 3.f, 0.3f); }, + 0.1f); + } } else { _int RandIndex = m_pGameInstance->Real_Random_Int(0, 2); diff --git a/Jusin154_Team3D/Client/Public/Broom.h b/Jusin154_Team3D/Client/Public/Broom.h index 0ac63a9fd..30f4a947a 100644 --- a/Jusin154_Team3D/Client/Public/Broom.h +++ b/Jusin154_Team3D/Client/Public/Broom.h @@ -76,6 +76,9 @@ class CBroom final : public CUnit _float m_fTurboDecel = 0.6f; _bool m_bMove = { true }; + + + _int m_iIndex = {}; #pragma region AI _float m_fAISpeedMul = 1.f; diff --git a/Jusin154_Team3D/Client/Public/BroomRacerAI.h b/Jusin154_Team3D/Client/Public/BroomRacerAI.h index ef983a41d..7222304c3 100644 --- a/Jusin154_Team3D/Client/Public/BroomRacerAI.h +++ b/Jusin154_Team3D/Client/Public/BroomRacerAI.h @@ -7,6 +7,12 @@ NS_BEGIN(Client) class CBroomRacerAI final : public CUnit { +public: + struct RacerDesc + { + class CBroomRaceManager* pRacerManager = {nullptr}; + _int iIndex = { 0 }; + }; enum MESH_ORDER { HEAD_EYE_OCC, HEAD_FACE, @@ -101,7 +107,8 @@ class CBroomRacerAI final : public CUnit _float m_LaneOffsetX = 0.f; _float m_LaneOffsetY = 0.f; _float m_TurnGain = 1.f; - _float m_HeightGain =1.f; + _float m_HeightGain = 1.f; + _int m_iIndex = {}; void Behavior_Broom_Ride_MoveEnter(); HRESULT Behavior_Broom_Ride_MoveExitCheck(_float fTimeDelta); diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h index 64cf6398f..43a31d5ac 100644 --- a/Jusin154_Team3D/Client/Public/Client_Enum.h +++ b/Jusin154_Team3D/Client/Public/Client_Enum.h @@ -78,7 +78,8 @@ namespace Client /*란록*/ - RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_HIT , RANROK_IMPACT, + RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_HIT , RANROK_IMPACT, RANROK_LAND, RANROK_RUSH_BOTTOM, + RANROK_GROUNDPULSE, END }; diff --git a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h index ede27e23a..b695a0291 100644 --- a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h +++ b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h @@ -54,6 +54,8 @@ class CGoblin_Assassin final : public CMonster class CEffectParts* m_pGoblin_Particle = { nullptr }; class CEffectParts* m_pGoblin_Particle2 = { nullptr }; class CGoblin_Assassin_Spector* m_pGoblinSpector = { nullptr }; + + ID3D11RasterizerState* m_pRS_Wireframe = { nullptr }; private: virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; diff --git a/Jusin154_Team3D/Client/Public/NPC_Ollivander.h b/Jusin154_Team3D/Client/Public/NPC_Ollivander.h index f4068e5f1..b1dc0566a 100644 --- a/Jusin154_Team3D/Client/Public/NPC_Ollivander.h +++ b/Jusin154_Team3D/Client/Public/NPC_Ollivander.h @@ -52,6 +52,7 @@ class CNPC_Ollivander final : public CUnit virtual HRESULT Initialize(void* pArg) override; HRESULT Ready_Components(void* pArg); HRESULT Bind_ShaderResources() override; + HRESULT Bind_ShaderParameters(_uint iMeshOrder); public: static CNPC_Ollivander* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/PlayerRobe.h b/Jusin154_Team3D/Client/Public/PlayerRobe.h index 8e822a92c..ee1d3a0b8 100644 --- a/Jusin154_Team3D/Client/Public/PlayerRobe.h +++ b/Jusin154_Team3D/Client/Public/PlayerRobe.h @@ -40,8 +40,12 @@ class CPlayerRobe final : public CPartObject const _float4x4* m_pSocketMatrix = { nullptr }; const _float4x4* m_pLeftFootLocalMatrix = { nullptr }; const _float4x4* m_pLeftLegLocalMatrix = { nullptr }; + const _float4x4* m_pLeftLegUpLocalMatrix = { nullptr }; const _float4x4* m_pRightFootLocalMatrix = { nullptr }; const _float4x4* m_pRightLegLocalMatrix = { nullptr }; + const _float4x4* m_pRightLegUpLocalMatrix = { nullptr }; + const _float4x4* m_pLower0BoundMatrix = { nullptr }; + const _float4x4* m_pLower1BoundMatrix = { nullptr }; const _float4x4* m_RobeJointAnchorMatrices[ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END)] = { nullptr }; vector<_float4x4> m_ReconstructedJointAnchorMatirces = { }; //_float4x4 m_ReconstructedJointAnchorMatirces[ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END)] = { }; @@ -50,12 +54,17 @@ class CPlayerRobe final : public CPartObject _int m_iBoneNum = -1; CRigidBody_Dynamic* m_pRightLeg = { nullptr }; CRigidBody_Dynamic* m_pLeftLeg = { nullptr }; + CRigidBody_Dynamic* m_pLeftThigh = { nullptr }; + CRigidBody_Dynamic* m_pRightThigh = { nullptr }; CRigidBody_Dynamic* m_pLower0Bound = { nullptr }; CRigidBody_Dynamic* m_pLower1Bound = { nullptr }; CRigidBody_Dynamic* m_pRobeMainAnchor = { nullptr }; - CRigidBody_Dynamic* m_pRobeJointRoute[ENUM_CLASS(PLAYER_JOINT_ROUTE_ORDER::END)] = { nullptr }; + + CRigidBody_Dynamic* m_pRobeVerticalJointRoute[ENUM_CLASS(PLAYER_ROUTE_VERTICAL_ORDER::END)] = { nullptr }; + CRigidBody_Dynamic* m_pRobeFixedJointRoute[ENUM_CLASS(PLAYER_ROUTE_HORIZONTAL_ORDER::END)] = { nullptr }; CRigidBody_Dynamic* m_pRobeJointAnchor[ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END)] = { nullptr }; PSX::PxD6Joint* m_pDynamicJoints[ENUM_CLASS(PLAYER_JOINT_ORDER::END)] = { nullptr }; + PSX::PxFixedJoint* m_pFixedJoints[ENUM_CLASS(PLAYER_JOINT_HORIZONTAL_ORDER::END)] = { nullptr }; D6JOINTDESC m_JointDescriptions[ENUM_CLASS(PLAYER_JOINT_ORDER::END)] = { }; vector<_float4x4> m_PrevRobeBoneMatrices = { }; @@ -65,6 +74,9 @@ class CPlayerRobe final : public CPartObject ID3D11DepthStencilState* m_pDepthStencilStateNone = { nullptr }; _float4x4 m_LeftLegMatrix = {}; _float4x4 m_RightLegMatrix = {}; + _float4x4 m_LeftThighMatrix = {}; + _float4x4 m_RightThighMatrix = {}; + _bool m_bRenderDebug = { true }; #endif // _DEBUG private: virtual HRESULT Initialize_Prototype() override; @@ -73,11 +85,11 @@ class CPlayerRobe final : public CPartObject HRESULT Bind_ShaderResources() { return S_OK; } HRESULT Update_LegsPosition(); + HRESULT Helper_RouteJointGenerater(PHYSX_JOINT eType, CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC& Desc_Body, ROUTE_DESC& Desc_Route, _matrix* xmAnchorMatricesWorld); HRESULT Update_RobeJoints(); - HRESULT Helper_RouteJointGenerater(CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC& Desc_Body, ROUTE_DESC& Desc_Route, _matrix* xmAnchorMatricesWorld); #ifdef _DEBUG HRESULT Render_BonePhysX(); - HRESULT Render_Legs(); + HRESULT Render_Legs(_fmatrix LowerMatrix); #endif // _DEBUG public: static CPlayerRobe* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/Player_ENUM.h b/Jusin154_Team3D/Client/Public/Player_ENUM.h index 7ad5c5a99..73fa76841 100644 --- a/Jusin154_Team3D/Client/Public/Player_ENUM.h +++ b/Jusin154_Team3D/Client/Public/Player_ENUM.h @@ -23,44 +23,90 @@ enum class PLAYER_MESH_ORDER { END }; -static const _char* PLAYER_JOINT_BONE_NAMES[12] = { +static const _char* PLAYER_JOINT_BONE_NAMES[16] = { "RightUpLeg_Cloth" , "RightLeg_Cloth" , "RightDownLeg_Cloth" - , "RightDownRightLeg_Cloth" , "LeftUpLeg_Cloth" , "LeftLeg_Cloth" , "LeftDownLeg_Cloth" - , "LeftDownLeftLeg_Cloth" , "TailUp_Cloth" , "Tail_Cloth" , "TailLeftDown_Cloth" , "TailRightDown_Cloth" + , "RightSideUpLeg_Cloth" + , "RightSideLeg_Cloth" + , "RightDownSideLeg_Cloth" + + , "LeftSideUpLeg_Cloth" + , "LeftSideLeg_Cloth" + , "LeftDownSideLeg_Cloth" }; enum class PLAYER_JOINT_BONE_ORDER { RIGHTUP , RIGHT , RIGHTDOWN - , RIGHTDOWNRIGHT , LEFTUP , LEFT , LEFTDOWN - , LEFTDOWNLEFT , TAILUP , TAIL , TAILLEFTDOWN , TAILRIGHTDOWN + , RIGHTSIDEUP + , RIGHTSIDE + , RIGHTDOWNSIDE + + , LEFTSIDEUP + , LEFTSIDE + , LEFTDOWNSIDE + , END }; +enum class PLAYER_JOINT_HORIZONTAL_ORDER { + +#pragma region UP_HORIZONTAL + UP_R_RS_START + , UP_R_RS_END + , UP_RS_T_START + , UP_RS_T_END + , UP_T_LS_START + , UP_T_LS_END + , UP_LS_L_START + , UP_LS_L_END +#pragma endregion +#pragma region MIDDLE_HORIZONTAL + , MIDDLE_R_RS_START + , MIDDLE_R_RS_END + , MIDDLE_RS_T_START + , MIDDLE_RS_T_END + , MIDDLE_T_LS_START + , MIDDLE_T_LS_END + , MIDDLE_LS_L_START + , MIDDLE_LS_L_END +#pragma endregion +#pragma region DOWN_HORIZONTAL + , DOWN_R_RS_START + , DOWN_R_RS_END + , DOWN_RS_T_START + , DOWN_RS_T_END + , DOWN_T_LS_START + , DOWN_T_LS_END + , DOWN_LS_L_START + , DOWN_LS_L_END +#pragma endregion + , END +}; enum class PLAYER_JOINT_ORDER { +#pragma region ORIGIN_TO_UP ORIGIN_TO_RUP_START , ORIGIN_TO_RUP_END @@ -70,7 +116,13 @@ enum class PLAYER_JOINT_ORDER { , ORIGIN_TO_LUP_START , ORIGIN_TO_LUP_END - + , ORIGIN_TO_RSIDEUP_START + , ORIGIN_TO_RSIDEUP_END + + , ORIGIN_TO_LSIDEUP_START + , ORIGIN_TO_LSIDEUP_END +#pragma endregion +#pragma region UP_TO_MIDDLE , RUP_TO_RMIDDLE_START , RUP_TO_RMIDDLE_END @@ -80,44 +132,61 @@ enum class PLAYER_JOINT_ORDER { , LUP_TO_LMIDDLE_START , LUP_TO_LMIDDLE_END + , RSIDEUP_TO_RSIDE_START + , RSIDEUP_TO_RSIDE_END + , LSIDEUP_TO_LSIDE_START + , LSIDEUP_TO_LSIDE_END +#pragma endregion +#pragma region MIDDLE_TO_BOTTOM , RMIDDLE_TO_RR_START , RMIDDLE_TO_RR_END - , RMIDDLE_TO_R_START - , RMIDDLE_TO_R_END - , TMIDDLE_TO_TR_START , TMIDDLE_TO_TR_END , TMIDDLE_TO_TL_START , TMIDDLE_TO_TL_END - , LMIDDLE_TO_L_START - , LMIDDLE_TO_L_END - , LMIDDLE_TO_LL_START , LMIDDLE_TO_LL_END + , RSIDE_TO_R_START + , RSIDE_TO_R_END + , LSIDE_TO_L_START + , LSIDE_TO_L_END +#pragma endregion , END }; -enum class PLAYER_JOINT_ROUTE_ORDER { +enum class PLAYER_ROUTE_HORIZONTAL_ORDER { + da, + END +}; + +enum class PLAYER_ROUTE_VERTICAL_ORDER { ORIGIN_TO_RUP , ORIGIN_TO_TUP , ORIGIN_TO_LUP + , ORIGIN_TO_RSIDEUP + , ORIGIN_TO_LSIDEUP , RUP_TO_RMIDDLE , TUP_TO_TMIDDLE , LUP_TO_LMIDDLE + , RSIDEUP_TO_RSIDE + , LSIDEUP_TO_LSIDE + , RMIDDLE_TO_RR - , RMIDDLE_TO_R , TMIDDLE_TO_TR , TMIDDLE_TO_TL - , LMIDDLE_TO_L , LMIDDLE_TO_LL + + , RSIDE_TO_R + , LSIDE_TO_L + , END }; diff --git a/Jusin154_Team3D/Client/Public/RandomNpc.h b/Jusin154_Team3D/Client/Public/RandomNpc.h index 338fdf82c..c3ebef544 100644 --- a/Jusin154_Team3D/Client/Public/RandomNpc.h +++ b/Jusin154_Team3D/Client/Public/RandomNpc.h @@ -48,6 +48,7 @@ class CRandomNpc final : public CUnit virtual HRESULT Initialize(void* pArg) override; HRESULT Ready_Components(void* pArg); HRESULT Bind_ShaderResources() override; + HRESULT Bind_ShaderParameters(_uint iMeshOrder); public: static CRandomNpc* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/Ranrok.h b/Jusin154_Team3D/Client/Public/Ranrok.h index 56572fe0c..5b37358e3 100644 --- a/Jusin154_Team3D/Client/Public/Ranrok.h +++ b/Jusin154_Team3D/Client/Public/Ranrok.h @@ -31,7 +31,7 @@ class CRanrok final : public CMonster BODY, END }; - +public: enum class RANROK_PHASE { PHASE_AIR, diff --git a/Jusin154_Team3D/Client/Public/Ranrok_Breath.h b/Jusin154_Team3D/Client/Public/Ranrok_Breath.h index f8d7ba358..fa7db340a 100644 --- a/Jusin154_Team3D/Client/Public/Ranrok_Breath.h +++ b/Jusin154_Team3D/Client/Public/Ranrok_Breath.h @@ -10,6 +10,13 @@ NS_BEGIN(Client) class CRanrok_Breath final : public CEffect_Container { +public: + typedef struct tagBreathInfo + { + _float fTime; + _int iPase; + }BREATH_INFO; + private: CRanrok_Breath(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); CRanrok_Breath(const CRanrok_Breath& rhs); @@ -38,6 +45,7 @@ class CRanrok_Breath final : public CEffect_Container class CEffectParts* m_pBreath_Black = { nullptr }; class CEffectParts* m_pBreathSlog = { nullptr }; class CEffectParts* m_pMouthFire = { nullptr }; + class CEffectParts* m_pLand_Decal = { nullptr }; _float3 m_vLook = {}; _float m_fLinearSpeed = 0.8f; diff --git a/Jusin154_Team3D/Client/Public/Ranrok_GroundPulse.h b/Jusin154_Team3D/Client/Public/Ranrok_GroundPulse.h new file mode 100644 index 000000000..f0215a15e --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Ranrok_GroundPulse.h @@ -0,0 +1,55 @@ +#pragma once + +#include "Client_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Client) + +class CRanrok_GroundPulse final : public CEffect_Container +{ +private: + CRanrok_GroundPulse(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CRanrok_GroundPulse(const CRanrok_GroundPulse& rhs); + virtual ~CRanrok_GroundPulse() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + + _float3 m_vLook = {}; + _float m_fLinearSpeed = 0.8f; + + _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; + _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; +private: + class CInfoInstance* m_pInfoInstance = { nullptr }; +public: + static CRanrok_GroundPulse* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // DEBUG + + +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Ranrok_Land.h b/Jusin154_Team3D/Client/Public/Ranrok_Land.h new file mode 100644 index 000000000..cb82471dc --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Ranrok_Land.h @@ -0,0 +1,58 @@ +#pragma once + +#include "Client_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Client) + +class CRanrok_Land final : public CEffect_Container +{ +private: + CRanrok_Land(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CRanrok_Land(const CRanrok_Land& rhs); + virtual ~CRanrok_Land() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + class CEffectParts* m_pGooRod_0 = { nullptr }; + class CEffectParts* m_pSmoke = { nullptr }; + class CEffectParts* m_pSpread_PT = { nullptr }; + + _float3 m_vLook = {}; + _float m_fLinearSpeed = 0.8f; + + _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; + _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; +private: + class CInfoInstance* m_pInfoInstance = { nullptr }; +public: + static CRanrok_Land* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // DEBUG + + +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Ranrok_Rush_Bottom.h b/Jusin154_Team3D/Client/Public/Ranrok_Rush_Bottom.h new file mode 100644 index 000000000..2ce9f1425 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Ranrok_Rush_Bottom.h @@ -0,0 +1,58 @@ +#pragma once + +#include "Client_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Client) + +class CRanrok_Rush_Bottom final : public CEffect_Container +{ +private: + CRanrok_Rush_Bottom(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CRanrok_Rush_Bottom(const CRanrok_Rush_Bottom& rhs); + virtual ~CRanrok_Rush_Bottom() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + class CEffectParts* m_pGooRod_0 = { nullptr }; + class CEffectParts* m_pSmoke = { nullptr }; + class CEffectParts* m_pSpread_PT = { nullptr }; + + _float3 m_vLook = {}; + _float m_fLinearSpeed = 0.8f; + + _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; + _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; +private: + class CInfoInstance* m_pInfoInstance = { nullptr }; +public: + static CRanrok_Rush_Bottom* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // DEBUG + + +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokBreath.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokBreath.bin index 969dd22c1..084bd4bd2 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokBreath.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokBreath.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:689aba78dedc0a31d77676d8498b666885b1ccf8848e97a07c0c24f4c8b865ae -size 577 +oid sha256:3a3320b269d01068f0ac0fd8f772f401f76de11cf100f8b4fae160d99449b83d +size 649 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokGroundPulse.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokGroundPulse.bin new file mode 100644 index 000000000..24c83841f --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokGroundPulse.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b5990d85db30386d54894aa8f2a8b12a43636926aa39524f2ed9f8483232ed4 +size 387 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand.bin new file mode 100644 index 000000000..934eb4d15 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:165aa84dee025cb15aa97e34d6195b1d96f23b4f7392e627d8f8f30e8a0c9d3e +size 208 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokRushBottom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokRushBottom.bin new file mode 100644 index 000000000..8dfb9f24f --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokRushBottom.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f9586d41f4b57e9942d9322e4a60589e64ffcaf4cbb13ac52fca91fcde58832 +size 224 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin index 59eef9e36..21e2db0b7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5ca0eefb3c084b1d79971c1da492e7391c0ac5192302bede9f6c48d2a4472acd +oid sha256:b25d71ce9c8b01d692a97fd1cafde0f3de39e8ec8a9c0564cbb322a7a4af94f8 size 1203 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Land_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Land_Decal.bin new file mode 100644 index 000000000..b087125e6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Land_Decal.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f712cfafff85e820710e7fc754155933446134584ba231f732032b258815bb88 +size 1271 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin index 0a2527bbc..fda9da937 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30243ca9247d77f7860b8ccdf71f530a3276acf0b81c3b0cb6bafa45e9ed782c +oid sha256:d89f9e5f845f49272670495184b22728d7a66388037fc3af4dd4ba94fa067138 size 1208 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin index 51c93c30a..4ce3fea08 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3be5833f7a3a3ef563c1ee1e7f338bdfe9a496eec626304d7afece3b0df11c8f +oid sha256:5362cdc70ca4b25e0c714768745664fcbb59243b013b69ea60d7e896e581797b size 1294 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin new file mode 100644 index 000000000..8e83ae77d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eff64f0aec70177895feddc841d6adde1bd1c7f028149a544082712d3c57d5b4 +size 1210 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin new file mode 100644 index 000000000..c853d1ba6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9533f4fe3f556901a3b7db30c9e4fb19ae943a60bf99402e73f3eeaf3ca394 +size 1217 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Red_Sphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Red_Sphere.bin new file mode 100644 index 000000000..c831ac46c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Red_Sphere.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8777ccd563047dd7f7bc91356e48f129ba54780747e6acd4925ddba3254dfccf +size 1242 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin new file mode 100644 index 000000000..8f5432e80 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23cf3d5bec2be4b13b8bd36a67126d5918e93a36b3cf2f8bb30b1c78bc8648dd +size 1194 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Smoke.bin new file mode 100644 index 000000000..aad2356a1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8113aa957c9abb4b4290d94594bc5f27608d2b44c1accff557d5a52fcedee115 +size 1191 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokHit/Splatter_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokHit/Splatter_Hit.bin index 870586f89..31082de90 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokHit/Splatter_Hit.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokHit/Splatter_Hit.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5fb4a4c11e7de1fe47a70800ac873fb8256e432a3f4fb2fd3f33676a07e8cf0d +oid sha256:8e91a78f7f75be8686fa1348187ef8b50fd74d4666cec8921ad3b6dac2fd8df3 size 1201 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin new file mode 100644 index 000000000..59ca1dda6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95907d7f9ad9ad332ad87df576b43ac08ce4b9de03e9b265dc379c2e2ae6091b +size 1202 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Rock_PT.bin new file mode 100644 index 000000000..aac5f36b9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Rock_PT.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45c90771bc9e45bf10e582a7336a441837ed733bf47e2fa38e50de5b751569d5 +size 1186 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Smoke.bin new file mode 100644 index 000000000..8aadcfbef --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e8c11419d8239501f0ad3c1b79681f19b83c759439662392a4b1e88ca880382 +size 1196 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin index 74254fffc..3dafdea5c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7f9ecc36ee91f4d586605269c85dd19cba8ab3ba038776847e344fc23dc4e27e -size 1220 +oid sha256:3498ce843154813d20f8b9633b88bf5e8f8f2f1b4a6bf05d99322abab81bc8ba +size 1217 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rock_PT.bin new file mode 100644 index 000000000..509c03e32 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rock_PT.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85f5a88ad50135b86ad471137cbe1fd56bbcc967d68468c34cd430e5aa1f8a38 +size 1186 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rush_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rush_Decal.bin new file mode 100644 index 000000000..f88dc97ba --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Rush_Decal.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eb3759fc7d8e9f7362cab51e8b4e1eba42a58fc54e91b8e408a35e2a2fc49fc +size 1261 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Smoke.bin new file mode 100644 index 000000000..c376cf60c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokRushBottom/Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a51f9fd7c19e84b6a015840077d275c2f79855d04852c261fbb2598acfbf4112 +size 1196 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin new file mode 100644 index 000000000..4c4cd33c2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4537af094f35c37594e1728cfaf4c83b99154a2e0eadc47a3cdf3fc0ed18571 +size 5470363 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.fbx new file mode 100644 index 000000000..787c654f6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05e44af8ff2df89a376e2ac672130bb39db1d4a71142ca419b2e2c524c11cda3 +size 2640988 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.xml new file mode 100644 index 000000000..6fbd81606 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.xml @@ -0,0 +1,305 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin_Anim.bin new file mode 100644 index 000000000..fcd107027 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a9dbe563d0347e1d7b0d55cb5c9263f6f9bac85348ed2d5d6b310730c01b75a +size 23938814 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin_Anim.fbx new file mode 100644 index 000000000..1987c862c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b3cf0a622c3fefbd4c31829803386d6041a9ba34b4da5a10d973df9b2e85222 +size 20175468 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_D.dds new file mode 100644 index 000000000..9b737cd25 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_N.dds new file mode 100644 index 000000000..bc8ea6b97 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_SROA.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_SROA.dds new file mode 100644 index 000000000..144fa9bb1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Hat_HowinHat_Fur_SROA.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_D.png new file mode 100644 index 000000000..1e0c9e482 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_N.dds new file mode 100644 index 000000000..c46061847 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_SROA.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_SROA.dds new file mode 100644 index 000000000..19fd40cb4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_F_Upp_HowinSmock02_Fur_SROA.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_D.dds new file mode 100644 index 000000000..24effbef3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_D.dds new file mode 100644 index 000000000..45bc8d3a9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_MROS.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_MROS.dds new file mode 100644 index 000000000..e606ac184 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_MROS.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_MSK.dds new file mode 100644 index 000000000..bebfc0b2b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_N.dds new file mode 100644 index 000000000..f982fd829 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Howin_Clothes_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_D.dds new file mode 100644 index 000000000..2f03a8928 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_N.dds new file mode 100644 index 000000000..479cf11e0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_SRXO.dds new file mode 100644 index 000000000..c609435b0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_F_Head_BaiHowin_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_M_Hair_BaiHowin_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_M_Hair_BaiHowin_DAO_MSK.dds new file mode 100644 index 000000000..e13862896 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_M_Hair_BaiHowin_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_M_Hair_BaiHowin_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_M_Hair_BaiHowin_THV_MSK.dds new file mode 100644 index 000000000..51283debe Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/BaiHowin/T_Old_M_Hair_BaiHowin_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.xml index 72f8502a8..2ed3d5faa 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.xml @@ -30,7 +30,7 @@ - + @@ -187,7 +187,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin new file mode 100644 index 000000000..0d25ab517 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:623c97a3f54a1654a0ea8de829aae7e89a6e97a16885c2dbd1845e40c1ba8aee +size 5245096 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.fbx new file mode 100644 index 000000000..fa5724935 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52bb84c5fc05d1b7fc02bcd4b1787b999bfc2c76ca5c1c8bf9c09b19dc9b5b84 +size 2556396 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.xml new file mode 100644 index 000000000..5a984f2ad --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.xml @@ -0,0 +1,278 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat_Anim.bin new file mode 100644 index 000000000..4ef50dc8b --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:141ace9c564640949cb3fd22e690aa12187723301b741ad6ba66cba5e21cfa6a +size 23343182 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat_Anim.fbx new file mode 100644 index 000000000..879b2cbbb --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9912d99276da7e21e1ec61f96bcdd6aa4a2e40e44124b8d87d7cd59839997be +size 19451164 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_D.dds new file mode 100644 index 000000000..24effbef3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_M_Hair_Hecat_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_M_Hair_Hecat_DAO_MSK.dds new file mode 100644 index 000000000..49eb82a14 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_M_Hair_Hecat_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_M_Hair_Hecat_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_M_Hair_Hecat_THV_MSK.dds new file mode 100644 index 000000000..d0dd52387 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_HUM_M_Hair_Hecat_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_D.png new file mode 100644 index 000000000..3439d9abf Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_N.dds new file mode 100644 index 000000000..255dc860f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_SRXO.dds new file mode 100644 index 000000000..075983967 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_F_Head_DinahHecat_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_Hecat_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_Hecat_D.png new file mode 100644 index 000000000..fd0232159 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_Hecat_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_Hecat_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_Hecat_SRXO.dds new file mode 100644 index 000000000..6dca923b3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_Hecat_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_N.dds new file mode 100644 index 000000000..a28c82969 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Old_M_Arms_Ivory_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_D.dds new file mode 100644 index 000000000..47ae4e87a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_MRO.dds new file mode 100644 index 000000000..bf3cbf4f6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_N.dds new file mode 100644 index 000000000..f22ffb40f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/DinahHecat/T_Professor_DinahHecat_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin index e1d321de2..b8eb32a35 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30618a538659bc3eeb7bd3a5bb10b15f5097c9f08ced6110728e96197afde9b2 -size 3333724 +oid sha256:0b168ac5991ac9c38501245fa2a85b11b142fa3f6551f6c965da140c4a43a1c2 +size 2941521 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.fbx index 5bd46cdef..ea50dd500 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:05cc21bbb21c1315e0970c35820c6572f538569869841920f6d9fa23036ffdc6 -size 2743516 +oid sha256:8d53df0c75f2d5539f94c55207acc0382ed9c006b0400dae6d21d538d85f4c21 +size 1476428 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml index 11d78bb72..b4820fafe 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml @@ -61,7 +61,7 @@ - + @@ -200,7 +200,7 @@ - + @@ -211,7 +211,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf_Anim.bin new file mode 100644 index 000000000..b397759ed --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2824db9f13af1ef0d12b46c45dc3f8837ac5159d0e4a0eed33c4429729497ada +size 20574197 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf_Anim.fbx new file mode 100644 index 000000000..a171eccd6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a25886b123bd59decfd5afd1edcc84bb54e2cee6fe281e34994862bfc2ea51f +size 37253676 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin new file mode 100644 index 000000000..07752bfbe --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:393283aa17ffe0bdc2d027a4450fd01cc9c110233e2d64744bcc5a650fac4d4b +size 3539229 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.fbx new file mode 100644 index 000000000..62910dea6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8364bd622a5463df082c9984a02bb74b78a39f900c87b07de18ca8de3029a7a +size 1713580 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.xml new file mode 100644 index 000000000..dc3e0656f --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.xml @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female_Anim.bin new file mode 100644 index 000000000..9ef47c4b9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b27d0511809e76b98a8acf0b82fd762e77669326f0584e8fda42fc3e4530650 +size 21888412 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female_Anim.fbx new file mode 100644 index 000000000..cdd013874 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d26b77cef81b2b4d7977734645d35ad04e6dc46f5e9cc86366bf6659219f25ca +size 40775484 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_ELF_Hair_ELFHair_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_ELF_Hair_ELFHair_DAO_MSK.dds new file mode 100644 index 000000000..4f4e3aba1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_ELF_Hair_ELFHair_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_ELF_Hair_ELFHair_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_ELF_Hair_ELFHair_THV_MSK.dds new file mode 100644 index 000000000..d68778bdd Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_ELF_Hair_ELFHair_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Body_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Body_D.png new file mode 100644 index 000000000..09ad7ec80 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Body_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Body_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Body_SRXO.dds new file mode 100644 index 000000000..bbb3068aa Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Body_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Head_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Head_D.png new file mode 100644 index 000000000..e4d605ea3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Head_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Head_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Head_SRXO.dds new file mode 100644 index 000000000..1ed9021ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Elf_KitchenElf_F_Head_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Feenky_Body_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Feenky_Body_N.dds new file mode 100644 index 000000000..25164e3be Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_Feenky_Body_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Generic_Head_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Generic_Head_N.dds new file mode 100644 index 000000000..631c96a43 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Generic_Head_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_D.dds new file mode 100644 index 000000000..cafb72ac6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_MRO.dds new file mode 100644 index 000000000..7c2cb32b0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_N.dds new file mode 100644 index 000000000..9dde76f5f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_F_Upp_Dress02_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_D.dds new file mode 100644 index 000000000..78f0d4f62 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_N.dds new file mode 100644 index 000000000..8f7e5e6f4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_SRXO.dds new file mode 100644 index 000000000..3c1d346de Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/T_HouseElf_TeethTongue_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.xml index 4b1bc0b33..f28cb4a5d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.xml @@ -88,7 +88,7 @@ - + @@ -177,7 +177,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin new file mode 100644 index 000000000..15462d0e6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4eec1f603dd420163bc9ce268fccbdb0998ea28b9bfa395cf870d097c5712ff +size 6700660 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.fbx new file mode 100644 index 000000000..2a9b35180 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e399b2e0b26e5ede237e7a67e0d89c5fbca6ec8cc2e9a82c8ccc71208dfc5cf0 +size 2901884 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.xml new file mode 100644 index 000000000..63c3bc8be --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.xml @@ -0,0 +1,307 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric_Anim.bin new file mode 100644 index 000000000..da0addbcf --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e06ffcefb72e701a833ba90f15384ece61c7466c2a78d2a02875accd27827918 +size 24817647 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric_Anim.fbx new file mode 100644 index 000000000..e56ac1df8 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0dad25f6ac3779e94ba78f7d5f7a4deed9e2d776ad86dc70c455c27f16af8835 +size 19806620 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_D.png new file mode 100644 index 000000000..e1a5cba9c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_GeorgeOsric_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_GeorgeOsric_SRXO.dds new file mode 100644 index 000000000..a84e8f3ef Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_GeorgeOsric_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_N.dds new file mode 100644 index 000000000..5a115f805 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Arms_JasperTrout_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_D.dds new file mode 100644 index 000000000..2949e368f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_N.dds new file mode 100644 index 000000000..3618181e9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_SRXO.dds new file mode 100644 index 000000000..c63ab05e9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Adult_M_Head_GeorgeOsric_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Blank2_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Blank2_MSK.dds new file mode 100644 index 000000000..fe1e4ee12 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Blank2_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Blank_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Blank_N.dds new file mode 100644 index 000000000..3f1a18ef1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Blank_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_Decay2_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_Decay2_D.dds new file mode 100644 index 000000000..602735444 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_Decay2_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_M_Hair_GeorgeOsric_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_M_Hair_GeorgeOsric_DAO_MSK.dds new file mode 100644 index 000000000..76f803402 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_M_Hair_GeorgeOsric_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_M_Hair_GeorgeOsric_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_M_Hair_GeorgeOsric_THV_MSK.dds new file mode 100644 index 000000000..a6288d230 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_HUM_M_Hair_GeorgeOsric_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_D.dds new file mode 100644 index 000000000..d75557618 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_MRO.dds new file mode 100644 index 000000000..664d4657b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_N.dds new file mode 100644 index 000000000..7b63f46b9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/T_Professor_GeorgeOsric_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/VFX_T_PluralSight_Dust_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/VFX_T_PluralSight_Dust_D.dds new file mode 100644 index 000000000..05ca25f6b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GeorgeOsric/VFX_T_PluralSight_Dust_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.xml index b1a8459aa..41dace815 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.xml @@ -1,5 +1,5 @@ - + @@ -144,7 +144,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.xml index fdefae55a..9ba641dbd 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.xml @@ -87,7 +87,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.xml index d2fe87dfd..d7f49c880 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.xml @@ -1,6 +1,6 @@ - + @@ -155,7 +155,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.xml index ae9ff304f..9883e7257 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.xml @@ -1,6 +1,6 @@ - + @@ -184,7 +184,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin new file mode 100644 index 000000000..d7a3ff1c7 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9303673c5394730795152c520acb5b69137b4a75658db0066fbff868224e60e0 +size 6344060 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.fbx new file mode 100644 index 000000000..83fb5e937 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0d65c351bc29e91a37536521aa5e398e88bbc8168c21bccf380b9a6156bc1ef +size 2871164 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.xml new file mode 100644 index 000000000..cb886a8e6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.xml @@ -0,0 +1,282 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai_Anim.bin new file mode 100644 index 000000000..7e5624c79 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3e85a622a28f89aa602fa0d1d9ca114c31892c874319fb087427fdb0da8bf3c +size 24796372 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai_Anim.fbx new file mode 100644 index 000000000..f120a88c6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a26ee8dfca61972cc5f0cc8f0678c608184d5434b66d4be0f83c7c6c2366ce95 +size 20529580 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_D.dds new file mode 100644 index 000000000..4d5e7a9d7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_MROS.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_MROS.dds new file mode 100644 index 000000000..afb4322e8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_MROS.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_N.dds new file mode 100644 index 000000000..f72ecb8d7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Adult_F_clothes_Bakes_onai_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_HUM_F_Hair_StuHair23_AfroWrap_DFOA_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_HUM_F_Hair_StuHair23_AfroWrap_DFOA_MSK.dds new file mode 100644 index 000000000..f5df3f029 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_HUM_F_Hair_StuHair23_AfroWrap_DFOA_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_HUM_F_Hair_StuHair23_AfroWrap_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_HUM_F_Hair_StuHair23_AfroWrap_THV_MSK.dds new file mode 100644 index 000000000..03e13f19e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_HUM_F_Hair_StuHair23_AfroWrap_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_D.dds new file mode 100644 index 000000000..e1e2ee7d8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_N.dds new file mode 100644 index 000000000..ae28a4ac6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_SRXO.dds new file mode 100644 index 000000000..6f4f8f37e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MudiwaOnai/T_Professor_AF_MudiwaOnai_head_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.xml index 9b882f55e..aa02c7caf 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.xml @@ -30,7 +30,7 @@ - + @@ -185,7 +185,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml index 815d2a167..a3f031e15 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml @@ -1,5 +1,5 @@ - + @@ -207,7 +207,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.xml index 1637b60bc..6134a7c8b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.xml @@ -28,7 +28,7 @@ - + @@ -173,7 +173,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.bin index 401c670b0..a4c4758f5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:19fe722384b732f55bddc9ac5d09f0d50c2a81c76bd7b8c580378f6fa077ca92 -size 10364804 +oid sha256:87c758a2826671b83278e10f317fa5da1f6d9e5f95d18a354e0462b434dd003c +size 10396801 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx index bb404edba..426160853 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:32213c93d4cc6a61dd1bfcdb4193bfa76ddb1df6446e1ab1dfeab4d5ff522efd -size 5730924 +oid sha256:01136f9f94eb8740cca6eab949a12b71aafcf8a3c8d095c24d000151702e538e +size 5782684 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.bin index 188c4c219..ac0f24504 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f5bcb7334ffe4bc141c7dac961c6b4b34c5c65ad091dc77e51120d5ae1fd1f66 -size 10732279 +oid sha256:0e6e8d353a7023d1d869027065bae2628265461835b7a165e390a2ccef2b8ef8 +size 10770337 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx index 1b271d937..9be5039ec 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91f5d61f3bf321945e5c6b0bdf94afc0456cb2a7100cc4a8f846480af8e925cd -size 6356780 +oid sha256:8fc5792af9353309a5791d793b869418fc4cb5c8d03d2e21b241cda92d93e235 +size 6579084 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.bin index 87e386e1e..fd9b2e2d0 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d6603be4f8c20ac9d35068a179b14d328d2e3ed8606cbbe4ff485ee20860c0e8 -size 171707390 +oid sha256:9f284800b9984ead6d6492da61715e4b4614da55252049f8afc4ff2a73d634b2 +size 172156085 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx index a9917c355..4290f0588 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a4b060e3740116655157dcef4e1c24be46ef19e135bee51f1f226c8e67f92553 -size 483257372 +oid sha256:04af77e6fd573fb448d78a4afccd218b9940479fcaef46e375499a3374a4c326 +size 496538684 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.bin index d0c17e284..4daef16ff 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1d7c2c35f74162db556b2ffc41430330758f2663ff74789a9df08228ed384de7 -size 23075473 +oid sha256:00dd067d5e97d20be5f8e0fbe544ba7018305af8f6b7192a5bbacc1453d37450 +size 23190066 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx index 16f03d476..90c7123a8 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0ad3ae0879799efcc14fb85e27aadb253deb42262d583646d59e96e0e4971891 -size 56931356 +oid sha256:546136e613a6efd35ab9db1e22a97373147f20f3b4831ca2ef8a869b94084afa +size 58621516 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.bin index 4cfeee79b..6445f6267 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d11392338e9b08f59daf4a89c6314c909324db9b8cd12eed44b9d54f0f38024a -size 69331867 +oid sha256:2265a7cb220bc45acf8bec67f8eb3855d48d4a71260f6866277bd93b286286f5 +size 69510580 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx index a6552e63f..a0caadcf2 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3852584ae91ce78b9c3299e91ea1639afa69ce3fddb78fa301aec277ecdfd796 -size 182598812 +oid sha256:46bb4f14c6166fcb966998ab1688f933776a5c0bed07bd6278a0f7c3d1f9f5fb +size 187629004 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.bin index 04d63a307..07b783c00 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5530b986c6bd101b5e3eda8eb5631594b07a071886f7708b69494730193fd8de -size 10807972 +oid sha256:fc989ee8bef63e3c178ea47dc22742580f0a43c254e3bb0328e2e60a4dc66275 +size 10839386 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx index f087a226a..a6a50a1ed 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8a95ec0fd1c0b1991083fd21c0fb2a87d6126400acde22ef97a6df438b1c5d3c -size 6401564 +oid sha256:424e5eb5fdf67d1e9ab6d26a22daf433c490ebef787013e31ef934621dc9378f +size 6622524 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.bin index 48ab10d3d..864a8893d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ff865f8dceb4baf57465631ea28be92f8729068435d4eec8acef1b74968d1b21 -size 10798323 +oid sha256:4d05b034196df340038c767a70317f3a4391c913a9f5c10518c1da3963f1ceb6 +size 10837383 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx index d1fcd8c1b..057cbb1b4 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d57c7dd2a5a50ab101b390c05715319737e5fff3548684d7c652556e12be1e4 -size 7602204 +oid sha256:ae3c437a5201ddb26c276d6f278bd1d5e8e627240766b1761ed68d762a921aa8 +size 7862876 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.bin index d005baddb..33eaa83ba 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cf4c2fc354b8fe220a85cf2a4766aca198966d2afe06b99ea15b60520b3d600d -size 11563567 +oid sha256:cd9ef6d0085b5b5aa114f93658bd677b2f6e63166c7040a8b0f41d590fd1d598 +size 11599528 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx index 17ee917fe..53d4ae88d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9344cd73993ca5a9979005e4a2d6602afd495ce1a665b6693807ffc8288891bb -size 10960124 +oid sha256:d09ce4044856db084f1c27d202ce2ef8ec39caab390090c39cfea58682335f5e +size 11317660 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.bin index d3c6afa9c..6d3d26444 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fed83d790ce5ec13ed5cf7acd245ac38b3a86658e52c72d7c8d3424d86d500f7 -size 60651350 +oid sha256:0c2b15b19dbd5e9cac30f8dd7a0503697fefb8ba7670a0517fa76a92f1e39dd9 +size 60872730 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx index e8fc6d273..d334a4453 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c15071ebf86e8c4688d6f252de7b50487cb1454bc5e7ca5231334ac0d5546d64 -size 157682572 +oid sha256:97b6f3b412d2efaee517a4957e733bd10fa4ec2cce0cfc2ab7849f189cac1ab4 +size 162112268 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.bin index 3f55b79df..78b0c122c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1d369879ae3846d1bb1779818b025a714b9412cb4a7faaa238c6b862f7bdd0ec -size 19489076 +oid sha256:c014c7879bd0bf784b52c41103c914e36ccd342a19fe774d14a76db339b10406 +size 19553373 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx index 8e0194c1e..fdeecd83d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:068105d25b85bbd235d0be09005cfa7d4a2938571965019ad3459dcaa3133360 -size 41111868 +oid sha256:9a0f699ca4bd2b3fc8fe6fa488eb603e57571dcb997d415e3773959bcff3c376 +size 42318204 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.bin index 8173f74c8..8e2669fc2 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:97a3468fa1372811a36391ffece957b786dcf633ec84b6bb1ded222e89bca6d9 -size 15496127 +oid sha256:7cd902991cc0e07a13d661ff082063c4d91d05558745e22fd55b6236534657ce +size 15532953 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx index 4f53e5320..cd212311b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7c57f4192cd1cc660c7975d3d0c2e73680f55257a48c3d6ef6965e3290b19c0e -size 13271484 +oid sha256:0c6ea3057be2b0b2b79a9f68b04a50c57d2aafd511248eb5f45fbcacae41bf94 +size 13646412 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.bin index f3654b2ae..6f211a32d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e6cdba1d2a122702abe7704d60fe38a1fed7d33020713ad0478ca5374681651d -size 12209325 +oid sha256:16a8a368648f0a2a465e60be2594f116a9e5c8fd66756f68472f2da90518953b +size 12244771 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx index a2146657d..bd8c2f8b9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dfdb7b6f61c64274ea30443d94497b20db204a7c9e82154980154b16af194e6d -size 9383916 +oid sha256:4d1815739ab986871b4e43dc9a93594acebd8734f3cb0d18f58ea598e0322479 +size 9683692 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin new file mode 100644 index 000000000..8779cd5a1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32b51f41874a6648ba4d389840709175a6bfbc04152d800abb743fc4a6689e03 +size 13829790 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx new file mode 100644 index 000000000..f88a088c2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ce6d6d9c175b7711f49a87c50e3e16bce60ee524ea04254a7fee76b8054f5bd +size 7854460 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/Female01.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/Female01.fbx new file mode 100644 index 000000000..98fbb02b8 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/Female01.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0b5e33928ae4072c6dc1dafd7d1034c18600591839da84c2ecab3757e4418b6 +size 36510876 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/male01.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/male01.fbx new file mode 100644 index 000000000..28682a24e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/male01.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f9c508279da4a3fcaac901b784f3ab70655e9bcd9a941df0fa5c064a1c37f8c +size 49008684 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin index c3a633e78..00406df54 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a7d1e09cadbb9b893154e11dae7e8a4dbd6519c294fbca956cf2ba11fdfe4ed5 -size 5154246 +oid sha256:66743ee440af5a10d0e74ff2203efa4f08514f6b19869fcc133869f568af7b8e +size 5163586 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx index 866d6ed22..fac6a610d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:62c113acb5e15bab839185ad00acf6ede4587fcf44874078ce738d0475fec203 -size 2138700 +oid sha256:6afe140b1bd18e24b74e3631ffa881cfbcd1036fc83fd3e4d49fc5cf76206338 +size 2268364 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.xml index d24083c9d..6934e9717 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.xml @@ -173,7 +173,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin index 19074fb85..bc4eff994 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aafe6c653fd8c4be89928fd725687e9939deacddbdc59f26c8a92a3e6a2251c8 -size 41873230 +oid sha256:7f0aec44a3dbeafab4cbbd655e2f193d1159aa57843d86f7eadb702358032237 +size 43489033 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx index 3dc740612..d9a512f66 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2f4ac561f8c038b1e1a3697288135c24cdc8e954fd24a396c5836c36135f9206 -size 123683036 +oid sha256:cecb0a62fb33d988795f4369738633dc14988ebcd87ad85fb724fc462efe3327 +size 136112332 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin new file mode 100644 index 000000000..4c50849ef --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:290de4b9a47b9e07596a092531280c77548e4c6ab8bae2564a976b6338f6daa9 +size 16281507 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx new file mode 100644 index 000000000..3a854e1cf --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fa4bf2c5c8aff70c37b8a113812c4b040b2b7a3664700f5d7024358612eb2be +size 4519836 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin new file mode 100644 index 000000000..225163d5c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e9bbdda1c31a9c50eeb35cf70cbaf040ad411b59b8ed56563893d65801d0459 +size 2294821 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.fbx new file mode 100644 index 000000000..45a083605 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8c43a85550cc7b956c51212013499a7d555da21e20ca7ff199739809edda88f +size 3453196 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.xml new file mode 100644 index 000000000..dc5c289b2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_D.dds new file mode 100644 index 000000000..54452b679 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_MRO.dds new file mode 100644 index 000000000..00eda7f9c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_N.dds new file mode 100644 index 000000000..6e6b8abae Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_Bristles_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_D.dds new file mode 100644 index 000000000..9ad7e3d5b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_MRO.dds new file mode 100644 index 000000000..37ee4f233 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_N.dds new file mode 100644 index 000000000..747e363b0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/DarkWizardBroom/T_DarkWizard_Broom_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_D.dds new file mode 100644 index 000000000..67af6cc49 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_E.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_E.dds new file mode 100644 index 000000000..6ea84f3e9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_E.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_MRO.dds new file mode 100644 index 000000000..22272565d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_N.dds new file mode 100644 index 000000000..a82f781c8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/T_WildFire_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.bin new file mode 100644 index 000000000..d859938af --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7dd683a5f80170ec9cb2596d87da24ce6abbc2fb018940a6138f970a96913dca +size 1292080 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.fbx new file mode 100644 index 000000000..3639914c4 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:345d57bbb7abb6a606b349fcd40f4b6627814943e96adca8cddb4daff2c9b6ea +size 3230348 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.xml new file mode 100644 index 000000000..47457c45c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin new file mode 100644 index 000000000..5e3c63885 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef3ac2202757e81a8a8a89c4a032326fdb9fad7cc3f7b4e64abd6b71e82fe0b1 +size 134860 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx new file mode 100644 index 000000000..4b09a75d1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c1932284b28eaec10dc58e31f142665a4b19eee9af9392ce438495264e36128 +size 143068 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl index 74a75f3aa..ad6342569 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl @@ -200,13 +200,13 @@ VS_OUT VS_MAIN_LEGACY(VS_IN In) float sumW = max(dot(w, 1.0f), 1e-6f); w /= sumW; - //uint4 idx = In.vBlendIndex; - - //matrix BoneMatrix = (matrix) 0; - //matrix TempBoneMatrix = (matrix) 0; + uint4 idx = In.vBlendIndex; - //uint MinIdx = 30; - //uint MaxIdx = 41; + matrix BoneMatrix = (matrix) 0; + matrix TempBoneMatrix = (matrix) 0; + + int MinIdx = 30; + int MaxIdx = 45; //if (idx.x >= MinIdx && idx.x <= MaxIdx) //{ @@ -251,7 +251,7 @@ VS_OUT VS_MAIN_LEGACY(VS_IN In) //BoneMatrix = TempBoneMatrix; - matrix BoneMatrix = + BoneMatrix = mul(g_OffsetMatrix[In.vBlendIndex.x], mul(g_BoneBuffer[In.vBlendIndex.x].LocalCombined, w.x)) + mul(g_OffsetMatrix[In.vBlendIndex.y], diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl index 1e9ca52f2..3185f6d30 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl @@ -1852,7 +1852,7 @@ technique11 DefaultTechnique { SetRasterizerState(RS_Nocull); SetDepthStencilState(DSS_Effect, 0); - SetBlendState(BS_WB_Acc, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN(); PixelShader = compile ps_5_0 PS_DECAL_WB(); diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj index b39779bd1..024daad13 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj @@ -215,6 +215,9 @@ call Update_Shaders.bat + + + @@ -488,6 +491,9 @@ call Update_Shaders.bat + + + diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters index 8b296e780..5de131f8a 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters @@ -745,6 +745,15 @@ {d276d751-77aa-423e-9499-c63875e36266} + + {ea60b62d-1df5-41d7-aa0f-74ec9f454443} + + + {7210d8cd-a5b8-48bd-a45e-52992dfe3557} + + + {614e67ae-6df9-4826-adbe-6be96f54041d} + {906987cf-14ce-4676-8ca7-a68b6b2c29b6} @@ -1521,6 +1530,15 @@ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Big_Hit + + 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Land + + + 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Rush + + + 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\GroundPulse + @@ -2299,6 +2317,15 @@ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Nomal_Hit + + 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Land + + + 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Rush + + + 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\GroundPulse + diff --git a/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp b/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp index e810017f8..dc5bfba96 100644 --- a/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp +++ b/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp @@ -27,6 +27,7 @@ HRESULT CDummy_Cube::Initialize(void* pArg) if (FAILED(Ready_Components(pArg))) return E_FAIL; + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 195.f, 1.f)); return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Dummy_Plane.cpp b/Jusin154_Team3D/Editor/Private/Dummy_Plane.cpp index b0edf9b69..15dcfb043 100644 --- a/Jusin154_Team3D/Editor/Private/Dummy_Plane.cpp +++ b/Jusin154_Team3D/Editor/Private/Dummy_Plane.cpp @@ -27,7 +27,7 @@ HRESULT CDummy_Plane::Initialize(void* pArg) if (FAILED(Ready_Components(pArg))) return E_FAIL; - m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -5.f, 0.f, 1.f)); + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -12.f, 195.f, 1.f)); return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/EditEffect.cpp b/Jusin154_Team3D/Editor/Private/EditEffect.cpp index 83466cf4f..7c2bd3efa 100644 --- a/Jusin154_Team3D/Editor/Private/EditEffect.cpp +++ b/Jusin154_Team3D/Editor/Private/EditEffect.cpp @@ -452,7 +452,7 @@ void CEditEffect::Describe_Entity() //여기서 모델, 텍스쳐, 선택할 수 있도록 함 const char* pLerp[] = { "Linear" , "EaseInQuad", "EaseOutQuad", "EaseInCubic" , "EaseOutCubic" , "EaseInOutSin" , "EaseInBack" , "Expo" , "Circle" }; - const char* pRenderNames[] = { "PRIORITY" , "SHADOW_NEAR", "NONBLEND", "DECAL", "BLUR" , "NONLIGHT" ,"EFFECT", "BLEND" ,"BLOOM", "DISTORTION", "BULR_MESH" , "UI", "OCCLUSION" , "SHADOW_MIDDLE" , "PRESHADOW" , "UI_OVERLAY"}; + const char* pRenderNames[] = { "PRIORITY" , "SHADOW_NEAR", "NONBLEND", "DECAL", "BLUR" , "NONLIGHT" ,"EFFECT", "BLEND" ,"BLOOM", "DISTORTION", "BULR_MESH", "UI", "OCCLUSION" , "SHADOW_MIDDLE" , "PRESHADOW" , "UI_OVERLAY", "EFFECT_NONBLEND" }; const char* pEffectType[] = { "EFFECT" , "TRAIL" }; const char* pShaderPass[] = { "DEFAULT" , "NON_NOMALMAP" , "BLUR" , "WEIGHTBLEND" , "NON_WORLD" , "NON_WORLD_BLUR", "BLEND", "BLEND_NOWORLD", "BLOOM" ,"BLOOM_NOWORLD" ,"BLUR_NO_EMMISVE", diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp index 9b9f36eea..33517ec77 100644 --- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp @@ -28,7 +28,9 @@ #include "Ranrok_Charge.h" #include "Ranrok_Hit.h" #include "Ranrok_Impact.h" - +#include "Ranrok_Land.h" +#include "Ranrok_Rush_Bottom.h" +#include "Ranrok_GroundPulse.h" CEffectPool::CEffectPool(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CGameObject(pDevice, pContext) @@ -385,6 +387,34 @@ HRESULT CEffectPool::Ready_MonsterEffect() return pEffect; } ))) return E_FAIL; + if (FAILED(Create_Effect(SKILL_TYPE::RANROK_LAND, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { + + CRanrok_Land* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + ))) return E_FAIL; + + if (FAILED(Create_Effect(SKILL_TYPE::RANROK_RUSH_BOTTOM, 10, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { + + CRanrok_Rush_Bottom* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + ))) return E_FAIL; + + + if (FAILED(Create_Effect(SKILL_TYPE::RANROK_GROUNDPULSE, 10, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { + + CRanrok_GroundPulse* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + ))) return E_FAIL; + return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp index e41ea8c6f..e3518b164 100644 --- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp @@ -83,6 +83,11 @@ HRESULT CLevel_EffectViewer::Initialize() return E_FAIL; } + // if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(NEXT_LEVEL, NEXT_LEVEL, TEXT("Layer_Plane")))) //플레이어보다 먼저 생성해야함! + //{ + // return E_FAIL; + //} + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster")))) // return E_FAIL; @@ -99,6 +104,7 @@ HRESULT CLevel_EffectViewer::Initialize() //ZeroMemory(&m_PlaneData, sizeof(m_PlaneData)); //m_PlaneData.eKind = PHYSX_KIND::BODY_STATIC; //m_PlaneData.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + //m_pGameInstance->Add_Editor_Plane(m_PlaneData); diff --git a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp index 7c2d32df5..05ea5f8be 100644 --- a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp @@ -771,8 +771,8 @@ HRESULT CLevel_ObjectViewer::Ready_Layer_Dummy(const _wstring& strLayerTag) return E_FAIL; } - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, nullptr, nullptr, &m_Test))) - return E_FAIL; + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, nullptr, nullptr, &m_Test))) + // return E_FAIL; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CUBE))) return E_FAIL; diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index 95d1cfca6..e2b9af065 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -221,6 +221,9 @@ #include "Ranrok_Charge.h" #include "Ranrok_Hit.h" #include "Ranrok_Impact.h" +#include "Ranrok_Land.h" +#include "Ranrok_Rush_Bottom.h" +#include "Ranrok_GroundPulse.h" #pragma endregion #pragma region PHYSX_HEADER @@ -1963,6 +1966,18 @@ HRESULT CLoader::Loading_For_Effect() return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_Land::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_Rush_Bottom::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_GroundPulse::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } + /* For.Prototype_GameObject_Wand */ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CWand::Create(m_pDevice, m_pContext)))) return E_FAIL; diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index 3d270c958..975ecf091 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -79,45 +79,66 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model") ));*/ + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_Playable_Model") + )); + + #pragma region MONSTER - futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_GoblinMage_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_GoblinMage_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_SK_GOB_M_Assassin_Master_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_SK_GOB_M_Assassin_Master_Model") + //)); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + // return E_FAIL; - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(), - TEXT("Prototype_Component_troll_Model") - )); + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Playable_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + // return E_FAIL; + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(), + // TEXT("Prototype_Component_troll_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin", XMMatrixIdentity(), + // TEXT("Prototype_Component_trsoll_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin", XMMatrixIdentity(), + // TEXT("Prototype_Component_trsoll_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_ConjuredDragon_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_ConjuredDragon_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Professor_EleazarFig_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Professor_EleazarFig_Model") + //)); #pragma endregion +#pragma region ITEM futures.emplace_back(Deferred_ModelLoad( MODEL::ANIM, "../Bin/Resources/Models/Object/Troll_Weapon/Troll_Weapon.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(), TEXT("Prototype_Component_Troll_Weapon_Model") @@ -138,20 +159,32 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_Dagger_Model") )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Human/Npc/Npc.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Npc_Model") - )); - futures.emplace_back(Deferred_ModelLoad( MODEL::ANIM, "../Bin/Resources/Models/Object/Wand/Wand.bin", XMMatrixIdentity(), TEXT("Prototype_Component_Wand_Model") )); futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Broom_Model") )); + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/MoonTrimmerBroom/SK_MoonTrimmerBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(), + TEXT("Prototype_Component_SK_MoonTrimmerBroom_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/DarkWizardBroom/DarkWizardBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(), + TEXT("Prototype_Component_DarkWizardBroom_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/WildFireBroom/WildFireBroom.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(), + TEXT("Prototype_Component_WildFireBroom_Model") + )); + +#pragma endregion + futures.emplace_back(Deferred_ModelLoad( MODEL::ANIM, "../Bin/Resources/Models/Object/Reparo_Object/VFX_SK_OLI_TrollFight_BlockerA.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), @@ -172,10 +205,12 @@ HRESULT CLoader::Loading_For_ObjectViewer() MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixIdentity(), TEXT("Desc_Box") )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixIdentity(), - TEXT("Prototype_Component_GerboldOlivander_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixIdentity(), + // TEXT("Prototype_Component_GerboldOlivander_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity(), @@ -192,88 +227,137 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_Camera_DSModel") //)); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_CCL_CameraRig.001_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/CCL_CameraRig.001.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Camera_dsModel") + //)); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Camera_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity())))) - return E_FAIL; + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_CCL_CameraRig.001_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/CCL_CameraRig.001.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + // return E_FAIL; - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Playable_Model") - )); + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Camera_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity())))) + // return E_FAIL; - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_MatildaWeasely_Model") - )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_SatyavatiShah_Model") - )); +#pragma region NPC - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_PhineasBlack_Model") - )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_ChiyoKogawa_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/Npc/Npc.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Npc_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Ghost_Peeves_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Professor_EleazarFig_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_M_Student_Model") - )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_F_Student_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_GerboldOlivander_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Elf_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/VictorRookWood/VictorRookWood.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_VictorRookWood_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); + +#pragma region NPC + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Professor_EleazarFig_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_MatildaWeasely_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_SatyavatiShah_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_PhineasBlack_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_ChiyoKogawa_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Ghost_Peeves_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_M_Student_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_F_Student_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Elf_Model") + //)); //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx", XMMatrixIdentity(), + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Cmbt_Model") + //)); + + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_Student_Cmbt_Model") //)); //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Student_Cmbt_Model") + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Elf_Model") //)); //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Student_Cmbt_Model") + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Kitchen_Female/Kitchen_Female.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Kitchen_Female_Model") + //)); + // + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/BaiHowin/BaiHowin.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_BaiHowin_Model") //)); //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Student_Cmbt_Model") + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GeorgeOsric/GeorgeOsric.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_GeorgeOsric_Model") + //)); + + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/DinahHecat/DinahHecat.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_DinahHecat_Model") //)); //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Student_Cmbt_Model") + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MudiwaOnai/MudiwaOnai.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_MudiwaOnai_Model") //)); - //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Student_Cmbt_Model") - //)); //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx", XMMatrixIdentity(), @@ -290,10 +374,11 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_Student_Cmbt_Model") //)); - /*futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx", XMMatrixIdentity(), - TEXT("Prototype_Component_Student_Cmbt_Model") - ));*/ + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Cmbt_Model") + //)); +#pragma endregion for (auto& job : futures) { pair<_wstring, CModel*>* pResult = job.get(); diff --git a/Jusin154_Team3D/Editor/Private/Ranrok.cpp b/Jusin154_Team3D/Editor/Private/Ranrok.cpp index eb75e816b..2c103f372 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok.cpp @@ -71,12 +71,20 @@ HRESULT CRanrok::Initialize(void* pArg) m_pCharacter_Controller->Set_Position(XMVectorSet(3.f, -75.f, -15.f, 1.f)); m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(3.f, -75.f, -15.f, 1.f)); +#if 진우 + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -11.f, 195.f, 1.f)); + m_pCharacter_Controller->Set_Position(XMVectorSet(0.f, -11.f, 195.f, 1.f)); + + m_vCCTPos = _float3(0.f, -10.f, 195.f); + m_pCharacter_Controller->SetGravity(false); +#endif + Load_RanrokPos("../Bin/Resources/Data/RanrokPos/RanrokPos.xml"); return S_OK; } -void CRanrok::Priority_Update(_float fTimeDelta) +void CRanrok::Priority_Update(_float fTimeDelta) { __super::Priority_Update(fTimeDelta); } @@ -310,8 +318,8 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) break; } - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionDesc->vWorldPos); - m_fHp -= 1.f; + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_HIT, this, &CollisionDesc->vWorldPos); + //m_fHp -= 5.f; } else { @@ -320,29 +328,55 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) CMapElement_Interactable* pProps = dynamic_cast(pOther); } + pair<_uint, _bool> pairAnimInfo = {}; if (Get_HpRatio() == 0.85f) { - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this); + pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2]; - m_pFSM->Change_State(FSMSTATE::TUCKED); + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionDesc->vWorldPos); + + Add_Event(pairAnimInfo.first, + [&]() {}, + 0.25f); + Add_Event(pairAnimInfo.first, + [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, + 0.55f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } else if (Get_HpRatio() == 0.7f) { - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this); + pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2]; - m_pFSM->Change_State(FSMSTATE::TUCKED); + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionDesc->vWorldPos); + + Add_Event(pairAnimInfo.first, + [&]() { }, + 0.25f); + Add_Event(pairAnimInfo.first, + [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, + 0.55f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } else if (Get_HpRatio() == 0.5f) { - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this); - + pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2]; m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND); - m_pFSM->Change_State(FSMSTATE::TUCKED); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionDesc->vWorldPos); + + Add_Event(pairAnimInfo.first, + [&]() {}, + 0.25f); + Add_Event(pairAnimInfo.first, + [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, + 0.55f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } + m_pFSM->Change_State(FSMSTATE::HIT); } @@ -861,24 +895,15 @@ void CRanrok::Describe_Entity() GUI::TreePop(); } - } - -#ifdef gimch - - if (m_pGameInstance->Key_Down(DIK_L)) + } + if (GUI::DragFloat3("Change CCT Pos" , (_float*)& m_vCCTPos)) { - _float3 vPos; - if (m_pGameInstance->isPicking(&vPos)) - { - m_pCharacter_Controller->Set_Position(XMVectorSetW(XMLoadFloat3(&vPos), 1.f)); - } + _vector vPos = XMLoadFloat3(&m_vCCTPos); + + vPos = XMVectorSetW(vPos , 1.f); + m_pCharacter_Controller->Set_Position(vPos); } -#endif // - - m_pTransformCom->Describe_Entity(); - - } #endif // _DEBUG diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Breath.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Breath.cpp index 3f4a53017..076342b14 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok_Breath.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok_Breath.cpp @@ -6,6 +6,7 @@ #include "Wand.h" #include "Player.h" #include "InfoInstance.h" +#include "Ranrok.h" CRanrok_Breath::CRanrok_Breath(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CEffect_Container{ pDevice, pContext } @@ -46,11 +47,13 @@ HRESULT CRanrok_Breath::Initialize(void* pArg) m_pBreath_Black = Get_PartObject("Breath_Black"); m_pBreathSlog = Get_PartObject("BreathSlog"); m_pMouthFire = Get_PartObject("MouthFire"); + m_pLand_Decal = Get_PartObject("Land_Decal"); SAFE_ADDREF(m_pBreath); SAFE_ADDREF(m_pBreath_Black); SAFE_ADDREF(m_pBreathSlog); SAFE_ADDREF(m_pMouthFire); + SAFE_ADDREF(m_pLand_Decal); m_fDuration = 5.f; @@ -128,9 +131,9 @@ HRESULT CRanrok_Breath::Pre_Setting(CGameObject* pObject, void* pArg) /* 브레스 시간 제어 */ - _float fBreathTime = *static_cast<_float*>(pArg); + BREATH_INFO BreathDesc = *static_cast(pArg); - Set_BreathTime(fBreathTime); + Set_BreathTime(BreathDesc.fTime); /* 초기 객체 비지블*/ @@ -178,6 +181,35 @@ HRESULT CRanrok_Breath::Pre_Setting(CGameObject* pObject, void* pArg) m_isParticleEnd = false; m_isStartRayCast = false; + + + + /* 바닥 페이즈 일때*/ + + if (static_cast(BreathDesc.iPase) == CRanrok::RANROK_PHASE::PHASE_GROUND) + { + m_pLand_Decal->Set_Visible(true); + + _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first; + + if (pPlayer == nullptr) + return E_FAIL; + + _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition(); + + XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos); + + _vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos)); + + m_pLand_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + + m_pLand_Decal->Get_Component()->Set_Loop(true); + } + + + + return S_OK; } @@ -270,6 +302,7 @@ void CRanrok_Breath::Set_BreathTime(_float fTime) m_pBreathSlog->Set_Visible(false); + m_pLand_Decal->Get_Component()->Set_Loop(false); }); m_Events.emplace(fTime + 0.5f, [&]() { @@ -302,7 +335,7 @@ void CRanrok_Breath::Free() SAFE_RELEASE(m_pBreath_Black); SAFE_RELEASE(m_pBreathSlog); SAFE_RELEASE(m_pMouthFire); - + SAFE_RELEASE(m_pLand_Decal); //SAFE_RELEASE(m_pFireBall_Tail); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_GroundPulse.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_GroundPulse.cpp new file mode 100644 index 000000000..e066865f9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/Ranrok_GroundPulse.cpp @@ -0,0 +1,204 @@ +#include "pch.h" +#include "Ranrok_GroundPulse.h" + +#include "GameInstance.h" +#include "EditEffect.h" +#include "Wand.h" +#include "Player.h" +#include "InfoInstance.h" + +CRanrok_GroundPulse::CRanrok_GroundPulse(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CRanrok_GroundPulse::CRanrok_GroundPulse(const CRanrok_GroundPulse& rhs) + : CEffect_Container(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ + SAFE_ADDREF(m_pInfoInstance); +} + +HRESULT CRanrok_GroundPulse::Initialize_Prototype() +{ + + + return S_OK; + +} + +HRESULT CRanrok_GroundPulse::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokGroundPulse"))) + return E_FAIL; + + m_wstrEffectName = L"RanrokGroundPulse"; + + + + m_fDuration = 10.f; + + + return S_OK; +} + +void CRanrok_GroundPulse::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CRanrok_GroundPulse::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + + + +} + +void CRanrok_GroundPulse::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CRanrok_GroundPulse::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + + /* 초기 객체 비지블*/ + + CEditEffect* pBottomDecal = Get_PartObject("Bottom_Decal"); + CEditEffect* pBottomSplatter = Get_PartObject("BottomSplatter"); + CEditEffect* pRed_Sphere = Get_PartObject("Red_Sphere"); + CEditEffect* pRock_PT = Get_PartObject("Rock_PT"); + CEditEffect* pSmoke = Get_PartObject("Smoke"); + + pBottomDecal->Set_Visible(true); + pBottomSplatter->Set_Visible(true); + pRock_PT->Set_Visible(true); + pSmoke->Set_Visible(true); + pRed_Sphere->Set_Visible(true); + + + /* 초기 객체 위치 초기화*/ + + _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + + pRed_Sphere->Get_Component()->Set_WorldMatrix(m_pOwner->Get_Component()->Get_XMWorldMatrix()); + pRed_Sphere->Get_Component()->Set_State(STATE::POSITION, vOwnerPos); + + CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first; + + if (pPlayer == nullptr) + return E_FAIL; + + _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition(); + + XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos); + + _vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos)); + + pBottomDecal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pBottomSplatter->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + + + return S_OK; +} + +HRESULT CRanrok_GroundPulse::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CRanrok_GroundPulse::Ready_Child() +{ + return S_OK; +} + +CRanrok_GroundPulse* CRanrok_GroundPulse::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CRanrok_GroundPulse* pInstance = new CRanrok_GroundPulse(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CRanrok_GroundPulse"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CRanrok_GroundPulse::Clone(void* pArg, CGameObject* pOwner) +{ + CRanrok_GroundPulse* pInstance = new CRanrok_GroundPulse(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CRanrok_GroundPulse"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CRanrok_GroundPulse::OnCollision(CGameObject* pOther, void* pDesc) +{ + if (m_bHit == false) + return; + + ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); + + _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + + +} + +void CRanrok_GroundPulse::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pInfoInstance); + + +} +#ifdef _DEBUG +void CRanrok_GroundPulse::Describe_Entity() +{ + +} +#endif + +HRESULT CRanrok_GroundPulse::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Land.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Land.cpp new file mode 100644 index 000000000..9e825b91e --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/Ranrok_Land.cpp @@ -0,0 +1,199 @@ +#include "pch.h" +#include "Ranrok_Land.h" + +#include "GameInstance.h" +#include "EditEffect.h" +#include "Wand.h" +#include "Player.h" +#include "InfoInstance.h" + +CRanrok_Land::CRanrok_Land(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CRanrok_Land::CRanrok_Land(const CRanrok_Land& rhs) + : CEffect_Container(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ + SAFE_ADDREF(m_pInfoInstance); +} + +HRESULT CRanrok_Land::Initialize_Prototype() +{ + + + return S_OK; + +} + +HRESULT CRanrok_Land::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand"))) + return E_FAIL; + + m_wstrEffectName = L"RanrokLand"; + + + + m_fDuration = 5.f; + + + return S_OK; +} + +void CRanrok_Land::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CRanrok_Land::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + + + +} + +void CRanrok_Land::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CRanrok_Land::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + + /* 초기 객체 비지블*/ + + CEditEffect* pBottom_Decal = Get_PartObject("Bottom_Decal"); + CEditEffect* pRock_PT = Get_PartObject("Rock_PT"); + CEditEffect* pSmoke = Get_PartObject("Smoke"); + + + pBottom_Decal->Set_Visible(true); + pSmoke->Set_Visible(true); + pRock_PT->Set_Visible(true); + + + /* 초기 객체 위치 초기화*/ + + + _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position(); + + + CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first; + + if (pPlayer == nullptr) + return E_FAIL; + + _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition(); + + XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos); + + + _vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos)); + + pBottom_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + + return S_OK; +} + +HRESULT CRanrok_Land::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CRanrok_Land::Ready_Child() +{ + return S_OK; +} + +CRanrok_Land* CRanrok_Land::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CRanrok_Land* pInstance = new CRanrok_Land(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CRanrok_Land"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CRanrok_Land::Clone(void* pArg, CGameObject* pOwner) +{ + CRanrok_Land* pInstance = new CRanrok_Land(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CRanrok_Land"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CRanrok_Land::OnCollision(CGameObject* pOther, void* pDesc) +{ + if (m_bHit == false) + return; + + ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); + + _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + + +} + +void CRanrok_Land::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pInfoInstance); + + +} +#ifdef _DEBUG +void CRanrok_Land::Describe_Entity() +{ + +} +#endif + +HRESULT CRanrok_Land::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Rush_Bottom.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Rush_Bottom.cpp new file mode 100644 index 000000000..13e2be8aa --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/Ranrok_Rush_Bottom.cpp @@ -0,0 +1,199 @@ +#include "pch.h" +#include "Ranrok_Rush_Bottom.h" + +#include "GameInstance.h" +#include "EditEffect.h" +#include "Wand.h" +#include "Player.h" +#include "InfoInstance.h" + +CRanrok_Rush_Bottom::CRanrok_Rush_Bottom(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CRanrok_Rush_Bottom::CRanrok_Rush_Bottom(const CRanrok_Rush_Bottom& rhs) + : CEffect_Container(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ + SAFE_ADDREF(m_pInfoInstance); +} + +HRESULT CRanrok_Rush_Bottom::Initialize_Prototype() +{ + + + return S_OK; + +} + +HRESULT CRanrok_Rush_Bottom::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokRushBottom"))) + return E_FAIL; + + m_wstrEffectName = L"Ranrok_Rush_Bottom"; + + + + m_fDuration = 3.f; + + + return S_OK; +} + +void CRanrok_Rush_Bottom::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CRanrok_Rush_Bottom::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + + + +} + +void CRanrok_Rush_Bottom::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CRanrok_Rush_Bottom::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + + /* 초기 객체 비지블*/ + + CEditEffect* pRush_Decal = Get_PartObject("Rush_Decal"); + CEditEffect* pRock_PT = Get_PartObject("Rock_PT"); + CEditEffect* pSmoke = Get_PartObject("Smoke"); + + + pRush_Decal->Set_Visible(true); + pSmoke->Set_Visible(true); + pRock_PT->Set_Visible(true); + + + /* 초기 객체 위치 초기화*/ + + + _vector vBonePos = XMLoadFloat4(static_cast<_float4*>(pArg)); + + + CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first; + + if (pPlayer == nullptr) + return E_FAIL; + + _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition(); + + XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos); + + + _vector vCompute_Pos = XMVectorSetY(vBonePos, XMVectorGetY(vPlayer_FootPos)); + + pRush_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos); + + return S_OK; +} + +HRESULT CRanrok_Rush_Bottom::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CRanrok_Rush_Bottom::Ready_Child() +{ + return S_OK; +} + +CRanrok_Rush_Bottom* CRanrok_Rush_Bottom::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CRanrok_Rush_Bottom* pInstance = new CRanrok_Rush_Bottom(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CRanrok_Rush_Bottom"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CRanrok_Rush_Bottom::Clone(void* pArg, CGameObject* pOwner) +{ + CRanrok_Rush_Bottom* pInstance = new CRanrok_Rush_Bottom(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CRanrok_Rush_Bottom"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CRanrok_Rush_Bottom::OnCollision(CGameObject* pOther, void* pDesc) +{ + if (m_bHit == false) + return; + + ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); + + _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + + +} + +void CRanrok_Rush_Bottom::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pInfoInstance); + + +} +#ifdef _DEBUG +void CRanrok_Rush_Bottom::Describe_Entity() +{ + +} +#endif + +HRESULT CRanrok_Rush_Bottom::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp index 3136f4636..35c0a2743 100644 --- a/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp +++ b/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp @@ -7,6 +7,7 @@ #include "EffectPool.h" #include "TrailObject.h" #include "EditEffect.h" +#include "Ranrok_Breath.h" #pragma region STATE #include "State_Idle.h" @@ -309,9 +310,12 @@ void CRanrok::Behavior_FireBreathEnter() Add_Event(m_Animation[STATEANIM::FIREBREATH_A].first, [this]() { - _float fBreathTime = 1.f; + CRanrok_Breath::BREATH_INFO BreathDesc; - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this , &fBreathTime); + BreathDesc.fTime = 1.f; + BreathDesc.iPase = ENUM_CLASS(m_ePhase); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this , &BreathDesc); }, 0.1f); @@ -321,9 +325,19 @@ void CRanrok::Behavior_FireBreathEnter() pairAnimInfo = m_Animation[STATEANIM::FIREBREATH_G]; m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::FIREBREATH)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::FIREBREATH)]; - _float fBreathTime = 1.f; + Add_Event(pairAnimInfo.first, + [this]() { - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &fBreathTime); + CRanrok_Breath::BREATH_INFO BreathDesc; + + BreathDesc.fTime = 2.f; + BreathDesc.iPase = ENUM_CLASS(m_ePhase); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &BreathDesc); + + + m_bLookAt = false; + }, 0.2f); } m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } @@ -352,6 +366,7 @@ HRESULT CRanrok::Behavior_FireBreathExitCheck(_float fTimeDelta) void CRanrok::Behavior_FireBreathExit() { m_pFSM->Disable_State(FSMSTATE::FIREBREATH); + m_bLookAt = true; } void CRanrok::Behavior_FireSweepEnter() @@ -380,9 +395,13 @@ void CRanrok::Behavior_FireSweepEnter() Add_Event(m_Animation[STATEANIM::FIRESWEEP_A].first, [this]() { - _float fBreathTime = 3.f; - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &fBreathTime); + CRanrok_Breath::BREATH_INFO BreathDesc; + + BreathDesc.fTime = 2.5f; + BreathDesc.iPase = ENUM_CLASS(m_ePhase); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &BreathDesc); }, 0.08f); } @@ -394,9 +413,14 @@ void CRanrok::Behavior_FireSweepEnter() Add_Event(m_Animation[STATEANIM::FIRESWEEP_G].first, [this]() { - _float fBreathTime = 3.f; + CRanrok_Breath::BREATH_INFO BreathDesc; - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &fBreathTime); + BreathDesc.fTime = 3.f; + BreathDesc.iPase = ENUM_CLASS(m_ePhase); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_BREATH, this, &BreathDesc); + + m_bLookAt = false; }, 0.2f); } m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); @@ -426,6 +450,7 @@ HRESULT CRanrok::Behavior_FireSweepExitCheck(_float fTimeDelta) void CRanrok::Behavior_FireSweepExit() { m_pFSM->Disable_State(FSMSTATE::FIRESWEEP); + m_bLookAt = true; } void CRanrok::Behavior_FireBallEnter() @@ -533,7 +558,7 @@ void CRanrok::Behavior_SwipeEnter() else { pairAnimInfo = m_Animation[STATEANIM::GROUND_SWIPE_R]; }*/ - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.5f); } @@ -588,9 +613,34 @@ void CRanrok::Behavior_RushEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::RUSH); pairAnimInfo = m_Animation[STATEANIM::RUSH_LOOP]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 2.f); m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::RUSH)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::RUSH)]; m_bLookAt = false; + + Add_Event(m_Animation[STATEANIM::RUSH_LOOP].first, + [this]() { + + _matrix LeftBoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("wrist_left_target")) * m_pTransformCom->Get_XMWorldMatrix(); + + _float4 vLeftPos; + XMStoreFloat4(&vLeftPos, LeftBoneMat.r[3]); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_RUSH_BOTTOM, this, &vLeftPos); + + }, 0.5f , true); + + Add_Event(m_Animation[STATEANIM::RUSH_LOOP].first, + [this]() { + + _matrix RightBoneMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("wrist_right_target")) * m_pTransformCom->Get_XMWorldMatrix(); + + _float4 vRightPos; + XMStoreFloat4(&vRightPos, RightBoneMat.r[3]); + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_RUSH_BOTTOM, this, &vRightPos); + + }, 0.8f , true); + } HRESULT CRanrok::Behavior_RushExitCheck(_float fTimeDelta) @@ -610,8 +660,14 @@ HRESULT CRanrok::Behavior_RushExitCheck(_float fTimeDelta) vLook = XMVectorSetY(vLook, 0.f); vLook = XMVector3Normalize(vLook); _vector vPos = m_pCharacter_Controller->Get_Position(); - _vector vNextPos = vPos + vLook * 5.f * fTimeDelta; + _vector vNextPos = vPos + vLook * 10.f * fTimeDelta; m_pCharacter_Controller->Set_Position(vNextPos); + + if (m_pModelCom->IsFinishedAnim()) + { + + } + return S_OK; } @@ -628,6 +684,7 @@ void CRanrok::Behavior_RushExit() m_pFSM->Disable_State(FSMSTATE::RUSH); m_fRushTime = 0.f; m_bLookAt = true; + Reset_Event(); } void CRanrok::Behavior_PulseEnter() @@ -649,11 +706,23 @@ void CRanrok::Behavior_PulseEnter() m_pBottomSmoke->Set_Visible(false); }, 0.f); - Add_Event(pairAnimInfo.first, - [this]() { + if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR)) + { + Add_Event(pairAnimInfo.first, + [this]() { + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_PURSE, this); + }, 0.39f); + } + else + { + Add_Event(pairAnimInfo.first, + [this]() { + + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_GROUNDPULSE, this); + }, 0.39f); + } - m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_PURSE, this); - },0.39f); } HRESULT CRanrok::Behavior_PulseExitCheck(_float fTimeDelta) @@ -748,15 +817,19 @@ void CRanrok::Behavior_LandEnter() { pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::LAND); +#ifndef 진우 m_pCharacter_Controller->SetGravity(true); +#endif m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND); + m_pBottomSmoke->Set_Visible(false); pairAnimInfo = m_Animation[STATEANIM::LAND]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); - /*Add_Event(pairAnimInfo.first, - [this]() { CameraShake(30.f, 5.f, 10.f, 1.2f); }, - 0.53f);*/ + Add_Event(pairAnimInfo.first, + [this]() { + m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_LAND, this); + }, 0.53f); } HRESULT CRanrok::Behavior_LandExitCheck(_float fTimeDelta) diff --git a/Jusin154_Team3D/Editor/Private/TrailObject.cpp b/Jusin154_Team3D/Editor/Private/TrailObject.cpp index cd77a7a02..1b3a91400 100644 --- a/Jusin154_Team3D/Editor/Private/TrailObject.cpp +++ b/Jusin154_Team3D/Editor/Private/TrailObject.cpp @@ -43,10 +43,6 @@ void CTrailObject::Update(_float fTimeDelta) if (m_bVisible == false) return; - - - - /* 디스토션 타임*/ if (m_TrailInfo.vDistortionTime.y != 0) { diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h index 2ac1d2fdf..f6d3488ab 100644 --- a/Jusin154_Team3D/Editor/Public/Editor_Define.h +++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h @@ -67,7 +67,8 @@ namespace Editor JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, STUN, - TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, BLINK, RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_IMPACT , RANROK_HIT, + TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, BLINK, RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_IMPACT , RANROK_HIT, RANROK_LAND, RANROK_RUSH_BOTTOM, + RANROK_GROUNDPULSE, END }; diff --git a/Jusin154_Team3D/Editor/Public/Ranrok.h b/Jusin154_Team3D/Editor/Public/Ranrok.h index fee23aa10..263475517 100644 --- a/Jusin154_Team3D/Editor/Public/Ranrok.h +++ b/Jusin154_Team3D/Editor/Public/Ranrok.h @@ -32,6 +32,7 @@ class CRanrok final : public CMonster END }; +public: enum class RANROK_PHASE { PHASE_AIR, @@ -126,7 +127,7 @@ class CRanrok final : public CMonster _float m_fRushTime = {}; _float m_fTuckedSpeed = { 75.f}; - + _float3 m_vCCTPos = {}; void Behavior_IdleEnter(); HRESULT Behavior_IdleExitCheck(); diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_Breath.h b/Jusin154_Team3D/Editor/Public/Ranrok_Breath.h index dc8a7e008..affa4e799 100644 --- a/Jusin154_Team3D/Editor/Public/Ranrok_Breath.h +++ b/Jusin154_Team3D/Editor/Public/Ranrok_Breath.h @@ -10,6 +10,12 @@ NS_BEGIN(Editor) class CRanrok_Breath final : public CEffect_Container { +public: + typedef struct tagBreathInfo + { + _float fTime; + _int iPase; + }BREATH_INFO; private: CRanrok_Breath(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); CRanrok_Breath(const CRanrok_Breath& rhs); @@ -39,6 +45,7 @@ class CRanrok_Breath final : public CEffect_Container class CEditEffect* m_pBreath_Black = { nullptr }; class CEditEffect* m_pBreathSlog = { nullptr }; class CEditEffect* m_pMouthFire = { nullptr }; + class CEditEffect* m_pLand_Decal = { nullptr }; _float3 m_vLook = {}; _float m_fLinearSpeed = 0.8f; diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_GroundPulse.h b/Jusin154_Team3D/Editor/Public/Ranrok_GroundPulse.h new file mode 100644 index 000000000..498880d4f --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/Ranrok_GroundPulse.h @@ -0,0 +1,55 @@ +#pragma once + +#include "Editor_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Editor) + +class CRanrok_GroundPulse final : public CEffect_Container +{ +private: + CRanrok_GroundPulse(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CRanrok_GroundPulse(const CRanrok_GroundPulse& rhs); + virtual ~CRanrok_GroundPulse() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + + _float3 m_vLook = {}; + _float m_fLinearSpeed = 0.8f; + + _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; + _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; +private: + class CInfoInstance* m_pInfoInstance = { nullptr }; +public: + static CRanrok_GroundPulse* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // DEBUG + + +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_Land.h b/Jusin154_Team3D/Editor/Public/Ranrok_Land.h new file mode 100644 index 000000000..9b622207e --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/Ranrok_Land.h @@ -0,0 +1,58 @@ +#pragma once + +#include "Editor_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Editor) + +class CRanrok_Land final : public CEffect_Container +{ +private: + CRanrok_Land(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CRanrok_Land(const CRanrok_Land& rhs); + virtual ~CRanrok_Land() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + class CEditEffect* m_pGooRod_0 = { nullptr }; + class CEditEffect* m_pSmoke = { nullptr }; + class CEditEffect* m_pSpread_PT = { nullptr }; + + _float3 m_vLook = {}; + _float m_fLinearSpeed = 0.8f; + + _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; + _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; +private: + class CInfoInstance* m_pInfoInstance = { nullptr }; +public: + static CRanrok_Land* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // DEBUG + + +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_Rush_Bottom.h b/Jusin154_Team3D/Editor/Public/Ranrok_Rush_Bottom.h new file mode 100644 index 000000000..bfc5f3774 --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/Ranrok_Rush_Bottom.h @@ -0,0 +1,58 @@ +#pragma once + +#include "Editor_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Editor) + +class CRanrok_Rush_Bottom final : public CEffect_Container +{ +private: + CRanrok_Rush_Bottom(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CRanrok_Rush_Bottom(const CRanrok_Rush_Bottom& rhs); + virtual ~CRanrok_Rush_Bottom() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + class CEditEffect* m_pGooRod_0 = { nullptr }; + class CEditEffect* m_pSmoke = { nullptr }; + class CEditEffect* m_pSpread_PT = { nullptr }; + + _float3 m_vLook = {}; + _float m_fLinearSpeed = 0.8f; + + _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; + _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; +private: + class CInfoInstance* m_pInfoInstance = { nullptr }; +public: + static CRanrok_Rush_Bottom* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // DEBUG + + +}; + +NS_END diff --git a/Jusin154_Team3D/Engine/Private/GameInstance.cpp b/Jusin154_Team3D/Engine/Private/GameInstance.cpp index af361eb18..5969c75a8 100644 --- a/Jusin154_Team3D/Engine/Private/GameInstance.cpp +++ b/Jusin154_Team3D/Engine/Private/GameInstance.cpp @@ -1077,6 +1077,10 @@ PSX::PxD6Joint* CGameInstance::Create_BasicPxD6Joint(PSX::PxRigidDynamic* pActor { return m_pPhysX_Manager->Create_BasicPxD6Joint(pActor0, pActor1, pxJointWorldPos); } +PSX::PxFixedJoint* CGameInstance::Create_BasicPxFixedJoint(PSX::PxRigidDynamic* pActor0, PSX::PxRigidDynamic* pActor1, const PSX::PxTransform& pxJointWorldPos) +{ + return m_pPhysX_Manager->Create_BasicPxFixedJoint(pActor0, pActor0, pxJointWorldPos); +} _bool CGameInstance::SphereCast(_float fRadius, _float3 vStartPos, _float3 vDir, _float fDistance, PSX::PxHitFlags flagHitsData, PSX::PxQueryFlags flagQuery, PSX::PxSweepBuffer& hitBuffer) { return m_pPhysX_Manager->SphereCast(fRadius, vStartPos, vDir, fDistance, flagHitsData, flagQuery, hitBuffer); diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp index 68d580320..acc76256a 100644 --- a/Jusin154_Team3D/Engine/Private/Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Model.cpp @@ -112,6 +112,20 @@ HRESULT CModel::Begin(_uint iMeshIndex, CShader* pShader) return hr; } +_int CModel::Get_UsingPass(_uint iMeshIndex, CShader* pShader) +{ + if (iMeshIndex >= m_iNumMeshes) { + return E_FAIL; + } + + _uint iMaterialIndex = m_Meshes[iMeshIndex]->Get_MaterialIndex(); + + if (iMaterialIndex >= m_iNumMaterials) { + return E_FAIL; + } + return m_Materials[iMaterialIndex]->Get_UsingPass(); +} + HRESULT CModel::Bind_BoneMatrices(_uint iMeshIndex, CShader* pShader, const _char* pConstantName) { if (iMeshIndex >= m_iNumMeshes) { @@ -539,9 +553,15 @@ void CModel::Update_RootBone(_float Amount) XMStoreFloat4(&axis, axisWorld); swap(axis.z, axis.y); - if (m_bRootBone) { - m_pTransform->TurnAngle(axis, angle); + + _float yaw = axis.y * angle; + + if (m_bRootBone) + { + m_pTransform->TurnAngle_Y(yaw); } + + } XMStoreFloat4(&m_vPrevRootRot, qCur); diff --git a/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp b/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp index 50a435252..605dd3997 100644 --- a/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp +++ b/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp @@ -247,6 +247,12 @@ PSX::PxJoint* CPhysX_Manager::Create_PxJoint(PHYSX_JOINT eType, PSX::PxRigidActo pOut = pJoint; } break; + case PHYSX_JOINT::FIXED: + { + PSX::PxFixedJoint* pJoint = PSX::PxFixedJointCreate(*m_pPhysics, pActor0, pxLocalFrame0, pActor1, pxLocalFrame1); + pOut = pJoint; + } + break; default: break; } @@ -276,20 +282,6 @@ PSX::PxD6Joint* CPhysX_Manager::Create_BasicPxD6Joint(PSX::PxRigidDynamic* pActo pActor1->setSolverIterationCounts(4, 1); #endif // 기무리 - pJoint->setMotion(PSX::PxD6Axis::eX, PSX::PxD6Motion::eLOCKED); - pJoint->setMotion(PSX::PxD6Axis::eY, PSX::PxD6Motion::eLOCKED); - pJoint->setMotion(PSX::PxD6Axis::eZ, PSX::PxD6Motion::eLOCKED); - pJoint->setMotion(PSX::PxD6Axis::eTWIST, PSX::PxD6Motion::eLIMITED); - pJoint->setMotion(PSX::PxD6Axis::eSWING1, PSX::PxD6Motion::eLIMITED); - pJoint->setMotion(PSX::PxD6Axis::eSWING2, PSX::PxD6Motion::eLIMITED); - - - pJoint->setTwistLimit(PSX::PxJointAngularLimitPair(-XMConvertToRadians(1.f), XMConvertToRadians(1.f))); // 20도 - pJoint->setSwingLimit(PSX::PxJointLimitCone(XMConvertToRadians(1.f), XMConvertToRadians(1.f))); - - pJoint->setDrive(PSX::PxD6Drive::eSLERP, PSX::PxD6JointDrive(50.0f, 100.0f, FLT_MAX, true)); - pJoint->setDrivePosition(PSX::PxTransform(PSX::PxIdentity)); //생성 시 프레임 기준 - pJoint->setConstraintFlag(PSX::PxConstraintFlag::eVISUALIZATION, true); pJoint->setConstraintFlag(PSX::PxConstraintFlag::eIMPROVED_SLERP, true); pJoint->setConstraintFlag(PSX::PxConstraintFlag::eCOLLISION_ENABLED, false); @@ -298,6 +290,23 @@ PSX::PxD6Joint* CPhysX_Manager::Create_BasicPxD6Joint(PSX::PxRigidDynamic* pActo return pJoint; } +PSX::PxFixedJoint* CPhysX_Manager::Create_BasicPxFixedJoint(PSX::PxRigidDynamic* pActor0, PSX::PxRigidDynamic* pActor1, const PSX::PxTransform& pxJointWorldPos) +{ + const PSX::PxTransform pxWorldParentPos = pActor0->getGlobalPose(); + const PSX::PxTransform pxWorldChildPos = pActor1->getGlobalPose(); + + const PSX::PxTransform pxLocalParentPOs = pxWorldParentPos.transformInv(pxJointWorldPos); + const PSX::PxTransform pxLocalChildPos = pxWorldChildPos.transformInv(pxJointWorldPos); + + PSX::PxFixedJoint* pJoint = PSX::PxFixedJointCreate(*m_pPhysics, pActor0, pxLocalParentPOs, pActor1, pxLocalChildPos); + + pJoint->setConstraintFlag(PSX::PxConstraintFlag::eVISUALIZATION, true); + pJoint->setConstraintFlag(PSX::PxConstraintFlag::eCOLLISION_ENABLED, false); + + pJoint->setBreakForce(1e30f, 1e30f); + return pJoint; +} + PSX::PxMaterial* CPhysX_Manager::Create_Material(const _float3* vMatInfo) { PSX::PxMaterial* pPxMaterial = m_pPhysics->createMaterial(vMatInfo->x, vMatInfo->y, vMatInfo->z); diff --git a/Jusin154_Team3D/Engine/Private/PipeLine.cpp b/Jusin154_Team3D/Engine/Private/PipeLine.cpp index 419af7f40..70572e8a9 100644 --- a/Jusin154_Team3D/Engine/Private/PipeLine.cpp +++ b/Jusin154_Team3D/Engine/Private/PipeLine.cpp @@ -522,6 +522,7 @@ void CPipeLine::Free() __super::Free(); SAFE_RELEASE(m_pDevice); SAFE_RELEASE(m_pContext); + SAFE_RELEASE(m_pPrevDSS); SAFE_RELEASE(m_pDSS_OutLineWrite); SAFE_RELEASE(m_pGameInstance); for (auto& pairSRV : m_mapGlobalSRV) { diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp index 8182c285a..f243454d3 100644 --- a/Jusin154_Team3D/Engine/Private/Renderer.cpp +++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp @@ -11,6 +11,7 @@ void CRenderer::Render() Render_Shadow(); Render_NonBlend(); Render_Decal(); + Render_EffectNonBlend(); Render_SSAO(); Render_SSAO_BLUR(); Render_LightAcc(); @@ -361,6 +362,34 @@ void CRenderer::Render_Decal() m_pGameInstance->Clear_RenderTarget(TEXT("Target_NormalCopy")); } +void CRenderer::Render_EffectNonBlend() +{ + COMPUTE_TIMEDELTA("Timer_Render_EffectNonBlend"); + EVENTSCOPE_("Render_EffectNonBlend"); + m_eType = RENDER::EFFECT_NONBLEND; + + if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_GameObjects")))) { + return; + } + + for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::EFFECT_NONBLEND)]) + { + if (nullptr != pRenderObject) { + if (FAILED(pRenderObject->Render())) { + assert(false); + } + } + + SAFE_RELEASE(pRenderObject); + } + + m_RenderObjects[ENUM_CLASS(RENDER::EFFECT_NONBLEND)].clear(); + if (FAILED(m_pGameInstance->End_MRT())) { + return; + } + COMPUTE_TIMEDELTA("Timer_Render_EffectNonBlend"); +} + void CRenderer::Render_LightAcc() { COMPUTE_TIMEDELTA("Timer_Render_LightAcc"); diff --git a/Jusin154_Team3D/Engine/Private/Transform.cpp b/Jusin154_Team3D/Engine/Private/Transform.cpp index 145b8e9fd..4c1f10a3a 100644 --- a/Jusin154_Team3D/Engine/Private/Transform.cpp +++ b/Jusin154_Team3D/Engine/Private/Transform.cpp @@ -336,6 +336,24 @@ void CTransform::TurnAngle(_float4 vAxis, _float fAngle) Set_State(STATE::LOOK, vLook); } +void CTransform::TurnAngle_Y(_float fAngle) +{ + _vector vRight = Get_State(STATE::RIGHT); + _vector vUp = Get_State(STATE::UP); + _vector vLook = Get_State(STATE::LOOK); + + _matrix TurnMatrix = XMMatrixRotationY(fAngle); + + vRight = XMVector3TransformNormal(vRight, TurnMatrix); + vUp = XMVector3TransformNormal(vUp, TurnMatrix); + vLook = XMVector3TransformNormal(vLook, TurnMatrix); + + Set_State(STATE::RIGHT, vRight); + Set_State(STATE::UP, vUp); + Set_State(STATE::LOOK, vLook); +} + + void CTransform::Rotation(_fvector vAxis, _float fRadian) { diff --git a/Jusin154_Team3D/Engine/Private/Unit.cpp b/Jusin154_Team3D/Engine/Private/Unit.cpp index b6f39e760..6f4e6e37a 100644 --- a/Jusin154_Team3D/Engine/Private/Unit.cpp +++ b/Jusin154_Team3D/Engine/Private/Unit.cpp @@ -139,32 +139,35 @@ HRESULT CUnit::Ready_Components(void *pArg) void CUnit::Play_Event() { - for (auto iter = m_PendingEvents.begin(); iter != m_PendingEvents.end(); ) - { - _float ratio = m_pModelCom->Get_CurrentTrackProgressRatio(); - _uint curAnim = m_pModelCom->Get_AnimIndex(); + for (auto iter = m_PendingEvents.begin(); iter != m_PendingEvents.end(); ) + { + _float ratio = m_pModelCom->Get_CurrentTrackProgressRatio(); + _uint curAnim = m_pModelCom->Get_AnimIndex(); - if (curAnim == iter->AnimIndex) - { - if (!iter->bExecuted && ratio >= iter->fRatio) - { - iter->Callback(); - iter->bExecuted = true; + _float prevRatio = iter->PrevRatio; - if (!iter->bKeep) - { - iter = m_PendingEvents.erase(iter); - continue; - } - } - } - else - { - iter->bExecuted = false; - } + if (curAnim == iter->AnimIndex) + { + if (prevRatio <= iter->fRatio && ratio >= iter->fRatio) + { + iter->Callback(); - ++iter; - } + if (!iter->bKeep) + { + iter = m_PendingEvents.erase(iter); + continue; + } + } + + iter->PrevRatio = ratio; + } + else + { + iter->PrevRatio = 0.f; + } + + ++iter; + } } void CUnit::Add_Event(_uint AnimIndex, function Callback, _float fRatio,_bool bKeep) diff --git a/Jusin154_Team3D/Engine/Public/Engine_Enum.h b/Jusin154_Team3D/Engine/Public/Engine_Enum.h index c5a6da3ed..234fb4112 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Enum.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Enum.h @@ -5,7 +5,7 @@ NS_BEGIN(Engine) enum class STATE { RIGHT, UP, LOOK, POSITION, END }; enum class LIGHT { DIRECTIONAL, POINT, SPOT, END }; enum class COLLIDER { AABB, OBB, SPHERE, END }; -enum class RENDER {PRIORITY, SHADOW_NEAR, NONBLEND, DECAL, BLUR, NONLIGHT, EFFECT ,BLEND, BLOOM, DISTORTION, BULR_MESH ,UI, OCCLUSION, SHADOW_MIDDLE, PRESHADOW, UI_OVERLAY ,END }; +enum class RENDER {PRIORITY, SHADOW_NEAR, NONBLEND, DECAL, BLUR, NONLIGHT, EFFECT ,BLEND, BLOOM, DISTORTION, BULR_MESH ,UI, OCCLUSION, SHADOW_MIDDLE, PRESHADOW, UI_OVERLAY, EFFECT_NONBLEND,END }; enum class RAY { LOCAL, WORLD, END }; enum class ACTOR { BOX, CAPSULE, SPHERE, PLANE, TRIANGLEMESH, HEIGHTFIELD, END }; enum class BLEND_BONE{SPINE,SHOULDER_L,SHOULDER_R,NECK,SHOULDER_NECK_L, SHOULDER_NECK_R,HEAD, HIPS_CLOTH, END}; @@ -122,6 +122,7 @@ enum class PHYSX_JOINT { D6, DISTANCE, REVOLUTE, + FIXED, END }; diff --git a/Jusin154_Team3D/Engine/Public/GameInstance.h b/Jusin154_Team3D/Engine/Public/GameInstance.h index 7042068b6..e823cf14d 100644 --- a/Jusin154_Team3D/Engine/Public/GameInstance.h +++ b/Jusin154_Team3D/Engine/Public/GameInstance.h @@ -221,6 +221,7 @@ class ENGINE_DLL CGameInstance final : public CBase PSX::PxRigidStatic* Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel, const _float4x4* pWorldMatrix); PSX::PxJoint* Create_PxJoint(PHYSX_JOINT eType, PSX::PxRigidActor* pActor0, PSX::PxTransform& pxLocalFrame0, PSX::PxRigidActor* pActor1, PSX::PxTransform& pxLocalFrame1); PSX::PxD6Joint* Create_BasicPxD6Joint(PSX::PxRigidDynamic* pActor0, PSX::PxRigidDynamic* pActor1, const PSX::PxTransform& pxJointWorldPos); + PSX::PxFixedJoint* Create_BasicPxFixedJoint(PSX::PxRigidDynamic* pActor0, PSX::PxRigidDynamic* pActor1, const PSX::PxTransform& pxJointWorldPos); _bool SphereCast(_float fRadius, _float3 vStartPos, _float3 vDir, _float fDistance, PSX::PxHitFlags flagHitsData, PSX::PxQueryFlags flagQuery, PSX::PxSweepBuffer& hitBuffer); _bool SphereCast(_float fRadius, _fvector vStartPos, _gvector vDir, _float fDistance, PSX::PxHitFlags flagHitsData, PSX::PxQueryFlags flagQuery, PSX::PxSweepBuffer& hitBuffer); diff --git a/Jusin154_Team3D/Engine/Public/Model.h b/Jusin154_Team3D/Engine/Public/Model.h index ec6bc4405..f31719c8e 100644 --- a/Jusin154_Team3D/Engine/Public/Model.h +++ b/Jusin154_Team3D/Engine/Public/Model.h @@ -133,6 +133,7 @@ class ENGINE_DLL CModel final : public CComponent #pragma region Material HRESULT Bind_Material(_uint iMeshIndex, class CShader* pShader); HRESULT Begin(_uint iMeshIndex, class CShader* pShader); + _int Get_UsingPass(_uint iMeshIndex, CShader* pShader); #pragma endregion void ComputeAnimation(_uint AnimIndex, _uint MeshIndex); @@ -203,7 +204,7 @@ class ENGINE_DLL CModel final : public CComponent _float m_fRatio = {}; _int m_iCurrSecondAnimIndex = { -1 }; - _int m_iBoneIndex[ENUM_CLASS(BLEND_BONE::END)] = { -1,-1,-1,-1,-1,-1,-1,-1 }; + _int m_iBoneIndex[ENUM_CLASS(BLEND_BONE::END)] = { -1,-1,-1,-1, -1,-1,-1,-1 }; vector> m_BoneMask; vector<_bool> m_CPUBoneMask; diff --git a/Jusin154_Team3D/Engine/Public/PhysX_Manager.h b/Jusin154_Team3D/Engine/Public/PhysX_Manager.h index 4ca453131..08ad37937 100644 --- a/Jusin154_Team3D/Engine/Public/PhysX_Manager.h +++ b/Jusin154_Team3D/Engine/Public/PhysX_Manager.h @@ -38,6 +38,7 @@ class CPhysX_Manager final : public CBase // https://documentation.help/nvidia-physx-sdk-guide/Joints.html PSX::PxJoint* Create_PxJoint(PHYSX_JOINT eType, PSX::PxRigidActor* pActor0, PSX::PxTransform& pxLocalFrame0, PSX::PxRigidActor* pActor1, PSX::PxTransform& pxLocalFrame1); PSX::PxD6Joint* Create_BasicPxD6Joint(PSX::PxRigidDynamic* pActor0, PSX::PxRigidDynamic* pActor1, const PSX::PxTransform& pxJointWorldPos); + PSX::PxFixedJoint* Create_BasicPxFixedJoint(PSX::PxRigidDynamic* pActor0, PSX::PxRigidDynamic* pActor1, const PSX::PxTransform& pxJointWorldPos); void RegistTriMesh(const _char* pName, PSX::PxTriangleMesh* pPxTriMesh, _uint iLevel); void RegistHeight(const _tchar* pName, PSX::PxHeightFieldDesc& Desc, _uint iLevel); diff --git a/Jusin154_Team3D/Engine/Public/Renderer.h b/Jusin154_Team3D/Engine/Public/Renderer.h index 80ad83817..c1eb8f018 100644 --- a/Jusin154_Team3D/Engine/Public/Renderer.h +++ b/Jusin154_Team3D/Engine/Public/Renderer.h @@ -119,6 +119,7 @@ class CRenderer final : public CBase void Render_Shadow(); void Render_NonBlend(); void Render_Decal(); + void Render_EffectNonBlend(); void Render_Blur(); void Combine_Blur(); void Render_SSAO(); diff --git a/Jusin154_Team3D/Engine/Public/Transform.h b/Jusin154_Team3D/Engine/Public/Transform.h index af1fe6d45..91cd1f269 100644 --- a/Jusin154_Team3D/Engine/Public/Transform.h +++ b/Jusin154_Team3D/Engine/Public/Transform.h @@ -72,6 +72,7 @@ class ENGINE_DLL CTransform final : void Turn(_fvector vAxis, _float fTimeDelta); void TurnAngle(_float4 vAxis, _float fAngle); + void TurnAngle_Y(_float fAngle); void Rotation(_fvector vAxis, _float fRadian); void Rotation(_float fRadianX, _float fRadianY, _float fRadianZ); void Rotation(_float3& vRadian); diff --git a/Jusin154_Team3D/Engine/Public/Unit.h b/Jusin154_Team3D/Engine/Public/Unit.h index 5d49d9084..cc11e348c 100644 --- a/Jusin154_Team3D/Engine/Public/Unit.h +++ b/Jusin154_Team3D/Engine/Public/Unit.h @@ -15,11 +15,11 @@ class ENGINE_DLL CUnit abstract : public CContainerObject struct PendingEvent { - _float fRatio = 0.f; - _uint AnimIndex = 0; - function Callback; - _bool bKeep = { false }; - _bool bExecuted = { false }; + _float fRatio = 0.f; + _uint AnimIndex = 0; + function Callback; + _bool bKeep = { false }; + _float PrevRatio = {}; }; protected: CUnit(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);