diff --git a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl index 2cd0683e4..5465e90a7 100644 --- a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl +++ b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl @@ -512,7 +512,7 @@ PS_OUT PS_Rotation(PS_IN In) Rotation.y = uv.x * sin(g_fMapAngle) + uv.y * cos(g_fMapAngle); Rotation += center; - float4 tex1 = g_Texture.Sample(ClampSampler , Rotation); + float4 tex1 = g_Texture.Sample(ClampSampler, Rotation); color = tex1; @@ -1393,7 +1393,7 @@ PS_OUT PS_Enemy_HpBer(PS_IN In) if (Color.a <= 0.f) discard; - if(g_iHover != 0) + if (g_iHover != 0) { float4 tex3 = g_Texture2.Sample(DefaultSampler, In.vTexcoord); @@ -1411,6 +1411,78 @@ PS_OUT PS_Enemy_HpBer(PS_IN In) return Out; } +PS_OUT PS_Boss_HpBer(PS_IN In) +{ + PS_OUT Out; + + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + float4 Color = float4(1.f, 1.f, 1.f, 1.f); + float4 Color1 = float4(1.f, 1.f, 1.f, 1.f); + float2 uv = In.vTexcoord; + float2 CurrentPixelPosition = uv * g_fCurrent_Size; + float OriginLeft = g_fNine_Slice.x; + float OriginRight = g_fNine_Slice.y; + float OriginTop = g_fNine_Slice.z; + float OriginBottom = g_fNine_Slice.w; + + float CurrentLeft = OriginLeft; + float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight); + float CurrentTop = OriginTop; + float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom); + + float2 Finaluv = In.vTexcoord; + + if (CurrentPixelPosition.x < CurrentLeft) + { + Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x; + } + else if (CurrentPixelPosition.x > CurrentRight) + { + float dist = CurrentPixelPosition.x - CurrentRight; + Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x; + } + else + { + float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft); + Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x); + } + + if (CurrentPixelPosition.y < CurrentTop) + { + Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y; + } + else if (CurrentPixelPosition.y > CurrentBottom) + { + float dist = CurrentPixelPosition.y - CurrentBottom; + Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y; + } + else + { + float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop); + Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y); + } + + float4 tex1 = g_Texture.Sample(DefaultSampler, Finaluv); + float4 tex2 = g_Texture1.Sample(DefaultSampler, Finaluv); + + Color = tex1; + + tex2.rgb *= float3(1.f, 0.f, 0.f); + + if (In.vTexcoord.x >= g_fHp) + { + tex2.rgb = float3(0.f, 0.f, 0.f); + } + + if (all(Color.rgb >= (float3(55.f, 55.f, 55.f) / 255.f))) + Color = tex2; + + + Color.a *= Alpha; + Out.vColor = Color; + return Out; +} + technique11 PosTexTechnique11 { pass Default @@ -1711,4 +1783,14 @@ technique11 PosTexTechnique11 PixelShader = compile ps_5_0 PS_Enemy_HpBer(); } + pass Boss_HpBer + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Boss_HpBer(); + } + } diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index 0319ff37d..479366e9d 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -160,6 +160,9 @@ call Update_Resources.bat + + + @@ -190,6 +193,8 @@ call Update_Resources.bat + + @@ -324,7 +329,10 @@ call Update_Resources.bat + + + @@ -351,6 +359,8 @@ call Update_Resources.bat + + diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index b3a7df7f8..5860ef221 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -230,7 +230,7 @@ 02.GameObjects\Environment\00.MapContainer\StreetContainer - 04.Mechanic\State\Broom + 04.Mechanic\State\Broom_Player 04.Mechanic\Skill\Skill_Data @@ -508,6 +508,21 @@ 02.GameObjects\Effect\State_Effect\Stun + + + 04.Mechanic\State\Broom_Player\State_Broom_Ride_Move + + + 04.Mechanic\State\Broom_Player\State_Broom_Dismount + + + 04.Mechanic\State\Broom\Hover + + + 04.Mechanic\State\Broom\Fly + + + 02.GameObjects\UI\GamePlay_Canvas\Enemy_Penel\Boss_HpBar @@ -792,9 +807,6 @@ {9914341c-f246-4fdb-b28c-de7a6d2d149b} - - {48b905c1-b91e-44ca-a61b-86633826768b} - {e12a4228-0754-4217-b65d-7f962409f85c} @@ -1073,6 +1085,27 @@ {c9370e36-317e-45e7-a8c7-98a623864824} + + + {48b905c1-b91e-44ca-a61b-86633826768b} + + + {d6be355f-c860-4323-9967-583265749698} + + + {51b299f6-ebb0-4f58-9620-5e1dc24a2e60} + + + {ca81f80e-701f-4988-ac3b-3ea2e6812a66} + + + {75764f4a-7eef-4daf-bd8c-d07aef1c59cf} + + + {537c9208-b8e7-4e3b-a818-27335e3f0469} + + + {b49a3671-96d0-47b8-833f-28190d549b0f} @@ -1284,7 +1317,7 @@ 02.GameObjects\UI\GamePlay_Canvas\Action_Panel\Potion - 04.Mechanic\State\Broom + 04.Mechanic\State\Broom_Player 02.GameObjects\Environment\00.MapContainer\StreetContainer @@ -1526,6 +1559,21 @@ 02.GameObjects\Effect\State_Effect\Stun + + + 04.Mechanic\State\Broom_Player\State_Broom_Ride_Move + + + 04.Mechanic\State\Broom_Player\State_Broom_Dismount + + + 04.Mechanic\State\Broom\Hover + + + 04.Mechanic\State\Broom\Fly + + + 02.GameObjects\UI\GamePlay_Canvas\Enemy_Penel\Boss_HpBar diff --git a/Jusin154_Team3D/Client/Private/Boss_HpBar.cpp b/Jusin154_Team3D/Client/Private/Boss_HpBar.cpp new file mode 100644 index 000000000..4f248aba7 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Boss_HpBar.cpp @@ -0,0 +1,315 @@ +#include "pch.h" +#include "Boss_HpBar.h" +#include "GameInstance.h" +#include "InfoInstance.h" +#include "Monster.h" + +CBoss_HpBar::CBoss_HpBar(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + :CElementObject(pDevice, pContext) +{ +} + +CBoss_HpBar::CBoss_HpBar(const CBoss_HpBar& rhs) + :CElementObject(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ +} + +HRESULT CBoss_HpBar::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CBoss_HpBar::Initialize(void* pArg) +{ + CUIObject::UIOBJECT_DESC Desc{}; + + Desc.fX = 0.f; + Desc.fY = 40.f; + Desc.fSizeX = 218.f; + Desc.fSizeY = 82.f; + + m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) }; + + if (FAILED(__super::Initialize(&Desc))) + { + return E_FAIL; + } + if (FAILED(Ready_Components(pArg))) + { + return E_FAIL; + } + + m_fTimeMult = 3.f; + m_fAlpha = 0.f; + m_fAlphaTime = 10.f; + m_vNine_Slice = _float4(60.f, 155.f, 5.f, 82.f); + m_fMaxHp = 200.f; + m_fCurrentHp = m_fMaxHp; + m_fDamage = 0.f; + SizeUpX(750.f); + SizeUpY(100.f); + m_fMoveSpeed = 5.f; + m_bAnimation = false; + m_fLerpY = m_fSizeY; + m_fSortZ = 0.01f; + return S_OK; +} + +void CBoss_HpBar::Priority_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + __super::Priority_Update(fTimeDelta); +} + +void CBoss_HpBar::Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + + if (m_bFadeIn == true) + { + if (m_fAlpha <= 1.f) + { + m_fAlpha += fTimeDelta * m_fAlphaTime; + m_bHover = true; + } + + + if (m_fAlpha >= 1.f) + { + m_bFadeIn = false; + m_fAlpha = 1.f; + } + } + + if (m_bFadeOut == true) + { + if (m_fAlpha >= 0.f) + m_fAlpha -= fTimeDelta * m_fAlphaTime; + + if (m_fAlpha <= 0.f) + { + m_bFadeOut = false; + m_bHover = false; + m_fAlpha = 0.f; + } + } + + if (m_fCurrentHp < 0.f) + m_fCurrentHp = 0.f; + if (m_fDamage <= 0.f) + m_fDamage = 0.f; + m_fTargetHp = m_fMaxHp - m_fDamage; + + if (m_fTargetHp < m_fCurrentHp) + Hit(fTimeDelta); + m_fHpBar = m_fCurrentHp / m_fMaxHp; + + if (m_fHpBar <= 0.f) + { + m_bAnimation = true; + } + if (m_bAnimation == true) + { + m_fTime += fTimeDelta * m_fTimeMult; + m_fSizeX += 3.f; + m_fSizeY += 3.f; + static_cast(m_pOwner)->Function_Callback(TEXT("Enemy_HpDie")); + } + if (m_fTime >= 0.9f) + { + m_bAnimation = false; + m_bHover = false; + m_fTime = 0.f; + SizeUpdate(m_fLerpX, m_fLerpY); + } + + __super::Update(fTimeDelta); +} + +void CBoss_HpBar::Late_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + if (m_bVisible) { + m_pGameInstance->Add_RenderGroup(RENDER::UI, this); + __super::Late_Update(fTimeDelta); + } +} + +HRESULT CBoss_HpBar::Render() +{ + if (m_bHover == true) + { + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::BOSS_HPBAR)))) { + return E_FAIL; + } + if (FAILED(m_pVIBufferCom->Bind_Resources())) { + return E_FAIL; + } + if (FAILED(m_pVIBufferCom->Render())) { + return E_FAIL; + } + } + + return S_OK; +} + +_vector CBoss_HpBar::Get_WorldPostion() +{ + return m_pTransformCom->Get_State(STATE::POSITION); +} + +void CBoss_HpBar::Hit(_float fTimeDelta) +{ + m_fCurrentHp = CMyTools::Lerp_f1D(m_fCurrentHp, m_fTargetHp, fTimeDelta * m_fMoveSpeed); +} + +void CBoss_HpBar::Update_Target() +{ + m_fMaxHp = m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().fMaxHp; + m_fCurrentHp = m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().fCurrentHp; + m_fTargetHp = m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().fTargetHp; + Set_FadeIn(); +} + +HRESULT CBoss_HpBar::Bind_ShaderResources() +{ + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix))) + { + return E_FAIL; + } + if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0))) + { + return E_FAIL; + } + if (FAILED(m_pDiffuse_TextureCom1->Bind_ShaderResource(m_pShaderCom, "g_Texture1", 0))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTime, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fHp", &m_fHpBar, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_iHover", &m_bAnimation, sizeof(_int)))) + { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CBoss_HpBar::Ready_Components(void* pArg) +{ + if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Texture_UI_T_Boss_HpBar"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Texture_UI_T_HUD_Boss_HealthMeterFill"), reinterpret_cast(&m_pDiffuse_TextureCom1), nullptr))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr))) + { + return E_FAIL; + } + return S_OK; +} + +CBoss_HpBar* CBoss_HpBar::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CBoss_HpBar* pInstance = new CBoss_HpBar(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CBoss_HpBar"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CBoss_HpBar::Clone(void* pArg, CGameObject* pOwner) +{ + CBoss_HpBar* pInstance = new CBoss_HpBar(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CBoss_HpBar"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CBoss_HpBar::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pDiffuse_TextureCom); + SAFE_RELEASE(m_pDiffuse_TextureCom1); + SAFE_RELEASE(m_pDiffuse_TextureCom2); + SAFE_RELEASE(m_pShaderCom); + SAFE_RELEASE(m_pVIBufferCom); +} + +#ifdef _DEBUG +void CBoss_HpBar::Describe_Entity() +{ +} +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Broom.cpp b/Jusin154_Team3D/Client/Private/Broom.cpp index a56f998ac..202b43f12 100644 --- a/Jusin154_Team3D/Client/Private/Broom.cpp +++ b/Jusin154_Team3D/Client/Private/Broom.cpp @@ -61,6 +61,7 @@ void CBroom::Update(_float fTimeDelta) m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); + #ifdef _DEBUG Describe_Entity(); #endif // _DEBUG @@ -161,6 +162,7 @@ void CBroom::Update_CameraCoordinateSystem() m_pInfoInstance->Update_CameraCoordinateSystem(m_vCameraLookDir, m_vRimLightColor); } + CBroom* CBroom::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { CBroom* pInstance = new CBroom(pDevice, pContext); diff --git a/Jusin154_Team3D/Client/Private/Broom_State_Fly.cpp b/Jusin154_Team3D/Client/Private/Broom_State_Fly.cpp new file mode 100644 index 000000000..ab80639e2 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Broom_State_Fly.cpp @@ -0,0 +1,64 @@ +#include "pch.h" +#include "Broom_State_Fly.h" +#include "Unit.h" + + +CBroom_State_Fly::CBroom_State_Fly() + :CState_Root() +{ +} + +void CBroom_State_Fly::Enter() +{ + __super::Enter(); +} + +HRESULT CBroom_State_Fly::Update(_float fTimeDelta) +{ + if (nullptr != m_funcPriorityUpdate) { + m_funcPriorityUpdate(fTimeDelta); + } + if (E_FAIL == (__super::Update(fTimeDelta))) { + return E_FAIL; + } + if (nullptr != m_funcLateUpdate) { + m_funcLateUpdate(fTimeDelta); + } + return S_OK; +} + +void CBroom_State_Fly::Exit() +{ + __super::Exit(); +} + +HRESULT CBroom_State_Fly::Initialize(STATE_FLY_DESC* pDesc) +{ + if (FAILED(__super::Initialize(pDesc))) { + return E_FAIL; + } + m_funcPriorityUpdate = pDesc->funcPriorityUpdate; + m_funcLateUpdate = pDesc->funcLateUpdate; + m_pModel = m_pOwner->Get_Component(); + m_pFSM = m_pOwner->Get_Component(); + + return S_OK; +} + +CBroom_State_Fly* CBroom_State_Fly::Create(STATE_FLY_DESC* pDesc) +{ + CBroom_State_Fly* pInstance = new CBroom_State_Fly; + if (FAILED(pInstance->Initialize(pDesc))) { + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CBroom_State_Fly::Free() +{ + __super::Free(); +} + +void CBroom_State_Fly::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/Broom_State_Hover.cpp b/Jusin154_Team3D/Client/Private/Broom_State_Hover.cpp new file mode 100644 index 000000000..a44363c85 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Broom_State_Hover.cpp @@ -0,0 +1,64 @@ +#include "pch.h" +#include "Broom_State_Hover.h" +#include "Unit.h" + + +CBroom_State_Hover::CBroom_State_Hover() + :CState_Root() +{ +} + +void CBroom_State_Hover::Enter() +{ + __super::Enter(); +} + +HRESULT CBroom_State_Hover::Update(_float fTimeDelta) +{ + if (nullptr != m_funcPriorityUpdate) { + m_funcPriorityUpdate(fTimeDelta); + } + if (E_FAIL == (__super::Update(fTimeDelta))) { + return E_FAIL; + } + if (nullptr != m_funcLateUpdate) { + m_funcLateUpdate(fTimeDelta); + } + return S_OK; +} + +void CBroom_State_Hover::Exit() +{ + __super::Exit(); +} + +HRESULT CBroom_State_Hover::Initialize(STATE_HOVER_DESC* pDesc) +{ + if (FAILED(__super::Initialize(pDesc))) { + return E_FAIL; + } + m_funcPriorityUpdate = pDesc->funcPriorityUpdate; + m_funcLateUpdate = pDesc->funcLateUpdate; + m_pModel = m_pOwner->Get_Component(); + m_pFSM = m_pOwner->Get_Component(); + + return S_OK; +} + +CBroom_State_Hover* CBroom_State_Hover::Create(STATE_HOVER_DESC* pDesc) +{ + CBroom_State_Hover* pInstance = new CBroom_State_Hover; + if (FAILED(pInstance->Initialize(pDesc))) { + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CBroom_State_Hover::Free() +{ + __super::Free(); +} + +void CBroom_State_Hover::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp index 8d6c11cc0..107dd43e1 100644 --- a/Jusin154_Team3D/Client/Private/Broom_States.cpp +++ b/Jusin154_Team3D/Client/Private/Broom_States.cpp @@ -6,6 +6,8 @@ #pragma region STATE #include "State_Idle.h" #include "State_Move.h" +#include "Broom_State_Hover.h" +#include "Broom_State_Fly.h" #pragma endregion #pragma region States @@ -80,7 +82,8 @@ HRESULT CBroom::InputAim() return E_FAIL; } -void CBroom::Behavior_IdleEnter() { +void CBroom::Behavior_IdleEnter() +{ m_pFSM->Enable_State(FSMSTATE::IDLE); pair<_uint, _bool> pairAnimInfo; @@ -90,14 +93,12 @@ void CBroom::Behavior_IdleEnter() { HRESULT CBroom::Behavior_IdleExitCheck(_float fTimeDelta) { - _uint iCurrAnimIndex = m_Animation[STATEANIM::BROOM_MOUNT_B].first; + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); pair<_uint, _bool> pairAnimInfo; - if (SUCCEEDED(InputAction())) { - if (m_pGameInstance->Key_Down(DIK_B)) { - pairAnimInfo = m_Animation[STATEANIM::BROOM_MOUNT_B]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); - m_pFSM->Enable_State(FSMSTATE::MOUNT_B); - } + if (m_bRide && !m_pFSM->IsEnable(FSMSTATE::MOUNT_B)) { + pairAnimInfo = m_Animation[STATEANIM::BROOM_MOUNT_B]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pFSM->Enable_State(FSMSTATE::MOUNT_B); } if (SUCCEEDED(InputMove()) || SUCCEEDED(InputAction())) @@ -128,51 +129,69 @@ void CBroom::Behavior_IdleExit() void CBroom::Behavior_MoveEnter() { - if (!m_bRide) - return; - pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::MOVE); - if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE)) { - m_pFSM->Enable_State(FSMSTATE::JOG); - - if (SUCCEEDED(InputMove()) || SUCCEEDED(InputAction())) - { - if (m_pGameInstance->Key_Pressing(DIK_W)) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_IDLE_B]; - } - else if (m_pGameInstance->Key_Pressing(DIK_A)) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_LEFT_B]; - } - else if (m_pGameInstance->Key_Pressing(DIK_D)) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_RIGHT_B]; - } - else if (m_pGameInstance->Key_Pressing(DIK_LCONTROL)) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_DOWN_B]; - } - else if (m_pGameInstance->Key_Pressing(DIK_SPACE)) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_UP_B]; - } - else if (m_pGameInstance->Key_Down(DIK_LSHIFT)) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; - } - - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); - } - } } HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta) { - if (!m_bRide) - return E_FAIL; + pair<_uint, _bool> pairAnimInfo = {}; + _uint iCurrentAnimIndex = m_pModelCom->Get_AnimIndex(); + if (!m_bRide) + { + m_bHoverToggle = true; + + m_pFSM->Change_State(FSMSTATE::IDLE); + return E_FAIL; + } + + if (SUCCEEDED(InputMove()) || SUCCEEDED(InputAction())) + { + if (m_pGameInstance->Key_Pressing(DIK_W)) + { + m_pFSM->Change_State(FSMSTATE::HOVER); + } + else if (m_pGameInstance->Key_Pressing(DIK_A)) + { + m_pFSM->Change_State(FSMSTATE::HOVER); + } + else if (m_pGameInstance->Key_Pressing(DIK_D)) + { + m_pFSM->Change_State(FSMSTATE::HOVER); + } + else if (m_pGameInstance->Key_Pressing(DIK_LCONTROL)) + { + m_pFSM->Change_State(FSMSTATE::HOVER); + } + else if (m_pGameInstance->Key_Pressing(DIK_SPACE)) + { + m_pFSM->Change_State(FSMSTATE::HOVER); + } + else if (m_pGameInstance->Key_Down(DIK_LSHIFT)) + { + m_bHoverToggle = false; + pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pFSM->Change_State(FSMSTATE::FLY); + } + } + + return E_FAIL; +} + +void CBroom::Behavior_MoveExit() +{ + m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK); +} + +void CBroom::Behavior_Broom_HoverEnter() +{ + m_pFSM->Enable_State(FSMSTATE::HOVER); +} + +HRESULT CBroom::Behavior_Broom_HoverExitCheck(_float fTimeDelta) +{ pair<_uint, _bool> pairAnimInfo = {}; _uint iCurrentAnimIndex = m_pModelCom->Get_AnimIndex(); _bool bFwd = m_pGameInstance->Key_Pressing(DIK_W); @@ -181,55 +200,26 @@ HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta) _bool bDown = m_pGameInstance->Key_Pressing(DIK_LCONTROL); _bool bUp = m_pGameInstance->Key_Pressing(DIK_SPACE); - - if (m_pGameInstance->Key_Up(DIK_LSHIFT)) - { - m_bHoverToggle = !m_bHoverToggle; - } - if (m_bHoverToggle) { - if (bFwd) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_IDLE_B]; - - m_fTargetSpeed = m_fHoverMaxSpeed; - m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; - m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); - } - else if (bLft) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_LEFT_B]; - } - else if (bRht) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_RIGHT_B]; - - } + _float fTargetVertSpeed = 0.f; + if (bUp) + fTargetVertSpeed = m_fTurnMaxSpeed; else if (bDown) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_DOWN_B]; - m_fTargetSpeed = m_fTurnMaxSpeed; - m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; - m_pTransformCom->Go_LerpDown(m_fSpeed, fTimeDelta); - } - else if (bUp) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_UP_B]; - m_fTargetSpeed = m_fTurnMaxSpeed; - m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; - m_pTransformCom->Go_LerpUp(m_fSpeed, fTimeDelta); - } - else { - pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_STOP_B]; - } + fTargetVertSpeed = -m_fTurnMaxSpeed; + else + fTargetVertSpeed = 0.f; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); - } - else{ - m_fTargetSpeed = m_fFlyMaxSpeed; - m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; - m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); + _float fFactor = (fabsf(fTargetVertSpeed) > fabsf(m_fVerticalSpeed)) ? m_fAccel : m_fDecel; + m_fVerticalSpeed += (fTargetVertSpeed - m_fVerticalSpeed) * fTimeDelta * fFactor; + + if (fabsf(m_fVerticalSpeed) > 0.001f) + { + if (m_fVerticalSpeed > 0.f) + m_pTransformCom->Go_LerpUp(m_fVerticalSpeed, fTimeDelta); + else + m_pTransformCom->Go_LerpDown(-m_fVerticalSpeed, fTimeDelta); + } if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove())) { @@ -241,39 +231,210 @@ HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta) if (bUp) vInput.y += 1.f; if (bDown) vInput.y -= 1.f; + _float ax = fabsf(vInput.x); + _float ay = fabsf(vInput.y); + _float az = fabsf(vInput.z); + _bool bHasInput = !(vInput.x == 0 && vInput.y == 0 && vInput.z == 0); _vector vDir = XMVector3Normalize(XMLoadFloat3(&vInput)); - if (bUp || bDown) + if (bFwd) { - m_fTargetSpeed = m_fTurnMaxSpeed; - m_fTurnSpeed += (m_fTurnMaxSpeed - m_fTurnSpeed) * fTimeDelta * m_fAccel; - - if (bUp) - { - m_pTransformCom->Go_LerpUp(m_fTurnSpeed, fTimeDelta); - m_fVerticalSpeed = +m_fTurnSpeed; - } - else - { - m_pTransformCom->Go_LerpDown(m_fTurnSpeed, fTimeDelta); - m_fVerticalSpeed = -m_fTurnSpeed; - } + Camera_InterpTurn(fTimeDelta*0.5f); + m_fTargetSpeed = m_fHoverMaxSpeed; + m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; + m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); } if (vInput.x < 0.f) { - m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.1f); + if (!bFwd) + { + Camera_InterpTurn(fTimeDelta * 0.5f); + m_fTargetSpeed = m_fHoverMaxSpeed; + m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; + m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); + } + } else if (vInput.x > 0.f) { - m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.1f); + if (!bFwd) + { + Camera_InterpTurn(fTimeDelta * 0.5f); + m_fTargetSpeed = m_fHoverMaxSpeed; + m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; + m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); + } } + + if (ay > ax && ay > az) + { + if (vInput.y > 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_UP_B]; + else + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_DOWN_B]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + } + else if (ax >= az) + { + if (ay >= ax) + { + if (vInput.y > 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_UP_B]; + else + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_DOWN_B]; + } + else { + if (vInput.x < 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_LEFT_B]; + else if (vInput.x > 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_RIGHT_B]; + else { + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_IDLE_B]; + } + } + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + } + else + { + if (vInput.y > 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_UP_B]; + else if (vInput.y < 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_DOWN_B]; + else { + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_IDLE_B]; + } + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + } + } + else { + m_fTargetSpeed = 0.f; + + m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fDecel; + + m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); + pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_STOP_B]; + } + + if (m_pGameInstance->Key_Down(DIK_LSHIFT)) + { + m_bHoverToggle = false; + } + + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + } + + if (!m_bHoverToggle) + { + m_pFSM->Change_State(FSMSTATE::FLY); + return E_FAIL; + } + + return E_FAIL; +} + +void CBroom::Behavior_Broom_HoverExit() +{ + m_pFSM->Disable_State(FSMSTATE::HOVER); +} + +void CBroom::Behavior_Broom_FlyEnter() +{ + m_pFSM->Enable_State(FSMSTATE::FLY); +} + +HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta) +{ + pair<_uint, _bool> pairAnimInfo = {}; + _uint iCurrentAnimIndex = m_pModelCom->Get_AnimIndex(); + _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); + + _bool bFwd = m_pGameInstance->Key_Pressing(DIK_W); + _bool bLft = m_pGameInstance->Key_Pressing(DIK_A); + _bool bRht = m_pGameInstance->Key_Pressing(DIK_D); + _bool bDown = m_pGameInstance->Key_Pressing(DIK_LCONTROL); + _bool bUp = m_pGameInstance->Key_Pressing(DIK_SPACE); + _bool bShift = m_pGameInstance->Key_Down(DIK_LSHIFT); + + if (!m_bHoverToggle) { + + if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove())) + { + if (bFwd) { + m_fTargetSpeed = m_fFlyMaxSpeed; + } + else { + m_fTargetSpeed = m_fFlyTurnMaxSpeed; + } + } + else { + m_fTargetSpeed = m_fFlyMaxSpeed; + } + + m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; + m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); + + _float fTargetVertSpeed = 0.f; + + if (bUp) + fTargetVertSpeed = m_fTurnMaxSpeed; + else if (bDown) + fTargetVertSpeed = -m_fTurnMaxSpeed; + else + fTargetVertSpeed = 0.f; + + _float fFactor = (fabsf(fTargetVertSpeed) > fabsf(m_fVerticalSpeed)) ? m_fAccel : m_fDecel; + m_fVerticalSpeed += (fTargetVertSpeed - m_fVerticalSpeed) * fTimeDelta * fFactor; + + if (fabsf(m_fVerticalSpeed) > 0.001f) + { + if (m_fVerticalSpeed > 0.f) + m_pTransformCom->Go_LerpUp(m_fVerticalSpeed, fTimeDelta); + else + m_pTransformCom->Go_LerpDown(-m_fVerticalSpeed, fTimeDelta); + } + + if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove())) + { + _float3 vInput = { 0.f, 0.f, 0.f }; + + if (bFwd) vInput.z += 1.f; + if (bLft) vInput.x -= 1.f; + if (bRht) vInput.x += 1.f; + if (bUp) vInput.y += 1.f; + if (bDown) vInput.y -= 1.f; + _float ax = fabsf(vInput.x); - _float ay = fabsf(vInput.y); + _float ay = fabsf(vInput.y); _float az = fabsf(vInput.z); + _bool bHasInput = !(vInput.x == 0 && vInput.y == 0 && vInput.z == 0); + _vector vDir = XMVector3Normalize(XMLoadFloat3(&vInput)); + + if (vInput.z >= 0.f) + { + Camera_InterpTurn(fTimeDelta * 0.2f); + } + + + if (vInput.x < 0.f) + { + if (vInput.z < 0.f) + { + Camera_InterpTurn(fTimeDelta * 0.3f); + } + } + else if (vInput.x > 0.f) + { + if (vInput.z < 0.f) + { + Camera_InterpTurn(fTimeDelta * 0.3f); + } + } + + if (ay > ax && ay > az) { if (vInput.y > 0) @@ -297,7 +458,6 @@ HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta) else if (vInput.x > 0) pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_RIGHT_B]; else { - Camera_InterpTurn(fTimeDelta); pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; } } @@ -316,45 +476,53 @@ HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta) } } else { - - m_fVerticalSpeed += (0.f - m_fVerticalSpeed) * fTimeDelta * m_fDecel; - - if (fabs(m_fVerticalSpeed) > 0.001f) - { - if (m_fVerticalSpeed > 0.f) - m_pTransformCom->Go_LerpUp(m_fVerticalSpeed, fTimeDelta); - else - m_pTransformCom->Go_LerpDown(-m_fVerticalSpeed, fTimeDelta); - } - pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); } } - if (m_bHoverToggle && !SUCCEEDED(InputMove()) && !SUCCEEDED(InputAction())) + if (bShift) + { + m_bHoverToggle = true; + } + + if (m_bHoverToggle) { m_fTargetSpeed = 0.f; - + m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fDecel; m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_STOP_B]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); - if (m_pModelCom->IsFinishedAnim() && iCurrentAnimIndex == m_Animation[STATEANIM::BROOM_HOVER_STOP_B].first) + + if (bShift && iCurrentAnimIndex == m_Animation[STATEANIM::BROOM_HOVER_STOP_B].first) { - m_pFSM->Change_State(FSMSTATE::IDLE); + m_bHoverToggle = false; + } + if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove())) + { + if (fRatio >= 0.5f && iCurrentAnimIndex == m_Animation[STATEANIM::BROOM_HOVER_STOP_B].first) + { + m_pFSM->Change_State(FSMSTATE::HOVER); + } + return E_FAIL; + } + if (m_pModelCom->IsFinishedAnim()) + { + m_pFSM->Change_State(FSMSTATE::HOVER); return E_FAIL; } return S_OK; } + return E_FAIL; } -void CBroom::Behavior_MoveExit() +void CBroom::Behavior_Broom_FlyExit() { - m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK); + m_pFSM->Disable_State(FSMSTATE::FLY); } @@ -362,8 +530,8 @@ void CBroom::Camera_InterpTurn(_float fTimeDelta) { _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); - if (iCurrAnimIndex != m_Animation[STATEANIM::BROOM_FLY_B].first) - return; + //if (iCurrAnimIndex != m_Animation[STATEANIM::BROOM_FLY_B].first) + // return; _vector xmvCurLook = XMVector4Normalize( XMVectorSetY(m_pTransformCom->Get_State(STATE::LOOK), 0.f)); @@ -385,6 +553,11 @@ void CBroom::Camera_InterpTurn(_float fTimeDelta) if (m_pGameInstance->Key_Pressing(DIK_W)) xmvInput += vCameraLook; + if (m_pGameInstance->Key_Pressing(DIK_D)) + xmvInput -= vCameraRight; + if (m_pGameInstance->Key_Pressing(DIK_A)) + xmvInput += vCameraRight; + xmvInput = XMVector3Normalize(xmvInput); @@ -393,6 +566,7 @@ void CBroom::Camera_InterpTurn(_float fTimeDelta) _float targetAngle = XMConvertToDegrees(CMyTools::Get_Direction2D(fCamLook, fInput2D)); _float angleDiff = degree - targetAngle; + if (angleDiff > 180.f) { angleDiff -= 360.f; } @@ -404,11 +578,11 @@ void CBroom::Camera_InterpTurn(_float fTimeDelta) if (angleDiff > Offset) { - m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta*0.1f); + m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.5f); } else if (angleDiff < -Offset) { - m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.1f); + m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.5f); } } @@ -442,6 +616,28 @@ void CBroom::Add_FSM() Desc.funcLateUpdate = nullptr; m_States.emplace(FSMSTATE::MOVE, CState_Move::Create(&Desc)); } + + { + CBroom_State_Hover::STATE_HOVER_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_Broom_HoverEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_Broom_HoverExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_Broom_HoverExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::HOVER, CBroom_State_Hover::Create(&Desc)); + } + + { + CBroom_State_Fly::STATE_FLY_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_Broom_FlyEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_Broom_FlyExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_Broom_FlyExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::FLY, CBroom_State_Fly::Create(&Desc)); + } #pragma endregion } diff --git a/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_HitReport.cpp index cb60b353a..955b6ca8b 100644 --- a/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_HitReport.cpp +++ b/Jusin154_Team3D/Client/Private/CallBack_EffectHitBox_HitReport.cpp @@ -11,6 +11,14 @@ CCallBack_EffectHitBox_HitReport::~CCallBack_EffectHitBox_HitReport() { } +void CCallBack_EffectHitBox_HitReport::BeginFrame() +{ + // 매 프레임 초기화 + m_vClimbNormal = { 0.f, 1.f, 0.f }; + m_bGroundHit = { false }; + m_fBestNormal = { 0.f }; +} + void CCallBack_EffectHitBox_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit) { PSX::PxController* pController = hit.controller; @@ -35,6 +43,23 @@ void CCallBack_EffectHitBox_HitReport::onShapeHit(const PSX::PxControllerShapeHi switch (pTargetActorData->eKind) { case PHYSX_KIND::BODY_STATIC: + switch (PXOBJECT(pTargetActorData->iSubKind)) + { + case PXOBJECT::TERRAIN: + case PXOBJECT::FLOOR: + case PXOBJECT::ROAD: + if (vWorldNormal.y > 0) { + _float fDotValue = vWorldNormal.dot({ 0.f, 1.f, 0.f }); + if (m_fBestNormal < fDotValue) { + m_bGroundHit = true; + m_fBestNormal = fDotValue; + m_vClimbNormal = { vWorldNormal.x, vWorldNormal.y, vWorldNormal.z }; + } + } + break; + default: + break; + } break; case PHYSX_KIND::BODY_DYNAMIC: { @@ -153,6 +178,20 @@ void CCallBack_EffectHitBox_HitReport::onObstacleHit(const PSX::PxControllerObst //} } +void CCallBack_EffectHitBox_HitReport::Set_CurrentSlop() +{ + m_pController->Rewind_Grounded(); + if (m_bGroundHit) + { + m_pController->Set_OnGroundFlag(m_bGroundHit); + float fDot = clamp(m_fBestNormal, -1.0f, 1.0f); + float fAngleRad = acosf(fDot); + float fAngleDeg = XMConvertToDegrees(fAngleRad); + + m_pController->Set_CurrentSlope(fAngleDeg); + } +} + HRESULT CCallBack_EffectHitBox_HitReport::Initialize(CCharacter_Controller* pController, CRigidBody_Dynamic* pPartDynamicObject) { m_pController = pController; @@ -172,6 +211,16 @@ HRESULT CCallBack_EffectHitBox_HitReport::Finalize() return S_OK; } +_bool CCallBack_EffectHitBox_HitReport::IsOnGround() +{ + return m_bGroundHit; +} + +_vector CCallBack_EffectHitBox_HitReport::Get_GroundVector() +{ + return XMLoadFloat3(&m_vClimbNormal); +} + CCallBack_EffectHitBox_HitReport* CCallBack_EffectHitBox_HitReport::Create() { return new CCallBack_EffectHitBox_HitReport(); diff --git a/Jusin154_Team3D/Client/Private/CallBack_Monster_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_Monster_HitReport.cpp index 01f1a3bfa..23a1f002c 100644 --- a/Jusin154_Team3D/Client/Private/CallBack_Monster_HitReport.cpp +++ b/Jusin154_Team3D/Client/Private/CallBack_Monster_HitReport.cpp @@ -13,6 +13,14 @@ CCallBack_Monster_HitReport::~CCallBack_Monster_HitReport() { } +void CCallBack_Monster_HitReport::BeginFrame() +{ + // 매 프레임 초기화 + m_vClimbNormal = { 0.f, 1.f, 0.f }; + m_bGroundHit = { false }; + m_fBestNormal = { 0.f }; +} + void CCallBack_Monster_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit) { PSX::PxController* pController = hit.controller; @@ -34,16 +42,38 @@ void CCallBack_Monster_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hi switch (pTargetActorData->eKind) { case PHYSX_KIND::BODY_STATIC: - // action + switch (PXOBJECT(pTargetActorData->iSubKind)) + { + case PXOBJECT::TERRAIN: + case PXOBJECT::FLOOR: + case PXOBJECT::ROAD: + if (vWorldNormal.y > 0) { + _float fDotValue = vWorldNormal.dot({ 0.f, 1.f, 0.f }); + if (m_fBestNormal < fDotValue) { + m_bGroundHit = true; + m_fBestNormal = fDotValue; + m_vClimbNormal = { vWorldNormal.x, vWorldNormal.y, vWorldNormal.z }; + } + } + break; + default: + break; + } break; case PHYSX_KIND::BODY_DYNAMIC: { - switch (pTargetActorData->iSubKind) + switch (PXOBJECT(pTargetActorData->iSubKind)) { - case 0: - m_pController->ConvertToDO(*m_pPartDynamicBody); - m_pPartDynamicBody->Add_Force(XMVectorSet(vDir.x, vDir.y, vDir.z, 0.f) * fLength * 100.f, PSX::PxForceMode::eIMPULSE); + case PXOBJECT::END: break; + case PXOBJECT::BOX: + { + PSX::PxRigidDynamic* pDynamic = static_cast(pActor); + //pDynamic->setRigidBodyFlag(PSX::PxRigidBodyFlag::eKINEMATIC, false); + PSX::PxVec3 vCompressedDir = -vWorldNormal; + vCompressedDir.normalize(); + pDynamic->addForce(vCompressedDir * fLength * 1000.f, PSX::PxForceMode::eFORCE); + } break; default: { } @@ -125,6 +155,20 @@ void CCallBack_Monster_HitReport::onObstacleHit(const PSX::PxControllerObstacleH //} } +void CCallBack_Monster_HitReport::Set_CurrentSlop() +{ + m_pController->Rewind_Grounded(); + if (m_bGroundHit) + { + m_pController->Set_OnGroundFlag(m_bGroundHit); + float fDot = clamp(m_fBestNormal, -1.0f, 1.0f); + float fAngleRad = acosf(fDot); + float fAngleDeg = XMConvertToDegrees(fAngleRad); + + m_pController->Set_CurrentSlope(fAngleDeg); + } +} + HRESULT CCallBack_Monster_HitReport::Initialize(CCharacter_Controller* pController, CRigidBody_Dynamic* pPartDynamicObject) { m_pController = pController; @@ -144,6 +188,16 @@ HRESULT CCallBack_Monster_HitReport::Finalize() return S_OK; } +_bool CCallBack_Monster_HitReport::IsOnGround() +{ + return m_bGroundHit; +} + +_vector CCallBack_Monster_HitReport::Get_GroundVector() +{ + return XMLoadFloat3(&m_vClimbNormal); +} + CCallBack_Monster_HitReport* CCallBack_Monster_HitReport::Create() { return new CCallBack_Monster_HitReport(); diff --git a/Jusin154_Team3D/Client/Private/CallBack_Playable_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_Playable_HitReport.cpp index 05fc75950..c8dad8188 100644 --- a/Jusin154_Team3D/Client/Private/CallBack_Playable_HitReport.cpp +++ b/Jusin154_Team3D/Client/Private/CallBack_Playable_HitReport.cpp @@ -68,12 +68,10 @@ void CCallBack_Playable_HitReport::onShapeHit(const PSX::PxControllerShapeHit& h { PSX::PxRigidDynamic* pDynamic = static_cast(pActor); //pDynamic->setRigidBodyFlag(PSX::PxRigidBodyFlag::eKINEMATIC, false); - PSX::PxVec3 vCompressedDir = vDir; - vCompressedDir.y += -vDir.y * 2.f + 1.f; + PSX::PxVec3 vCompressedDir = -vWorldNormal; vCompressedDir.normalize(); - pDynamic->addForce(vCompressedDir * fLength* 10.f, PSX::PxForceMode::eFORCE); - } - break; + pDynamic->addForce(vCompressedDir * fLength* 1000.f, PSX::PxForceMode::eFORCE); + } break; default: { } break; diff --git a/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp index f476a2769..4ad79b15f 100644 --- a/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp +++ b/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp @@ -14,6 +14,14 @@ CCallBack_Troll_HitReport::~CCallBack_Troll_HitReport() { } +void CCallBack_Troll_HitReport::BeginFrame() +{ + // 매 프레임 초기화 + m_vClimbNormal = { 0.f, 1.f, 0.f }; + m_bGroundHit = { false }; + m_fBestNormal = { 0.f }; +} + void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit) { PSX::PxController* pController = hit.controller; @@ -51,6 +59,14 @@ void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit) pFSM->Change_State(FSMSTATE::STUN); } } + if (vWorldNormal.y > 0) { + _float fDotValue = vWorldNormal.dot({ 0.f, 1.f, 0.f }); + if (m_fBestNormal < fDotValue) { + m_bGroundHit = true; + m_fBestNormal = fDotValue; + m_vClimbNormal = { vWorldNormal.x, vWorldNormal.y, vWorldNormal.z }; + } + } } break; default: @@ -60,12 +76,18 @@ void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit) break; case PHYSX_KIND::BODY_DYNAMIC: { - switch (pTargetActorData->iSubKind) + switch (PXOBJECT(pTargetActorData->iSubKind)) { - case 0: - m_pController->ConvertToDO(*m_pPartDynamicBody); - m_pPartDynamicBody->Add_Force(XMVectorSet(vDir.x, vDir.y, vDir.z, 0.f) * fLength * 100.f, PSX::PxForceMode::eIMPULSE); + case PXOBJECT::END: break; + case PXOBJECT::BOX: + { + PSX::PxRigidDynamic* pDynamic = static_cast(pActor); + //pDynamic->setRigidBodyFlag(PSX::PxRigidBodyFlag::eKINEMATIC, false); + PSX::PxVec3 vCompressedDir = -vWorldNormal; + vCompressedDir.normalize(); + pDynamic->addForce(vCompressedDir * fLength * 1000.f, PSX::PxForceMode::eFORCE); + }break; default: { } @@ -113,11 +135,22 @@ void CCallBack_Troll_HitReport::onControllerHit(const PSX::PxControllersHit& hit switch (pTargetActorData->iSubKind) { case ENUM_CLASS(PXOBJECT::PLAYER): + { + class CUnit* pOwner = (CUnit*)m_pController->Get_Owner(); + CModel* pModel = pOwner->Get_Component(); + _uint iAnimIndex = pModel->Get_AnimIndex(); + if (pOwner->Get_AnimInfo(STATEANIM::RUSH_LOOP).first == iAnimIndex) { + if (false == *m_pCollisionPlayer) { + *m_pCollisionPlayer = true; + pTargetActorData->pCharacter->Get_Owner()->Get_Component()->Get_Damage(30.f); + } + } + } break; default: { PSX::PxRigidDynamic* pDynamic = static_cast(pActor); - pDynamic->addForce(vDir * fLength * 100000.f, PSX::PxForceMode::eIMPULSE); + pDynamic->addForce(vDir * fLength * 100.f, PSX::PxForceMode::eIMPULSE); } break; } @@ -147,11 +180,26 @@ void CCallBack_Troll_HitReport::onObstacleHit(const PSX::PxControllerObstacleHit //} } -HRESULT CCallBack_Troll_HitReport::Initialize(CCharacter_Controller* pController, CRigidBody_Dynamic* pPartDynamicObject) +void CCallBack_Troll_HitReport::Set_CurrentSlop() +{ + m_pController->Rewind_Grounded(); + if (m_bGroundHit) + { + m_pController->Set_OnGroundFlag(m_bGroundHit); + float fDot = clamp(m_fBestNormal, -1.0f, 1.0f); + float fAngleRad = acosf(fDot); + float fAngleDeg = XMConvertToDegrees(fAngleRad); + + m_pController->Set_CurrentSlope(fAngleDeg); + } +} + +HRESULT CCallBack_Troll_HitReport::Initialize(CCharacter_Controller* pController, CRigidBody_Dynamic* pPartDynamicObject, _bool* pCollisionPlayer) { m_pController = pController; m_pPartDynamicBody = pPartDynamicObject; m_pGameInstance = CGameInstance::GetInstance(); + m_pCollisionPlayer = pCollisionPlayer; SAFE_ADDREF(m_pController); SAFE_ADDREF(m_pPartDynamicBody); SAFE_ADDREF(m_pGameInstance); @@ -166,6 +214,16 @@ HRESULT CCallBack_Troll_HitReport::Finalize() return S_OK; } +_bool CCallBack_Troll_HitReport::IsOnGround() +{ + return m_bGroundHit; +} + +_vector CCallBack_Troll_HitReport::Get_GroundVector() +{ + return XMLoadFloat3(&m_vClimbNormal); +} + CCallBack_Troll_HitReport* CCallBack_Troll_HitReport::Create() { return new CCallBack_Troll_HitReport(); diff --git a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp index b93ed5224..d59ff7c5e 100644 --- a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp +++ b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp @@ -33,6 +33,9 @@ HRESULT CCamPosition_Shoulder::Initialize(void* pArg) m_pLookTransform = m_pTarget_LookPart->Get_Component(); m_pFollowTransform = m_pTarget_FollowPart->Get_Component(); m_pParentPos = m_pParentTransformCom->Get_StatePtr(STATE::POSITION); + m_vDampingStartPosition = *m_pParentPos; + m_vDampingDestPosition = *m_pParentPos; + m_vDampingLerpTimer.x = m_vDampingLerpTimer.y; m_vFocalRatio.x = m_vFocalRatio.y; m_fFocalRatioTargetValue = m_vFocalRatio.y; @@ -49,6 +52,21 @@ void CCamPosition_Shoulder::Priority_Update(_float fTimeDelta) if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_SHOULDER))) { return; } + { + if (false == m_bDampingParentPos) { + m_vDampingLerpTimer.x = 0.f; + m_vDampingStartPosition = *m_pParentPos; + m_vDampingDestPosition = *m_pParentPos; + } + else { + m_vDampingLerpTimer.x += fTimeDelta; + if (m_vDampingLerpTimer.x >= m_vDampingLerpTimer.y) { + XMStoreFloat4(&m_vDampingStartPosition, Calc_DampingParentPos()); + m_vDampingLerpTimer.x = max(m_vDampingLerpTimer.x - m_vDampingLerpTimer.y, 0.f); + m_vDampingDestPosition = *m_pParentPos; + } + } + } if (true == m_bMovable) { m_vAccRotDegrees.y += m_pGameInstance->Get_MouseMove().x * m_fMouseSensor; m_vAccRotDegrees.x += m_pGameInstance->Get_MouseMove().y * m_fMouseSensor; @@ -81,7 +99,9 @@ void CCamPosition_Shoulder::Update(_float fTimeDelta) #ifdef _DEBUG Describe_Entity(); #endif // _DEBUG - + if (m_pGameInstance->Key_Up(DIK_PGDN)) { + m_bDampingParentPos = !m_bDampingParentPos; + } if (m_pGameInstance->Key_Up(DIK_GRAVE)) { m_bMovable = !m_bMovable; } @@ -147,13 +167,13 @@ _vector CCamPosition_Shoulder::Get_WorldPostion() _vector CCamPosition_Shoulder::Calc_LookTargetPos() { - _vector vParentPos = XMLoadFloat4(m_pParentPos); + _vector vDestPos = Calc_DampingParentPos(); _vector vFoward = { 0.f, 0.f, 1.f, 0.f }; - _vector vRotCameraq = XMQuaternionRotationRollPitchYaw(XMConvertToRadians(m_vAccRotDegrees.x), XMConvertToRadians(m_vAccRotDegrees.y), 0.f); + _vector vRotCameraq = XMQuaternionRotationRollPitchYaw(XMConvertToRadians(m_vAccRotDegrees.x + m_vAccRealDegrees.x), XMConvertToRadians(m_vAccRotDegrees.y + m_vAccRealDegrees.y), 0.f); vFoward = XMVector3Normalize(XMVector3Rotate(vFoward, vRotCameraq)); - _vector vHeadPos = vParentPos + XMVectorSet(0.f, m_fHeadHeight, 0.f, 0.f); + _vector vHeadPos = vDestPos + XMVectorSet(0.f, m_fHeadHeight, 0.f, 0.f); _vector vFowardPos = vHeadPos + vFoward * m_fCameraFowardDistance; return XMVectorLerp(vHeadPos, vFowardPos, m_vFocalRatio.x); @@ -163,8 +183,8 @@ _vector CCamPosition_Shoulder::Calc_FollowTargetPos(_vector vLookTargetWorldPos) _float fBestFollowTargetDistance = m_fCameraBarrelLength * (1.f - m_fDefaultCameraBackToFrontRatio); _vector fRotQ = XMQuaternionRotationAxis(XMVectorSet(0.f, 1.f, 0.f, 0.f), XMConvertToRadians(-m_fFollowTargetIncludedAngleDegree)); - _vector vParentPos = XMLoadFloat4(m_pParentPos); - _vector vHeadPos = vParentPos + XMVectorSet(0.f, m_fHeadHeight, 0.f, 0.f); + _vector vDestPos = Calc_DampingParentPos(); + _vector vHeadPos = vDestPos + XMVectorSet(0.f, m_fHeadHeight, 0.f, 0.f); _vector vDir = XMVector3Normalize(vHeadPos - vLookTargetWorldPos); vDir = XMVector3Rotate(vDir, fRotQ); @@ -228,6 +248,15 @@ _vector CCamPosition_Shoulder::Calc_FollowTargetPos(_vector vLookTargetWorldPos) return vLookTargetWorldPos + vDir * fFinalTargetDistance; } +_vector CCamPosition_Shoulder::Calc_DampingParentPos() +{ + return XMVectorLerp(XMLoadFloat4(&m_vDampingStartPosition), XMLoadFloat4(&m_vDampingDestPosition), m_vDampingLerpTimer.x / m_vDampingLerpTimer.y); +} +void CCamPosition_Shoulder::Set_CameraShake(_float fXShock, _float fYShock) +{ + m_vAccRealDegrees.x = fXShock; + m_vAccRealDegrees.y = fYShock; +} _vector CCamPosition_Shoulder::Get_ShoulderGlobalPos() { // Right/Left 숄더를 로컬 X 부호로 결정 @@ -240,9 +269,8 @@ _vector CCamPosition_Shoulder::Get_ShoulderGlobalPos() // 카메라 회전(현재 마우스로 누적된 pitch/yaw) _vector cameraRotationQuaternion = XMQuaternionRotationRollPitchYaw( - XMConvertToRadians(m_vAccRotDegrees.x), - XMConvertToRadians(m_vAccRotDegrees.y), - 0.f + XMConvertToRadians(m_vAccRotDegrees.x + m_vAccRealDegrees.x), + XMConvertToRadians(m_vAccRotDegrees.y + m_vAccRealDegrees.y), 0.f ); // 카메라 로컬 오프셋을 카메라 회전에 맞춰 월드로 회전 @@ -286,8 +314,8 @@ HRESULT CCamPosition_Shoulder::Ready_SubParts() CameraDesc.bEnableFollowLerp = false; CameraDesc.bEnableLookLerp = false; CameraDesc.vTransitionTime = { 0.f, 1.f }; - CameraDesc.vFollowLerpTime = { 0.f, BASIC_LERP_TIMER }; - CameraDesc.vLookLerpTime = { 0.f, BASIC_LERP_TIMER }; + CameraDesc.vFollowLerpTime = { 0.f, TIMER_SHORT_LERP }; + CameraDesc.vLookLerpTime = { 0.f, TIMER_SHORT_LERP }; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &CameraDesc, nullptr, &m_pBinded_Camera))) { diff --git a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp index aa2e662cb..7fe2793d2 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp @@ -28,7 +28,10 @@ void CCamera_Debug::Update(_float fTimeDelta) Transition(fTimeDelta); _float3 vCamPos = {}; XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION)); +#ifdef _DEBUG GUI::Text("Cam Coord %.2f, %.2f, %.2f", vCamPos.x, vCamPos.y, vCamPos.z); +#endif // _DEBUG + if (m_pGameInstance->Key_Up(DIK_GRAVE)) { m_bMovable = !m_bMovable; } diff --git a/Jusin154_Team3D/Client/Private/Damage_Font.cpp b/Jusin154_Team3D/Client/Private/Damage_Font.cpp index e6a0a23a5..7a0c176d7 100644 --- a/Jusin154_Team3D/Client/Private/Damage_Font.cpp +++ b/Jusin154_Team3D/Client/Private/Damage_Font.cpp @@ -104,7 +104,7 @@ void CDamage_Font::Add_Damage(void* pArg) pInfo = *reinterpret_cast(pArg); DAMAGE_FONT_INFO Desc{}; - Desc.vTarget_Pos = XMVectorAdd(pInfo.vTarget_Pos , XMVectorSet(0.f,1.2f,0.f,0.f)); + Desc.vTarget_Pos =pInfo.vTarget_Pos , XMVectorSet(m_pGameInstance->Real_Random_Float(2,5), 1.f, m_pGameInstance->Real_Random_Float(2, 5), 0.f); Desc.pDamage = to_wstring(static_cast<_int>(pInfo.fDamage)); if (pInfo.eType == DAMAGE_TYPE::NOMAL) { diff --git a/Jusin154_Team3D/Client/Private/Dummy_PhysXPlayable.cpp b/Jusin154_Team3D/Client/Private/Dummy_PhysXPlayable.cpp index 7a34e1158..30a8de624 100644 --- a/Jusin154_Team3D/Client/Private/Dummy_PhysXPlayable.cpp +++ b/Jusin154_Team3D/Client/Private/Dummy_PhysXPlayable.cpp @@ -129,7 +129,7 @@ HRESULT CDummy_PhysXPlayable::Ready_Components(void* pArg) Desc.fContactOffset = 0.001f; Desc.fMaterial = { 0.5f, 0.5f, 0.6f }; Desc.bAutoStepping = { false }; - Desc.fStepOffset = { 0.05f }; + Desc.fStepOffset = { 0.001f }; Desc.fRadius = 0.5f; Desc.fHeight = 1.0f; Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Playable_HitReport::Create(); diff --git a/Jusin154_Team3D/Client/Private/Enemy_HpBar.cpp b/Jusin154_Team3D/Client/Private/Enemy_HpBar.cpp index adc2153e4..b830165c1 100644 --- a/Jusin154_Team3D/Client/Private/Enemy_HpBar.cpp +++ b/Jusin154_Team3D/Client/Private/Enemy_HpBar.cpp @@ -99,7 +99,6 @@ void CEnemy_HpBar::Update(_float fTimeDelta) } } - Update_Target(); if (m_fTargetHp < m_fCurrentHp) Hit(fTimeDelta); @@ -184,11 +183,6 @@ void CEnemy_HpBar::SizeUpX(_float SizeX) void CEnemy_HpBar::Update_Target() { - if (m_pInfoInstance->Get_TargetMonster() == nullptr) - { - Set_FadeOut(); - return; - } m_fMaxHp = m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().fMaxHp; m_fCurrentHp = m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().fCurrentHp; m_fTargetHp = m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().fTargetHp; diff --git a/Jusin154_Team3D/Client/Private/Enemy_Info.cpp b/Jusin154_Team3D/Client/Private/Enemy_Info.cpp index 6ee9b41de..6da9b42f5 100644 --- a/Jusin154_Team3D/Client/Private/Enemy_Info.cpp +++ b/Jusin154_Team3D/Client/Private/Enemy_Info.cpp @@ -98,17 +98,6 @@ void CEnemy_Info::Update(_float fTimeDelta) } } - if (m_pGameInstance->Key_Down(DIK_K)) - { - Set_FadeIn(); - } - if (m_pGameInstance->Key_Down(DIK_L)) - { - Set_FadeOut(); - } - - Update_Target(); - __super::Update(fTimeDelta); } @@ -215,11 +204,7 @@ HRESULT CEnemy_Info::Ready_Components(void* pArg) void CEnemy_Info::Update_Target() { - if (m_pInfoInstance->Get_TargetMonster() == nullptr) - { - Set_FadeOut(); - return; - } + Set_Font_Move(m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().bBoss); m_pLevel = to_wstring(m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().iLevel); m_pEnemy_Name = m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().pUnit_Name; m_fFontOffSet = (m_pGameInstance->FontSizeX(TEXT("Font_size20"), m_pEnemy_Name.c_str()) - 29.f) * 0.5f; @@ -227,6 +212,23 @@ void CEnemy_Info::Update_Target() Set_FadeIn(); } +void CEnemy_Info::Set_Font_Move(_bool Boss) +{ + m_bBoss = Boss; + if (m_bBoss == true) + { + MoveX(-315.f); + MoveY(50.f); + m_fFontPos = _float2(1250, 0.f); + } + else + { + MoveX(-180.f); + MoveY(40.f); + m_fFontPos = _float2(1115.f, 0.f); + } +} + CEnemy_Info* CEnemy_Info::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { CEnemy_Info* pInstance = new CEnemy_Info(pDevice, pContext); diff --git a/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp b/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp index d6c0cf606..f04ecc88b 100644 --- a/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp @@ -3,6 +3,9 @@ #include "GameInstance.h" #include "Enemy_HpBar.h" #include "Enemy_Info.h" +#include "Boss_HpBar.h" +#include "InfoInstance.h" +#include "Monster.h" CEnemy_Panel::CEnemy_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) :CPanelObject(pDevice, pContext) @@ -10,7 +13,8 @@ CEnemy_Panel::CEnemy_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) } CEnemy_Panel::CEnemy_Panel(const CEnemy_Panel& rhs) - :CPanelObject(rhs) + :CPanelObject(rhs), + m_pInfoInstance(CInfoInstance::GetInstance()) { } @@ -49,6 +53,31 @@ HRESULT CEnemy_Panel::Initialize(void* pArg) return S_OK; } +void CEnemy_Panel::Update_Target() +{ + if (m_pInfoInstance->Get_TargetMonster() == nullptr) + { + static_cast(m_pBoss_HpBar)->Set_FadeOut(); + static_cast(m_pEnemy_HpBar)->Set_FadeOut(); + static_cast(m_pEnemy_Info)->Set_FadeOut(); + return; + } + if (m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().bBoss == true) + { + static_cast(m_pBoss_HpBar)->Update_Target(); + static_cast(m_pEnemy_Info)->Set_FadeOut(); + static_cast(m_pEnemy_Info)->Update_Target(); + static_cast(m_pEnemy_Info)->Set_Font_Move(true); + } + else + { + static_cast(m_pBoss_HpBar)->Set_FadeOut(); + static_cast(m_pEnemy_HpBar)->Update_Target(); + static_cast(m_pEnemy_Info)->Update_Target(); + static_cast(m_pEnemy_Info)->Set_Font_Move(false); + } +} + void CEnemy_Panel::Priority_Update(_float fTimeDelta) { if (!__super::Chack_Visible()) @@ -64,7 +93,7 @@ void CEnemy_Panel::Update(_float fTimeDelta) { return; } - + Update_Target(); __super::Update(fTimeDelta); } @@ -120,6 +149,12 @@ HRESULT CEnemy_Panel::Ready_Element(void* pArg) } Add_Element(TEXT("Enemy_Info"), m_pEnemy_Info); + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pBoss_HpBar)))) + { + return E_FAIL; + } + Add_Element(TEXT("Boss_Bar"), m_pBoss_HpBar); + return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Goblin.cpp b/Jusin154_Team3D/Client/Private/Goblin.cpp index e2dbeb2fe..d68058979 100644 --- a/Jusin154_Team3D/Client/Private/Goblin.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin.cpp @@ -79,18 +79,24 @@ void CGoblin::Priority_Update(_float fTimeDelta) void CGoblin::Update(_float fTimeDelta) { - __super::Update(fTimeDelta); - m_pFSM->Update_State(fTimeDelta); m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); - Play_Event(); + __super::Update(fTimeDelta); + Play_Event(); +#ifdef _DEBUG GUI::Text("%d", m_pCharacter_Controller->IsActive()); GUI::Text("%f %f", m_vStunTimer.x, m_vStunTimer.y); +#endif // _DEBUG + if (true == m_pCharacter_Controller->IsActive()) { - m_pCharacter_Controller->Move(fTimeDelta); + { // 세트 + m_pCallBack_HitReport->BeginFrame(); + m_pCharacter_Controller->Move(fTimeDelta); + m_pCallBack_HitReport->Set_CurrentSlop(); + } m_vStunTimer.x = 0.f; } else if (true == m_pRigidBody->IsActive()) { @@ -259,12 +265,12 @@ void CGoblin::OnCollision(CGameObject* pOther, void* pDesc) case ENUM_CLASS(SKILL_TYPE::DESCENDO): m_eHitSpell = STATEANIM::KNOCKDOWN_FWD; break; - case ENUM_CLASS(SKILL_TYPE::FLIPENDO): - m_eHitSpell = STATEANIM::TUMBLE2; + case ENUM_CLASS(SKILL_TYPE::BOMBARDA): + m_eHitSpell = STATEANIM::KNOCKDOWN_BWD; break; case ENUM_CLASS(SKILL_TYPE::JAP): { - m_eHitSpell = STATEANIM::HIT_LEVIOSO; + m_eHitSpell = STATEANIM::HIT_BWD; m_DamageInfo.fDamage = damagePair.first; m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo); @@ -319,7 +325,7 @@ HRESULT CGoblin::Ready_Components() Desc.fContactOffset = 0.001f; Desc.fMaterial = { 1.2f, 1.0f, 0.0f }; Desc.bAutoStepping = { false }; - Desc.fStepOffset = { 0.05f }; + Desc.fStepOffset = { 0.001f }; Desc.fRadius = 0.6f; Desc.fHeight = 0.7f; Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Monster_HitReport::Create(); diff --git a/Jusin154_Team3D/Client/Private/Goblin_BattleAxe.cpp b/Jusin154_Team3D/Client/Private/Goblin_BattleAxe.cpp index 34194e550..c28d48b11 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_BattleAxe.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_BattleAxe.cpp @@ -50,6 +50,7 @@ void CGoblin_BattleAxe::Priority_Update(_float fTimeDelta) m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr())); + #ifdef _DEBUG Describe_Entity(); diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp index 23d67bb96..f5a1177a7 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp @@ -77,18 +77,24 @@ void CGoblin_Mage::Priority_Update(_float fTimeDelta) void CGoblin_Mage::Update(_float fTimeDelta) { - __super::Update(fTimeDelta); - m_pFSM->Update_State(fTimeDelta); m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); - Play_Event(); + __super::Update(fTimeDelta); + Play_Event(); +#ifdef _DEBUG GUI::Text("%d", m_pCharacter_Controller->IsActive()); GUI::Text("%f %f", m_vStunTimer.x, m_vStunTimer.y); +#endif // _DEBUG + if (true == m_pCharacter_Controller->IsActive()) { - m_pCharacter_Controller->Move(fTimeDelta); + { // 세트 + m_pCallBack_HitReport->BeginFrame(); + m_pCharacter_Controller->Move(fTimeDelta); + m_pCallBack_HitReport->Set_CurrentSlop(); + } m_vStunTimer.x = 0.f; } else if (true == m_pRigidBody->IsActive()) { @@ -249,18 +255,18 @@ void CGoblin_Mage::OnCollision(CGameObject* pOther, void* pDesc) case ENUM_CLASS(SKILL_TYPE::DESCENDO): m_eHitSpell = STATEANIM::KNOCKDOWN_FWD; break; - case ENUM_CLASS(SKILL_TYPE::FLIPENDO): - m_eHitSpell = STATEANIM::TUMBLE2; + case ENUM_CLASS(SKILL_TYPE::BOMBARDA): + m_eHitSpell = STATEANIM::KNOCKDOWN_BWD; break; case ENUM_CLASS(SKILL_TYPE::JAP): { - m_eHitSpell = STATEANIM::HIT_LEVIOSO; - _float fSkillRatio = m_pInfoInstance->Get_Spell_Info(ENUM_CLASS(SKILL_TYPE::JAP)).fSpell_Damage; - _float fCoefficient = CollisionDesc->pObject->Get_Component()->Get_Stat().fDamage; - /*if (true == Get_Damage(fSkillRatio * fCoefficient)) { - m_pFSM->Change_State(FSMSTATE::DEAD); - return; - }*/ + m_eHitSpell = STATEANIM::HIT_BWD; + //_float fSkillRatio = m_pInfoInstance->Get_Spell_Info(ENUM_CLASS(SKILL_TYPE::JAP)).fSpell_Damage; + //_float fCoefficient = CollisionDesc->pObject->Get_Component()->Get_Stat().fDamage; + //if (true == Get_Damage(fSkillRatio * fCoefficient)) { + // m_pFSM->Change_State(FSMSTATE::DEAD); + // return; + //} } break; case ENUM_CLASS(SKILL_TYPE::LEVIOSO): @@ -306,7 +312,7 @@ HRESULT CGoblin_Mage::Ready_Components() Desc.fContactOffset = 0.001f; Desc.fMaterial = { 1.2f, 1.0f, 0.0f }; Desc.bAutoStepping = { false }; - Desc.fStepOffset = { 0.05f }; + Desc.fStepOffset = { 0.001f }; Desc.fRadius = 0.6f; Desc.fHeight = 0.7f; Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Monster_HitReport::Create(); diff --git a/Jusin154_Team3D/Client/Private/InfoInstance.cpp b/Jusin154_Team3D/Client/Private/InfoInstance.cpp index 831d53136..d2c3c694f 100644 --- a/Jusin154_Team3D/Client/Private/InfoInstance.cpp +++ b/Jusin154_Team3D/Client/Private/InfoInstance.cpp @@ -114,6 +114,10 @@ HRESULT CInfoInstance::Load_InteractableElements(const _char* pFileName) { return m_pMapInfo->Load_InteractableElements(pFileName); } +HRESULT CInfoInstance::Load_WaterElemet(const _char* pFileName) +{ + return m_pMapInfo->Load_WaterElemet(pFileName); +} #pragma endregion #pragma region SPELL_INFO diff --git a/Jusin154_Team3D/Client/Private/Intro_BG.cpp b/Jusin154_Team3D/Client/Private/Intro_BG.cpp index d09188264..7d4525be7 100644 --- a/Jusin154_Team3D/Client/Private/Intro_BG.cpp +++ b/Jusin154_Team3D/Client/Private/Intro_BG.cpp @@ -171,7 +171,10 @@ void CIntro_BG::Free() SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CIntro_BG::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Intro_Image.cpp b/Jusin154_Team3D/Client/Private/Intro_Image.cpp index f22020e28..d564ab528 100644 --- a/Jusin154_Team3D/Client/Private/Intro_Image.cpp +++ b/Jusin154_Team3D/Client/Private/Intro_Image.cpp @@ -182,6 +182,9 @@ void CIntro_Image::Free() SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CIntro_Image::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index f0a1e4cd1..2a9afd12f 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -223,20 +223,7 @@ HRESULT CLevel_GamePlay::Ready_Background() if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UNIFIED))) return E_FAIL; - - - CMapElement_Lake::MAPOBJECT_LAKE_DESC Lake_Desc = {}; - - vector<_wstring> ModelPrototypeTags; - ModelPrototypeTags.push_back(TEXT("Prototype_Component_Hogwart_Lake")); - Lake_Desc.iMaxLodLevel = 0; - Lake_Desc.iRenderType = 4; - Lake_Desc.vPosition = _float3(-144.f, -61.9f, -115.f); - Lake_Desc.vRotation = _float3(0.f, 0.f, 0.f); - Lake_Desc.vScale = _float3(3.f, 3.f, 3.f); - Lake_Desc.ModelPrototypeTags = ModelPrototypeTags; - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Lake_Desc))) - return E_FAIL; + // --------------------------------- // >> M A P Configuration << // 맵 로드할지 안할지 bool 설정 @@ -268,9 +255,13 @@ HRESULT CLevel_GamePlay::Ready_Background() } else { - ///* 전체 맵 */ + /* 전체 맵 */ CInfoInstance::GetInstance()->Load_MapObjects("Hogsmeade_MapContainer_Data"); + /* 물 오브젝트 */ + if (FAILED(CInfoInstance::GetInstance()->Load_WaterElemet("Element_Water_Info"))) + return E_FAIL; + /* 조명 오브젝트 */ CInfoInstance::GetInstance()->Load_LightElements("LightElement"); diff --git a/Jusin154_Team3D/Client/Private/Level_Logo.cpp b/Jusin154_Team3D/Client/Private/Level_Logo.cpp index 9e0e471b9..5a9e978f9 100644 --- a/Jusin154_Team3D/Client/Private/Level_Logo.cpp +++ b/Jusin154_Team3D/Client/Private/Level_Logo.cpp @@ -26,9 +26,9 @@ HRESULT CLevel_Logo::Initialize() void CLevel_Logo::Update(_float fTimeDelta) { -#ifdef 기무리 - m_pGameInstance->Set_LevelToChange(); -#endif // 기무리 +//#ifdef 기무리 +// m_pGameInstance->Set_LevelToChange(); +//#endif // 기무리 if (m_pGameInstance->Key_Down(DIK_F1)) { diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index a26ad4521..5edbe2951 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -75,6 +75,7 @@ #include "Enemy_Panel.h" #include "Enemy_HpBar.h" #include "Enemy_Info.h" +#include "Boss_HpBar.h" #include "Spell_Canvas.h" #include "Spell_Panel.h" @@ -848,205 +849,205 @@ HRESULT CLoader::Loading_For_GamePlay() m_pGameInstance->Load_GlobalSRV(TEXT("GLOBAL_DISOLVE_BURN_VERTICAL"), "../Bin/Resources/Textures/Effect/Diffuse/drp_fire_Line_Vertical.png"); } #pragma endregion -//#pragma region UI_ANI -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Altering_Spell"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Altering_Spell\\Altering_Spell%d.png"), 349)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Alohomora"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Alohomora\\Alohomora%d.png"), 394)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic\\Ancient_Magic%d.png"), 152)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic_Throw"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic_Throw\\Ancient_Magic_Throw%d.png"), 89)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Arresto_Momentum"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Arresto_Momentum\\Arresto_Momentum%d.png"), 120)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Avada_Kedavra"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Avada_Kedavra\\Avada_Kedavra%d.png"), 208)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Basic_Cast"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Basic_Cast\\Basic_Cast%d.png"), 308)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Feed"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Feed\\Beast_Feed%d.png"), 378)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Petting_Brush"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Petting_Brush\\Beast_Petting_Brush%d.png"), 327)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Bombarda"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Bombarda\\Bombarda%d.png"), 262)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Confringo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Confringo\\Confringo%d.png"), 157)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Conjuring_Spell"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Conjuring_Spell\\Conjuring_Spell%d.png"), 115)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Descendo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Descendo\\Descendo%d.png"), 155)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Depulso"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Depulso\\Depulso%d.png"), 152)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Diffindo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Diffindo\\Diffindo%d.png"), 150)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Disillusionment"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Disillusionment\\Disillusionment%d.png"), 260)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Evanesco"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Evanesco\\Evanesco%d.png"), 136)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Expelliarmus"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Expelliarmus\\Expelliarmus%d.png"), 146)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Flipendo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Flipendo\\Flipendo%d.png"), 188)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Glacius"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Glacius\\Glacius%d.png"), 156)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Imperio"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Imperio\\Imperio%d.png"), 462)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Incendio"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Incendio\\Incendio%d.png"), 213)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Levioso"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Levioso\\Levioso%d.png"), 180)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lumos"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Lumos\\Lumos%d.png"), 365)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Nab_Sack"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Nab_Sack\\Nab_Sack%d.png"), 235)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Petrificus_Totalus"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Petrificus_Totalus\\Petrificus_Totalus%d.png"), 275)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Protego"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Protego\\Protego%d.png"), 285)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Reparo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Reparo\\Reparo%d.png"), 385)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Revelio"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Revelio\\Revelio%d.png"), 227)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Stupefy"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Stupefy\\Stupefy%d.png"), 222)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Transformation"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Transformation\\Transformation%d.png"), 146)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Wingardium_Leviosa"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Wingardium_Leviosa\\Wingardium_Leviosa%d.png"), 273)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Crucio"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Crucio\\Crucio%d.png"), 216)))) -// { -// return E_FAIL; -// } -// +#pragma region UI_ANI + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Altering_Spell"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Altering_Spell\\Altering_Spell%d.png"), 349)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Alohomora"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Alohomora\\Alohomora%d.png"), 394)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic\\Ancient_Magic%d.png"), 152)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic_Throw"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic_Throw\\Ancient_Magic_Throw%d.png"), 89)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Arresto_Momentum"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Arresto_Momentum\\Arresto_Momentum%d.png"), 120)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Avada_Kedavra"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Avada_Kedavra\\Avada_Kedavra%d.png"), 208)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Basic_Cast"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Basic_Cast\\Basic_Cast%d.png"), 308)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Feed"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Feed\\Beast_Feed%d.png"), 378)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Petting_Brush"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Petting_Brush\\Beast_Petting_Brush%d.png"), 327)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Bombarda"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Bombarda\\Bombarda%d.png"), 262)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Confringo"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Confringo\\Confringo%d.png"), 157)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Conjuring_Spell"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Conjuring_Spell\\Conjuring_Spell%d.png"), 115)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Descendo"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Descendo\\Descendo%d.png"), 155)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Depulso"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Depulso\\Depulso%d.png"), 152)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Diffindo"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Diffindo\\Diffindo%d.png"), 150)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Disillusionment"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Disillusionment\\Disillusionment%d.png"), 260)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Evanesco"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Evanesco\\Evanesco%d.png"), 136)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Expelliarmus"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Expelliarmus\\Expelliarmus%d.png"), 146)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Flipendo"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Flipendo\\Flipendo%d.png"), 188)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Glacius"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Glacius\\Glacius%d.png"), 156)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Imperio"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Imperio\\Imperio%d.png"), 462)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Incendio"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Incendio\\Incendio%d.png"), 213)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Levioso"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Levioso\\Levioso%d.png"), 180)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lumos"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Lumos\\Lumos%d.png"), 365)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Nab_Sack"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Nab_Sack\\Nab_Sack%d.png"), 235)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Petrificus_Totalus"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Petrificus_Totalus\\Petrificus_Totalus%d.png"), 275)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Protego"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Protego\\Protego%d.png"), 285)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Reparo"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Reparo\\Reparo%d.png"), 385)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Revelio"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Revelio\\Revelio%d.png"), 227)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Stupefy"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Stupefy\\Stupefy%d.png"), 222)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Transformation"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Transformation\\Transformation%d.png"), 146)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Wingardium_Leviosa"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Wingardium_Leviosa\\Wingardium_Leviosa%d.png"), 273)))) + //{ + // return E_FAIL; + //} + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Crucio"), + // CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Crucio\\Crucio%d.png"), 216)))) + //{ + // return E_FAIL; + //} + #pragma endregion #pragma region TERRAIN_TEXTURE @@ -1363,7 +1364,6 @@ HRESULT CLoader::Loading_For_GamePlay() } - // Heavy Wall CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{}; { Desc.eType = ACTOR::BOX; @@ -1434,11 +1434,11 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Broom_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * 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", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + 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; if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Rock_Big_Model"), @@ -1705,6 +1705,10 @@ HRESULT CLoader::Loading_For_GamePlay() if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CEnemy_Info::Create(m_pDevice, m_pContext)))) { return E_FAIL; } + /* For.Prototype_GameObject_NoMountIcon*/ + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CBoss_HpBar::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } /* For.Prototype_GameObject_Spell_Canvas*/ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CSpell_Canvas::Create(m_pDevice, m_pContext)))) @@ -1958,27 +1962,27 @@ HRESULT CLoader::Loading_For_GamePlay() /* For.Prototype_Component_South_Hogwart_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_South_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BCLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BCLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) return E_FAIL; /* For.Prototype_Component_North_Hogwart_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_North_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AVLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AVLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) return E_FAIL; /* For.Prototype_Component_North_Hogwart2_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_North_Hogwart2_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AULOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AULOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) return E_FAIL; /* For.Prototype_Component_West_Hogwart_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_West_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AZLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AZLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) return E_FAIL; /* For.Prototype_Component_East_Hogwart_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_East_Hogsmeade_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AYLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AYLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) return E_FAIL; /* For.Prototype_Component_Hogwart_Lake */ @@ -1991,6 +1995,16 @@ HRESULT CLoader::Loading_For_GamePlay() CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.bin", XMMatrixIdentity())))) return E_FAIL; + /* For.Prototype_Component_Hogsmead_NorthLake */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_NorthLake"), + CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep.bin", XMMatrixIdentity())))) + return E_FAIL; + + /* For.Prototype_Component_Hogsmead_NorthLakeShallow */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_NorthLakeShallow"), + CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow.bin", XMMatrixIdentity())))) + return E_FAIL; + /* For.Prototype_Component_VIBuffer_Box */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Box"), CVIBuffer_Box::Create(m_pDevice, m_pContext)))) @@ -2294,7 +2308,7 @@ vector* APIENTRY Deferred_FolderLoad_Main(ID3D11Device* pDevice, I _wstring wstrFileName = L"Prototype_GameObject_" + file.path().stem().wstring(); - CModel* pModel = CModel::Create(pDevice, pContext, MODEL::ENVIROMENT, szFilePath); + CModel* pModel = CModel::Create(pDevice, pContext, MODEL::ENVIRONMENT, szFilePath); _uint iNumMesh = pModel->Get_NumMeshes(); diff --git a/Jusin154_Team3D/Client/Private/Loding_Panel.cpp b/Jusin154_Team3D/Client/Private/Loding_Panel.cpp index be9e9d9db..a8fca9392 100644 --- a/Jusin154_Team3D/Client/Private/Loding_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/Loding_Panel.cpp @@ -136,7 +136,7 @@ HRESULT CLoding_Panel::Render() return E_FAIL; } #ifdef _DEBUG - m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("<- N M->."), _float2(100.f, 750.f)); + m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("<- N M ->."), _float2(100.f, 750.f)); if (INHYUK == true) m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("알고 계셨나요?\nUI의 생일은 28일 이랍니다."), _float2(100.f, 800.f)); @@ -270,6 +270,9 @@ void CLoding_Panel::Free() SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CLoding_Panel::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Logo.cpp b/Jusin154_Team3D/Client/Private/Logo.cpp index f7cccd7d7..f3ac8cd93 100644 --- a/Jusin154_Team3D/Client/Private/Logo.cpp +++ b/Jusin154_Team3D/Client/Private/Logo.cpp @@ -173,7 +173,10 @@ void CLogo::Free() SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CLogo::Describe_Entity() { } +#endif // _DEBUG + diff --git a/Jusin154_Team3D/Client/Private/Logo_Glow.cpp b/Jusin154_Team3D/Client/Private/Logo_Glow.cpp index 83d955946..f533d525e 100644 --- a/Jusin154_Team3D/Client/Private/Logo_Glow.cpp +++ b/Jusin154_Team3D/Client/Private/Logo_Glow.cpp @@ -196,6 +196,9 @@ void CLogo_Glow::Free() SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CLogo_Glow::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Logo_Text.cpp b/Jusin154_Team3D/Client/Private/Logo_Text.cpp index 55a0a6d53..db80da98c 100644 --- a/Jusin154_Team3D/Client/Private/Logo_Text.cpp +++ b/Jusin154_Team3D/Client/Private/Logo_Text.cpp @@ -186,7 +186,10 @@ void CLogo_Text::Free() SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CLogo_Text::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp index 1efc5d2dc..81f4b8394 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp @@ -185,11 +185,14 @@ HRESULT CMapElement_Interactable::Render_OutLine() return E_FAIL; } +#ifdef _DEBUG GUI::SetNextItemWidth(80.f); GUI::ColorPicker3("vOutLineColor", (_float*)&m_vOutLineColor); GUI::SliderFloat("Thickness", &m_fOutLineThickness, 0.1f, 2.f, "%.1f"); GUI::SliderFloat("Scale", &m_fOutLineScale, 0.1f, 2.f, "%.1f"); GUI::SliderFloat("Power", &m_fOutLinePower, 0.1f, 2.f, "%.1f"); +#endif // _DEBUG + Compute_Depth(); _float fRatio = (m_fCamDepth / *m_pGameInstance->Get_CurrentCameraFar()); m_fOutLineThickness = CMyTools::Lerp_f1D(0.07f, 0.15f, fRatio); diff --git a/Jusin154_Team3D/Client/Private/MapElement_Lake.cpp b/Jusin154_Team3D/Client/Private/MapElement_Lake.cpp index 0cfe599ec..3105c7784 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Lake.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Lake.cpp @@ -42,9 +42,24 @@ HRESULT CMapElement_Lake::Initialize(void* pArg) m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&pDesc->vPosition), 1.f)); m_pTransformCom->Set_Scale(pDesc->vScale); m_pTransformCom->Rotation(XMConvertToRadians(pDesc->vRotation.x), XMConvertToRadians(pDesc->vRotation.y), XMConvertToRadians(pDesc->vRotation.z)); - m_vRefractionColor = _float4(1.f, 1.f, 1.f, 1.f); - m_vSurfaceColor = _float4(1.f, 1.f, 1.f, 1.f); - m_fUVValue = 0.01f; + + m_fRadius = pDesc->fRadius; + m_fTimeSpeed = pDesc->fTimeSpeed; + + m_fRefractionStrength = pDesc->fRefractionStrength; + m_fRefractionPow = pDesc->fRefractionPow; + + m_fUVValue1 = pDesc->fUVValue1; + m_fUVValue2 = pDesc->fUVValue2; + m_fUVValue3 = pDesc->fUVValue3; + + m_vUVSpeed = pDesc->vUVSpeed; + m_vLargeUVSpeed = pDesc->vLargeUVSpeed; + m_vSubUVSpeed3 = pDesc->vSubUVSpeed3; + + memcpy(&m_vRefractionColor, &pDesc->vRefractionColor, sizeof(_float4)); + memcpy(&m_vSurfaceColor, &pDesc->vSurfaceColor, sizeof(_float4)); + return S_OK; } @@ -54,13 +69,17 @@ void CMapElement_Lake::Priority_Update(_float fTimeDelta) void CMapElement_Lake::Update(_float fTimeDelta) { - m_fTimeAcc += fTimeDelta * m_fUVValue; + m_fTimeAcc += fTimeDelta * m_fTimeSpeed; + + if (3600.f <= m_fTimeAcc) + m_fTimeAcc = 0.f; //Describe_Entity(); } void CMapElement_Lake::Late_Update(_float fTimeDelta) { - m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); + if(m_pGameInstance->isIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_fRadius)) + m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); } HRESULT CMapElement_Lake::Render() @@ -85,6 +104,8 @@ HRESULT CMapElement_Lake::Ready_Components(void* pArg) return E_FAIL; } + MAPOBJECT_LAKE_DESC* pDesc = static_cast(pArg); + for (_uint i = 0; i < m_iMaxLodLevel + 1; ++i) { CModel* pModel = { nullptr }; @@ -95,6 +116,13 @@ HRESULT CMapElement_Lake::Ready_Components(void* pArg) return E_FAIL; m_pModelComs.push_back(pModel); + + /* Com_Model */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, pDesc->ShallowModelPrototypeTags[i], + reinterpret_cast(&pModel)))) + return E_FAIL; + + m_pShallowModels.push_back(pModel); } /* Com_Shader */ @@ -150,7 +178,6 @@ HRESULT CMapElement_Lake::Bind_ShaderResources() return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTimeAcc, sizeof(_float)))) { return E_FAIL; } @@ -164,13 +191,13 @@ HRESULT CMapElement_Lake::Bind_ShaderResources() return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed1", &m_fUVSpeed1, sizeof(_float)))) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_vUVSpeed1", &m_vUVSpeed, sizeof(_float2)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed2", &m_fUVSpeed2, sizeof(_float)))) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_vUVSpeed2", &m_vLargeUVSpeed, sizeof(_float2)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed3", &m_fUVSpeed3, sizeof(_float)))) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_vUVSpeed3", &m_vSubUVSpeed3, sizeof(_float2)))) { return E_FAIL; } @@ -180,10 +207,6 @@ HRESULT CMapElement_Lake::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_RawValue("g_fRefractionPow", &m_fRefractionPow, sizeof(_float)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fSpecularIntensity", &m_fSpecularIntensity, sizeof(_float)))) { - return E_FAIL; - } - if (FAILED(m_pShaderCom->Bind_RawValue("g_vCamPosition", m_pGameInstance->Get_CamPosition(), sizeof(_float3)))) { @@ -204,9 +227,10 @@ HRESULT CMapElement_Lake::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_SRV("g_NormalLargeTexture", m_pNormalLargeTextureCom->Get_SRV(0)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_SRV("g_NormalSubTexture", m_pNormalSubTextureCom->Get_SRV(0)))) { + if (FAILED(m_pShaderCom->Bind_SRV("g_CausticsTexture", m_pCausticsTextureCom->Get_SRV(0)))) { return E_FAIL; } + if (FAILED(m_pShaderCom->Bind_SRV("g_NoiseTexture", m_pNoiseTextureCom->Get_SRV(0)))) { return E_FAIL; } @@ -215,6 +239,7 @@ HRESULT CMapElement_Lake::Bind_ShaderResources() } + return S_OK; } @@ -256,8 +281,11 @@ void CMapElement_Lake::Free() SAFE_RELEASE(m_pCausticsTextureCom); SAFE_RELEASE(m_pNoiseTextureCom); SAFE_RELEASE(m_pShaderCom); + for (auto& pModel : m_pModelComs) SAFE_RELEASE(pModel); + for (auto& pModel : m_pShallowModels) + SAFE_RELEASE(pModel); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/MapInfo.cpp b/Jusin154_Team3D/Client/Private/MapInfo.cpp index cabc592b7..4989b5f12 100644 --- a/Jusin154_Team3D/Client/Private/MapInfo.cpp +++ b/Jusin154_Team3D/Client/Private/MapInfo.cpp @@ -9,6 +9,7 @@ #include "MapObject_Collision.h" #include "MapElement_Light.h" #include "MapElement_Interactable.h" +#include "MapElement_Lake.h" #include "Layer.h" CMapInfo::CMapInfo() @@ -312,7 +313,7 @@ HRESULT CMapInfo::Load_LightElements(const _char* pFileName) { tinyxml2::XMLDocument xmlDoc; - string strPath = "../Bin/Resources/Data/Map/" + string(pFileName) + ".xml"; + string strPath = "../Bin/Resources/Data/Map/Light/" + string(pFileName) + ".xml"; if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) return E_FAIL; @@ -390,7 +391,7 @@ HRESULT CMapInfo::Load_LightElements(const _char* pFileName) return E_FAIL; } #ifndef 기무리 - MSG_BOX("Successed to Load File"); + //MSG_BOX("Successed to Load File"); #endif return S_OK; @@ -400,7 +401,7 @@ HRESULT CMapInfo::Load_InteractableElements(const _char* pFileName) { tinyxml2::XMLDocument xmlDoc; - string strPath = "../Bin/Resources/Data/Map/" + string(pFileName) + ".xml"; + string strPath = "../Bin/Resources/Data/Map/Interactable/" + string(pFileName) + ".xml"; if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) return E_FAIL; @@ -463,6 +464,115 @@ HRESULT CMapInfo::Load_InteractableElements(const _char* pFileName) return S_OK; } +HRESULT CMapInfo::Load_WaterElemet(const _char* pFileName) +{ + tinyxml2::XMLDocument xmlDoc; + + string strPath = "../Bin/Resources/Data/Map/Water/" + string(pFileName) + ".xml"; + + if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) + return E_FAIL; + + tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("MapObjects_Water"); + + if (nullptr == root) + { + MSG_BOX("Failed to Find root"); + return S_OK; + } + + for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object")) + { + CMapElement_Lake::MAPOBJECT_LAKE_DESC Desc = {}; + + /* Model Prototypes */ + Object->QueryUnsignedAttribute("Lod_Level", &Desc.iMaxLodLevel); + + string strTag = {}; + for (auto* PrototypeTag = Object->FirstChildElement("PrototypeTag"); PrototypeTag; PrototypeTag = PrototypeTag->NextSiblingElement("PrototypeTag")) + { + strTag = PrototypeTag->GetText(); + + Desc.ModelPrototypeTags.push_back(CMyTools::ToWstring(strTag)); + } + for (auto* PrototypeTag = Object->FirstChildElement("ShollowPrototypeTag"); PrototypeTag; PrototypeTag = PrototypeTag->NextSiblingElement("ShollowPrototypeTag")) + { + strTag = PrototypeTag->GetText(); + + Desc.ShallowModelPrototypeTags.push_back(CMyTools::ToWstring(strTag)); + } + + /* Transform */ + auto* Position = Object->FirstChildElement("Position"); + Position->QueryFloatAttribute("x", &Desc.vPosition.x); + Position->QueryFloatAttribute("y", &Desc.vPosition.y); + Position->QueryFloatAttribute("z", &Desc.vPosition.z); + + auto* Scale = Object->FirstChildElement("Scale"); + Scale->QueryFloatAttribute("x", &Desc.vScale.x); + Scale->QueryFloatAttribute("y", &Desc.vScale.y); + Scale->QueryFloatAttribute("z", &Desc.vScale.z); + + auto* Rotation = Object->FirstChildElement("Rotation"); + Rotation->QueryFloatAttribute("x", &Desc.vRotation.x); + Rotation->QueryFloatAttribute("y", &Desc.vRotation.y); + Rotation->QueryFloatAttribute("z", &Desc.vRotation.z); + + + auto* Radius = Object->FirstChildElement("Radius"); + Radius->QueryFloatAttribute("value", &Desc.fRadius); + + auto* TimeSpeed = Object->FirstChildElement("TimeSpeed"); + TimeSpeed->QueryFloatAttribute("value", &Desc.fTimeSpeed); + + auto* RefractionStrength = Object->FirstChildElement("RefractionStrength"); + RefractionStrength->QueryFloatAttribute("value", &Desc.fRefractionStrength); + + auto* RefractionPow = Object->FirstChildElement("RefractionPow"); + RefractionPow->QueryFloatAttribute("value", &Desc.fRefractionPow); + + auto* UVValue1 = Object->FirstChildElement("UVValue1"); + UVValue1->QueryFloatAttribute("value", &Desc.fUVValue1); + + auto* UVValue2 = Object->FirstChildElement("UVValue2"); + UVValue2->QueryFloatAttribute("value", &Desc.fUVValue2); + + auto* UVValue3 = Object->FirstChildElement("UVValue3"); + UVValue3->QueryFloatAttribute("value", &Desc.fUVValue3); + + // float2 값들 + auto* UVSpeed = Object->FirstChildElement("UVSpeed"); + UVSpeed->QueryFloatAttribute("x", &Desc.vUVSpeed.x); + UVSpeed->QueryFloatAttribute("y", &Desc.vUVSpeed.y); + + auto* LargeUVSpeed = Object->FirstChildElement("LargeUVSpeed"); + LargeUVSpeed->QueryFloatAttribute("x", &Desc.vLargeUVSpeed.x); + LargeUVSpeed->QueryFloatAttribute("y", &Desc.vLargeUVSpeed.y); + + auto* SubUVSpeed3 = Object->FirstChildElement("SubUVSpeed3"); + SubUVSpeed3->QueryFloatAttribute("x", &Desc.vSubUVSpeed3.x); + SubUVSpeed3->QueryFloatAttribute("y", &Desc.vSubUVSpeed3.y); + + // float4 값들 + auto* RefractionColor = Object->FirstChildElement("RefractionColor"); + RefractionColor->QueryFloatAttribute("x", &Desc.vRefractionColor.x); + RefractionColor->QueryFloatAttribute("y", &Desc.vRefractionColor.y); + RefractionColor->QueryFloatAttribute("z", &Desc.vRefractionColor.z); + RefractionColor->QueryFloatAttribute("w", &Desc.vRefractionColor.w); + + auto* SurfaceColor = Object->FirstChildElement("SurfaceColor"); + SurfaceColor->QueryFloatAttribute("x", &Desc.vSurfaceColor.x); + SurfaceColor->QueryFloatAttribute("y", &Desc.vSurfaceColor.y); + SurfaceColor->QueryFloatAttribute("z", &Desc.vSurfaceColor.z); + SurfaceColor->QueryFloatAttribute("w", &Desc.vSurfaceColor.w); + + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Element_Lake"), &Desc))) + return E_FAIL; + } + + return S_OK; +} + HRESULT CMapInfo::Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex) { m_pGameInstance = CGameInstance::GetInstance(); diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index e4da1ce68..d7a8c90e6 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -120,7 +120,7 @@ void CPlayer::Priority_Update(_float fTimeDelta) void CPlayer::Update(_float fTimeDelta) { - Update_CameraCoordinateSystem(); + Update_CameraCoordinateSystem(fTimeDelta); UpdateGrapInteractive(fTimeDelta); m_pFSM->Update_State(fTimeDelta); @@ -149,7 +149,7 @@ __super::Update(fTimeDelta); } } -void CPlayer::UpdateGrapInteractive(Engine::_float fTimeDelta) +void CPlayer::UpdateGrapInteractive(_float fTimeDelta) { if (nullptr != m_pGrapInteractive) { m_vGrapInteratableLerp.x += fTimeDelta; @@ -160,6 +160,26 @@ void CPlayer::UpdateGrapInteractive(Engine::_float fTimeDelta) } } +void CPlayer::Update_CameraShake(_float fTimeDelta) +{ + if (true == m_bCameraShake) { + m_vCameraShakeTimer.x += fTimeDelta; + if (m_vCameraShakeTimer.x > m_vCameraShakeTimer.y) { + m_vCameraShakeTimer.x = 0.f; + m_pCamPosition_ShoulderPart->Set_CameraShake(0.f, 0.f); + m_bCameraShake = false; + } + else { + _float fIntense = { 1.f - m_vCameraShakeTimer.x / m_vCameraShakeTimer.y }; + fIntense *= fIntense; + m_pCamPosition_ShoulderPart->Set_CameraShake( + fIntense * m_pGameInstance->Real_Random_Float(-m_fCameraShakeIntense, m_fCameraShakeIntense), + fIntense * m_pGameInstance->Real_Random_Float(-m_fCameraShakeIntense, m_fCameraShakeIntense) + ); + } + } +} + void CPlayer::Late_Update(_float fTimeDelta) { m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition()); @@ -180,6 +200,11 @@ void CPlayer::Late_Update(_float fTimeDelta) if (nullptr != m_LockOnInfo.pInteractive) { static_cast(m_LockOnInfo.pInteractive)->Set_DrawOutLine(); } + + if (m_bLookAt && m_LockOnInfo.pUnit) + { + m_pTransformCom->LookAt_Lerp(m_LockOnInfo.pUnit->Get_WorldPostion(), fTimeDelta, 5.f); + } //////////////////////////////////////////////////////////////////////////// _vector look = XMVector3Normalize(m_pTransformCom->Get_State(STATE::LOOK)); @@ -470,13 +495,14 @@ void CPlayer::SetGravity() } } -void CPlayer::Update_CameraCoordinateSystem() +void CPlayer::Update_CameraCoordinateSystem(_float fTimeDelta) { _vector xmvCameraLook = XMVector3Normalize(XMVectorSetY(m_pGameInstance->Get_CameraLook(), 0.f)); _vector xmvUp = XMVectorSet(0.f, 1.f, 0.f, 0.f); XMStoreFloat3(&m_vCameraRightDir, XMVector3Normalize(XMVector3Cross(xmvUp, xmvCameraLook))); XMStoreFloat3(&m_vCameraLookDir, xmvCameraLook); m_pInfoInstance->Update_CameraCoordinateSystem(m_vCameraLookDir, m_vRimLightColor); + Update_CameraShake(fTimeDelta); } _matrix CPlayer::Get_WandPos() @@ -588,7 +614,17 @@ void CPlayer::Describe_Entity() GUI::Checkbox("Render", &m_bVisible); GUI::Text("%d", m_iStateMask); - + GUI::Text("HP : %f, %f", m_pStat->Get_Stat().fCurrentHp, m_pStat->Get_Stat().fMaxHp); + GUI::SameLine(); if (GUI::Button("FULL")) { m_pStat->Set_Stat(ENUM_CLASS(STAT::CURRENTHP), m_pStat->Get_Stat().fMaxHp); } +#pragma region CAMERA_SHAKE + if (false == m_bCameraShake && GUI::Button("Shake")) { + m_bCameraShake = true; + } + if (GUI::SliderFloat("m_fCameraShakeTime", &m_fCameraShakeTime, 0.125f, 5.f, "%.3f")) { + m_vCameraShakeTimer.y = m_fCameraShakeTime; + } + GUI::SliderFloat("m_fCameraShakeIntense", &m_fCameraShakeIntense, 5.f, 20.f, "%.1f"); +#pragma endregion _vector xmvInputDir = XMVectorZero(); diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index 6367cae66..077da5e13 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -26,6 +26,8 @@ #include "State_Spell.h" #include "State_Hit.h" #include "State_Broom_Ride.h" +#include "State_Broom_Ride_Move.h" +#include "State_Broom_Dismount.h" #pragma endregion #include "EffectPool.h" @@ -324,14 +326,14 @@ void CPlayer::Behavior_MoveEnter() if (true == m_bSprintToggle) { m_pFSM->Enable_State(FSMSTATE::SPRINT); m_bWalkToggle = false; - pairAnimInfo = m_Animation[STATEANIM::SPRINT]; + m_bRatio = false; } else if (true == m_bWalkToggle) { m_pFSM->Enable_State(FSMSTATE::WALK); m_bSprintToggle = false; - pairAnimInfo = m_Animation[STATEANIM::WALK_FWD]; + m_bRatio = false; } else { @@ -710,7 +712,8 @@ void CPlayer::Behavior_JumpEnter() HRESULT CPlayer::Behavior_JumpExitCheck() { - if (IsCurrentKeyFrame("Jump")) { + _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); + if (fRatio>=0.7f) { m_pFSM->Change_State(FSMSTATE::LAND); return E_FAIL; } @@ -764,7 +767,7 @@ HRESULT CPlayer::Behavior_DodgeExitCheck(_float fTimeDelta) return E_FAIL; } - if (SUCCEEDED(InputMove()) && fRatio >= 0.32f) { + if (SUCCEEDED(InputMove()) && fRatio >= 0.3f) { m_pFSM->Change_State(FSMSTATE::MOVE); return E_FAIL; } @@ -822,6 +825,11 @@ void CPlayer::Behavior_CombatEnter() m_vGrapInteratableLerp.x = 0.f; return; } + + Add_Event(pairAnimInfo.first, + [this]() { m_bLookAt = true; }, + 0.12f); + Add_Event(pairAnimInfo.first, [this]() { Throwing_Interactive(); }, 0.2f); @@ -855,6 +863,7 @@ void CPlayer::Behavior_CombatEnter() HRESULT CPlayer::Behavior_CombatExitCheck() { pair<_uint, _bool> pairAnimInfo; + _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); if (SUCCEEDED(InputAction()) || SUCCEEDED(InputSpell())) { if (m_pGameInstance->Key_Down(DIK_R)) @@ -874,10 +883,18 @@ HRESULT CPlayer::Behavior_CombatExitCheck() m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } else if (m_pGameInstance->Key_Down(DIK_Z)) { + + m_pFSM->Enable_State(FSMSTATE::ANCIENT_THROW); + pairAnimInfo = m_Animation[STATEANIM::ANCIENT_THROW]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + if (nullptr != m_pGrapInteractive) { m_pFSM->Enable_State(FSMSTATE::ANCIENT_THROW); pairAnimInfo = m_Animation[STATEANIM::ANCIENT_THROW]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + Add_Event(pairAnimInfo.first, + [this]() { m_bLookAt = true; }, + 0.1f); Add_Event(pairAnimInfo.first, [this]() { Throwing_Interactive(); }, 0.2f); @@ -916,20 +933,23 @@ HRESULT CPlayer::Behavior_CombatExitCheck() if (m_pFSM->IsEnable(FSMSTATE::ANCIENT_THROW)) { - if (SUCCEEDED(InputMove()) && IsCurrentKeyFrame("Throw")) { + if (SUCCEEDED(InputMove()) && fRatio>=0.4f) { m_pFSM->Change_State(FSMSTATE::MOVE); + m_bLookAt = false; return E_FAIL; } } else { - if (SUCCEEDED(InputMove()) && IsCurrentKeyFrame("Combat")) { + if (SUCCEEDED(InputMove()) && fRatio >= 0.3f) { m_pFSM->Change_State(FSMSTATE::MOVE); + m_bLookAt = false; return E_FAIL; } } if (m_pModelCom->IsFinishedAnim()) { + m_bLookAt = false; if (SUCCEEDED(InputMove())) { m_pFSM->Change_State(FSMSTATE::MOVE); @@ -953,7 +973,46 @@ void CPlayer::Behavior_LightAttackEnter() pair<_uint, _bool> pairAnimInfo; m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK); pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + if (m_LockOnInfo.pUnit) + { + _vector vLook = m_pTransformCom->Get_State(STATE::LOOK); + _vector vTargetLook = m_LockOnInfo.pUnit->Get_Component()->Get_State(STATE::LOOK); + + vLook = XMVector3Normalize(vLook); + vTargetLook = XMVector3Normalize(vTargetLook); + + _float fDot = XMVectorGetX(XMVector3Dot(vLook, vTargetLook)); + fDot = clamp(fDot, -1.0f, 1.0f); + + _float fAngleRad = acosf(fDot); + _float Degree = XMConvertToDegrees(fAngleRad); + _vector vCross = XMVector3Cross(vLook, vTargetLook); + _float Cross = XMVectorGetY(vCross); + + if (Degree <= 30.f) + { + pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK_180_R]; + } + else if (Degree <= 120.f) + { + if (Cross > 0.f) + { + pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK_90_L]; + } + else + { + pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK_90_R2]; + } + } + else{ + Add_Event(pairAnimInfo.first, + [this]() {m_bLookAt = true; + }, + 0.01f); + } + } + + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,true); Add_Event(pairAnimInfo.first, [this]() {_uint iIndex = 0; m_pEffectPool->Use_Skill(SKILL_TYPE::JAP, Get_PartObject(), &iIndex); }, @@ -964,7 +1023,7 @@ void CPlayer::Behavior_LightAttackEnter() 0.0f); } -HRESULT CPlayer::Behavior_LightAttackExitCheck() +HRESULT CPlayer::Behavior_LightAttackExitCheck(_float fTimeDelta) { pair<_uint, _bool> pairAnimInfo; _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); @@ -973,12 +1032,24 @@ HRESULT CPlayer::Behavior_LightAttackExitCheck() _uint iCurr = m_pModelCom->Get_AnimIndex(); _uint iStart = m_Animation[STATEANIM::LIGHT_ATTACK].first; + if (iCurr == m_Animation[STATEANIM::LIGHT_ATTACK_180_R].first|| + iCurr == m_Animation[STATEANIM::LIGHT_ATTACK_90_L].first|| + iCurr == m_Animation[STATEANIM::LIGHT_ATTACK_90_R2].first) { + iCurr = iStart; + } + if (iCurr >= iStart && iCurr < iStart + 3) { _uint iNext = iCurr + 1; pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK]; pairAnimInfo.first = iNext; + + Add_Event(pairAnimInfo.first, + [this]() {m_bLookAt = true; + }, + 0.01f); + if (fRatio >= 0.1f) { m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); @@ -1003,6 +1074,7 @@ HRESULT CPlayer::Behavior_LightAttackExitCheck() if (SUCCEEDED(InputMove()) && fRatio >= 0.3f) { m_pFSM->Change_State(FSMSTATE::MOVE); + m_bLookAt = false; return E_FAIL; } @@ -1011,6 +1083,7 @@ HRESULT CPlayer::Behavior_LightAttackExitCheck() if (SUCCEEDED(InputMove())) { m_pFSM->Change_State(FSMSTATE::MOVE); + m_bLookAt = false; return E_FAIL; } @@ -1030,15 +1103,63 @@ void CPlayer::Behavior_SpellEnter() { pair<_uint, _bool> pairAnimInfo; m_pFSM->Enable_State(FSMSTATE::SPELL); - if (m_eSpell != ENUM_CLASS(SKILL_TYPE::END)) + pairAnimInfo = m_Animation[STATEANIM::SPELL]; + _float fRatio = 0.f; + if (m_LockOnInfo.pUnit) + { + _vector vLook = m_pTransformCom->Get_State(STATE::LOOK); + _vector vTargetLook = m_LockOnInfo.pUnit->Get_Component()->Get_State(STATE::LOOK); + + vLook = XMVector3Normalize(vLook); + vTargetLook = XMVector3Normalize(vTargetLook); + + _float fDot = XMVectorGetX(XMVector3Dot(vLook, vTargetLook)); + fDot = clamp(fDot, -1.0f, 1.0f); + + _float fAngleRad = acosf(fDot); + _float Degree = XMConvertToDegrees(fAngleRad); + _vector vCross = XMVector3Cross(vLook, vTargetLook); + _float Cross = XMVectorGetY(vCross); + + if (Degree <= 30.f) + { + pairAnimInfo = m_Animation[STATEANIM::SPELL_180_R]; + fRatio = 0.15f; + } + else if (Degree <= 120.f) + { + if (Cross > 0.f) + { + pairAnimInfo = m_Animation[STATEANIM::SPELL_90_L]; + } + else { + Add_Event(pairAnimInfo.first, + [this]() {m_bLookAt = true; + }, + 0.01f); + } + fRatio = 0.15f; + } + else { + Add_Event(pairAnimInfo.first, + [this]() {m_bLookAt = true; + }, + 0.01f); + fRatio = 0.2f; + } + } + else { + fRatio = 0.2f; + } + + if (m_eSpell != ENUM_CLASS(SKILL_TYPE::END) && m_eSpell != -1) { - pairAnimInfo = m_Animation[STATEANIM::SPELL]; switch (m_eSpell) { case ENUM_CLASS(SKILL_TYPE::BOMBARDA): Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA, this); }, - 0.2f); + fRatio); Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject()); }, 0.f); @@ -1046,7 +1167,7 @@ void CPlayer::Behavior_SpellEnter() case ENUM_CLASS(SKILL_TYPE::DESCENDO): Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::DESCENDO, Get_PartObject()); }, - 0.2f); + fRatio); Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::DESCENDO_SIDE, Get_PartObject()); }, 0.f); @@ -1054,7 +1175,7 @@ void CPlayer::Behavior_SpellEnter() case ENUM_CLASS(SKILL_TYPE::LEVIOSO): Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO, this); }, - 0.2f); + fRatio); Add_Event(pairAnimInfo.first, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO_SIDE, Get_PartObject()); }, 0.f); @@ -1110,14 +1231,10 @@ void CPlayer::Behavior_SpellEnter() } break; default: - pairAnimInfo = m_Animation[STATEANIM::SPELL_FAIL]; - Add_Event(pairAnimInfo.first, [this]() { m_pEffectPool->Use_Skill(SKILL_TYPE::WAND_END, Get_PartObject()); }, 0.2f); - - break; } } @@ -1128,11 +1245,8 @@ void CPlayer::Behavior_SpellEnter() Add_Event(pairAnimInfo.first, [this]() { m_pEffectPool->Use_Skill(SKILL_TYPE::WAND_END, Get_PartObject()); }, 0.2f); - - } - - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); } HRESULT CPlayer::Behavior_SpellExitCheck() @@ -1146,17 +1260,27 @@ HRESULT CPlayer::Behavior_SpellExitCheck() _uint iCurr = m_pModelCom->Get_AnimIndex(); _uint iStart = m_Animation[STATEANIM::SPELL].first; + if (iCurr == m_Animation[STATEANIM::SPELL_180_R].first|| + iCurr == m_Animation[STATEANIM::SPELL_90_L].first) { + iCurr = iStart; + } + if (iCurr >= iStart && iCurr < iStart + 3) { - if (fRatio >= 0.2f) + if (fRatio >= 0.15f) { _uint iNext = iCurr + 1; pairAnimInfo = m_Animation[STATEANIM::SPELL]; pairAnimInfo.first = iNext; + Add_Event(pairAnimInfo.first, + [this]() {m_bLookAt = true; + }, + 0.01f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); - if (m_eSpell != ENUM_CLASS(SKILL_TYPE::END)) + if (m_eSpell != ENUM_CLASS(SKILL_TYPE::END)&& m_eSpell != -1) { _float fRatio = 0.2f; if (iNext - iStart == 2) { @@ -1196,6 +1320,10 @@ HRESULT CPlayer::Behavior_SpellExitCheck() break; } } + else { + pairAnimInfo = m_Animation[STATEANIM::SPELL_FAIL]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,true); + } } } } @@ -1226,12 +1354,14 @@ HRESULT CPlayer::Behavior_SpellExitCheck() } - if (SUCCEEDED(InputMove()) && IsCurrentKeyFrame("Combat")) { + if (SUCCEEDED(InputMove()) && fRatio>=0.3f) { m_pFSM->Change_State(FSMSTATE::MOVE); + m_bLookAt = false; return E_FAIL; } if (m_pModelCom->IsFinishedAnim()) { + m_bLookAt = false; if (SUCCEEDED(InputMove())) { m_pFSM->Change_State(FSMSTATE::MOVE); @@ -1301,12 +1431,6 @@ HRESULT CPlayer::Behavior_Broom_RideExitCheck(_float fTimeDelta) _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); pair<_uint, _bool> pairAnimInfo; - _bool bFwd = m_pGameInstance->Key_Pressing(DIK_W); - _bool bLft = m_pGameInstance->Key_Pressing(DIK_A); - _bool bRht = m_pGameInstance->Key_Pressing(DIK_D); - _bool bDown = m_pGameInstance->Key_Pressing(DIK_LCONTROL); - _bool bUp = m_pGameInstance->Key_Pressing(DIK_SPACE); - if (iCurrAnimIndex == m_Animation[STATEANIM::BROOM_MOUNT].first) { if (m_pModelCom->IsFinishedAnim()) { @@ -1316,141 +1440,199 @@ HRESULT CPlayer::Behavior_Broom_RideExitCheck(_float fTimeDelta) return E_FAIL; } - if (m_pGameInstance->Key_Down(DIK_LSHIFT)) + if (m_pModelCom->IsFinishedAnim()) { - m_bHoverToggle = !m_bHoverToggle; + m_pFSM->Change_State(FSMSTATE::BROOM_RIDE_MOVE); } - if (!m_pFSM->IsEnable(FSMSTATE::DISMOUNT)) + + + return E_FAIL; +} + +void CPlayer::Behavior_Broom_RideExit() +{ + m_pFSM->Disable_State(FSMSTATE::BROOM_RIDE); +} + +void CPlayer::Behavior_Broom_Ride_MoveEnter() +{ + m_pFSM->Enable_State(FSMSTATE::BROOM_RIDE_MOVE); +} + +HRESULT CPlayer::Behavior_Broom_Ride_MoveExitCheck(_float fTimeDelta) +{ + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + pair<_uint, _bool> pairAnimInfo; + + _bool bFwd = m_pGameInstance->Key_Pressing(DIK_W); + _bool bLft = m_pGameInstance->Key_Pressing(DIK_A); + _bool bRht = m_pGameInstance->Key_Pressing(DIK_D); + _bool bDown = m_pGameInstance->Key_Pressing(DIK_LCONTROL); + _bool bUp = m_pGameInstance->Key_Pressing(DIK_SPACE); + + if (m_pBroom->Get_Hover()) { - if (m_bHoverToggle) + if (m_pGameInstance->Key_Pressing(DIK_W)) { - if (m_pGameInstance->Key_Pressing(DIK_W)) - { - pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_HOVER_FWD); - } - else if (m_pGameInstance->Key_Pressing(DIK_A)) - { - pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_HOVER_LEFT); - } - else if (m_pGameInstance->Key_Pressing(DIK_D)) - { - pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_HOVER_RIGHT); - } - else - { - pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_HOVER_IDLE); - } + pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_HOVER_FWD); + } + else if (m_pGameInstance->Key_Pressing(DIK_A)) + { + pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_HOVER_LEFT); + } + else if (m_pGameInstance->Key_Pressing(DIK_D)) + { + pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_HOVER_RIGHT); } else { - if (SUCCEEDED(InputBroom()) || SUCCEEDED(InputMove())) + pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_HOVER_IDLE); + } + + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + } + else + { + if (SUCCEEDED(InputBroom()) || SUCCEEDED(InputMove())) + { + _float3 vInput = { 0.f, 0.f, 0.f }; + + if (bFwd) vInput.z += 1.f; + if (bLft) vInput.x -= 1.f; + if (bRht) vInput.x += 1.f; + if (bUp) vInput.y += 1.f; + if (bDown) vInput.y -= 1.f; + + _bool bHasInput = !(vInput.x == 0 && vInput.y == 0 && vInput.z == 0); + _vector vDir = XMVector3Normalize(XMLoadFloat3(&vInput)); + + if (bUp || bDown) { - _float3 vInput = { 0.f, 0.f, 0.f }; - - if (bFwd) vInput.z += 1.f; - if (bLft) vInput.x -= 1.f; - if (bRht) vInput.x += 1.f; - if (bUp) vInput.y += 1.f; - if (bDown) vInput.y -= 1.f; - - _bool bHasInput = !(vInput.x == 0 && vInput.y == 0 && vInput.z == 0); - _vector vDir = XMVector3Normalize(XMLoadFloat3(&vInput)); - - if (bUp || bDown) + if (bUp) { - if (bUp) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_UP]; - } - else - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN]; - } + pairAnimInfo = m_Animation[STATEANIM::BROOM_UP]; } + else + { + pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN]; + } + } - _float ax = fabsf(vInput.x); - _float ay = fabsf(vInput.y); - _float az = fabsf(vInput.z); + _float ax = fabsf(vInput.x); + _float ay = fabsf(vInput.y); + _float az = fabsf(vInput.z); - if (ay > ax && ay > az) + if (ay > ax && ay > az) + { + if (vInput.y > 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_UP]; + else + pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN]; + } + else if (ax >= az) + { + if (ay >= ax) { if (vInput.y > 0) pairAnimInfo = m_Animation[STATEANIM::BROOM_UP]; else pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN]; } - else if (ax >= az) - { - if (ay >= ax) - { - if (vInput.y > 0) - pairAnimInfo = m_Animation[STATEANIM::BROOM_UP]; - else - pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN]; - } - else { - if (vInput.x < 0) - pairAnimInfo = m_Animation[STATEANIM::BROOM_LEFT]; - else if (vInput.x > 0) - pairAnimInfo = m_Animation[STATEANIM::BROOM_RIGHT]; - else { - pairAnimInfo = m_Animation[STATEANIM::BROOM_FWD]; - } - } - } - else - { - if (vInput.y > 0) - pairAnimInfo = m_Animation[STATEANIM::BROOM_UP]; - else if (vInput.y < 0) - pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN]; + else { + if (vInput.x < 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_LEFT]; + else if (vInput.x > 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_RIGHT]; else { pairAnimInfo = m_Animation[STATEANIM::BROOM_FWD]; } } } - else { - pairAnimInfo = m_Animation[STATEANIM::BROOM_FWD]; + else + { + if (vInput.y > 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_UP]; + else if (vInput.y < 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN]; + else { + pairAnimInfo = m_Animation[STATEANIM::BROOM_FWD]; + } } } + else { + pairAnimInfo = m_Animation[STATEANIM::BROOM_FWD]; + } + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } + if (m_pGameInstance->Key_Pressing(DIK_N)) { auto flags = m_pCharacter_Controller->Get_CollisionFlags(); if (flags & PSX::PxControllerCollisionFlag::eCOLLISION_DOWN) { - m_bOnce = false; - pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_DISMOUNT); - m_pFSM->Enable_State(FSMSTATE::DISMOUNT); - m_pBroom->Set_Ride(false); - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_pFSM->Change_State(FSMSTATE::BROOM_DISMOUNT); } else { m_pBroomTransform->Go_Down(fTimeDelta); } } + + return E_FAIL; +} + +void CPlayer::Behavior_Broom_Ride_MoveExit() +{ + m_pFSM->Disable_State(FSMSTATE::BROOM_RIDE_MOVE); +} + +void CPlayer::Behavior_Broom_DismountEnter() +{ + pair<_uint, _bool> pairAnimInfo; + m_bOnce = false; + pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_DISMOUNT); + m_pFSM->Enable_State(FSMSTATE::BROOM_DISMOUNT); + m_pBroom->Set_Ride(false); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); +} + +HRESULT CPlayer::Behavior_Broom_DismountExitCheck(_float fTimeDelta) +{ + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + pair<_uint, _bool> pairAnimInfo; if (iCurrAnimIndex == m_Animation[STATEANIM::BROOM_DISMOUNT].first) { if (m_pModelCom->IsFinishedAnim()) { - m_pFSM->Change_State(FSMSTATE::IDLE); - return E_FAIL; - } - if (SUCCEEDED(InputMove())) - { - m_pFSM->Change_State(FSMSTATE::MOVE); - return E_FAIL; - } + _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); + if (SUCCEEDED(InputMove())) + { + m_pFSM->Change_State(FSMSTATE::MOVE); + } + else { + m_pFSM->Change_State(FSMSTATE::IDLE); + } + + return E_FAIL; + } + } return E_FAIL; } -void CPlayer::Behavior_Broom_RideExit() +void CPlayer::Behavior_Broom_DismountExit() { - m_pFSM->Disable_State(FSMSTATE::BROOM_RIDE | FSMSTATE::DISMOUNT); + m_pFSM->Disable_State(FSMSTATE::BROOM_DISMOUNT); } void CPlayer::Player_InterpTurn(_float fTimeDelta) @@ -1660,7 +1842,7 @@ void CPlayer::Add_FSM() CState_LightAttack::STATE_LIGHTATTACK_DESC Desc{}; Desc.pOwner = this; Desc.funcEnterEvent = [this]() { Behavior_LightAttackEnter(); }; - Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_LightAttackExitCheck(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_LightAttackExitCheck(fTimedelta); }; Desc.funcExitEvent = [this]() { Behavior_LightAttackExit(); }; Desc.funcPriorityUpdate = nullptr; Desc.funcLateUpdate = nullptr; @@ -1705,12 +1887,10 @@ void CPlayer::Add_FSM() Desc.funcExitEvent = [this]() { Behavior_Broom_RideExit(); }; Desc.funcPriorityUpdate = [this](_float fTimeDelta) { _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); - if (m_pFSM->IsEnable(FSMSTATE::DISMOUNT)) - return; - _vector OffsetY = XMVectorSet(0.f, 1.f, 0.f, 0.f); if (!m_bOnce) { - m_pBroomTransform->Set_State(STATE::POSITION, Get_WorldPostion()+ OffsetY); + m_pBroomTransform->Set_WorldMatrix(m_pTransformCom->Get_XMWorldMatrix()); + m_pBroomTransform->Set_State(STATE::POSITION, m_pBroomTransform->Get_State(STATE::POSITION)+XMVectorSet(0.f, 2.5f, 0.f, 0.f)); m_bOnce = true; } @@ -1723,9 +1903,8 @@ void CPlayer::Add_FSM() _matrix BoneNoScale = XMMatrixRotationQuaternion(Rot) * XMMatrixTranslationFromVector(Trans); - m_OffsetPos = { 0.f, 1.4f, 0.f }; + m_OffsetPos = { 0.f, 0.9f, 0.f }; - GUI::DragFloat3("BroomOffset", (_float*)&m_OffsetPos, 0.01f); _matrix Offset = XMMatrixTranslation(m_OffsetPos.x, m_OffsetPos.y, m_OffsetPos.z); @@ -1735,25 +1914,6 @@ void CPlayer::Add_FSM() _matrix FinalWorld = FixRot * SocketWorld; - //_matrix PlayerWorld = XMLoadFloat4x4(m_pTransformCom->Get_WorldMatrixPtr()); - - //_matrix GoalWorld = FinalWorld; - - //_vector CurS, CurR, CurT; - //_vector GoalS, GoalR, GoalT; - - //XMMatrixDecompose(&CurS, &CurR, &CurT, PlayerWorld); - //XMMatrixDecompose(&GoalS, &GoalR, &GoalT, GoalWorld); - - //_vector finalR = XMQuaternionSlerp(CurR, GoalR, fTimeDelta); // 8~12는 튐 방지 - //_vector finalT = XMVectorLerp(CurT, GoalT, fTimeDelta); - - //_matrix finalMat = XMMatrixAffineTransformation(GoalS, XMVectorZero(), finalR, finalT); - - //m_pTransformCom->Set_WorldMatrix(finalMat); - //m_pCharacter_Controller->Set_Position(finalMat.r[3]); - - _vector SourS, SourR, SourT; _vector DestS, DestR, DestT; XMMatrixDecompose(&SourS, &SourR, &SourT, FinalWorld); @@ -1771,6 +1931,62 @@ void CPlayer::Add_FSM() m_States.emplace(FSMSTATE::BROOM_RIDE, CState_Broom_Ride::Create(&Desc)); } + { + CState_Broom_Ride_Move::STATE_BROOM_RIDE_MOVE_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_Broom_Ride_MoveEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_Broom_Ride_MoveExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_Broom_Ride_MoveExit(); }; + Desc.funcPriorityUpdate = [this](_float fTimeDelta) { + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + + _matrix BroomWorld = XMLoadFloat4x4(m_pBroomTransform->Get_WorldMatrixPtr()); + _matrix BoneLocal = XMLoadFloat4x4(m_pBroomModel->Get_BoneMatrixPtr("broomSocket")); + + _vector Scale, Rot, Trans; + + XMMatrixDecompose(&Scale, &Rot, &Trans, BoneLocal); + + _matrix BoneNoScale = XMMatrixRotationQuaternion(Rot) * XMMatrixTranslationFromVector(Trans); + + m_OffsetPos = { 0.f, 0.9f, 0.f }; + _matrix Offset = XMMatrixTranslation(m_OffsetPos.x, + m_OffsetPos.y, m_OffsetPos.z); + + _matrix SocketWorld = BoneNoScale * Offset * BroomWorld; + + _matrix FixRot = XMMatrixRotationY(XMConvertToRadians(180.f)); + + _matrix FinalWorld = FixRot * SocketWorld; + + _vector SourS, SourR, SourT; + _vector DestS, DestR, DestT; + XMMatrixDecompose(&SourS, &SourR, &SourT, FinalWorld); + XMMatrixDecompose(&DestS, &DestR, &DestT, m_pTransformCom->Get_XMWorldMatrix()); + + _vector finalR = XMQuaternionSlerp(SourR, DestR, fTimeDelta); + _vector finalT = XMVectorLerp(SourT, DestT, fTimeDelta); + + _matrix finalMat = XMMatrixAffineTransformation(DestS, XMVectorZero(), finalR, finalT); + + m_pTransformCom->Set_WorldMatrix(finalMat); + m_pCharacter_Controller->Set_Position(finalMat.r[3]); + }; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::BROOM_RIDE_MOVE, CState_Broom_Ride_Move::Create(&Desc)); + } + + { + CState_Broom_Dismount::STATE_BROOM_DISMOUNT_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_Broom_DismountEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_Broom_DismountExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_Broom_DismountExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::BROOM_DISMOUNT, CState_Broom_Dismount::Create(&Desc)); + } + #pragma endregion } @@ -1813,8 +2029,19 @@ void CPlayer::Set_Anim() m_Animation[STATEANIM::SKILL] = { 593,false }; m_Animation[STATEANIM::SKILL2] = { 991,false }; + m_Animation[STATEANIM::LIGHT_ATTACK] = { 413,false }; + m_Animation[STATEANIM::LIGHT_ATTACK_180_R] = { 809,false }; + + m_Animation[STATEANIM::LIGHT_ATTACK_90_L] = { 801,false }; + m_Animation[STATEANIM::LIGHT_ATTACK_90_R1] = { 849,false }; + m_Animation[STATEANIM::LIGHT_ATTACK_90_R2] = { 853,false }; + m_Animation[STATEANIM::LIGHT_ATTACK_90_R3] = { 854,false }; + m_Animation[STATEANIM::SPELL] = { 772,false }; + m_Animation[STATEANIM::SPELL_180_R] = { 837,false }; // 837 805 + m_Animation[STATEANIM::SPELL_90_L] = { 826,false }; + m_Animation[STATEANIM::MAPHELP] = { 122,false }; m_Animation[STATEANIM::POTION] = { 114,false }; // 114 포션 // 909 루모스 m_Animation[STATEANIM::ACCIO] = { 417,false }; @@ -1874,6 +2101,12 @@ void CPlayer::Set_Anim() //906 마법 실패 + + + // 821 90도 L + // 849 90도 R + // 853 90도 R + // 854 90도 R } diff --git a/Jusin154_Team3D/Client/Private/State_Broom_Dismount.cpp b/Jusin154_Team3D/Client/Private/State_Broom_Dismount.cpp new file mode 100644 index 000000000..fefe17d23 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/State_Broom_Dismount.cpp @@ -0,0 +1,64 @@ +#include "pch.h" +#include "State_Broom_Dismount.h" +#include "Unit.h" + + +CState_Broom_Dismount::CState_Broom_Dismount() + :CState_Root() +{ +} + +void CState_Broom_Dismount::Enter() +{ + __super::Enter(); +} + +HRESULT CState_Broom_Dismount::Update(_float fTimeDelta) +{ + if (nullptr != m_funcPriorityUpdate) { + m_funcPriorityUpdate(fTimeDelta); + } + if (E_FAIL == (__super::Update(fTimeDelta))) { + return E_FAIL; + } + if (nullptr != m_funcLateUpdate) { + m_funcLateUpdate(fTimeDelta); + } + return S_OK; +} + +void CState_Broom_Dismount::Exit() +{ + __super::Exit(); +} + +HRESULT CState_Broom_Dismount::Initialize(STATE_BROOM_DISMOUNT_DESC* pDesc) +{ + if (FAILED(__super::Initialize(pDesc))) { + return E_FAIL; + } + m_funcPriorityUpdate = pDesc->funcPriorityUpdate; + m_funcLateUpdate = pDesc->funcLateUpdate; + m_pModel = m_pOwner->Get_Component(); + m_pFSM = m_pOwner->Get_Component(); + + return S_OK; +} + +CState_Broom_Dismount* CState_Broom_Dismount::Create(STATE_BROOM_DISMOUNT_DESC* pDesc) +{ + CState_Broom_Dismount* pInstance = new CState_Broom_Dismount; + if (FAILED(pInstance->Initialize(pDesc))) { + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CState_Broom_Dismount::Free() +{ + __super::Free(); +} + +void CState_Broom_Dismount::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/State_Broom_Ride_Move.cpp b/Jusin154_Team3D/Client/Private/State_Broom_Ride_Move.cpp new file mode 100644 index 000000000..16eb8e5d3 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/State_Broom_Ride_Move.cpp @@ -0,0 +1,64 @@ +#include "pch.h" +#include "State_Broom_Ride_Move.h" +#include "Unit.h" + + +CState_Broom_Ride_Move::CState_Broom_Ride_Move() + :CState_Root() +{ +} + +void CState_Broom_Ride_Move::Enter() +{ + __super::Enter(); +} + +HRESULT CState_Broom_Ride_Move::Update(_float fTimeDelta) +{ + if (nullptr != m_funcPriorityUpdate) { + m_funcPriorityUpdate(fTimeDelta); + } + if (E_FAIL == (__super::Update(fTimeDelta))) { + return E_FAIL; + } + if (nullptr != m_funcLateUpdate) { + m_funcLateUpdate(fTimeDelta); + } + return S_OK; +} + +void CState_Broom_Ride_Move::Exit() +{ + __super::Exit(); +} + +HRESULT CState_Broom_Ride_Move::Initialize(STATE_BROOM_RIDE_MOVE_DESC* pDesc) +{ + if (FAILED(__super::Initialize(pDesc))) { + return E_FAIL; + } + m_funcPriorityUpdate = pDesc->funcPriorityUpdate; + m_funcLateUpdate = pDesc->funcLateUpdate; + m_pModel = m_pOwner->Get_Component(); + m_pFSM = m_pOwner->Get_Component(); + + return S_OK; +} + +CState_Broom_Ride_Move* CState_Broom_Ride_Move::Create(STATE_BROOM_RIDE_MOVE_DESC* pDesc) +{ + CState_Broom_Ride_Move* pInstance = new CState_Broom_Ride_Move; + if (FAILED(pInstance->Initialize(pDesc))) { + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CState_Broom_Ride_Move::Free() +{ + __super::Free(); +} + +void CState_Broom_Ride_Move::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/State_Slam.cpp b/Jusin154_Team3D/Client/Private/State_Slam.cpp index 76e36bbbf..79ee778a9 100644 --- a/Jusin154_Team3D/Client/Private/State_Slam.cpp +++ b/Jusin154_Team3D/Client/Private/State_Slam.cpp @@ -10,6 +10,7 @@ CState_Slam::CState_Slam() void CState_Slam::Enter() { + m_bPlayerHit = false; __super::Enter(); } @@ -22,13 +23,14 @@ HRESULT CState_Slam::Update(_float fTimeDelta) return E_FAIL; } if (nullptr != m_funcLateUpdate) { - m_funcLateUpdate(fTimeDelta); + m_funcLateUpdate(fTimeDelta, m_bPlayerHit); } return S_OK; } void CState_Slam::Exit() { + m_bPlayerHit = false; __super::Exit(); } diff --git a/Jusin154_Team3D/Client/Private/State_Swing.cpp b/Jusin154_Team3D/Client/Private/State_Swing.cpp index a3d45b12d..08b7c5161 100644 --- a/Jusin154_Team3D/Client/Private/State_Swing.cpp +++ b/Jusin154_Team3D/Client/Private/State_Swing.cpp @@ -10,6 +10,7 @@ CState_Swing::CState_Swing() void CState_Swing::Enter() { + m_bPlayerHit = false; __super::Enter(); } @@ -22,13 +23,14 @@ HRESULT CState_Swing::Update(_float fTimeDelta) return E_FAIL; } if (nullptr != m_funcLateUpdate) { - m_funcLateUpdate(fTimeDelta); + m_funcLateUpdate(fTimeDelta, m_bPlayerHit); } return S_OK; } void CState_Swing::Exit() { + m_bPlayerHit = false; __super::Exit(); } diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp index b777ef15c..c14d6667d 100644 --- a/Jusin154_Team3D/Client/Private/Troll.cpp +++ b/Jusin154_Team3D/Client/Private/Troll.cpp @@ -6,6 +6,7 @@ #include "GameInstance.h" #include "InfoInstance.h" #include "Effect_Container.h" +#include "CallBack_Troll_HitReport.h" #include "EffectParts.h" #include "EffectPool.h" #include "Layer.h" @@ -58,9 +59,8 @@ HRESULT CTroll::Initialize(void* pArg) m_pFSM->Bind_States(FSMDesc); m_pFSM->Change_State(FSMSTATE::IDLE); } - m_pCallBack_Behavior->Initialize(m_pCharacter_Controller, m_pRigidBody); - m_pCallBack_HitReport->Initialize(m_pCharacter_Controller, m_pRigidBody); + m_pCallBack_HitReport->Initialize(m_pCharacter_Controller, m_pRigidBody, &m_bCollisionPlayer); @@ -78,21 +78,27 @@ HRESULT CTroll::Initialize(void* pArg) void CTroll::Priority_Update(_float fTimeDelta) { + m_vStartHammerPos = *m_pHammerPos; + m_vStartGripPos = *m_pHammerGripPos; __super::Priority_Update(fTimeDelta); } void CTroll::Update(_float fTimeDelta) { - __super::Update(fTimeDelta); - m_pFSM->Update_State(fTimeDelta); m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); + __super::Update(fTimeDelta); + Play_Event(); if (true == m_pCharacter_Controller->IsActive()) { - m_pCharacter_Controller->Move(fTimeDelta); + { // 세트 + m_pCallBack_HitReport->BeginFrame(); + m_pCharacter_Controller->Move(fTimeDelta); + m_pCallBack_HitReport->Set_CurrentSlop(); + } m_vStunTimer.x = 0.f; } else if (true == m_pRigidBody->IsActive()) { @@ -352,29 +358,34 @@ HRESULT CTroll::Ready_Components() HRESULT CTroll::Ready_Parts() { - CTroll_Weapon::TROLLWEAPON_DESC Troll_WeaponDesc{}; - - Troll_WeaponDesc.pParentTransform = m_pTransformCom; - Troll_WeaponDesc.pSocketMatrices = m_pModelCom->Get_BoneMatrixPtr("SKT_RightHand"); - - if (FAILED(Add_PartObject("Troll_Weapon", g_iStaticLevel, nullptr, &Troll_WeaponDesc))) { - return E_FAIL; + CTroll_Weapon::TROLLWEAPON_DESC Troll_WeaponDesc{}; + + Troll_WeaponDesc.pParentTransform = m_pTransformCom; + Troll_WeaponDesc.pSocketMatrices = m_pModelCom->Get_BoneMatrixPtr("SKT_RightHand"); + + if (FAILED(Add_PartObject("Troll_Weapon", g_iStaticLevel, nullptr, &Troll_WeaponDesc))) + { + return E_FAIL; + } + m_pHammerPos = Get_PartObject()->Get_HammerPosition(); + m_pHammerGripPos = Get_PartObject()->Get_Component()->Get_StatePtr(STATE::POSITION); } - CTroll_Rock::TROLLROCK_DESC Troll_RockDesc{}; - - Troll_RockDesc.pParentTransform = m_pTransformCom; - Troll_RockDesc.pSocketMatrices = m_pModelCom->Get_BoneMatrixPtr("SKT_LeftHand"); - - if (FAILED(Add_PartObject("Troll_Rock", g_iStaticLevel, nullptr, &Troll_RockDesc))) { - return E_FAIL; + CTroll_Rock::TROLLROCK_DESC Troll_RockDesc{}; + + Troll_RockDesc.pParentTransform = m_pTransformCom; + Troll_RockDesc.pSocketMatrices = m_pModelCom->Get_BoneMatrixPtr("SKT_LeftHand"); + + if (FAILED(Add_PartObject("Troll_Rock", g_iStaticLevel, nullptr, &Troll_RockDesc))) + { + return E_FAIL; + } + + Get_PartObject()->Set_Visible(false); } - Get_PartObject()->Set_Visible(false); - - #pragma region EFFECT /* EFFECT */ diff --git a/Jusin154_Team3D/Client/Private/Troll_Rock.cpp b/Jusin154_Team3D/Client/Private/Troll_Rock.cpp index dfb5590e2..3c2c78edc 100644 --- a/Jusin154_Team3D/Client/Private/Troll_Rock.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_Rock.cpp @@ -60,8 +60,10 @@ void CTroll_Rock::Priority_Update(_float fTimeDelta) m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::LOOK), fTimeDelta * 50.f); m_pTransformCom->Go_Straight(fTimeDelta); + } - + XMStoreFloat4(&m_vStartPos, m_pTransformCom->Get_State(STATE::POSITION)); + #ifdef _DEBUG Describe_Entity(); @@ -75,7 +77,67 @@ void CTroll_Rock::Update(_float fTimeDelta) void CTroll_Rock::Late_Update(_float fTimeDelta) { - m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); + if (true == m_bVisible) { + RockHit(); + m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); + } +} + +void CTroll_Rock::RockHit() +{ + _vector vStartPos = XMLoadFloat4(&m_vStartPos); + _vector vEndPos = m_pTransformCom->Get_State(STATE::POSITION); + _vector vDir = vEndPos - vStartPos; + _float fLength = XMVectorGetX(XMVector4Length(vDir)); + vDir = XMVector4Normalize(vDir); + m_SweepBuffer = {}; + _bool bHit = m_pGameInstance->SphereCast(0.5f, vStartPos, vDir, fLength, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBuffer); + if (true == bHit) { + vector Hits; + _uint iHitCount = m_SweepBuffer.nbTouches; + if (true == m_SweepBuffer.hasBlock) { + iHitCount += 1; + Hits.reserve(iHitCount); + Hits.emplace_back(&m_SweepBuffer.block); + } + else { + Hits.reserve(iHitCount); + } + for (_uint i = 0; i < m_SweepBuffer.nbTouches; ++i) { + Hits.emplace_back(&m_SweepBuffer.touches[i]); + } + + for (_uint i = 0; i < Hits.size(); ++i) { + PSX::PxSweepHit* pHit = Hits[i]; + PSX::PxActor* pActor = pHit->actor; + if (nullptr != pActor && nullptr != pActor->userData) { + PhsXUserData* pUserData = static_cast(pActor->userData); + switch (PXOBJECT(pUserData->iSubKind)) + { + case Engine::PXOBJECT::PLAYER: + { + if (false == m_bVisible) { + break; + } + m_bVisible = false; + CStat* pStat = pUserData->pCharacter->Get_Owner()->Get_Component(); + pStat->Get_Damage(10.f); + } + break; + case Engine::PXOBJECT::ALLY_HITBOX: + break; + default: + break; + } + } + } + } +} + +void CTroll_Rock::Set_Attach(_bool Attach) +{ + m_bAttach = Attach; + m_bVisible = true; } HRESULT CTroll_Rock::Render() diff --git a/Jusin154_Team3D/Client/Private/Troll_State_Rush.cpp b/Jusin154_Team3D/Client/Private/Troll_State_Rush.cpp index afa12b44b..4051d7793 100644 --- a/Jusin154_Team3D/Client/Private/Troll_State_Rush.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_State_Rush.cpp @@ -10,25 +10,21 @@ CTroll_State_Rush::CTroll_State_Rush() void CTroll_State_Rush::Enter() { + *m_pRushPlayerHit = false; __super::Enter(); } HRESULT CTroll_State_Rush::Update(_float fTimeDelta) { - if (nullptr != m_funcPriorityUpdate) { - m_funcPriorityUpdate(fTimeDelta); - } if (E_FAIL == (__super::Update(fTimeDelta))) { return E_FAIL; } - if (nullptr != m_funcLateUpdate) { - m_funcLateUpdate(fTimeDelta); - } return S_OK; } void CTroll_State_Rush::Exit() { + *m_pRushPlayerHit = false; __super::Exit(); } @@ -37,8 +33,7 @@ HRESULT CTroll_State_Rush::Initialize(TROLL_STATE_RUSH_DESC* pDesc) if (FAILED(__super::Initialize(pDesc))) { return E_FAIL; } - m_funcPriorityUpdate = pDesc->funcPriorityUpdate; - m_funcLateUpdate = pDesc->funcLateUpdate; + m_pRushPlayerHit = pDesc->pCollisionPlayer; m_pModel = m_pOwner->Get_Component(); m_pFSM = m_pOwner->Get_Component(); diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp index e1506dfe7..402dd3201 100644 --- a/Jusin154_Team3D/Client/Private/Troll_States.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp @@ -1,9 +1,11 @@ #include "pch.h" #include "Troll.h" +#include "InfoInstance.h" #include "GameInstance.h" #include "Player.h" #include "Troll_Rock.h" +#include "Layer.h" #include "EffectPool.h" #include "TrailObject.h" @@ -438,7 +440,7 @@ HRESULT CTroll::Behavior_SwingExitCheck(_float fTimeDelta) return E_FAIL; } - return E_FAIL; + return S_OK; } void CTroll::Behavior_SwingExit() @@ -446,6 +448,45 @@ void CTroll::Behavior_SwingExit() m_pFSM->Disable_State(FSMSTATE::SWING); } +void CTroll::SwingHit(_bool& bPlayerHit) +{ + vector pxHits; + _uint iHitCount = 0; + CheckHammerHits(iHitCount, pxHits); + { + for (_uint i = 0; i < pxHits.size(); ++i) { + PSX::PxActor* pxHitActor = pxHits[i].actor; + if (nullptr != pxHitActor && nullptr != pxHitActor->userData) { + PhsXUserData* pUserData = (PhsXUserData*)pxHitActor->userData; + switch (PXOBJECT(pUserData->iSubKind)) + { + case PXOBJECT::PLAYER: + { + if (true == bPlayerHit) { + continue; + } + CStat* pStat = pUserData->pCharacter->Get_Owner()->Get_Component(); + pStat->Get_Damage(7.f); + bPlayerHit = true; + } break; + case PXOBJECT::ALLY_HITBOX: + break; + case PXOBJECT::ENVIRIONMENT: + break; + case PXOBJECT::TERRAIN: + break; + case PXOBJECT::BOX: + break; + case PXOBJECT::NPC: + break; + default: + break; + } + } + } + } +} + void CTroll::Behavior_SlamEnter() { pair<_uint, _bool> pairAnimInfo = {}; @@ -489,7 +530,7 @@ HRESULT CTroll::Behavior_SlamExitCheck(_float fTimeDelta) m_pFSM->Change_State(FSMSTATE::COMBAT); return E_FAIL; } - return E_FAIL; + return S_OK; } void CTroll::Behavior_SlamExit() @@ -695,8 +736,7 @@ void CTroll::Add_FSM() Desc.funcEnterEvent = [this]() { Behavior_RushEnter(); }; Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_RushExitCheck(fTimeDelta); }; Desc.funcExitEvent = [this]() { Behavior_RushExit(); }; - Desc.funcPriorityUpdate = nullptr; - Desc.funcLateUpdate = nullptr; + Desc.pCollisionPlayer = &m_bCollisionPlayer; m_States.emplace(FSMSTATE::RUSH, CTroll_State_Rush::Create(&Desc)); } @@ -718,7 +758,7 @@ void CTroll::Add_FSM() Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_SwingExitCheck(fTimeDelta); }; Desc.funcExitEvent = [this]() { Behavior_SwingExit(); }; Desc.funcPriorityUpdate = nullptr; - Desc.funcLateUpdate = nullptr; + Desc.funcLateUpdate = [this](_float fTimeDelta, _bool& bHit) { SwingHit(bHit); }; m_States.emplace(FSMSTATE::SWING, CState_Swing::Create(&Desc)); } @@ -729,7 +769,7 @@ void CTroll::Add_FSM() Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_SlamExitCheck(fTimeDelta); }; Desc.funcExitEvent = [this]() { Behavior_SlamExit(); }; Desc.funcPriorityUpdate = nullptr; - Desc.funcLateUpdate = nullptr; + Desc.funcLateUpdate = [this](_float fTimeDelta, _bool& bHit) { SlamHit(bHit); }; m_States.emplace(FSMSTATE::SLAM, CState_Slam::Create(&Desc)); } @@ -773,6 +813,91 @@ void CTroll::Add_FSM() } +void CTroll::SlamHit(_bool& bPlayerHit) +{ + vector pxHits; + _uint iHitCount = 0; + CheckHammerHits(iHitCount, pxHits); + { + for (_uint i = 0; i < pxHits.size(); ++i) { + PSX::PxActor* pxHitActor = pxHits[i].actor; + if (nullptr != pxHitActor && nullptr != pxHitActor->userData) { + PhsXUserData* pUserData = (PhsXUserData*)pxHitActor->userData; + switch (PXOBJECT(pUserData->iSubKind)) + { + case PXOBJECT::PLAYER: + { + if (true == bPlayerHit) { + continue; + } + CStat* pStat = pUserData->pCharacter->Get_Owner()->Get_Component(); + pStat->Get_Damage(10.f); + bPlayerHit = true; + } break; + case PXOBJECT::ALLY_HITBOX: + break; + case PXOBJECT::ENVIRIONMENT: + break; + case PXOBJECT::TERRAIN: + break; + case PXOBJECT::BOX: + break; + case PXOBJECT::NPC: + break; + default: + break; + } + } + } + } +} + +void CTroll::CheckHammerHits(_uint& iHitCount, vector& pxHits) +{ + { + _vector vStartPos = XMLoadFloat4(&m_vStartHammerPos); + _vector vEndPos = XMLoadFloat4(m_pHammerPos); + _vector vDir = vEndPos - vStartPos; + _float fDistance = XMVectorGetX(XMVector4Length(vDir)); + vDir = XMVector4Normalize(vDir); + + _bool bCollision = false; + m_SweepBufferHammer = {}; + bCollision = m_pGameInstance->SphereCast(1.2f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferHammer); + if (true == bCollision) { + iHitCount += m_SweepBufferHammer.getNbTouches() + m_SweepBufferHammer.hasBlock; + auto touches = m_SweepBufferHammer.getTouches(); + for (_uint i = 0; i < m_SweepBufferHammer.nbTouches; ++i) { + pxHits.push_back(m_SweepBufferHammer.touches[i]); + } + if (true == m_SweepBufferHammer.hasBlock) { + pxHits.push_back(m_SweepBufferHammer.block); + } + } + } + { + _vector vStartPos = XMLoadFloat4(&m_vStartGripPos); + _vector vEndPos = XMLoadFloat4(m_pHammerGripPos); + _vector vDir = vEndPos - vStartPos; + _float fDistance = XMVectorGetX(XMVector4Length(vDir)); + vDir = XMVector4Normalize(vDir); + + _bool bCollision = false; + m_SweepBufferGrip = {}; + bCollision = m_pGameInstance->SphereCast(1.2f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferGrip); + if (true == bCollision) { + iHitCount += m_SweepBufferGrip.getNbTouches() + m_SweepBufferGrip.hasBlock; + auto touches = m_SweepBufferGrip.getTouches(); + for (_uint i = 0; i < m_SweepBufferGrip.nbTouches; ++i) { + pxHits.push_back(m_SweepBufferGrip.touches[i]); + } + if (true == m_SweepBufferGrip.hasBlock) { + pxHits.push_back(m_SweepBufferGrip.block); + } + } + } +} + void CTroll::Set_Anim() { m_Animation[STATEANIM::IDLE] = { 16,true }; diff --git a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp index faf2b8ecd..0103ae085 100644 --- a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp @@ -29,16 +29,10 @@ HRESULT CTroll_Weapon::Initialize(void* pArg) return E_FAIL; } - if (FAILED(Ready_Components())) { return E_FAIL; } - return S_OK; -} - -void CTroll_Weapon::Priority_Update(_float fTimeDelta) -{ m_pModelCom->Combined_BoneMatrix(); _matrix socketMatrix = {}; @@ -49,17 +43,37 @@ void CTroll_Weapon::Priority_Update(_float fTimeDelta) } m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr())); + XMStoreFloat4x4(&m_HammerMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Bone")) * m_pTransformCom->Get_XMWorldMatrix()); #ifdef _DEBUG - Describe_Entity(); + m_pGripShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 10, false, false)); + m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.2f, 10, false, false)); +#endif // _DEBUG + return S_OK; +} + +void CTroll_Weapon::Priority_Update(_float fTimeDelta) +{ + m_pModelCom->Combined_BoneMatrix(); + _matrix socketMatrix = {}; + + socketMatrix = XMLoadFloat4x4(m_pSocketMatrices); + + for (int i = 0; i < 3; ++i) { + socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]); + } + + m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr())); + XMStoreFloat4x4(&m_HammerMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Bone")) * m_pTransformCom->Get_XMWorldMatrix()); +#ifdef _DEBUG + Describe_Entity(); #endif // _DEBUG } void CTroll_Weapon::Update(_float fTimeDelta) { - } void CTroll_Weapon::Late_Update(_float fTimeDelta) @@ -69,8 +83,9 @@ void CTroll_Weapon::Late_Update(_float fTimeDelta) HRESULT CTroll_Weapon::Render() { - if (!m_pModelCom) + if (!m_pModelCom){ return S_OK; + } if (FAILED(Bind_ShaderResources())) { return E_FAIL; @@ -93,9 +108,28 @@ HRESULT CTroll_Weapon::Render() } } +#ifdef _DEBUG + m_pGripShape->Draw(m_pTransformCom->Get_XMWorldMatrix(), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Green, nullptr, true); + m_pSubShape->Draw(XMLoadFloat4x4(&m_HammerMatrix), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Purple, nullptr, true); +#endif // _DEBUG return S_OK; } +_vector CTroll_Weapon::Get_WorldPostion() +{ + return XMLoadFloat4((_float4*)&m_HammerMatrix.m[3][0]); +} + +_matrix CTroll_Weapon::Get_WorldMatrix() +{ + return XMLoadFloat4x4(&m_HammerMatrix); +} + +const _float4* CTroll_Weapon::Get_HammerPosition() +{ + return (_float4*)&m_HammerMatrix.m[3][0]; +} + HRESULT CTroll_Weapon::Ready_Components() { __super::Ready_Components(nullptr); @@ -103,13 +137,15 @@ HRESULT CTroll_Weapon::Ready_Components() /* Com_Model */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Troll_Weapon_Model"), - reinterpret_cast(&m_pModelCom)))) + reinterpret_cast(&m_pModelCom)))){ return E_FAIL; + } /* Com_Shader */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH, - reinterpret_cast(&m_pShaderCom)))) + reinterpret_cast(&m_pShaderCom)))){ return E_FAIL; + } return S_OK; } @@ -173,6 +209,27 @@ void CTroll_Weapon::Free() void CTroll_Weapon::Describe_Entity() { + _float4 vPos; + _float4 vHammerWorldPos; + + _float4 vHammerRight; + _float4 vHammerUp; + _float4 vHammerLook; + _float4 vHammerPos; + XMStoreFloat4(&vPos, m_pTransformCom->Get_State(STATE::POSITION)); + XMStoreFloat4(&vHammerWorldPos, Get_WorldPostion()); + + XMStoreFloat4(&vHammerRight, XMLoadFloat4((_float4*)&m_HammerMatrix.m[0][0])); + XMStoreFloat4(&vHammerUp, XMLoadFloat4((_float4*)&m_HammerMatrix.m[1][0])); + XMStoreFloat4(&vHammerLook, XMLoadFloat4((_float4*)&m_HammerMatrix.m[2][0])); + XMStoreFloat4(&vHammerPos, XMLoadFloat4((_float4*)&m_HammerMatrix.m[3][0])); + + GUI::Text("vPos, %.2f, %.2f, %.2f, %.2f", vPos.x, vPos.y, vPos.z, vPos.w); + GUI::Text("vHammerWorldPos, %.2f, %.2f, %.2f, %.2f", vHammerWorldPos.x, vHammerWorldPos.y, vHammerWorldPos.z, vHammerWorldPos.w); + GUI::Text("vHammerRight, %.2f, %.2f, %.2f, %.2f", vHammerRight.x, vHammerRight.y, vHammerRight.z, vHammerRight.w); + GUI::Text("vHammerUp, %.2f, %.2f, %.2f, %.2f", vHammerUp.x, vHammerUp.y, vHammerUp.z, vHammerUp.w); + GUI::Text("vHammerLook, %.2f, %.2f, %.2f, %.2f", vHammerLook.x, vHammerLook.y, vHammerLook.z, vHammerLook.w); + GUI::Text("vHammerPos, %.2f, %.2f, %.2f, %.2f", vHammerPos.x, vHammerPos.y, vHammerPos.z, vHammerPos.w); } #endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Public/Boss_HpBar.h b/Jusin154_Team3D/Client/Public/Boss_HpBar.h new file mode 100644 index 000000000..9ca49e6f4 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Boss_HpBar.h @@ -0,0 +1,61 @@ +#pragma once + +#include "Client_Define.h" +#include "ElementObject.h" + +NS_BEGIN(Engine) +class CGameObject; +NS_END + +NS_BEGIN(Client) + +class CBoss_HpBar final : public CElementObject +{ +private: + CBoss_HpBar(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CBoss_HpBar(const CBoss_HpBar& rhs); + virtual ~CBoss_HpBar() = default; + +public: + virtual void Priority_Update(_float fTimeDelta); + virtual void Update(_float fTimeDelta); + virtual void Late_Update(_float fTimeDelta); + virtual HRESULT Render() override; + virtual _vector Get_WorldPostion() override; + +public: + void Hit(_float fTimeDelta); + void Update_Target(); + +private: + virtual HRESULT Bind_ShaderResources() override; + virtual HRESULT Ready_Components(void* pArg) override; + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + +private: + CTexture* m_pDiffuse_TextureCom = { nullptr }; + CTexture* m_pDiffuse_TextureCom1 = { nullptr }; + CTexture* m_pDiffuse_TextureCom2 = { nullptr }; + CShader* m_pShaderCom = { nullptr }; + CVIBuffer_Rect* m_pVIBufferCom = { nullptr }; + + CInfoInstance* m_pInfoInstance = { nullptr }; + + _float m_fMaxHp{}; + _float m_fCurrentHp{}; + _float m_fHpBar{}; + _float m_fDamage{}; + _float m_fTargetHp{}; + + _bool m_bAnimation = { false }; +public: + static CBoss_HpBar* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; + virtual void Free() override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // _DEBUG +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Broom.h b/Jusin154_Team3D/Client/Public/Broom.h index bde68fce4..ce5a87cd8 100644 --- a/Jusin154_Team3D/Client/Public/Broom.h +++ b/Jusin154_Team3D/Client/Public/Broom.h @@ -20,6 +20,7 @@ class CBroom final : public CUnit virtual void Late_Update(_float fTimeDelta) override; virtual HRESULT Render() override; void Set_Ride(_bool bRide) { m_bRide = bRide; } + _bool Get_Hover() { return m_bHoverToggle; } private: CInfoInstance* m_pInfoInstance = { nullptr }; @@ -32,7 +33,8 @@ class CBroom final : public CUnit _float m_fSpeed = 0.f; _float m_fTurnSpeed = 0.f; _float m_fTargetSpeed = 0.f; - _float m_fTurnMaxSpeed = 7.f; + _float m_fTurnMaxSpeed = 10.f; + _float m_fFlyTurnMaxSpeed = 9.f; _float m_fFlyMaxSpeed = 15.f; _float m_fHoverMaxSpeed = 7.f; _float m_fAccel = 1.f; @@ -40,6 +42,7 @@ class CBroom final : public CUnit _float m_fTurnDecel = 0.3f; + _float m_fVerticalSpeed = 0.f; @@ -83,6 +86,13 @@ class CBroom final : public CUnit HRESULT Behavior_MoveExitCheck(_float fTimeDelta); void Behavior_MoveExit(); + void Behavior_Broom_HoverEnter(); + HRESULT Behavior_Broom_HoverExitCheck(_float fTimeDelta); + void Behavior_Broom_HoverExit(); + + void Behavior_Broom_FlyEnter(); + HRESULT Behavior_Broom_FlyExitCheck(_float fTimeDelta); + void Behavior_Broom_FlyExit(); #pragma endregion diff --git a/Jusin154_Team3D/Client/Public/Broom_State_Fly.h b/Jusin154_Team3D/Client/Public/Broom_State_Fly.h new file mode 100644 index 000000000..d107d4419 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Broom_State_Fly.h @@ -0,0 +1,36 @@ +#pragma once +#include "Client_Define.h" +#include "State_Root.h" + +NS_BEGIN(Client) + +class CBroom_State_Fly final : public CState_Root +{ +public: + typedef struct tagFly : public CState_Root::STATE_ROOT_DESC { + function funcPriorityUpdate = { nullptr }; + function funcLateUpdate = { nullptr }; + }STATE_FLY_DESC; +private: + CBroom_State_Fly(); + virtual ~CBroom_State_Fly() = default; + +public: + virtual void Enter(); + virtual HRESULT Update(_float fTimeDelta); + virtual void Exit(); + +private: + function m_funcPriorityUpdate = { nullptr }; + function m_funcLateUpdate = { nullptr }; + +private: + HRESULT Initialize(STATE_FLY_DESC* pDesc); + +public: + static CBroom_State_Fly* Create(STATE_FLY_DESC* pDesc); + virtual void Free() override; + virtual void Describe_Entity(); +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Broom_State_Hover.h b/Jusin154_Team3D/Client/Public/Broom_State_Hover.h new file mode 100644 index 000000000..0df39389b --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Broom_State_Hover.h @@ -0,0 +1,36 @@ +#pragma once +#include "Client_Define.h" +#include "State_Root.h" + +NS_BEGIN(Client) + +class CBroom_State_Hover final : public CState_Root +{ +public: + typedef struct tagHover : public CState_Root::STATE_ROOT_DESC { + function funcPriorityUpdate = { nullptr }; + function funcLateUpdate = { nullptr }; + }STATE_HOVER_DESC; +private: + CBroom_State_Hover(); + virtual ~CBroom_State_Hover() = default; + +public: + virtual void Enter(); + virtual HRESULT Update(_float fTimeDelta); + virtual void Exit(); + +private: + function m_funcPriorityUpdate = { nullptr }; + function m_funcLateUpdate = { nullptr }; + +private: + HRESULT Initialize(STATE_HOVER_DESC* pDesc); + +public: + static CBroom_State_Hover* Create(STATE_HOVER_DESC* pDesc); + virtual void Free() override; + virtual void Describe_Entity(); +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/CallBack_EffectHitBox_HitReport.h b/Jusin154_Team3D/Client/Public/CallBack_EffectHitBox_HitReport.h index 4ec92ffbc..c87c45a27 100644 --- a/Jusin154_Team3D/Client/Public/CallBack_EffectHitBox_HitReport.h +++ b/Jusin154_Team3D/Client/Public/CallBack_EffectHitBox_HitReport.h @@ -18,6 +18,8 @@ class CCallBack_EffectHitBox_HitReport final : public PSX::PxUserControllerHitRe public: ~CCallBack_EffectHitBox_HitReport(); + void BeginFrame(); + public: // PxUserControllerHitReport을(를) 통해 상속됨 // 충돌알림!! @@ -28,14 +30,21 @@ class CCallBack_EffectHitBox_HitReport final : public PSX::PxUserControllerHitRe virtual void onObstacleHit(const PSX::PxControllerObstacleHit& hit) override; // 사용자 정의 장애물과 부딪힌 경우 + void Set_CurrentSlop(); + public: HRESULT Initialize(CCharacter_Controller* pController, CRigidBody_Dynamic* pPartDynamicObject); HRESULT Finalize(); + _bool IsOnGround(); + _vector Get_GroundVector(); private: CCharacter_Controller* m_pController = { nullptr }; CRigidBody_Dynamic* m_pPartDynamicBody = { nullptr }; CGameInstance* m_pGameInstance = { nullptr }; + _float3 m_vClimbNormal = { 0.f, 1.f, 0.f }; + _float m_fBestNormal = { 0.f }; + _bool m_bGroundHit = { false }; public: static CCallBack_EffectHitBox_HitReport* Create(); }; diff --git a/Jusin154_Team3D/Client/Public/CallBack_Monster_HitReport.h b/Jusin154_Team3D/Client/Public/CallBack_Monster_HitReport.h index dc3783eff..561ed2fc6 100644 --- a/Jusin154_Team3D/Client/Public/CallBack_Monster_HitReport.h +++ b/Jusin154_Team3D/Client/Public/CallBack_Monster_HitReport.h @@ -18,6 +18,8 @@ class CCallBack_Monster_HitReport final : public PSX::PxUserControllerHitReport public: ~CCallBack_Monster_HitReport(); + void BeginFrame(); + public: // PxUserControllerHitReport을(를) 통해 상속됨 // 충돌알림!! @@ -28,14 +30,21 @@ class CCallBack_Monster_HitReport final : public PSX::PxUserControllerHitReport virtual void onObstacleHit(const PSX::PxControllerObstacleHit& hit) override; // 사용자 정의 장애물과 부딪힌 경우 + void Set_CurrentSlop(); + public: HRESULT Initialize(CCharacter_Controller* pController, CRigidBody_Dynamic* pPartDynamicObject); HRESULT Finalize(); + _bool IsOnGround(); + _vector Get_GroundVector(); private: CCharacter_Controller* m_pController = { nullptr }; CRigidBody_Dynamic* m_pPartDynamicBody = { nullptr }; CGameInstance* m_pGameInstance = { nullptr }; + _float3 m_vClimbNormal = { 0.f, 1.f, 0.f }; + _float m_fBestNormal = { 0.f }; + _bool m_bGroundHit = { false }; public: static CCallBack_Monster_HitReport* Create(); }; diff --git a/Jusin154_Team3D/Client/Public/CallBack_Troll_HitReport.h b/Jusin154_Team3D/Client/Public/CallBack_Troll_HitReport.h index afaee6d62..db2a44798 100644 --- a/Jusin154_Team3D/Client/Public/CallBack_Troll_HitReport.h +++ b/Jusin154_Team3D/Client/Public/CallBack_Troll_HitReport.h @@ -3,6 +3,9 @@ #include "Client_Define.h" #include "GameObject.h" +NS_BEGIN(Engine) +class CFSM; +NS_END NS_BEGIN(Client) class CCallBack_Troll_HitReport final : public PSX::PxUserControllerHitReport @@ -18,6 +21,8 @@ class CCallBack_Troll_HitReport final : public PSX::PxUserControllerHitReport public: ~CCallBack_Troll_HitReport(); + void BeginFrame(); + public: // PxUserControllerHitReport을(를) 통해 상속됨 // 충돌알림!! @@ -28,14 +33,24 @@ class CCallBack_Troll_HitReport final : public PSX::PxUserControllerHitReport virtual void onObstacleHit(const PSX::PxControllerObstacleHit& hit) override; // 사용자 정의 장애물과 부딪힌 경우 + void Set_CurrentSlop(); + public: - HRESULT Initialize(CCharacter_Controller* pController, CRigidBody_Dynamic* pPartDynamicObject); + HRESULT Initialize(CCharacter_Controller* pController, CRigidBody_Dynamic* pPartDynamicObject, _bool* bCollisionPlayer); HRESULT Finalize(); + _bool IsOnGround(); + _vector Get_GroundVector(); private: CCharacter_Controller* m_pController = { nullptr }; CRigidBody_Dynamic* m_pPartDynamicBody = { nullptr }; CGameInstance* m_pGameInstance = { nullptr }; + _float3 m_vClimbNormal = { 0.f, 1.f, 0.f }; + _float m_fBestNormal = { 0.f }; + _bool m_bGroundHit = { false }; + + + _bool* m_pCollisionPlayer = { nullptr }; public: static CCallBack_Troll_HitReport* Create(); }; diff --git a/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h b/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h index 762cbdb5f..110c98dba 100644 --- a/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h +++ b/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h @@ -21,10 +21,11 @@ class CCamPosition_Shoulder final : public CCamPosition virtual void Update(_float fTimeDelta) override; virtual void Late_Update(_float fTimeDelta) override; virtual HRESULT Render() override; - virtual _vector Get_WorldPostion() override; - _vector Get_ShoulderGlobalPos(); - + virtual _vector Get_WorldPostion() override; + _vector Get_ShoulderGlobalPos(); + void Set_CameraShake(_float fXShock, _float fYShock); + private: virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; @@ -32,7 +33,9 @@ class CCamPosition_Shoulder final : public CCamPosition HRESULT Ready_SubParts(); _vector Calc_LookTargetPos(); _vector Calc_FollowTargetPos(_vector vLookTargetWorldPos); + _vector Calc_DampingParentPos(); +#pragma region Base _float m_fMouseSensor = { 0.1f }; _float m_fCameraFowardDistance = { 3.45f }; _float m_fCameraBarrelLength = { 10.f }; @@ -41,21 +44,29 @@ class CCamPosition_Shoulder final : public CCamPosition _float m_fFollowTargetIncludedAngleDegree = { 20.f }; _float m_fDefaultCameraBackToFrontRatio = { 0.61f }; _float2 m_vAccRotDegrees = { 0.f, 0.f }; + _float2 m_vAccRealDegrees = { 0.f, 0.f }; _float3 m_vShoulderLocalPos = { 1.f, 2.f, 2.f }; - +#pragma endregion #pragma region Lerp - _bool m_bShoulderLerp = false; - _bool m_bRightShoulderActive = true; + _bool m_bDampingParentPos = { true }; + _bool m_bShoulderLerp = { false }; + _bool m_bRightShoulderActive = { true }; _float2 m_vShoulderLerpTimer = { 0.f, 0.30f }; + _float2 m_vDampingLerpTimer = { 0.f, 0.10f }; - // Lerp 각도 _float2 m_vShoulderLerpDegree = { }; _float2 m_vShoulderLerpIncludedAngleDegree = { -20.f, 20.f }; + _float4 m_vDampingStartPosition = { }; + _float4 m_vDampingDestPosition = { }; _float m_fFocalRatioTargetValue = 0.f; _float m_fFocalRatioLerpSpeed = 6.f; _float m_fFocalRatioMin = 0.05f; + + _float2 m_vMoveLerpPositions = { }; + _float2 m_vMoveLerpTimer = { 0.f, TIMER_SHORT_LERP }; #pragma endregion + _float2 m_vCameraShakeTimer = { 0.f, 0.3f }; PSX::PxSweepBuffer m_BufferHit = {}; diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h index 2bec8150e..13743ee66 100644 --- a/Jusin154_Team3D/Client/Public/Client_Enum.h +++ b/Jusin154_Team3D/Client/Public/Client_Enum.h @@ -7,12 +7,12 @@ namespace Client enum class MAPOBJECT_RENDER_TYPE { NORMAL, DECAL, GLASS }; enum class SHADER_PASS_ANIM { DEFAULT, SHADOW, CAPTURE, BLUR, HAIR, EYELASH, OUTLINE_WRITE, OUTLINE_READ,SPECTOR, END }; - enum class SHADER_PASS_MESH { DEFAULT, SHADOW, SKYBOX, ALPHABLEND, EFFECT_ALPHABLEND, EFFECT_BLEND, EFFECT_ALPHABLEND_CULL, EFFECT_BLEND_CULL, CAPTURE, BLUR, EFFECT_ALPHABLEND_UVMOVE, MAPTOOL, GLASS, OUTLINE_WRITE, OUTLINE_READ, BLOOM, WATER, LAND, NONMRO,SPECTOR_WEAPON, END }; + enum class SHADER_PASS_MESH { DEFAULT, SHADOW, SKYBOX, ALPHABLEND, EFFECT_ALPHABLEND, EFFECT_BLEND, EFFECT_ALPHABLEND_CULL, EFFECT_BLEND_CULL, CAPTURE, BLUR, EFFECT_ALPHABLEND_UVMOVE, MAPTOOL, GLASS, OUTLINE_WRITE, OUTLINE_READ, BLOOM, WATER, LAND, NONMRO,SPECTOR_WEAPON, GLASS_CUBE,END }; enum class SHADER_PASS_NORTEX { DEFAULT, TERRAIN, ENV_TERRAIN_ANISO, SHADOW, END }; enum class SHADER_PASS_PARTICLE { EXPLOSION, END }; enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLEND, TRAILWB_FOR_BLEND, TRAIL_BLUR, TRAIL_BLOOM, END }; enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, END }; - enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, ENEMY_HPBAR, END }; + enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, ENEMY_HPBAR, BOSS_HPBAR, END }; enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, UVALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, SPELL_SLOT, END }; enum class UI_STATE { GAMEPLAYER, SPELL, POTION, INVENTORY, END }; diff --git a/Jusin154_Team3D/Client/Public/Enemy_Info.h b/Jusin154_Team3D/Client/Public/Enemy_Info.h index 7af86efd8..b697325bd 100644 --- a/Jusin154_Team3D/Client/Public/Enemy_Info.h +++ b/Jusin154_Team3D/Client/Public/Enemy_Info.h @@ -32,6 +32,7 @@ class CEnemy_Info final : public CElementObject public: void Update_Target(); + void Set_Font_Move(_bool Boss); private: CTexture* m_pDiffuse_TextureCom = { nullptr }; @@ -45,6 +46,8 @@ class CEnemy_Info final : public CElementObject _wstring m_pLevel; _bool m_bAnimation = {false}; _bool m_bTarget = { false }; + _bool m_bBoss = { false }; + public: static CEnemy_Info* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; diff --git a/Jusin154_Team3D/Client/Public/Enemy_Panel.h b/Jusin154_Team3D/Client/Public/Enemy_Panel.h index 13cc34ad9..92eaf8842 100644 --- a/Jusin154_Team3D/Client/Public/Enemy_Panel.h +++ b/Jusin154_Team3D/Client/Public/Enemy_Panel.h @@ -31,11 +31,16 @@ class CEnemy_Panel final : public CPanelObject virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; +private: + void Update_Target(); + private: CVIBuffer_Rect* m_pVIBufferCom = { nullptr }; + CInfoInstance* m_pInfoInstance = { nullptr }; CGameObject* m_pEnemy_HpBar = { nullptr }; CGameObject* m_pEnemy_Info = { nullptr }; + CGameObject* m_pBoss_HpBar = { nullptr }; public: static CEnemy_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/Goblin_Attack.h b/Jusin154_Team3D/Client/Public/Goblin_Attack.h index c0cb952c7..ad6aee3bf 100644 --- a/Jusin154_Team3D/Client/Public/Goblin_Attack.h +++ b/Jusin154_Team3D/Client/Public/Goblin_Attack.h @@ -38,7 +38,10 @@ class CGoblin_Attack final : public CEffect_Container static CGoblin_Attack* 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/Goblin_Mage.h b/Jusin154_Team3D/Client/Public/Goblin_Mage.h index 6ef08f568..cc6a80c30 100644 --- a/Jusin154_Team3D/Client/Public/Goblin_Mage.h +++ b/Jusin154_Team3D/Client/Public/Goblin_Mage.h @@ -47,6 +47,7 @@ class CGoblin_Mage final : public CMonster class CEffectParts* m_pGoblin_Orb = { nullptr }; + class CGoblin_Spector* m_pGoblinSpector = { nullptr }; private: virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; diff --git a/Jusin154_Team3D/Client/Public/InfoInstance.h b/Jusin154_Team3D/Client/Public/InfoInstance.h index 436d24742..2d602bb58 100644 --- a/Jusin154_Team3D/Client/Public/InfoInstance.h +++ b/Jusin154_Team3D/Client/Public/InfoInstance.h @@ -46,6 +46,7 @@ DECLARE_SINGLETON(CInfoInstance) HRESULT Load_MapObjects(const _char* pFilePath); HRESULT Load_LightElements(const _char* pFilePath); HRESULT Load_InteractableElements(const _char* pFileName); + HRESULT Load_WaterElemet(const _char* pFileName); #pragma endregion #pragma region Spell_INFO HRESULT Load_SpellInfo(const _char* pFilePath); diff --git a/Jusin154_Team3D/Client/Public/Intro_BG.h b/Jusin154_Team3D/Client/Public/Intro_BG.h index 8c3235a6d..1463b15c4 100644 --- a/Jusin154_Team3D/Client/Public/Intro_BG.h +++ b/Jusin154_Team3D/Client/Public/Intro_BG.h @@ -40,7 +40,10 @@ class CIntro_BG final : public CUIObject static CIntro_BG* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; diff --git a/Jusin154_Team3D/Client/Public/Intro_Image.h b/Jusin154_Team3D/Client/Public/Intro_Image.h index 1e2b0bf16..12eb07d4e 100644 --- a/Jusin154_Team3D/Client/Public/Intro_Image.h +++ b/Jusin154_Team3D/Client/Public/Intro_Image.h @@ -41,8 +41,11 @@ class CIntro_Image final : public CUIObject static CIntro_Image* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END; diff --git a/Jusin154_Team3D/Client/Public/Loding_Panel.h b/Jusin154_Team3D/Client/Public/Loding_Panel.h index 9b5224e89..33fd32b47 100644 --- a/Jusin154_Team3D/Client/Public/Loding_Panel.h +++ b/Jusin154_Team3D/Client/Public/Loding_Panel.h @@ -62,7 +62,11 @@ class CLoding_Panel final : public CUIObject static CLoding_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; + +#endif // _DEBUG + }; NS_END diff --git a/Jusin154_Team3D/Client/Public/Logo.h b/Jusin154_Team3D/Client/Public/Logo.h index 57ec45751..a013712e6 100644 --- a/Jusin154_Team3D/Client/Public/Logo.h +++ b/Jusin154_Team3D/Client/Public/Logo.h @@ -40,8 +40,11 @@ class CLogo final : public CUIObject static CLogo* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END; diff --git a/Jusin154_Team3D/Client/Public/Logo_Glow.h b/Jusin154_Team3D/Client/Public/Logo_Glow.h index 6e2627198..0ec63ff1d 100644 --- a/Jusin154_Team3D/Client/Public/Logo_Glow.h +++ b/Jusin154_Team3D/Client/Public/Logo_Glow.h @@ -41,8 +41,11 @@ class CLogo_Glow final : public CUIObject static CLogo_Glow* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END; diff --git a/Jusin154_Team3D/Client/Public/Logo_Text.h b/Jusin154_Team3D/Client/Public/Logo_Text.h index 42d3f69fc..de6677b58 100644 --- a/Jusin154_Team3D/Client/Public/Logo_Text.h +++ b/Jusin154_Team3D/Client/Public/Logo_Text.h @@ -40,8 +40,11 @@ class CLogo_Text final : public CUIObject static CLogo_Text* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END; diff --git a/Jusin154_Team3D/Client/Public/MapElement_Lake.h b/Jusin154_Team3D/Client/Public/MapElement_Lake.h index dc6074044..7d217344d 100644 --- a/Jusin154_Team3D/Client/Public/MapElement_Lake.h +++ b/Jusin154_Team3D/Client/Public/MapElement_Lake.h @@ -14,7 +14,19 @@ class CMapElement_Lake final : public CMapElement public: typedef struct tagMapObejct_Lake_Desc : public MAPELEMENT_DESC { - vector<_wstring> SurfaceModelPrototypeTags; + _float fRadius; + _float fTimeSpeed; + _float fRefractionStrength; + _float fRefractionPow; + _float fUVValue1; + _float fUVValue2; + _float fUVValue3; + _float2 vUVSpeed; + _float2 vLargeUVSpeed; + _float2 vSubUVSpeed3; + _float4 vRefractionColor; + _float4 vSurfaceColor; + vector<_wstring> ShallowModelPrototypeTags; }MAPOBJECT_LAKE_DESC; private: @@ -37,23 +49,25 @@ class CMapElement_Lake final : public CMapElement CTexture* m_pCubeMapTextureCom = { nullptr }; CTexture* m_pRefractionTextureCom = { nullptr }; + _float m_fRadius = {}; + _float m_fRefractionStrength = { 0.18f }; _float m_fRefractionPow = { 10.f }; _float m_fTimeAcc = {}; - _float m_fUVValue = { 0.01f }; + _float m_fTimeSpeed = { 0.01f }; + _float m_fUVValue1 = { 30.f }; _float m_fUVValue2 = { 20.f }; _float m_fUVValue3 = { 10.f }; - _float m_fSpecularIntensity = { 0.6f }; - - _float m_fUVSpeed1 = { -0.1f }; - _float m_fUVSpeed2 = { 0.05f }; - _float m_fUVSpeed3 = { 0.01f }; + _float2 m_vUVSpeed = {}; + _float2 m_vLargeUVSpeed = {}; + _float2 m_vSubUVSpeed3 = {}; _float4 m_vRefractionColor = {}; _float4 m_vSurfaceColor = {}; + vector m_pShallowModels = {}; private: virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; diff --git a/Jusin154_Team3D/Client/Public/MapInfo.h b/Jusin154_Team3D/Client/Public/MapInfo.h index 8e03b9dac..002387d42 100644 --- a/Jusin154_Team3D/Client/Public/MapInfo.h +++ b/Jusin154_Team3D/Client/Public/MapInfo.h @@ -24,6 +24,7 @@ class CMapInfo final : public CBase HRESULT Load_MapCollisionObjects(tinyxml2::XMLElement* Container, class CMapContainer* pContainerObject); HRESULT Load_LightElements(const _char* pFileName); HRESULT Load_InteractableElements(const _char* pFileName); + HRESULT Load_WaterElemet(const _char* pFileName); private: CGameInstance* m_pGameInstance = { nullptr }; diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h index 629dd2350..e68302908 100644 --- a/Jusin154_Team3D/Client/Public/Player.h +++ b/Jusin154_Team3D/Client/Public/Player.h @@ -26,7 +26,8 @@ class CPlayer final : public CUnit #endif // _DEBUG _bool Set_Sprint(_bool bSprint) { m_bSprintToggle = bSprint; } _matrix Get_WandPos(); - void UpdateGrapInteractive(Engine::_float fTimeDelta); + void UpdateGrapInteractive(_float fTimeDelta); + void Update_CameraShake(_float fTimeDelta); private: CInfoInstance* m_pInfoInstance = { nullptr }; LOCKON_INFO m_LockOnInfo = {}; @@ -35,11 +36,14 @@ class CPlayer final : public CUnit _bool m_bSprintToggle = { false }; _bool m_bWalkToggle = { false }; - _bool m_bHoverToggle = { true }; + _bool m_bCameraShake = { false }; _float3 m_vCameraLookDir = { 0.f, 0.f, 1.f, }; _float3 m_vCameraRightDir = { 1.f, 0.f, 0.f }; - _float2 m_vGrapInteratableLerp = { 0.f, BASIC_LERP_TIMER }; + _float2 m_vGrapInteratableLerp = { 0.f, TIMER_SHORT_LERP }; + _float2 m_vCameraShakeTimer = { 0.f, TIMER_SHORT_LERP }; + _float m_fCameraShakeTime = TIMER_SHORT_LERP; + _float m_fCameraShakeIntense = 5.f; class CCamPosition_Socket* m_pCamPosition_TopDown_LookPart = { nullptr }; class CCamPosition_Arm* m_pCamPosition_TopDown_FollowPart = { nullptr }; @@ -65,7 +69,7 @@ class CPlayer final : public CUnit void ReLockOnTarget(); void SetGravity(); - void Update_CameraCoordinateSystem(); + void Update_CameraCoordinateSystem(_float fTimeDelta); #ifdef _DEBUG unique_ptr m_BasicEffect; unique_ptr> m_Batch; @@ -109,7 +113,8 @@ class CPlayer final : public CUnit _bool m_bRatio = { false }; _bool m_bAim = { false }; _float m_fAnimSpeed = {}; - _bool m_bOnce = { }; + _bool m_bOnce = { }; + _bool m_bLookAt = {false}; HRESULT InputAction(); HRESULT InputMove(); @@ -143,7 +148,7 @@ class CPlayer final : public CUnit void Behavior_CombatExit(); void Behavior_LightAttackEnter(); - HRESULT Behavior_LightAttackExitCheck(); + HRESULT Behavior_LightAttackExitCheck(_float fTimeDelta); void Behavior_LightAttackExit(); void Behavior_SpellEnter(); @@ -158,6 +163,13 @@ class CPlayer final : public CUnit HRESULT Behavior_Broom_RideExitCheck(_float fTimeDelta); void Behavior_Broom_RideExit(); + void Behavior_Broom_Ride_MoveEnter(); + HRESULT Behavior_Broom_Ride_MoveExitCheck(_float fTimeDelta); + void Behavior_Broom_Ride_MoveExit(); + + void Behavior_Broom_DismountEnter(); + HRESULT Behavior_Broom_DismountExitCheck(_float fTimeDelta); + void Behavior_Broom_DismountExit(); void Player_InterpTurn(_float fTimeDelta); void Throwing_Interactive(); diff --git a/Jusin154_Team3D/Client/Public/State_Broom_Dismount.h b/Jusin154_Team3D/Client/Public/State_Broom_Dismount.h new file mode 100644 index 000000000..b50145b0f --- /dev/null +++ b/Jusin154_Team3D/Client/Public/State_Broom_Dismount.h @@ -0,0 +1,36 @@ +#pragma once +#include "Client_Define.h" +#include "State_Root.h" + +NS_BEGIN(Client) + +class CState_Broom_Dismount final : public CState_Root +{ +public: + typedef struct tagBroomDismount : public CState_Root::STATE_ROOT_DESC { + function funcPriorityUpdate = { nullptr }; + function funcLateUpdate = { nullptr }; + }STATE_BROOM_DISMOUNT_DESC; +private: + CState_Broom_Dismount(); + virtual ~CState_Broom_Dismount() = default; + +public: + virtual void Enter(); + virtual HRESULT Update(_float fTimeDelta); + virtual void Exit(); + +private: + function m_funcPriorityUpdate = { nullptr }; + function m_funcLateUpdate = { nullptr }; + +private: + HRESULT Initialize(STATE_BROOM_DISMOUNT_DESC* pDesc); + +public: + static CState_Broom_Dismount* Create(STATE_BROOM_DISMOUNT_DESC* pDesc); + virtual void Free() override; + virtual void Describe_Entity(); +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/State_Broom_Ride_Move.h b/Jusin154_Team3D/Client/Public/State_Broom_Ride_Move.h new file mode 100644 index 000000000..40820b592 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/State_Broom_Ride_Move.h @@ -0,0 +1,36 @@ +#pragma once +#include "Client_Define.h" +#include "State_Root.h" + +NS_BEGIN(Client) + +class CState_Broom_Ride_Move final : public CState_Root +{ +public: + typedef struct tagBroomRideMove : public CState_Root::STATE_ROOT_DESC { + function funcPriorityUpdate = { nullptr }; + function funcLateUpdate = { nullptr }; + }STATE_BROOM_RIDE_MOVE_DESC; +private: + CState_Broom_Ride_Move(); + virtual ~CState_Broom_Ride_Move() = default; + +public: + virtual void Enter(); + virtual HRESULT Update(_float fTimeDelta); + virtual void Exit(); + +private: + function m_funcPriorityUpdate = { nullptr }; + function m_funcLateUpdate = { nullptr }; + +private: + HRESULT Initialize(STATE_BROOM_RIDE_MOVE_DESC* pDesc); + +public: + static CState_Broom_Ride_Move* Create(STATE_BROOM_RIDE_MOVE_DESC* pDesc); + virtual void Free() override; + virtual void Describe_Entity(); +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/State_Slam.h b/Jusin154_Team3D/Client/Public/State_Slam.h index da6cd046a..7ddb54dd9 100644 --- a/Jusin154_Team3D/Client/Public/State_Slam.h +++ b/Jusin154_Team3D/Client/Public/State_Slam.h @@ -8,8 +8,8 @@ class CState_Slam final : public CState_Root { public: typedef struct tagSlam : public CState_Root::STATE_ROOT_DESC { - function funcPriorityUpdate = { nullptr }; - function funcLateUpdate = { nullptr }; + function funcPriorityUpdate = { nullptr }; + function funcLateUpdate = { nullptr }; }STATE_SLAM_DESC; private: CState_Slam(); @@ -21,8 +21,9 @@ class CState_Slam final : public CState_Root virtual void Exit(); private: - function m_funcPriorityUpdate = { nullptr }; - function m_funcLateUpdate = { nullptr }; + function m_funcPriorityUpdate = { nullptr }; + function m_funcLateUpdate = { nullptr }; + _bool m_bPlayerHit = { false }; private: HRESULT Initialize(STATE_SLAM_DESC* pDesc); diff --git a/Jusin154_Team3D/Client/Public/State_Swing.h b/Jusin154_Team3D/Client/Public/State_Swing.h index 9954a912f..4d2d600f4 100644 --- a/Jusin154_Team3D/Client/Public/State_Swing.h +++ b/Jusin154_Team3D/Client/Public/State_Swing.h @@ -8,8 +8,8 @@ class CState_Swing final : public CState_Root { public: typedef struct tagSwing : public CState_Root::STATE_ROOT_DESC { - function funcPriorityUpdate = { nullptr }; - function funcLateUpdate = { nullptr }; + function funcPriorityUpdate = { nullptr }; + function funcLateUpdate = { nullptr }; }STATE_SWING_DESC; private: CState_Swing(); @@ -21,8 +21,9 @@ class CState_Swing final : public CState_Root virtual void Exit(); private: - function m_funcPriorityUpdate = { nullptr }; - function m_funcLateUpdate = { nullptr }; + function m_funcPriorityUpdate = { nullptr }; + function m_funcLateUpdate = { nullptr }; + _bool m_bPlayerHit = false; private: HRESULT Initialize(STATE_SWING_DESC* pDesc); diff --git a/Jusin154_Team3D/Client/Public/Troll.h b/Jusin154_Team3D/Client/Public/Troll.h index c9591b913..00622ac3d 100644 --- a/Jusin154_Team3D/Client/Public/Troll.h +++ b/Jusin154_Team3D/Client/Public/Troll.h @@ -42,6 +42,13 @@ class CTroll final : public CMonster CCharacter_Controller* m_pCharacter_Controller = { nullptr }; CRigidBody_Dynamic* m_pRigidBody = { nullptr }; + PSX::PxSweepBufferN<12> m_SweepBufferHammer = {}; + PSX::PxSweepBufferN<12> m_SweepBufferGrip = {}; + const _float4* m_pHammerPos = { nullptr }; + const _float4* m_pHammerGripPos = { nullptr }; + _bool m_bCollisionPlayer = { false }; + _float4 m_vStartHammerPos = { }; + _float4 m_vStartGripPos = { }; _float2 m_vStunTimer = { 0.f, 4.f }; _uint iIndex; @@ -78,7 +85,9 @@ class CTroll final : public CMonster private: virtual void Add_FSM(); + void SlamHit(Engine::_bool& bHit, Engine::_float4* m_pStartPos, bool& retFlag); virtual void Set_Anim(); + void CheckHammerHits(_uint& iHitCount, vector& pxHits); _float m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::END)] = {}; _float m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::END)] = { 20.f,20.f, 20.f, 20.f ,20.f }; @@ -117,10 +126,12 @@ class CTroll final : public CMonster void Behavior_SwingEnter(); HRESULT Behavior_SwingExitCheck(_float fTimeDelta); void Behavior_SwingExit(); + void SwingHit(_bool& bPlayerHit); void Behavior_SlamEnter(); HRESULT Behavior_SlamExitCheck(_float fTimeDelta); void Behavior_SlamExit(); + void SlamHit(_bool& bPlayerHit); void Behavior_BackHandSwingEnter(); HRESULT Behavior_BackHandSwingExitCheck(_float fTimeDelta); diff --git a/Jusin154_Team3D/Client/Public/TrollSwing.h b/Jusin154_Team3D/Client/Public/TrollSwing.h index 975909e94..ce771cd49 100644 --- a/Jusin154_Team3D/Client/Public/TrollSwing.h +++ b/Jusin154_Team3D/Client/Public/TrollSwing.h @@ -37,7 +37,11 @@ class CTrollSwing final : public CEffect_Container static CTrollSwing* 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/Troll_Nomal_Smoke.h b/Jusin154_Team3D/Client/Public/Troll_Nomal_Smoke.h index 57aadfb29..b118cbfda 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Nomal_Smoke.h +++ b/Jusin154_Team3D/Client/Public/Troll_Nomal_Smoke.h @@ -37,7 +37,11 @@ class CTroll_Nomal_Smoke final : public CEffect_Container static CTroll_Nomal_Smoke* 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/Troll_Rock.h b/Jusin154_Team3D/Client/Public/Troll_Rock.h index 3a91ef840..51ec72aae 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Rock.h +++ b/Jusin154_Team3D/Client/Public/Troll_Rock.h @@ -18,22 +18,26 @@ class CTroll_Rock final : public CPartObject virtual ~CTroll_Rock() = default; public: - virtual HRESULT Initialize_Prototype() override; - virtual HRESULT Initialize(void* pArg) override; virtual void Priority_Update(_float fTimeDelta) override; virtual void Update(_float fTimeDelta) override; virtual void Late_Update(_float fTimeDelta) override; virtual HRESULT Render() override; - void Set_Attach(_bool Attach) { m_bAttach = Attach; } + void RockHit(); + void Set_Attach(_bool Attach); public: private: const _float4x4* m_pSocketMatrices = { }; + _bool m_bVisible = { false }; + _float4 m_vStartPos = {}; + PSX::PxSweepBufferN<12> m_SweepBuffer = {}; CShader* m_pShaderCom = { nullptr }; CModel* m_pModelCom = { nullptr }; _bool m_bAttach = { true }; private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; HRESULT Ready_Components(); HRESULT Bind_ShaderResources(); diff --git a/Jusin154_Team3D/Client/Public/Troll_Rush_Hit.h b/Jusin154_Team3D/Client/Public/Troll_Rush_Hit.h index feb24d740..3825391d3 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Rush_Hit.h +++ b/Jusin154_Team3D/Client/Public/Troll_Rush_Hit.h @@ -37,7 +37,11 @@ class CTroll_Rush_Hit final : public CEffect_Container static CTroll_Rush_Hit* 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/Troll_State_Rush.h b/Jusin154_Team3D/Client/Public/Troll_State_Rush.h index 535fccf86..dadd9c7bb 100644 --- a/Jusin154_Team3D/Client/Public/Troll_State_Rush.h +++ b/Jusin154_Team3D/Client/Public/Troll_State_Rush.h @@ -8,8 +8,7 @@ class CTroll_State_Rush final : public CState_Root { public: typedef struct tagTrollRush : public CState_Root::STATE_ROOT_DESC { - function funcPriorityUpdate = { nullptr }; - function funcLateUpdate = { nullptr }; + _bool* pCollisionPlayer = { nullptr }; }TROLL_STATE_RUSH_DESC; public: CTroll_State_Rush(); @@ -21,8 +20,7 @@ class CTroll_State_Rush final : public CState_Root virtual void Exit(); private: - function m_funcPriorityUpdate = { nullptr }; - function m_funcLateUpdate = { nullptr }; + _bool* m_pRushPlayerHit = { nullptr }; private: HRESULT Initialize(TROLL_STATE_RUSH_DESC* pDesc); diff --git a/Jusin154_Team3D/Client/Public/Troll_Weapon.h b/Jusin154_Team3D/Client/Public/Troll_Weapon.h index 0b923df94..5e1fa1116 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Weapon.h +++ b/Jusin154_Team3D/Client/Public/Troll_Weapon.h @@ -18,20 +18,29 @@ class CTroll_Weapon final : public CPartObject virtual ~CTroll_Weapon() = default; public: - virtual HRESULT Initialize_Prototype() override; - virtual HRESULT Initialize(void* pArg) override; virtual void Priority_Update(_float fTimeDelta) override; virtual void Update(_float fTimeDelta) override; virtual void Late_Update(_float fTimeDelta) override; virtual HRESULT Render() override; public: + virtual _vector Get_WorldPostion() override; + _matrix Get_WorldMatrix(); + virtual const _float4* Get_HammerPosition(); private: const _float4x4* m_pSocketMatrices = { }; CShader* m_pShaderCom = { nullptr }; CModel* m_pModelCom = { nullptr }; + _float4x4 m_HammerMatrix = { }; + _float3 m_Offset = {}; +#ifdef _DEBUG + unique_ptr m_pGripShape = { nullptr }; + unique_ptr m_pSubShape = { nullptr }; +#endif // _DEBUG private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; HRESULT Ready_Components(); HRESULT Bind_ShaderResources(); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml index 12a67db80..dd693609e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml @@ -2106,14 +2106,6 @@ - - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 - - - - Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 @@ -3692,14 +3684,6 @@ - - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 - - - - Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 @@ -3800,14 +3784,6 @@ - - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 - - - - Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 @@ -4805,14 +4781,6 @@ - - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 - - - - Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_Barrel.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_Barrel.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_Barrel.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_Barrel.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_PostPackage_B.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_PostPackage_B.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_PostPackage_B.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_PostPackage_B.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_PostPackage_F.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_PostPackage_F.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_PostPackage_F.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_PostPackage_F.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_TeaShopChair.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_TeaShopChair.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_TeaShopChair.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_TeaShopChair.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_TeaShopTable.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_TeaShopTable.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/E_INTER_TeaShopTable.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Interactable/E_INTER_TeaShopTable.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/LightElement.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/LightElement.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/LightElement.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/LightElement.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1205.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1205.xml index 12a67db80..dd693609e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1205.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1205.xml @@ -2106,14 +2106,6 @@ - - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 - - - - Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 @@ -3692,14 +3684,6 @@ - - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 - - - - Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 @@ -3800,14 +3784,6 @@ - - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 - - - - Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 @@ -4805,14 +4781,6 @@ - - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 - Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 - - - - Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Hogsmeade_MapContainer_Data1210.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Hogsmeade_MapContainer_Data1210.xml new file mode 100644 index 000000000..12a67db80 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Hogsmeade_MapContainer_Data1210.xml @@ -0,0 +1,5191 @@ + + + + + + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Chimney + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Chimney_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_A + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod2 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_B + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Decals + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_A + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod2 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_A + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod2 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On + Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Trim + Prototype_GameObject_SM_HM_Ollivanders_Int_Trim_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_Int_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_ext_Display_Window_Blocker + Prototype_GameObject_SM_HM_Ollivanders_ext_Display_Window_Blocker_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Floors + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Counter + Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Walls + Prototype_GameObject_SM_HM_Ollivanders_Int_Walls_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On + Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim + Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit + Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_B + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_EXT_APL_COL + Prototype_GameObject_SM_HM_Ollivanders_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_EXT_PL_COL + Prototype_GameObject_SM_HM_Ollivanders_EXT_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_EXT_Stairs_COL_Ramp + + + + + + Prototype_GameObject_SM_HM_Ollivanders_EXT_Stairs_COL_Steps + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_ext_entrance + Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod1 + Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod2 + Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_OutsideStairPlatform + Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod1 + Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod2 + Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod3 + + + + + + Prototype_GameObject_SM_HM_TScrolls_ext_chimneys + Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod1 + Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod2 + Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod3 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds + Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Blocker + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Display + Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Display_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_ext_decals + Prototype_GameObject_SM_HM_TScrolls_ext_decals_Lod1 + Prototype_GameObject_SM_HM_TScrolls_ext_decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod2 + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Steps_Base + Prototype_GameObject_SM_HM_TScrolls_Ext_Steps_Base_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Trim + Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod2 + Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Walls + Prototype_GameObject_SM_HM_TScrolls_Ext_Walls_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Windows + Prototype_GameObject_SM_HM_TScrolls_Ext_Windows_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_ext_window_glass + Prototype_GameObject_SM_HM_TScrolls_ext_window_glass_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Wood_Caps + Prototype_GameObject_SM_HM_TScrolls_Ext_Wood_Caps_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Sign_Base + Prototype_GameObject_SM_HM_TScrolls_Sign_Base_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Sign_Base_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor + Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_APL_COL + Prototype_GameObject_SM_HM_TScrolls_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_A_PL_COL + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_B_PL_COL + Prototype_GameObject_SM_HM_TScrolls_EXT_B_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_C_PL_COL + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_Platform_PL_COL + + + + + + Prototype_GameObject_SM_HM_Tscrolls_EXT_Stairs_COL + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_LowerHiStreet_Zonkos + + + + + + Prototype_GameObject_SM_HM_Streets_Hogshead + + + + + + Prototype_GameObject_SM_HM_Streets_A + + + + + + Prototype_GameObject_SM_HM_Streets_B + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_A + Prototype_GameObject_SM_HM_Streets_SideStreet_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_B + Prototype_GameObject_SM_HM_Streets_SideStreet_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_C + Prototype_GameObject_SM_HM_Streets_SideStreet_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Stairwalls_3Broomsticks + + + + + + Prototype_GameObject_SM_HM_Streets_AA_COL + Prototype_GameObject_SM_HM_Streets_AA_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_BB_COL + Prototype_GameObject_SM_HM_Streets_BB_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_CC_COL + Prototype_GameObject_SM_HM_Streets_CC_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_DD_COL + Prototype_GameObject_SM_HM_Streets_DD_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_EE_COL + Prototype_GameObject_SM_HM_Streets_EE_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_FF_COL + Prototype_GameObject_SM_HM_Streets_FF_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_GG_COL + Prototype_GameObject_SM_HM_Streets_GG_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_HH_COL + Prototype_GameObject_SM_HM_Streets_HH_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_A_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_A_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_B_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_B_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_C_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_C_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_D_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_D_COL_Lod1 + + + + + + Prototype_GameObject_SM_HW_Streets_SideStreet_E_COL + Prototype_GameObject_SM_HW_Streets_SideStreet_E_COL_Lod1 + + + + + + Prototype_GameObject_SM_HW_Streets_SideStreet_F_COL + Prototype_GameObject_SM_HW_Streets_SideStreet_F_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_3Broom_DoorFrame + Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod1 + Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_trim_stone + Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod2 + Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone_Lod1 + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_Door_L + Prototype_GameObject_SM_HM_3Broom_Door_L_Lod1 + Prototype_GameObject_SM_HM_3Broom_Door_L_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim + Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod1 + Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod2 + Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign + Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB_Lod1 + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_walls + Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B + Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod2 + Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_barrels + Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod2 + Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_Door_R + Prototype_GameObject_SM_HM_3Broom_Door_R_Lod1 + Prototype_GameObject_SM_HM_3Broom_Door_R_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands + Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_decals + Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_CrossBeam + + + + + + Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide + Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod1 + Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_Dormer_Wood_Slats + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_roof + Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops + Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_roof_decals + Prototype_GameObject_SM_HM_3Broom_ext_roof_decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box + Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_trim + Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod2 + Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_RectangurWindowPlain + Prototype_GameObject_SM_HM_3Broom_RectangurWindowPlain_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels + Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_Window_Glass + Prototype_GameObject_SM_HM_3Broom_Window_Glass_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_RoundedWindow + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1 + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_RoundedWindow + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1 + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_RoundedWindow + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1 + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_CrossBeam + + + + + + Prototype_GameObject_SM_HM_3Broom_EXT_APL_COL + Prototype_GameObject_SM_HM_3Broom_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_EXT_B_PL_COL_2 + + + + + + Prototype_GameObject_SM_HM_3Broom_EXT_PL_COL + Prototype_GameObject_SM_HM_3Broom_EXT_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge + Prototype_GameObject_SM_HM_Gatehouse_Bridge_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Bridge_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge_Decals + Prototype_GameObject_SM_HM_Gatehouse_Bridge_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof + Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge_road + Prototype_GameObject_SM_HM_Gatehouse_Bridge_road_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Columns + Prototype_GameObject_SM_HM_Gatehouse_Columns_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front + Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A + Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A + Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Sign + Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod2 + Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod3 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod2 + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Finial + Prototype_GameObject_SM_HM_Gatehouse_Finial_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Joist_Back + Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod2 + Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod3 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge_COLLISION + Prototype_GameObject_SM_HM_Gatehouse_Bridge_COLLISION_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod2 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Decals + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle + Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod2 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_Quidditch_ext_Glass + Prototype_GameObject_SM_HM_Quidditch_ext_Glass_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign_Lod2 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Window_Display + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Window_Display_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals + Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim + Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod2 + + + + + + Prototype_GameObject_SM_HM_Quidditch_EXT_APL_COL + Prototype_GameObject_SM_HM_Quidditch_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Quidditch_EXT_PL_COL + Prototype_GameObject_SM_HM_Quidditch_EXT_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt + Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt_Lod2 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys + Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys_Lod2 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hogshead_Docks_Stairs + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Decals + Prototype_GameObject_SM_HM_HogsHead_ext_Decals_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Gutters + Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod2 + Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Roof + Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod2 + Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Trim + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod2 + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Walls + Prototype_GameObject_SM_HM_HogsHead_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_Hogshead_ext_window_glass + Prototype_GameObject_SM_HM_Hogshead_ext_window_glass_Lod1 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Ferdinand_Portrait_Outline + + + + + + Prototype_GameObject_SM_HM_HogsHead_Porch_Steps + Prototype_GameObject_SM_HM_HogsHead_Porch_Steps_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Porch_Steps_Lod2 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Sign_A + Prototype_GameObject_SM_HM_HogsHead_Sign_A_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Sign_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Docks_COL + Prototype_GameObject_SM_HM_HogsHead_Docks_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Docks_Stairs_COL + Prototype_GameObject_SM_HM_HogsHead_Docks_Stairs_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Docks_Gap_COL + + + + + + Prototype_GameObject_SM_HM_Hogshead_ext_apl_COL + Prototype_GameObject_SM_HM_Hogshead_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Hogshead_ext_pl_COL + Prototype_GameObject_SM_HM_Hogshead_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_PlazaMain_A + + + + + + Prototype_GameObject_SM_HM_PlazaMain_B + + + + + + Prototype_GameObject_SM_HM_PlazaMain_C + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_AA_COL + Prototype_GameObject_SM_HM_Streets_Plaza_AA_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_BB_COL + Prototype_GameObject_SM_HM_Streets_Plaza_BB_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_CC_COL + Prototype_GameObject_SM_HM_Streets_Plaza_CC_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_DD_COL + Prototype_GameObject_SM_HM_Streets_Plaza_DD_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_EE_COL + Prototype_GameObject_SM_HM_Streets_Plaza_EE_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_FF_COL + Prototype_GameObject_SM_HM_Streets_Plaza_FF_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_HH_COL + Prototype_GameObject_SM_HM_Streets_Plaza_HH_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim + Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod3 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Bay_Window_Blockers + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Chimneys + Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod3 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_EXT_backside_flower_bed + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Display_Window_Boxes + Prototype_GameObject_SM_HM_Honeydukes_Display_Window_Boxes_Lod1 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD + Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod1 + Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod2 + Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod3 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Entrance + Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows + Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows_Lod2 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Glass_A + Prototype_GameObject_SM_HM_Honeydukes_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals + Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Glass_B + Prototype_GameObject_SM_HM_Honeydukes_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Glass_Int_B + Prototype_GameObject_SM_HM_Honeydukes_Glass_Int_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Roofs + Prototype_GameObject_SM_HM_HoneyDukes_Roofs_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Roofs_Lod2 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Trim + Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HoneyDukes_Ext_Flags + Prototype_GameObject_SM_HoneyDukes_Ext_Flags_Lod1 + Prototype_GameObject_SM_HoneyDukes_Ext_Flags_Lod2 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Walls + Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod3 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Windows + Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_APL2_COL + Prototype_GameObject_SM_HM_BLDG_EXT_APL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_APL3_COL + Prototype_GameObject_SM_HM_BLDG_EXT_APL3_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_APL_COL + Prototype_GameObject_SM_HM_BLDG_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_PL2_COL + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_PL3_COL + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_PL_COL + Prototype_GameObject_SM_HM_BLDG_EXT_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney + Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A + Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A_Lod1 + Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Owl + Prototype_GameObject_SM_HM_OwlPost_Ext_Owl_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Owl_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Roof + Prototype_GameObject_SM_HM_OwlPost_Ext_Roof_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod2 + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B_Lod1 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT + Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Owl_Cubbies + Prototype_GameObject_SM_HM_OwlPost_MERGED_Owl_Cubbies_Lod1 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod1 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod2 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod1 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod2 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors + Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors_Lod1 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_D + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_D_Lod1 + + + + + + Prototype_GameObject_SM_HM_OwlPost_ext_apl_COL + Prototype_GameObject_SM_HM_OwlPost_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_OwlPost_ext_pl_COL + Prototype_GameObject_SM_HM_OwlPost_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A + Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Chimney + Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Roof + Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod2 + Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Patch + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Trim + Prototype_GameObject_SM_HM_GEN_A_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Walls + Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_A_EXT_APL_COL + Prototype_GameObject_SM_HM_GEN_A_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_A_EXT_APL2_COL + Prototype_GameObject_SM_HM_GEN_A_EXT_APL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_A_EXT_PL2_COL + Prototype_GameObject_SM_HM_GEN_A_EXT_PL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_A_EXT_PL_COL + Prototype_GameObject_SM_HM_GEN_A_EXT_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_trim + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_walls + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_chimney + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_roof + Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_Stairs + Prototype_GameObject_SM_HM_GEN_C_ext_Stairs_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_trim + Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_walls + Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_windows + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a + Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_chimney + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_roof + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_trim + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_walls + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_chimney + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_side_wall + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_roof + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_trim + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_walls + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_windows + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A + Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_chimney + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_roof + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_walls + Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_windows + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod2 + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_pl_COL + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_decals + Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gen_H_window_glass_a + Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod1 + Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Roof + Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Trim + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Walls + Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod2 + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Chimney + Prototype_GameObject_SM_HM_GEN_J_ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Roof + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod2 + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Trim + Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Wall + Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Decals + Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Windows + Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod2 + Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_window_glass_a + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_J_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_J_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod1 + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod2 + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod3 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Chimney + Prototype_GameObject_SM_HM_TeaShop_Chimney_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Decals + Prototype_GameObject_SM_HM_TeaShop_Decals_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor + Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Entrance_Sign + + + + + + Prototype_GameObject_SM_HM_TeaShop_Glass_A_int + Prototype_GameObject_SM_HM_TeaShop_Glass_A_int_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Roof + Prototype_GameObject_SM_HM_TeaShop_Roof_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Roof_Lod2 + Prototype_GameObject_SM_HM_TeaShop_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Patio_Floor + Prototype_GameObject_SM_HM_TeaShop_Patio_Floor_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Glass_A_ext + Prototype_GameObject_SM_HM_TeaShop_Glass_A_ext_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Sign_Base + Prototype_GameObject_SM_HM_TeaShop_Sign_Base_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Sign_Base_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Walls + Prototype_GameObject_SM_HM_TeaShop_Walls_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Windows + Prototype_GameObject_SM_HM_TeaShop_Windows_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Windows_Lod2 + Prototype_GameObject_SM_HM_TeaShop_Windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_TeaShop_WoodTrim + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod1 + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod2 + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod3 + + + + + + Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_A + Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_B + Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_EXT_PL_COL + Prototype_GameObject_SM_HM_TeaShop_EXT_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_EXT_APL_COL + Prototype_GameObject_SM_HM_TeaShop_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_EXTSign_APL_COL + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Entrance_Sign + Prototype_GameObject_SM_HM_Zonkos_Entrance_Sign_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod2 + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Decals + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign + Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign_Lod1 + Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_B + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter + Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Roof + Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Decals + Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Trims + Prototype_GameObject_SM_HM_Zonkos_ext_Trims_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Trims_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Walls + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_sign_bars + Prototype_GameObject_SM_HM_Zonkos_sign_bars_Lod1 + Prototype_GameObject_SM_HM_Zonkos_sign_bars_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign + Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign_Lod1 + Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Lower_COL + Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Lower_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Upper_COL + Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Upper_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Lower_COL + Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Lower_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Upper_COL + Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Upper_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_roof + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_entrance + Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_A + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_trim + Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_trim_B + Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_walls + Prototype_GameObject_SM_HM_DB_GR_ext_walls_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_walls_B + Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_windows + Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Decals + Prototype_GameObject_SM_HM_DB_GR_ext_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps + Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps_Lod1 + Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Lower_A_COL + Prototype_GameObject_SM_HM_DB_GR_ext_Lower_A_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Lower_B_COL + Prototype_GameObject_SM_HM_DB_GR_ext_Lower_B_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_A_COL + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_A_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_B_COL + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_B_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_Potions_ext_chimney_base + Prototype_GameObject_SM_HM_Potions_ext_chimney_base_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_chimney_base_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_construction + Prototype_GameObject_SM_HM_Potions_ext_construction_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_construction_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_construction_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_EXT_Glass_A + Prototype_GameObject_SM_HM_Potions_EXT_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Potions_EXT_Glass_B + Prototype_GameObject_SM_HM_Potions_EXT_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_walls + Prototype_GameObject_SM_HM_Potions_ext_walls_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_roof + Prototype_GameObject_SM_HM_Potions_ext_roof_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_roof_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_stairs + Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_trim + Prototype_GameObject_SM_HM_Potions_ext_trim_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_trim_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_windows + Prototype_GameObject_SM_HM_Potions_ext_windows_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_windows_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_window_02 + Prototype_GameObject_SM_HM_Potions_ext_window_02_Lod1 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_window_01 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_window_01 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_Store_Sign + Prototype_GameObject_SM_HM_Potions_Store_Sign_Lod1 + Prototype_GameObject_SM_HM_Potions_Store_Sign_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_Store_Sign_Base + Prototype_GameObject_SM_HM_Potions_Store_Sign_Base_Lod1 + Prototype_GameObject_SM_HM_Potions_Store_Sign_Base_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_window_01 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_apl_COL + Prototype_GameObject_SM_HM_Potions_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_pl_COL + Prototype_GameObject_SM_HM_Potions_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Branches + Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Fountain + Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Statue + Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A_Lod1 + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B_Lod1 + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Roots_COL + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_PL_A_COL + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Chimney + Prototype_GameObject_SM_HM_Salon_Ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Front + Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod2 + Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Glass_A + Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod2 + Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_ext_Roof + Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod2 + Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Glass_B + Prototype_GameObject_SM_HM_Salon_Ext_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Salon_ext_Walls + Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod2 + Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_ext_Trim + Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Trim_C + Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod2 + Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Window + Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod2 + Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_HangingSign + Prototype_GameObject_SM_HM_Salon_HangingSign_Lod1 + Prototype_GameObject_SM_HM_Salon_HangingSign_Lod2 + Prototype_GameObject_SM_HM_Salon_HangingSign_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Large + Prototype_GameObject_SM_HM_Salon_Window_Large_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Large_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Trim_B + Prototype_GameObject_SM_HM_Salon_Ext_Trim_B_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Trim_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ivy + Prototype_GameObject_SM_HM_Salon_Ivy_Lod1 + Prototype_GameObject_SM_HM_Salon_Ivy_Lod2 + Prototype_GameObject_SM_HM_Salon_Ivy_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Large + Prototype_GameObject_SM_HM_Salon_Window_Large_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Large_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_APL_COL + Prototype_GameObject_SM_HM_Salon_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_PL_COL + Prototype_GameObject_SM_HM_Salon_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_trim + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_walls + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_trim + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_walls + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_chimney + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_roof + Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_Stairs + Prototype_GameObject_SM_HM_GEN_C_ext_Stairs_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_trim + Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_walls + Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_windows + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a + Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_chimney + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_roof + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_trim + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_walls + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_chimney + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_roof + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_trim + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_walls + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_chimney + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_roof + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_trim + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_walls + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_chimney + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_side_wall + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_roof + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_trim + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_walls + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_windows + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_chimney + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_side_wall + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_roof + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_trim + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_walls + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_windows + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_chimney + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_side_wall + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_roof + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_trim + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_walls + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_windows + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_chimney + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_side_wall + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_roof + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_trim + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_walls + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_windows + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A + Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_chimney + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_roof + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_walls + Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_windows + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod2 + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_pl_COL + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A + Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_chimney + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_roof + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_walls + Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_windows + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod2 + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_pl_COL + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_decals + Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gen_H_window_glass_a + Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod1 + Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Roof + Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Trim + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Walls + Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_trim + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_walls + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1 + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_TScrolls_Door + Prototype_GameObject_SM_HM_TScrolls_Door_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Door_Lod2 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_DoorB + Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod1 + Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_Door_A + + + + + + Prototype_GameObject_SM_HM_Zonkos_Front_Door + Prototype_GameObject_SM_HM_Zonkos_Front_Door_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Front_Door_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_Door_A_Frame + Prototype_GameObject_SM_HM_DB_GR_Door_A_Frame_Lod1 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Front_Door + Prototype_GameObject_SM_HM_Honeydukes_Front_Door_Lod1 + Prototype_GameObject_SM_HM_Honeydukes_Front_Door_Lod2 + + + + + + Prototype_GameObject_SM_HM_Quidditch_Door_A + Prototype_GameObject_SM_HM_Quidditch_Door_A_Lod1 + Prototype_GameObject_SM_HM_Quidditch_Door_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_Door_A + + + + + + Prototype_GameObject_SM_HM_Honeydukes_DoorB + Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod1 + Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_Door_A + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C_Lod2 + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C_Lod2 + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_C_Lod2 + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_01_A_COL + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_01_A_COL + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_01_A_COL + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_01_A_COL + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod1 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod2 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod1 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod2 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod1 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod2 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod1 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod2 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod1 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod2 + Prototype_GameObject_SM_HM_PlazaSteps_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A_Small_COL + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A_Small_COL + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A_Small_COL + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A_Small_COL + + + + + + Prototype_GameObject_SM_HM_PlazaSteps_A_Small_COL + + + + + + + + + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod2 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod2 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod2 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod2 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod2 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod1 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod2 + Prototype_GameObject_SM_HM_Stone_Steps_High_Street_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_High_Street_Stairs_A_COL + + + + + + Prototype_GameObject_SM_HM_High_Street_Stairs_B_COL + + + + + + Prototype_GameObject_SM_HM_High_Street_Stairs_A_COL + + + + + + Prototype_GameObject_SM_HM_High_Street_Stairs_B_COL + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1114.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1114.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1114.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1114.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1115.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1115.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1115.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1115.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1116.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1116.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1116.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1116.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1117.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1117.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1117.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1117.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1124.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1124.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1124.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1124.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1128.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1128.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1128.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1128.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1129.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1129.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1129.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/Map1129.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/MapTest.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/MapTest.xml similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/MapTest.xml rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/SaveData/MapTest.xml diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds deleted file mode 100644 index 9f2343b1a..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_AlphaMap.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_AlphaMap.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_AlphaMap.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap2.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap2.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap2.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap_Pre.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap_Pre.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap_Pre.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap_Pre.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_AlphaMap.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_AlphaMap.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_AlphaMap.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_AlphaMap.dds new file mode 100644 index 000000000..be4d27d0a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_Height.png similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_Height.png rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_Height.png diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_HeightMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_HeightMap.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_HeightMap.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogwart_HeightMap.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/North_Hogwart.bin similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart.bin rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/North_Hogwart.bin diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/North_Hogwart_Height.png similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart_Height.png rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/North_Hogwart_Height.png diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/South_Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/South_Hogwart_Height.png similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/South_Hogwart_Height.png rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/South_Hogwart_Height.png diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/T_LandscapeStreamingProxy_0_LOD1_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/T_LandscapeStreamingProxy_0_LOD1_D.png similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/T_LandscapeStreamingProxy_0_LOD1_D.png rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/T_LandscapeStreamingProxy_0_LOD1_D.png diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Texture2D_0.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Texture2D_0.png similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Texture2D_0.png rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Texture2D_0.png diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Test.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Test.xml deleted file mode 100644 index 114aea18a..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Test.xml +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - - - Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide - Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod1 - Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim - Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod1 - Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod2 - Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_decals - Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B - Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod2 - Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_barrels - Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod2 - Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands - Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign - Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign_Lod1 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_Decals_A - Prototype_GameObject_SM_HM_3Broom_ext_Decals_A_Lod1 - - - - - - Prototype_GameObject_SM_HM_3Broom_DoorFrame - Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod1 - Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_Dormer_Wood_Slats - - - - - - Prototype_GameObject_SM_HM_3Broom_fireplace - Prototype_GameObject_SM_HM_3Broom_fireplace_Lod1 - Prototype_GameObject_SM_HM_3Broom_fireplace_Lod2 - Prototype_GameObject_SM_HM_3Broom_fireplace_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_roof - Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops - Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_roof_decals - Prototype_GameObject_SM_HM_3Broom_ext_roof_decals_Lod1 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box - Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_trim - Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod2 - Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_trim_stone - Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod2 - Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_walls - Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod1 - Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_Door_R - Prototype_GameObject_SM_HM_3Broom_Door_R_Lod1 - Prototype_GameObject_SM_HM_3Broom_Door_R_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels - Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels_Lod1 - - - - - - Prototype_GameObject_SM_HM_3Broom_Door_L - Prototype_GameObject_SM_HM_3Broom_Door_L_Lod1 - Prototype_GameObject_SM_HM_3Broom_Door_L_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_Window_Glass - Prototype_GameObject_SM_HM_3Broom_Window_Glass_Lod1 - - - - - - Prototype_GameObject_SM_HM_3Broom_Roof_Debris_A - Prototype_GameObject_SM_HM_3Broom_Roof_Debris_A_Lod1 - Prototype_GameObject_SM_HM_3Broom_Roof_Debris_A_Lod2 - Prototype_GameObject_SM_HM_3Broom_Roof_Debris_A_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_Roof_Debris_B - Prototype_GameObject_SM_HM_3Broom_Roof_Debris_B_Lod1 - Prototype_GameObject_SM_HM_3Broom_Roof_Debris_B_Lod2 - Prototype_GameObject_SM_HM_3Broom_Roof_Debris_B_Lod3 - - - - - - Prototype_GameObject_SM_DSkull - Prototype_GameObject_SM_DSkull_Lod1 - Prototype_GameObject_SM_DSkull_Lod2 - Prototype_GameObject_SM_DSkull_Lod3 - - - - - - - - - - - Prototype_GameObject_SM_HM_3Broom_int_stairs_A - Prototype_GameObject_SM_HM_3Broom_int_stairs_A_Lod1 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_Bar - Prototype_GameObject_SM_HM_3Broom_int_Bar_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_Bar_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_floors - Prototype_GameObject_SM_HM_3Broom_int_floors_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_floors_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_stairs_B - Prototype_GameObject_SM_HM_3Broom_int_stairs_B_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_stairs_B_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_windows - Prototype_GameObject_SM_HM_3Broom_int_windows_Lod1 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_stairs_D - Prototype_GameObject_SM_HM_3Broom_int_stairs_D_Lod1 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_Stairs_Upper_Floors - Prototype_GameObject_SM_HM_3Broom_int_Stairs_Upper_Floors_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_Stairs_Upper_Floors_Lod2 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_walls - Prototype_GameObject_SM_HM_3Broom_int_walls_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_walls_Lod2 - Prototype_GameObject_SM_HM_3Broom_int_walls_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_wood_A - Prototype_GameObject_SM_HM_3Broom_int_wood_A_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_wood_A_Lod2 - Prototype_GameObject_SM_HM_3Broom_int_wood_A_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_wood_B - Prototype_GameObject_SM_HM_3Broom_int_wood_B_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_wood_B_Lod2 - Prototype_GameObject_SM_HM_3Broom_int_wood_B_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_wood_C - Prototype_GameObject_SM_HM_3Broom_int_wood_C_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_wood_C_Lod2 - Prototype_GameObject_SM_HM_3Broom_int_wood_C_Lod3 - - - - - - Prototype_GameObject_SM_HM_3Broom_int_wood_Stairs - Prototype_GameObject_SM_HM_3Broom_int_wood_Stairs_Lod1 - Prototype_GameObject_SM_HM_3Broom_int_wood_Stairs_Lod2 - - - - - - Prototype_GameObject_SM_Broom_01 - Prototype_GameObject_SM_Broom_01_Lod1 - Prototype_GameObject_SM_Broom_01_Lod2 - - - - - - diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/TestLightElement.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/TestLightElement.xml deleted file mode 100644 index 09cbbf08e..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/TestLightElement.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - Prototype_GameObject_SM_HM_LightPost - - - - - - - - - - - Prototype_GameObject_SM_HM_LightPost - - - - - - - - - - - Prototype_GameObject_SM_HM_LightPost - - - - - - - - - - diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Water/Element_Water_Info.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Water/Element_Water_Info.xml new file mode 100644 index 000000000..61081ef62 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Water/Element_Water_Info.xml @@ -0,0 +1,41 @@ + + + + Prototype_Component_Hogsmead_NorthLake + Prototype_Component_Hogsmead_NorthLakeShallow + + + + + + + + + + + + + + + + + + Prototype_Component_Hogwart_Lake + Prototype_Component_Hogwart_LakeSurFace + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml index c17cf06ac..cdbf5294c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml @@ -1,6 +1,6 @@  - - - - + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds deleted file mode 100644 index 37505f9c3..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_DDD.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_DDD.dds new file mode 100644 index 000000000..60e6e5097 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_DDD.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes/SM_HM_GEN_C_ext_chimney.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes/SM_HM_GEN_C_ext_chimney.bin index 1578182d9..48c9b858a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes/SM_HM_GEN_C_ext_chimney.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes/SM_HM_GEN_C_ext_chimney.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c8b230cb54358c4c6b9c367aa49be7da8e68afbba3f7c98c171b699185a9b78 +oid sha256:5389a821f690d6b77cae390a298ae45b882f919ea2267799e48f916982036d0b size 437912 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes/SM_HM_GEN_E_ext_chimney.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes/SM_HM_GEN_E_ext_chimney.bin index b66a2020a..0fbb5bea6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes/SM_HM_GEN_E_ext_chimney.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes/SM_HM_GEN_E_ext_chimney.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:edb5ce5932305810e0b934c7d0571d16cf3e887a8dc97e5a1ac3c5d2a004f773 +oid sha256:dc1175499f2858fb7ab8d3f95a381f8a4b7939ddb0e00d2ac534b04fdd28fba6 size 515069 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes/SM_HM_Ollivanders_WallShelf_Int_kit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes/SM_HM_Ollivanders_WallShelf_Int_kit.bin index 6539b6189..8becec4d6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes/SM_HM_Ollivanders_WallShelf_Int_kit.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes/SM_HM_Ollivanders_WallShelf_Int_kit.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f0c77a3fb2ccfd5e7fb3da98bd13e819266661f19a6b58f9f54aee2252c5f035 +oid sha256:4b883610e5ef451602b64e2e991ed238aa98ebc2a21daa1eba5545979713ae0c size 442132 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Branch_Loose_A.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Branch_Loose_A.bin index aba676e09..1e3a4ea80 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Branch_Loose_A.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Branch_Loose_A.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4b325b1ecd888be3c7277526f6c5d6bf1e4d097dfe3baf9d1ac57b060a739b9f +oid sha256:110a7070d505cd1a079200fc5f1190500c98a5fc60158e3b4003b41d3071e637 size 240599 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Branch_Loose_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Branch_Loose_B.bin index 712b92c0a..3c1b741cc 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Branch_Loose_B.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Branch_Loose_B.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e1bfb57a627f7e574799162703314fc97255784becbcdef903e788876eedb574 +oid sha256:f2a9405faf1446492233f27be1b7f087c2712ae4106be330585a985eeffda628 size 166615 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk.bin index ddbc08381..3d515bfbf 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:599a56ef9631eda4cf57622a0955b68fcce552fa63629498131a06669653fbfd +oid sha256:f657282fca8e7bdd55b79f34c97af44e55c7cd9a70e1231cd52dc61b65e0ca79 size 1080719 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains.bin new file mode 100644 index 000000000..54eba23d1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23492b2f7da4fe4ba443747174051ea12aeca2a34bb2c1ee9794d27b88a41ea9 +size 466567 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod1.bin new file mode 100644 index 000000000..54c13de44 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4570be5198e03b54cc952b90bf8e47bcbd78ec68d7ae73597f9e15c9757c064 +size 200969 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod2.bin new file mode 100644 index 000000000..34cdb142d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a845286bcb99ba73a202b99ac248345a5346d99fb1877821b769b8e68d5acc5 +size 93145 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod3.bin new file mode 100644 index 000000000..01151efff --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Trunk_Troll_Remains_Lod3.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8257d1d607818d7922947eeb1760c036a2e5e4fe16461ccbfd3f6b3e9052646 +size 38405 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume.bin new file mode 100644 index 000000000..d745282c4 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:295c159612fe5ac5e9fd928b2fc124889dbfeb21e7b733f5c5fa57c2ca40fcf5 +size 609322 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume_Lod1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume_Lod1.bin new file mode 100644 index 000000000..4d5731f12 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume_Lod1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f5cd160602994ebf26567f6faf9a77af9d446fb93de9a3bb586a5461ae8d1f7 +size 152099 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume_Lod2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume_Lod2.bin new file mode 100644 index 000000000..27a9496a0 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_Hengist_Tree_Volume_Lod2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e77c724a4d1e20dfeef5d5b50e16fbab5125d9861b9c4d5526014809580cdf0e +size 20387 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_MERGED_Hengist_Dead_Leafs.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_MERGED_Hengist_Dead_Leafs.bin new file mode 100644 index 000000000..fb02129f9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_MERGED_Hengist_Dead_Leafs.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cddf43611f31544424be9239b46ad345839e655acc0b72ed1fdf90cc5b6f3659 +size 27297 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_MERGED_Hengist_Dead_Leafs_Lod1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_MERGED_Hengist_Dead_Leafs_Lod1.bin new file mode 100644 index 000000000..b75942a22 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree/SM_HM_MERGED_Hengist_Dead_Leafs_Lod1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11b9521cd17c6d55a13eec00b4026a1c3c26276182bf5547467b30bc02e777ee +size 18305 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep.bin new file mode 100644 index 000000000..fe507b3c7 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a75965993cd29d02470d6bd0f5bfdf9456c7fcd402ffd97344c138b5e10ca12 +size 13108 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep.fbx new file mode 100644 index 000000000..4265629d1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76e2d27d35574966e0ca37f1e9a05664dde500ffc566f3b00b3256395664f85b +size 17372 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep_Lod1.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep_Lod1.fbx new file mode 100644 index 000000000..60c03331f --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep_Lod1.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69638ecd40581197befaab7d07e1f0e67750716b981f9bda813ec93fd2992ba5 +size 16252 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow.bin new file mode 100644 index 000000000..f0d63f376 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83a33ed2aa71f35765fd9b336fc68a0f79ab168ebc2c5b567f016470df48d67b +size 24359 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow.fbx new file mode 100644 index 000000000..61d82d1d1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ed4e8de5028c5a3387c88a00195b7dbcfc7c6befddfed3ebbff73acba034f7e +size 19420 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow_Lod1.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow_Lod1.fbx new file mode 100644 index 000000000..dbbc4bec1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow_Lod1.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c9115e1a2e51e0d8b2684d9aa51fff3471d63b93ba66c4fbb300b3196e40901 +size 16284 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 7ddc44122..7ed6a145a 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:f04cce1ecf05e937400056deaa1b5456b4ae5a3c45cb4904a5acd4df2613aec3 -size 5154648 +oid sha256:d0274b0376cad70728c71c7d0b596494402d8a480189d93e93a4c8d98086dbd2 +size 5154657 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 f9e00a65a..3cbe11bcd 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.xml @@ -176,7 +176,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin index b5c1e52bf..b8fe5dd2f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5b338190be49b19a80802f95ba48039c62894fe788ebad7ef6198fe45af6f35b -size 1204588 +oid sha256:e2b1dcd3c90fefd7bc76dd7bc745959a3aef6e70205d15c534d729163c586128 +size 1204794 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.xml new file mode 100644 index 000000000..61b4827cf --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/SM_SkyCard.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/SM_SkyCard.bin new file mode 100644 index 000000000..28884ebc6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/SM_SkyCard.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:028fbcf10ab6e6ef543455fdb2700d2a3ad5cb89e93beda9ad2534f43016a013 +size 9281 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/SM_SkyCard.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/SM_SkyCard.fbx new file mode 100644 index 000000000..22b89bfc7 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/SM_SkyCard.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f8144d8fd4f9afd740041cced333a8303d4d974e5323c681bfdc5a6d49c20b4 +size 21884 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/T_SkyCard_E.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/T_SkyCard_E.dds new file mode 100644 index 000000000..d0fc71245 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/T_SkyCard_E.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/T_Windows_A_Glass_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/T_Windows_A_Glass_D.dds new file mode 100644 index 000000000..00f70ee7b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/SkyBox/T_Windows_A_Glass_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl index 2cd0683e4..5465e90a7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl @@ -512,7 +512,7 @@ PS_OUT PS_Rotation(PS_IN In) Rotation.y = uv.x * sin(g_fMapAngle) + uv.y * cos(g_fMapAngle); Rotation += center; - float4 tex1 = g_Texture.Sample(ClampSampler , Rotation); + float4 tex1 = g_Texture.Sample(ClampSampler, Rotation); color = tex1; @@ -1393,7 +1393,7 @@ PS_OUT PS_Enemy_HpBer(PS_IN In) if (Color.a <= 0.f) discard; - if(g_iHover != 0) + if (g_iHover != 0) { float4 tex3 = g_Texture2.Sample(DefaultSampler, In.vTexcoord); @@ -1411,6 +1411,78 @@ PS_OUT PS_Enemy_HpBer(PS_IN In) return Out; } +PS_OUT PS_Boss_HpBer(PS_IN In) +{ + PS_OUT Out; + + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + float4 Color = float4(1.f, 1.f, 1.f, 1.f); + float4 Color1 = float4(1.f, 1.f, 1.f, 1.f); + float2 uv = In.vTexcoord; + float2 CurrentPixelPosition = uv * g_fCurrent_Size; + float OriginLeft = g_fNine_Slice.x; + float OriginRight = g_fNine_Slice.y; + float OriginTop = g_fNine_Slice.z; + float OriginBottom = g_fNine_Slice.w; + + float CurrentLeft = OriginLeft; + float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight); + float CurrentTop = OriginTop; + float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom); + + float2 Finaluv = In.vTexcoord; + + if (CurrentPixelPosition.x < CurrentLeft) + { + Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x; + } + else if (CurrentPixelPosition.x > CurrentRight) + { + float dist = CurrentPixelPosition.x - CurrentRight; + Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x; + } + else + { + float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft); + Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x); + } + + if (CurrentPixelPosition.y < CurrentTop) + { + Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y; + } + else if (CurrentPixelPosition.y > CurrentBottom) + { + float dist = CurrentPixelPosition.y - CurrentBottom; + Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y; + } + else + { + float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop); + Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y); + } + + float4 tex1 = g_Texture.Sample(DefaultSampler, Finaluv); + float4 tex2 = g_Texture1.Sample(DefaultSampler, Finaluv); + + Color = tex1; + + tex2.rgb *= float3(1.f, 0.f, 0.f); + + if (In.vTexcoord.x >= g_fHp) + { + tex2.rgb = float3(0.f, 0.f, 0.f); + } + + if (all(Color.rgb >= (float3(55.f, 55.f, 55.f) / 255.f))) + Color = tex2; + + + Color.a *= Alpha; + Out.vColor = Color; + return Out; +} + technique11 PosTexTechnique11 { pass Default @@ -1711,4 +1783,14 @@ technique11 PosTexTechnique11 PixelShader = compile ps_5_0 PS_Enemy_HpBer(); } + pass Boss_HpBer + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Boss_HpBer(); + } + } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl index 0fed6234a..5900f9e22 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl @@ -266,6 +266,9 @@ PS_OUT PS_MAIN(PS_IN In) float4 vMtrlDiffuse = g_DiffuseTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord); float4 vSurface = g_SurfaceParamsTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord); + //if (vMtrlDiffuse.a < 0.3f){ + // discard; + //} if (true == g_bDisolve) { float4 vBurnColor = g_DeadDisolveBurnTexture.Sample(DefaultSampler, In.vTexcoord); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl index 79b9b8820..e1ae3b5f2 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl @@ -40,6 +40,7 @@ Texture2D g_AmbientTexture; Texture2D g_AmbientOcclusionTexture; Texture2D g_UnknownTexture; Texture2D g_NoiseTexture; +Texture2D g_CausticsTexture; int g_iBinded_Texture[AI_TEXTURE_TYPE_MAX]; @@ -58,9 +59,9 @@ float g_fNormalValue1; float g_fNormalValue2; float g_fNormalValue3; -float g_fUVSpeed1; -float g_fUVSpeed2; -float g_fUVSpeed3; +float2 g_vUVSpeed1; +float2 g_vUVSpeed2; +float2 g_vUVSpeed3; float g_fBloomStrength; float g_fGlassRatio; @@ -261,6 +262,10 @@ PS_OUT PS_MAIN(PS_IN In) float4 vMtrlDiffuse = g_DiffuseTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord); float4 vSurface = g_SurfaceParamsTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord); + //if (vMtrlDiffuse.a < 0.3f) + //{ + // discard; + //} if (g_iBinded_Texture[AI_TEXTURE_TYPE_TRANSMISSION] != 0) { float4 vTransmission = g_TransmissionTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord); @@ -337,7 +342,32 @@ PS_OUT PS_GLASS(PS_IN In) return Out; } +PS_OUT PS_GLASS_CUBE(PS_IN In) +{ + PS_OUT Out; + vector vMtrlDiffuse = g_DiffuseTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord); + vector vSurface = g_SurfaceParamsTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord); + float3 vNormalMap = DecodeNormalFromRG(g_NormalTexture, AnisoTropy_BLUR_Sampler, In.vTexcoord); + + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); + + float3 vNormal = normalize(mul(normalize(vNormalMap), WorldMatrix)); + + float3 vReflaction = reflect(normalize(In.vWorldPos.xyz - g_vCamPosition.xyz), vNormal); + + float4 vReflactionDiffuse = g_CubeTexture.Sample(DefaultSampler, vReflaction); + + float fFresnelScala = 0.02f + (1.f - 0.02f) * pow(1.f - max(0.f, dot(normalize(g_vCamPosition.xyz - In.vWorldPos.xyz), vNormal)), 5.f); + + Out.vAlbedo = float4(vMtrlDiffuse.xyz, 1.f) * fFresnelScala + vReflactionDiffuse * (1.f - fFresnelScala); + Out.vColor = float4(0.f, 0.f, 0.f, 0.f); + Out.vNormal = float4(In.vNormal * 0.5f + 0.5f, 0.f); + Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / g_fFar, 15.f / 27.f, 1.f); + Out.vSurface = vSurface; + + return Out; +} struct PS_IN_SHADOW { @@ -527,30 +557,36 @@ PS_OUT PS_LAKE(PS_IN In) { PS_OUT Out; - float4 vMtrlReflaction = g_DiffuseTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord * 30.f); + float2 vUV = float2(In.vTexcoord.x + cos(g_fTime * g_vUVSpeed1.x), In.vTexcoord.y + cos(g_fTime * g_vUVSpeed1.y)) * g_fNormalValue1; + float2 vUVLarge = float2(In.vTexcoord.x + cos(g_fTime * g_vUVSpeed2.x), In.vTexcoord.y + cos(g_fTime * g_vUVSpeed2.y)) * g_fNormalValue2; + float2 vUVSub = float2(In.vTexcoord.x + cos(g_fTime * g_vUVSpeed3.x), In.vTexcoord.y + cos(g_fTime * g_vUVSpeed3.y)) * g_fNormalValue3; - float2 vUV = float2(In.vTexcoord.x, In.vTexcoord.y + sin(g_fTime * g_fUVSpeed1)) * g_fNormalValue1; - float2 vUVLarge = float2(In.vTexcoord.x, In.vTexcoord.y - (g_fTime * g_fUVSpeed2)) * g_fNormalValue2; - float2 vUVSub = float2(In.vTexcoord.x - g_fTime * g_fUVSpeed3, In.vTexcoord.y - g_fTime * g_fUVSpeed3) * g_fNormalValue3; + float4 vMtrlDiffuse = g_DiffuseTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord * 30.f); + float3 vNoise = (g_NoiseTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord + g_fTime * 0.1f).rgb - 0.5f) * 0.3f; + float4 vCaustics = g_CausticsTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord * 30.f + vNoise.g); - float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, AnisoTropy_BLUR_Sampler, vUV); - float3 vNormalLarge = DecodeNormalFromRG(g_NormalLargeTexture, AnisoTropy_BLUR_Sampler, vUVLarge); - float3 vNormalSub = DecodeNormalFromRG(g_NormalSubTexture, AnisoTropy_BLUR_Sampler, vUVSub); + float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, AnisoTropy_BLUR_Sampler, vUV + vNoise.g); + float3 vNormalLarge = DecodeNormalFromRG(g_NormalLargeTexture, AnisoTropy_BLUR_Sampler, vUVLarge + vNoise.r); + float3 vNormalSub = DecodeNormalFromRG(g_NormalSubTexture, AnisoTropy_BLUR_Sampler, vUVSub + vNoise.b); + + vMtrlDiffuse = (vMtrlDiffuse + vCaustics * 0.3f) * g_vDiffuseColor; - vector vDiffuse = g_vDiffuseColor; vector vSurface = g_vSurfaceColor; float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); + float3 vNormal = normalize(mul(float3(normalize(vNormalDecoded * 0.5f + vNormalLarge * 0.2f + vNormalSub * 0.3f).xy, 1.f), WorldMatrix)); - float3 vNormal = normalize(mul(normalize(vNormalDecoded + vNormalLarge + vNormalSub), WorldMatrix)); - float3 vReflaction = reflect(normalize(In.vWorldPos.xyz - g_vCamPosition.xyz), vNormal); + float3 vViewDir = normalize(g_vCamPosition.xyz - In.vWorldPos.xyz); - float4 vMtrlDiffuse = g_CubeTexture.Sample(DefaultSampler, vReflaction); + float3 vReflaction = reflect(-1.f * vViewDir, vNormal); - float fFresnelScala = g_fRefractionStrength + (1.f - g_fRefractionStrength) * pow(1.f - max(0.f, dot(normalize(g_vCamPosition.xyz - In.vWorldPos.xyz), vNormal)), g_fRefractionPow); + float4 vCubeDiffuse = g_CubeTexture.Sample(AnisoTropy_BLUR_Sampler, vReflaction); - Out.vAlbedo = float4(vMtrlDiffuse.xyz, 1.f) * fFresnelScala * g_fSpecularIntensity + vMtrlReflaction * g_vDiffuseColor * (1.f - fFresnelScala); + float fFresnelScala = g_fRefractionStrength + (1.f - g_fRefractionStrength) * pow(1.f - saturate(dot(vViewDir, vNormal)), g_fRefractionPow); + fFresnelScala = saturate(fFresnelScala * 0.7f); + + Out.vAlbedo = lerp(vMtrlDiffuse, vCubeDiffuse, fFresnelScala); Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), // NDC 깊이 ( 0~ 1) (In.vProjPos.w / g_fFar), // 뷰 스페이스 Z @@ -862,4 +898,14 @@ technique11 MeshTechnique11 GeometryShader = NULL; PixelShader = compile ps_5_0 PS_SPECTOR_WEAPON_MAIN(); } + + pass GlassCubePass // 20 + { + SetRasterizerState(RS_Nocull); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_GLASS_CUBE(); + } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_BossMeterShadow.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_BossMeterShadow.png new file mode 100644 index 000000000..77c2c4a57 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_BossMeterShadow.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_Boss_HpBar.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_Boss_HpBar.png new file mode 100644 index 000000000..28b5315a8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_Boss_HpBar.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_Boss_HealthMeterFill.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_Boss_HealthMeterFill.png new file mode 100644 index 000000000..07b62e517 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_Boss_HealthMeterFill.png differ diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj index cfba68a06..8071fbad5 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj @@ -176,6 +176,7 @@ call Update_Shaders.bat + @@ -377,6 +378,7 @@ call Update_Shaders.bat + @@ -611,7 +613,10 @@ call Update_Shaders.bat Effect 5.0 - + + Effect + 5.0 + Effect 5.0 diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters index 3bcbbe461..66bcff3a8 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters @@ -559,6 +559,9 @@ {7ba1f85d-a9c4-4002-b425-43796bec6869} + + {49575102-9b08-494e-bf3f-bdc98774913e} + @@ -1116,6 +1119,9 @@ 04.InfoInstance\03.Skill_Info + + 50.UI\GamePlay_Canvas\Enemy_Panel\Boss_HpBar + @@ -1675,6 +1681,9 @@ 04.InfoInstance\03.Skill_Info + + 50.UI\GamePlay_Canvas\Enemy_Panel\Boss_HpBar + diff --git a/Jusin154_Team3D/Editor/Private/AlphaMap.cpp b/Jusin154_Team3D/Editor/Private/AlphaMap.cpp index 101134c9c..c8ff5d7a2 100644 --- a/Jusin154_Team3D/Editor/Private/AlphaMap.cpp +++ b/Jusin154_Team3D/Editor/Private/AlphaMap.cpp @@ -70,7 +70,7 @@ void CAlphaMap::Update(_float3& vPosition, _uint iColorIndex, _float fValue, _ui void CAlphaMap::Save_ToFile(const _char* pFilePath) { - string strFilePath = "../Bin/Resources/Data/Map/" + string(pFilePath); + string strFilePath = "../Bin/Resources/Data/Map/Terrain/" + string(pFilePath); ofstream out(strFilePath, ios::binary); @@ -93,7 +93,7 @@ void CAlphaMap::Save_ToFile(const _char* pFilePath) void CAlphaMap::Load_ToFile(const _char* pFilePath) { - string strFilePath = "../Bin/Resources/Data/Map/" + string(pFilePath); + string strFilePath = "../Bin/Resources/Data/Map/Terrain/" + string(pFilePath); ifstream in(strFilePath, ios::binary); @@ -121,8 +121,8 @@ void CAlphaMap::Load_ToFile(const _char* pFilePath) m_pContext->Unmap(m_pTexture2D, 0); - if (FAILED(SaveDDSTextureToFile(m_pContext, m_pTexture2D, L"../Bin/Resources/Data/Map/Hogwart_AlphaMap.dds"))) - return; + //if (FAILED(SaveDDSTextureToFile(m_pContext, m_pTexture2D, L"../Bin/Resources/Data/Map/Terrain/Hogwart_AlphaMap.dds"))) + // return; } HRESULT CAlphaMap::Initialize(_uint iSizeX, _uint iSizeY) diff --git a/Jusin154_Team3D/Editor/Private/Boss_HpBer.cpp b/Jusin154_Team3D/Editor/Private/Boss_HpBer.cpp new file mode 100644 index 000000000..bb3bfa63e --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/Boss_HpBer.cpp @@ -0,0 +1,307 @@ +#include "pch.h" +#include "Boss_HpBer.h" +#include "GameInstance.h" + +CBoss_HpBar::CBoss_HpBar(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + :CElementObject(pDevice, pContext) +{ +} + +CBoss_HpBar::CBoss_HpBar(const CBoss_HpBar& rhs) + :CElementObject(rhs) +{ +} + +HRESULT CBoss_HpBar::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CBoss_HpBar::Initialize(void* pArg) +{ + CUIObject::UIOBJECT_DESC Desc{}; + + Desc.fX = 0.f; + Desc.fY = 40.f; + Desc.fSizeX = 218.f; + Desc.fSizeY = 82.f; + + m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) }; + + if (FAILED(__super::Initialize(&Desc))) + { + return E_FAIL; + } + if (FAILED(Ready_Components(pArg))) + { + return E_FAIL; + } + + m_fTimeMult = 3.f; + m_fAlpha = 0.f; + m_fAlphaTime = 10.f; + m_vNine_Slice = _float4(60.f, 155.f, 5.f, 82.f); + m_fMaxHp = 200.f; + m_fCurrentHp = m_fMaxHp; + m_fDamage = 0.f; + SizeUpX(750.f); + SizeUpY(100.f); + m_fMoveSpeed = 5.f; + m_bAnimation = false; + m_fLerpY = m_fSizeY; + m_fSortZ = 0.01f; + return S_OK; +} + +void CBoss_HpBar::Priority_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + __super::Priority_Update(fTimeDelta); +} + +void CBoss_HpBar::Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + + if (m_bFadeIn == true) + { + if (m_fAlpha <= 1.f) + { + m_fAlpha += fTimeDelta * m_fAlphaTime; + m_bHover = true; + } + + + if (m_fAlpha >= 1.f) + { + m_bFadeIn = false; + m_fAlpha = 1.f; + } + } + + if (m_bFadeOut == true) + { + if (m_fAlpha >= 0.f) + m_fAlpha -= fTimeDelta * m_fAlphaTime; + + if (m_fAlpha <= 0.f) + { + m_bFadeOut = false; + m_bHover = false; + m_fAlpha = 0.f; + } + } + + if (m_pGameInstance->Key_Down(DIK_3)) + { + m_fDamage += 10.f; + } + + if (m_fCurrentHp < 0.f) + m_fCurrentHp = 0.f; + if (m_fDamage <= 0.f) + m_fDamage = 0.f; + m_fTargetHp = m_fMaxHp - m_fDamage; + + if (m_fTargetHp < m_fCurrentHp) + Hit(fTimeDelta); + m_fHpBar = m_fCurrentHp / m_fMaxHp; + + if (m_fHpBar <= 0.f) + { + m_bAnimation = true; + } + if (m_bAnimation == true) + { + m_fTime += fTimeDelta * m_fTimeMult; + m_fSizeX += 3.f; + m_fSizeY += 3.f; + static_cast(m_pOwner)->Function_Callback(TEXT("Enemy_HpDie")); + } + if (m_fTime >= 0.9f) + { + m_bAnimation = false; + m_bHover = false; + m_fTime = 0.f; + SizeUpdate(m_fLerpX, m_fLerpY); + } + + __super::Update(fTimeDelta); +} + +void CBoss_HpBar::Late_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + if (m_bVisible) { + m_pGameInstance->Add_RenderGroup(RENDER::UI, this); + __super::Late_Update(fTimeDelta); + } +} + +HRESULT CBoss_HpBar::Render() +{ + if (m_bHover == true) + { + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::BOSS_HPBAR)))) { + return E_FAIL; + } + if (FAILED(m_pVIBufferCom->Bind_Resources())) { + return E_FAIL; + } + if (FAILED(m_pVIBufferCom->Render())) { + return E_FAIL; + } + } + + return S_OK; +} + +_vector CBoss_HpBar::Get_WorldPostion() +{ + return m_pTransformCom->Get_State(STATE::POSITION); +} + +void CBoss_HpBar::Hit(_float fTimeDelta) +{ + m_fCurrentHp = CMyTools::Lerp_f1D(m_fCurrentHp, m_fTargetHp, fTimeDelta * m_fMoveSpeed); +} + +HRESULT CBoss_HpBar::Bind_ShaderResources() +{ + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix))) + { + return E_FAIL; + } + if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0))) + { + return E_FAIL; + } + if (FAILED(m_pDiffuse_TextureCom1->Bind_ShaderResource(m_pShaderCom, "g_Texture1", 0))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTime, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fHp", &m_fHpBar, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_iHover", &m_bAnimation, sizeof(_int)))) + { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CBoss_HpBar::Ready_Components(void* pArg) +{ + if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_Boss_HpBar"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_HUD_Boss_HealthMeterFill"), reinterpret_cast(&m_pDiffuse_TextureCom1), nullptr))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr))) + { + return E_FAIL; + } + return S_OK; +} + +CBoss_HpBar* CBoss_HpBar::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CBoss_HpBar* pInstance = new CBoss_HpBar(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CBoss_HpBar"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CBoss_HpBar::Clone(void* pArg, CGameObject* pOwner) +{ + CBoss_HpBar* pInstance = new CBoss_HpBar(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CBoss_HpBar"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CBoss_HpBar::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pDiffuse_TextureCom); + SAFE_RELEASE(m_pDiffuse_TextureCom1); + SAFE_RELEASE(m_pDiffuse_TextureCom2); + SAFE_RELEASE(m_pShaderCom); + SAFE_RELEASE(m_pVIBufferCom); +} + +void CBoss_HpBar::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Editor/Private/Broom.cpp b/Jusin154_Team3D/Editor/Private/Broom.cpp index d5251133b..cfb42833a 100644 --- a/Jusin154_Team3D/Editor/Private/Broom.cpp +++ b/Jusin154_Team3D/Editor/Private/Broom.cpp @@ -39,6 +39,8 @@ void CBroom::Priority_Update(_float fTimeDelta) void CBroom::Update(_float fTimeDelta) { m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); + + Describe_Entity(); } void CBroom::Late_Update(_float fTimeDelta) @@ -160,4 +162,5 @@ void CBroom::Free() void CBroom::Describe_Entity() { + } diff --git a/Jusin154_Team3D/Editor/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Editor/Private/CamPosition_Shoulder.cpp index 107564445..e7837ed82 100644 --- a/Jusin154_Team3D/Editor/Private/CamPosition_Shoulder.cpp +++ b/Jusin154_Team3D/Editor/Private/CamPosition_Shoulder.cpp @@ -170,8 +170,8 @@ HRESULT CCamPosition_Shoulder::Ready_SubParts() CameraDesc.bEnableFollowLerp = true; CameraDesc.bEnableLookLerp = true; CameraDesc.vTransitionTime = { 0.f, 1.f }; - CameraDesc.vFollowLerpTime = { 0.f, BASIC_LERP_TIMER }; - CameraDesc.vLookLerpTime = { 0.f, BASIC_LERP_TIMER }; + CameraDesc.vFollowLerpTime = { 0.f, TIMER_SHORT_LERP }; + CameraDesc.vLookLerpTime = { 0.f, TIMER_SHORT_LERP }; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &CameraDesc, nullptr, &m_pBinded_Camera))) { diff --git a/Jusin154_Team3D/Editor/Private/Enemy_Info.cpp b/Jusin154_Team3D/Editor/Private/Enemy_Info.cpp index 541783764..e1401c843 100644 --- a/Jusin154_Team3D/Editor/Private/Enemy_Info.cpp +++ b/Jusin154_Team3D/Editor/Private/Enemy_Info.cpp @@ -103,6 +103,10 @@ void CEnemy_Info::Update(_float fTimeDelta) { Set_FadeOut(); } + if (m_pGameInstance->Key_Down(DIK_J)) + { + Set_Font_Move(!m_bBoss); + } __super::Update(fTimeDelta); } @@ -220,6 +224,23 @@ void CEnemy_Info::Set_Info(_int Level, _wstring Name) Set_FadeIn(); } +void CEnemy_Info::Set_Font_Move(_bool Boss) +{ + m_bBoss = Boss; + if (m_bBoss == true) + { + MoveX(-315.f); + MoveY(50.f); + m_fFontPos = _float2(1250, 0.f); + } + else + { + MoveX(-180.f); + MoveY(40.f); + m_fFontPos = _float2(1115.f, 0.f); + } +} + CEnemy_Info* CEnemy_Info::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { CEnemy_Info* pInstance = new CEnemy_Info(pDevice, pContext); diff --git a/Jusin154_Team3D/Editor/Private/Enemy_Panel.cpp b/Jusin154_Team3D/Editor/Private/Enemy_Panel.cpp index 786190f82..1691ae22c 100644 --- a/Jusin154_Team3D/Editor/Private/Enemy_Panel.cpp +++ b/Jusin154_Team3D/Editor/Private/Enemy_Panel.cpp @@ -3,6 +3,7 @@ #include "GameInstance.h" #include "Enemy_HpBar.h" #include "Enemy_Info.h" +#include "Boss_HpBer.h" CEnemy_Panel::CEnemy_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) :CPanelObject(pDevice, pContext) @@ -120,6 +121,12 @@ HRESULT CEnemy_Panel::Ready_Element(void* pArg) } Add_Element(TEXT("Enemy_Info"), m_pEnemy_Info); + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pBoss_HpBar)))) + { + return E_FAIL; + } + Add_Element(TEXT("Boss_HpBer"), m_pBoss_HpBar); + return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp index 32d6706f6..6ae7bcc59 100644 --- a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp @@ -124,6 +124,8 @@ HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) Desc.iAlphaSizeX = 2048; Desc.iAlphaSizeY = 2048; Desc.vPosition = _float3(-194, 18.5f, -153.f); + Desc.strAlphaMapTag = "Hogsmeade_AlphaMap.bin"; + Desc.strHeightMapTag = "Hogsmeade_HeightMap.bin"; Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogsmeade"); if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc))) return E_FAIL; @@ -132,6 +134,8 @@ HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) Desc.isEdit = false; Desc.iAlphaSizeX = 2048; Desc.iAlphaSizeY = 2560; + Desc.strAlphaMapTag = "Hogwart_AlphaMap.bin"; + Desc.strHeightMapTag = "Hogwart_HeightMap.bin"; Desc.vPosition = _float3(-451.f, 18.5f, -791.f); Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogwart"); if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc))) @@ -157,16 +161,31 @@ HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) CMapElement_Lake::MAPOBJECT_LAKE_DESC Lake_Desc = {}; - vector<_wstring> ModelPrototypeTags; + /*vector<_wstring> ModelPrototypeTags; + vector<_wstring> ShallowModelPrototypeTags; ModelPrototypeTags.push_back(TEXT("Prototype_Component_Hogwart_Lake")); + ShallowModelPrototypeTags.push_back(TEXT("Prototype_Component_Hogwart_LakeSurFace")); + Lake_Desc.bEdit = true; Lake_Desc.iMaxLodLevel = 0; Lake_Desc.iRenderType = 4; Lake_Desc.vPosition = _float3(-144.f, -61.9f, -115.f); Lake_Desc.vRotation = _float3(0.f, 0.f, 0.f); - Lake_Desc.vScale = _float3(3.f, 3.f, 3.f); + Lake_Desc.vScale = _float3(1.f, 1.f, 1.f); + Lake_Desc.fTimeSpeed = _float(0.02f); + Lake_Desc.fRefractionStrength = _float(); + Lake_Desc.fRefractionPow = _float(); + Lake_Desc.fUVValue1 = _float(); + Lake_Desc.fUVValue2 = _float(); + Lake_Desc.fUVValue3 = _float(); + Lake_Desc.vUVSpeed = _float2(); + Lake_Desc.vLargeUVSpeed = _float2(); + Lake_Desc.vSubUVSpeed3 = _float2(); + Lake_Desc.vRefractionColor = _float4(); + Lake_Desc.vSurfaceColor = _float4(); Lake_Desc.ModelPrototypeTags = ModelPrototypeTags; + Lake_Desc.ShallowModelPrototypeTags = ShallowModelPrototypeTags; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Lake_Desc))) - return E_FAIL; + return E_FAIL;*/ return S_OK; diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index f796cbb59..795da22f1 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -54,6 +54,7 @@ #include "Enemy_Panel.h" #include "Enemy_HpBar.h" #include "Enemy_Info.h" +#include "Boss_HpBer.h" #include "Mission_Panel.h" #include "MissionBanner_Border.h" @@ -915,6 +916,10 @@ HRESULT CLoader::Loading_For_UI() { return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CBoss_HpBar::Create(m_pDevice, m_pContext)))) + { + return E_FAIL; + } if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CLoading_Panel::Create(m_pDevice, m_pContext)))) { @@ -1149,11 +1154,6 @@ HRESULT CLoader::Loading_For_Effect() return E_FAIL; } - /* Terrain_Mask */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Mask"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds"), 0)))) { - return E_FAIL; - } /* Terrain_Diffuse */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Diffuse"), CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_D_%d.dds"), 4)))) { @@ -1936,7 +1936,7 @@ HRESULT CLoader::MapFolderLoad(const _char* pDirectoryPath, const _char* pFileEx _wstring strFileName = L"Prototype_GameObject_" + file.path().stem().wstring(); - CModel* pModel = CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, szFilePath); + CModel* pModel = CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, szFilePath); /*For Prototype_Component_Model_*/ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, strFileName, pModel))) @@ -1991,7 +1991,7 @@ void APIENTRY Deferred_FolderLoad_Main(ID3D11Device* pDevice, ID3D11DeviceContex _wstring wstrFileName = L"Prototype_GameObject_" + file.path().stem().wstring(); - CModel* pModel = CModel::Create(pDevice, pContext, MODEL::ENVIROMENT, szFilePath); + CModel* pModel = CModel::Create(pDevice, pContext, MODEL::ENVIRONMENT, szFilePath); _uint iNumMesh = pModel->Get_NumMeshes(); @@ -2061,11 +2061,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() m_strMessage = TEXT("Model Loading.."); - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_VFX_SM_Rock_01_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM_LOCAL, "C:/MeshTable\\Game\\RiggedObjects\\Props\\Weapons\\Goblins\\SK_WPN_GOB_BattleAxe01.fbx", XMMatrixIdentity())))) { - return E_FAIL; - } // Heavy Wall CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{}; { @@ -2096,10 +2091,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() } vector*>> futures = {}; - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_troll_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { - return E_FAIL; - } #pragma region BODY @@ -2184,11 +2175,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_GoblinMage_Model") )); - //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/SK_GOB_M_Specter_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(), - // TEXT("Prototype_Component_SK_GOB_M_Specter_Master_Model") - //)); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Anim_Model"), CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector_Anim.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) return E_FAIL; @@ -2198,7 +2184,7 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_TombProtector_Model") )); futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Monster/Troll/Troll.bin", XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/Troll.fbx", XMMatrixIdentity(), TEXT("Prototype_Component_Troll_Model") )); @@ -2230,15 +2216,10 @@ HRESULT CLoader::Loading_For_ObjectViewer() )); futures.emplace_back(Deferred_ModelLoad( - MODEL::NONANIM, "../Bin/Resources/Models/Object/Goblin_Dagger/Goblin_Dagger.fbx", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f)* XMMatrixIdentity(), + MODEL::NONANIM, "../Bin/Resources/Models/Object/Goblin_Dagger/Goblin_Dagger.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f)* XMMatrixIdentity(), TEXT("Prototype_Component_Dagger_Model") )); - /*futures.emplace_back(Deferred_ModelLoad( - MODEL::ENVIROMENT, "C:\\Users\\Bin\\Desktop\\Hogwart\\Game\\RiggedObjects\\Characters\\Human\\Body\\Generic_M\\SK_GenericDarkWizard_14.fbx", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Npc_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") @@ -2249,7 +2230,7 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_Wand_Model") )); futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Broom_Model") )); futures.emplace_back(Deferred_ModelLoad( @@ -2382,11 +2363,6 @@ HRESULT CLoader::Loading_For_MapViewer() return E_FAIL; } - /* Terrain_Mask */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Mask"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds"), 0)))) { - return E_FAIL; - } /* Terrain_Diffuse */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Diffuse"), CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_D_%d.dds"), 4)))) { @@ -2475,7 +2451,7 @@ HRESULT CLoader::Loading_For_MapViewer() /* For.Prototype_Component_SkyboxModel */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_SkyboxModel"), - CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/SkyBox/SkyBox.fbx", XMMatrixIdentity())))) + CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/SkyBox/SM_SkyCard.fbx", XMMatrixIdentity())))) return E_FAIL; #pragma region MAP_LANDS @@ -2486,27 +2462,27 @@ HRESULT CLoader::Loading_For_MapViewer() /* For.Prototype_Component_South_Hogwart_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_South_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BCLOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BCLOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) return E_FAIL; /* For.Prototype_Component_North_Hogwart_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_North_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AVLOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AVLOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) return E_FAIL; /* For.Prototype_Component_North_Hogwart2_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_North_Hogwart2_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AULOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AULOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) return E_FAIL; /* For.Prototype_Component_West_Hogwart_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_West_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AZLOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AZLOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) return E_FAIL; /* For.Prototype_Component_East_Hogwart_Land_LOD1 */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_East_Hogsmeade_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIROMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AYLOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AYLOD/SM_LandscapeStreamingProxy_0_LOD1.fbx")))) return E_FAIL; /* For.Prototype_Component_Hogwart_Lake */ @@ -2519,6 +2495,14 @@ HRESULT CLoader::Loading_For_MapViewer() CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx", XMMatrixIdentity())))) return E_FAIL; + /* For.Prototype_Component_Hogsmead_NorthLake */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_NorthLake"), + CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Deep.fbx", XMMatrixIdentity())))) + return E_FAIL; + /* For.Prototype_Component_Hogsmead_NorthLakeShallow */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_NorthLakeShallow"), + CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/River/NorthLake/HDA_SM_LakeA_Collision_Shallow.fbx", XMMatrixIdentity())))) + return E_FAIL; #pragma endregion @@ -2557,7 +2541,7 @@ HRESULT CLoader::Loading_For_MapViewer() ///* Ollivanders*/ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Ollivanders\\Meshes", - // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // ".fbx", false, ModelPrototypeTags, ModelPrototypePath))) // return E_FAIL; //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Ollivanders\\Collision", // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) @@ -2642,7 +2626,7 @@ HRESULT CLoader::Loading_For_MapViewer() ///* Hengist_Tree */ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Vegetation\\Hengist_Tree", - // ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + // ".fbx", false, ModelPrototypeTags, ModelPrototypePath))) // return E_FAIL; //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\Vegetation", // ".bin", true, ModelPrototypeTags, ModelPrototypePath))) @@ -2665,16 +2649,16 @@ HRESULT CLoader::Loading_For_MapViewer() // return E_FAIL; ///* GEN C*/ - //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Meshes", - // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - // return E_FAIL; + /*if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Meshes", + ".fbx", false, ModelPrototypeTags, ModelPrototypePath))) + return E_FAIL;*/ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Collision", // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) // return E_FAIL; ///* GEN E*/ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_E\\Meshes", - // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // ".fbx", false, ModelPrototypeTags, ModelPrototypePath))) // return E_FAIL; //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_E\\Collision", // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) @@ -3118,11 +3102,6 @@ if(isLoad_Map) CCollider::Create(m_pDevice, m_pContext)))) return E_FAIL; - ///* For.Prototype_Component_VIBuffer_Terrain */ - //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain"), - // CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/T_LandscapeStreamingProxy_0_LOD1_D.png")))) - // return E_FAIL; - { CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "Hogsmeade_HeightMap.bin", 512, 512); if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_Hogsmeade"), pTerrain))) { @@ -3146,20 +3125,20 @@ if(isLoad_Map) } - CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/Hogwart_Height.png"); + CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/Terrain/Hogwart_Height.png"); if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_Hogwart"), pTerrain))) { return E_FAIL; } - pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/North_Hogwart_Height.png"); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_North_Hogwart"), pTerrain))) { - return E_FAIL; - } + //pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/Terrain/North_Hogwart_Height.png"); + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_North_Hogwart"), pTerrain))) { + // return E_FAIL; + //} - pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/South_Hogwart_Height.png"); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_South_Hogwart"), pTerrain))) { - return E_FAIL; - } + //pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/Terrain/South_Hogwart_Height.png"); + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_South_Hogwart"), pTerrain))) { + // return E_FAIL; + //} #pragma region INSTANCE_MODEL CVIBuffer_Model_Instance::INSTANCE_DESC InstanceDesc = {}; diff --git a/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp b/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp index 6be50f795..2f30f1ed7 100644 --- a/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp +++ b/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp @@ -23,10 +23,11 @@ HRESULT CMapElement_Lake::Initialize_Prototype() HRESULT CMapElement_Lake::Initialize(void* pArg) { - MAPOBJECT_LOD_DESC* pDesc = static_cast(pArg); + MAPOBJECT_LAKE_DESC* pDesc = static_cast(pArg); + m_bEdit = pDesc->bEdit; m_iMaxLodLevel = pDesc->iMaxLodLevel; - + for (_uint i = 0; i < m_iMaxLodLevel + 1; i++) { m_ModelPrototypeTags.push_back(pDesc->ModelPrototypeTags[i]); @@ -65,8 +66,10 @@ void CMapElement_Lake::Priority_Update(_float fTimeDelta) void CMapElement_Lake::Update(_float fTimeDelta) { - m_fTimeAcc += fTimeDelta * m_fUVValue; - //Describe_Entity(); + m_fTimeAcc += fTimeDelta * m_fTimeSpeed; + + if(m_bEdit) + Describe_Entity(); } void CMapElement_Lake::Late_Update(_float fTimeDelta) @@ -90,6 +93,10 @@ HRESULT CMapElement_Lake::Render() return E_FAIL; } + if (FAILED(m_pShallowModels[0]->Render(0))) { + return E_FAIL; + } + return S_OK; } @@ -99,6 +106,28 @@ HRESULT CMapElement_Lake::Ready_Components(void* pArg) return E_FAIL; } + MAPOBJECT_LAKE_DESC* pDesc = static_cast(pArg); + +#pragma region EDITOR + m_ShallowModelPrototypeTags = pDesc->ShallowModelPrototypeTags; +#pragma endregion + + m_fTimeSpeed = pDesc->fTimeSpeed; + + m_fRefractionStrength = pDesc->fRefractionStrength; + m_fRefractionPow = pDesc->fRefractionPow; + + m_fUVValue1 = pDesc->fUVValue1; + m_fUVValue2 = pDesc->fUVValue2; + m_fUVValue3 = pDesc->fUVValue3; + + m_vUVSpeed = pDesc->vUVSpeed; + m_vLargeUVSpeed = pDesc->vLargeUVSpeed; + m_vSubUVSpeed3 = pDesc->vSubUVSpeed3; + + m_vRefractionColor = pDesc->vRefractionColor; + m_vSurfaceColor = pDesc->vSurfaceColor; + for (_uint i = 0; i < m_iMaxLodLevel + 1; ++i) { CModel* pModel = { nullptr }; @@ -109,6 +138,13 @@ HRESULT CMapElement_Lake::Ready_Components(void* pArg) return E_FAIL; m_pModelComs.push_back(pModel); + + /* Com_Model */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, pDesc->ShallowModelPrototypeTags[i], + reinterpret_cast(&pModel)))) + return E_FAIL; + + m_pShallowModels.push_back(pModel); } /* Com_Shader */ @@ -178,13 +214,13 @@ HRESULT CMapElement_Lake::Bind_ShaderResources() return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed1", &m_fUVSpeed1, sizeof(_float)))) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_vUVSpeed1", &m_vUVSpeed, sizeof(_float2)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed2", &m_fUVSpeed2, sizeof(_float)))) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_vUVSpeed2", &m_vLargeUVSpeed, sizeof(_float2)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed3", &m_fUVSpeed3, sizeof(_float)))) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_vUVSpeed3", &m_vSubUVSpeed3, sizeof(_float2)))) { return E_FAIL; } @@ -194,10 +230,6 @@ HRESULT CMapElement_Lake::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_RawValue("g_fRefractionPow", &m_fRefractionPow, sizeof(_float)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fSpecularIntensity", &m_fSpecularIntensity, sizeof(_float)))) { - return E_FAIL; - } - if (FAILED(m_pShaderCom->Bind_RawValue("g_vCamPosition", m_pGameInstance->Get_CamPosition(), sizeof(_float3)))) { @@ -218,9 +250,10 @@ HRESULT CMapElement_Lake::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_SRV("g_NormalLargeTexture", m_pNormalLargeTextureCom->Get_SRV(0)))) { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_SRV("g_NormalSubTexture", m_pNormalSubTextureCom->Get_SRV(0)))) { + if (FAILED(m_pShaderCom->Bind_SRV("g_CausticsTexture", m_pCausticsTextureCom->Get_SRV(0)))) { return E_FAIL; } + if (FAILED(m_pShaderCom->Bind_SRV("g_NoiseTexture", m_pNoiseTextureCom->Get_SRV(0)))) { return E_FAIL; } @@ -270,8 +303,12 @@ void CMapElement_Lake::Free() SAFE_RELEASE(m_pCausticsTextureCom); SAFE_RELEASE(m_pNoiseTextureCom); SAFE_RELEASE(m_pShaderCom); + for (auto& pModel : m_pModelComs) SAFE_RELEASE(pModel); + + for (auto& pModel : m_pShallowModels) + SAFE_RELEASE(pModel); } void CMapElement_Lake::Describe_Entity() @@ -281,6 +318,29 @@ void CMapElement_Lake::Describe_Entity() if (nullptr == m_pGameInstance) return; GUI::Begin("Lake"); + GUI::InputText("Containter Name", m_szSaveName, MAX_PATH); + if(GUI::Button("Save_LakeData")) + { + tinyxml2::XMLDocument doc; + string strPath = "../Bin/Resources/Data/Map/Water/Element_Water_Info.xml"; + + tinyxml2::XMLError loadResult = doc.LoadFile(strPath.c_str()); + + tinyxml2::XMLElement* root = {}; + + if (loadResult == tinyxml2::XML_SUCCESS) + { + root = doc.FirstChildElement("MapObjects_Water"); + Save_XML(doc, root); + + if (doc.SaveFile(strPath.c_str()) != tinyxml2::XML_SUCCESS) { + MSG_BOX("Failed to Save File"); + } + } + else + MSG_BOX("Failed to Save Data"); + } + GUI::Text(CMyTools::ToString(m_ModelPrototypeTags[m_iLodIndex]).c_str()); GUI::InputInt("Lod Level", (_int*)(&m_iLodIndex)); @@ -288,11 +348,9 @@ void CMapElement_Lake::Describe_Entity() GUI::InputFloat("N_V2", (&m_fUVValue2)); GUI::InputFloat("N_V3", (&m_fUVValue3)); - GUI::InputFloat("UV_Speed1", (&m_fUVSpeed1)); - GUI::InputFloat("UV_Speed2", (&m_fUVSpeed2)); - GUI::InputFloat("UV_Speed3", (&m_fUVSpeed3)); - - GUI::InputFloat("m_fSpecularIntensity", (&m_fSpecularIntensity)); + GUI::InputFloat2("UV_Speed1", (_float*)(&m_vUVSpeed)); + GUI::InputFloat2("UV_Speed2", (_float*)(&m_vLargeUVSpeed)); + GUI::InputFloat2("UV_Speed3", (_float*)(&m_vSubUVSpeed3)); GUI::InputFloat("m_fRefractionStrength", (&m_fRefractionStrength)); GUI::InputFloat("m_fRefractionPow", (&m_fRefractionPow)); @@ -302,16 +360,33 @@ void CMapElement_Lake::Describe_Entity() GUI::ColorEdit4("Refaction Color", (_float*)&m_vRefractionColor); GUI::ColorEdit4("Surface Color", (_float*)&m_vSurfaceColor); - GUI::InputFloat("UV", (_float*)&m_fUVValue); + GUI::InputFloat("m_fTimeSpeed", (_float*)&m_fTimeSpeed); + GUI::Text("----- Transfrom ----"); + _float3 vMove = {}; + GUI::InputFloat("Right", &vMove.x, 1.f, 10.f); + GUI::InputFloat("Up", &vMove.y, 1.f, 10.f); + GUI::InputFloat("Look", &vMove.z, 1.f, 10.f); + + m_pTransformCom->Move_Right(vMove.x); + m_pTransformCom->Move_Up(vMove.y); + m_pTransformCom->Move_Look(vMove.z); + + XMStoreFloat3(&m_vPosition, m_pTransformCom->Get_State(STATE::POSITION)); + GUI::InputFloat("X##Position", &m_vPosition.x, 0.1f, 1.f); GUI::InputFloat("Y##Position", &m_vPosition.y, 0.1f, 1.f); GUI::InputFloat("Z##Position", &m_vPosition.z, 0.1f, 1.f); + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f)); + if (m_pGameInstance->Mouse_Down(DIM_LBUTTON) && m_pGameInstance->Key_Pressing(DIK_LSHIFT)) { - if (m_pGameInstance->isPicking(&m_vPosition)) + _float3 vPosition = {}; + if (m_pGameInstance->isPicking(&vPosition)) { + memcpy(&m_vPosition, &vPosition, sizeof(_float3)); + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f)); } } @@ -320,6 +395,8 @@ void CMapElement_Lake::Describe_Entity() GUI::InputFloat("Y##Rotation", &m_vRotation.y, 10.f, 45.f); GUI::InputFloat("Z##Rotation", &m_vRotation.z, 10.f, 45.f); + m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z)); + GUI::Text("----- Scale ----"); GUI::InputFloat("X##Scale", &m_vScale.x, 0.1f, 1.f); GUI::InputFloat("Y##Scale", &m_vScale.y, 0.1f, 1.f); @@ -329,8 +406,125 @@ void CMapElement_Lake::Describe_Entity() m_vScale.y = max(0.01f, m_vScale.y); m_vScale.z = max(0.01f, m_vScale.z); + m_pTransformCom->Set_Scale(m_vScale); + if (GUI::Button("Delete")) m_bDead = true; GUI::End(); m_bSelected = true; } + +HRESULT CMapElement_Lake::Save_XML(tinyxml2::XMLDocument& doc, tinyxml2::XMLElement* root) +{ + tinyxml2::XMLElement* object = doc.NewElement("Object"); + object->SetAttribute("Type", ENUM_CLASS(MAPOBJECT_TYPE::ELEMENT_LAKE)); + object->SetAttribute("Name", m_szSaveName); + object->SetAttribute("Lod_Level", m_iLodIndex); + root->InsertEndChild(object); + +#pragma region PROTOTYPETAG + for (_uint i = 0; i < m_iLodIndex + 1; ++i) + { + tinyxml2::XMLElement* prototype = doc.NewElement("PrototypeTag"); + prototype->SetText(CMyTools::ToString(m_ModelPrototypeTags[i]).c_str()); + object->InsertEndChild(prototype); + } + for (_uint i = 0; i < m_iLodIndex + 1; ++i) + { + tinyxml2::XMLElement* prototype = doc.NewElement("ShollowPrototypeTag"); + prototype->SetText(CMyTools::ToString(m_ShallowModelPrototypeTags[i]).c_str()); + object->InsertEndChild(prototype); + } +#pragma endregion + +#pragma region TRANSFORM + _float3 vPosition = {}; + XMStoreFloat3(&vPosition, m_pTransformCom->Get_State(STATE::POSITION)); + + _float3 vScale = m_pTransformCom->Get_Scale(); + + _float3 vRotation = {}; + XMStoreFloat3(&vRotation, m_pTransformCom->Get_RollPitchYawVector()); + vRotation.x = XMConvertToDegrees(vRotation.x); + vRotation.y = XMConvertToDegrees(vRotation.y); + vRotation.z = XMConvertToDegrees(vRotation.z); + + tinyxml2::XMLElement* Position = doc.NewElement("Position"); + Position->SetAttribute("x", vPosition.x); + Position->SetAttribute("y", vPosition.y); + Position->SetAttribute("z", vPosition.z); + object->InsertEndChild(Position); + + tinyxml2::XMLElement* Scale = doc.NewElement("Scale"); + Scale->SetAttribute("x", vScale.x); + Scale->SetAttribute("y", vScale.y); + Scale->SetAttribute("z", vScale.z); + object->InsertEndChild(Scale); + + tinyxml2::XMLElement* Rotation = doc.NewElement("Rotation"); + Rotation->SetAttribute("x", vRotation.x); + Rotation->SetAttribute("y", vRotation.y); + Rotation->SetAttribute("z", vRotation.z); + object->InsertEndChild(Rotation); +#pragma endregion + +#pragma region SHADER_VALUE + tinyxml2::XMLElement* TimeSpeed = doc.NewElement("TimeSpeed"); + TimeSpeed->SetAttribute("value", m_fTimeSpeed); + object->InsertEndChild(TimeSpeed); + + tinyxml2::XMLElement* RefractionStrength = doc.NewElement("RefractionStrength"); + RefractionStrength->SetAttribute("value", m_fRefractionStrength); + object->InsertEndChild(RefractionStrength); + + tinyxml2::XMLElement* RefractionPow = doc.NewElement("RefractionPow"); + RefractionPow->SetAttribute("value", m_fRefractionPow); + object->InsertEndChild(RefractionPow); + + tinyxml2::XMLElement* UVValue1 = doc.NewElement("UVValue1"); + UVValue1->SetAttribute("value", m_fUVValue1); + object->InsertEndChild(UVValue1); + + tinyxml2::XMLElement* UVValue2 = doc.NewElement("UVValue2"); + UVValue2->SetAttribute("value", m_fUVValue2); + object->InsertEndChild(UVValue2); + + tinyxml2::XMLElement* UVValue3 = doc.NewElement("UVValue3"); + UVValue3->SetAttribute("value", m_fUVValue3); + object->InsertEndChild(UVValue3); + + // float2 값들 + tinyxml2::XMLElement* UVSpeed = doc.NewElement("UVSpeed"); + UVSpeed->SetAttribute("x", m_vUVSpeed.x); + UVSpeed->SetAttribute("y", m_vUVSpeed.y); + object->InsertEndChild(UVSpeed); + + tinyxml2::XMLElement* LargeUVSpeed = doc.NewElement("LargeUVSpeed"); + LargeUVSpeed->SetAttribute("x", m_vLargeUVSpeed.x); + LargeUVSpeed->SetAttribute("y", m_vLargeUVSpeed.y); + object->InsertEndChild(LargeUVSpeed); + + tinyxml2::XMLElement* SubUVSpeed3 = doc.NewElement("SubUVSpeed3"); + SubUVSpeed3->SetAttribute("x", m_vSubUVSpeed3.x); + SubUVSpeed3->SetAttribute("y", m_vSubUVSpeed3.y); + object->InsertEndChild(SubUVSpeed3); + + // float4 값들 + tinyxml2::XMLElement* RefractionColor = doc.NewElement("RefractionColor"); + RefractionColor->SetAttribute("x", m_vRefractionColor.x); + RefractionColor->SetAttribute("y", m_vRefractionColor.y); + RefractionColor->SetAttribute("z", m_vRefractionColor.z); + RefractionColor->SetAttribute("w", m_vRefractionColor.w); + object->InsertEndChild(RefractionColor); + + tinyxml2::XMLElement* SurfaceColor = doc.NewElement("SurfaceColor"); + SurfaceColor->SetAttribute("x", m_vSurfaceColor.x); + SurfaceColor->SetAttribute("y", m_vSurfaceColor.y); + SurfaceColor->SetAttribute("z", m_vSurfaceColor.z); + SurfaceColor->SetAttribute("w", m_vSurfaceColor.w); + object->InsertEndChild(SurfaceColor); + +#pragma endregion + + return S_OK; +} diff --git a/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp b/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp index cd97673ca..dd89fc269 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp @@ -40,7 +40,7 @@ HRESULT CMapObject_LOD::Initialize(void* pArg) } if (_wstring::npos != m_ModelPrototypeTags.front().find(L"Glass")) - m_iShaderPass = 12; + m_iShaderPass = 20; //ENUM_CLASS(SHADER_PASS_MESH::GLASS_CUBE); else m_iShaderPass = ENUM_CLASS(SHADER_PASS_MESH::DEFAULT); @@ -156,6 +156,18 @@ HRESULT CMapObject_LOD::Render() return E_FAIL; } + + if (20 == m_iShaderPass) + { + + if (FAILED(m_pShaderCom->Bind_RawValue("g_vCamPosition", m_pGameInstance->Get_CamPosition(), sizeof(_float4)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_SRV("g_CubeTexture", m_pDefaultGlassTextureCom->Get_SRV(0)))) + return E_FAIL; + } + if (m_bSelected) { if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::MAPTOOL)))) { @@ -241,6 +253,11 @@ HRESULT CMapObject_LOD::Ready_Components() reinterpret_cast(&m_pShaderCom)))) return E_FAIL; + /* Com_Texture */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Lake_Cube_D"), + reinterpret_cast(&m_pDefaultGlassTextureCom)))) + return E_FAIL; + return S_OK; } @@ -294,6 +311,7 @@ void CMapObject_LOD::Free() { __super::Free(); + SAFE_RELEASE(m_pDefaultGlassTextureCom); SAFE_RELEASE(m_pShaderCom); for(auto& pModel : m_pModelComs) diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp index cae2b5389..d26c9cdf4 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp @@ -11,6 +11,7 @@ #include "MapElement_Static.h" #include "MapElement_Interactable.h" #include "MapElement_Light.h" +#include "MapElement_Lake.h" CMapObject_Manager::CMapObject_Manager(ID3D11Device * pDevice, ID3D11DeviceContext * pContext) @@ -61,6 +62,9 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) if (FAILED(Load_MapData("Map1205"))) return E_FAIL; + if (FAILED(Load_WaterObject("Element_Water_Info"))) + return E_FAIL; + /*if (FAILED(Load_LightObject("LightElement"))) return E_FAIL;*/ // @@ -1197,7 +1201,7 @@ HRESULT CMapObject_Manager::Save_LightObject(const _char* pFileName) return S_OK; tinyxml2::XMLDocument doc; - string strPath = "../Bin/Resources/Data/Map/" + string(pFileName) + ".xml"; + string strPath = "../Bin/Resources/Data/Map/Light/" + string(pFileName) + ".xml"; tinyxml2::XMLError loadResult = doc.LoadFile(strPath.c_str()); @@ -1239,7 +1243,7 @@ HRESULT CMapObject_Manager::Load_LightObject(const _char* pFileName) { tinyxml2::XMLDocument xmlDoc; - string strPath = "../Bin/Resources/Data/Map/" + string(pFileName) + ".xml"; + string strPath = "../Bin/Resources/Data/Map/Light/" + string(pFileName) + ".xml"; if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) return E_FAIL; @@ -1330,7 +1334,7 @@ HRESULT CMapObject_Manager::Save_InteractObject(const _char* pFileName) return S_OK; tinyxml2::XMLDocument doc; - string strPath = "../Bin/Resources/Data/Map/" + string(pFileName) + ".xml"; + string strPath = "../Bin/Resources/Data/Map/Interactable/" + string(pFileName) + ".xml"; tinyxml2::XMLError loadResult = doc.LoadFile(strPath.c_str()); @@ -1370,7 +1374,7 @@ HRESULT CMapObject_Manager::Load_InteractObject(const _char* pFileName) { tinyxml2::XMLDocument xmlDoc; - string strPath = "../Bin/Resources/Data/Map/" + string(pFileName) + ".xml"; + string strPath = "../Bin/Resources/Data/Map/Interactable/" + string(pFileName) + ".xml"; if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) return E_FAIL; @@ -1432,6 +1436,112 @@ HRESULT CMapObject_Manager::Load_InteractObject(const _char* pFileName) return S_OK; } +HRESULT CMapObject_Manager::Load_WaterObject(const _char* pFileName) +{ + tinyxml2::XMLDocument xmlDoc; + + string strPath = "../Bin/Resources/Data/Map/Water/" + string(pFileName) + ".xml"; + + if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) + return E_FAIL; + + tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("MapObjects_Water"); + + if (nullptr == root) + { + MSG_BOX("Failed to Find root"); + return S_OK; + } + + for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object")) + { + CMapElement_Lake::MAPOBJECT_LAKE_DESC Desc = {}; + + /* Model Prototypes */ + Object->QueryUnsignedAttribute("Lod_Level", &Desc.iMaxLodLevel); + + string strTag = {}; + for (auto* PrototypeTag = Object->FirstChildElement("PrototypeTag"); PrototypeTag; PrototypeTag = PrototypeTag->NextSiblingElement("PrototypeTag")) + { + strTag = PrototypeTag->GetText(); + + Desc.ModelPrototypeTags.push_back(CMyTools::ToWstring(strTag)); + } + for (auto* PrototypeTag = Object->FirstChildElement("ShollowPrototypeTag"); PrototypeTag; PrototypeTag = PrototypeTag->NextSiblingElement("ShollowPrototypeTag")) + { + strTag = PrototypeTag->GetText(); + + Desc.ShallowModelPrototypeTags.push_back(CMyTools::ToWstring(strTag)); + } + + /* Transform */ + auto* Position = Object->FirstChildElement("Position"); + Position->QueryFloatAttribute("x", &Desc.vPosition.x); + Position->QueryFloatAttribute("y", &Desc.vPosition.y); + Position->QueryFloatAttribute("z", &Desc.vPosition.z); + + auto* Scale = Object->FirstChildElement("Scale"); + Scale->QueryFloatAttribute("x", &Desc.vScale.x); + Scale->QueryFloatAttribute("y", &Desc.vScale.y); + Scale->QueryFloatAttribute("z", &Desc.vScale.z); + + auto* Rotation = Object->FirstChildElement("Rotation"); + Rotation->QueryFloatAttribute("x", &Desc.vRotation.x); + Rotation->QueryFloatAttribute("y", &Desc.vRotation.y); + Rotation->QueryFloatAttribute("z", &Desc.vRotation.z); + + + auto* TimeSpeed = Object->FirstChildElement("TimeSpeed"); + TimeSpeed->QueryFloatAttribute("value", &Desc.fTimeSpeed); + + auto* RefractionStrength = Object->FirstChildElement("RefractionStrength"); + RefractionStrength->QueryFloatAttribute("value", &Desc.fRefractionStrength); + + auto* RefractionPow = Object->FirstChildElement("RefractionPow"); + RefractionPow->QueryFloatAttribute("value", &Desc.fRefractionPow); + + auto* UVValue1 = Object->FirstChildElement("UVValue1"); + UVValue1->QueryFloatAttribute("value", &Desc.fUVValue1); + + auto* UVValue2 = Object->FirstChildElement("UVValue2"); + UVValue2->QueryFloatAttribute("value", &Desc.fUVValue2); + + auto* UVValue3 = Object->FirstChildElement("UVValue3"); + UVValue3->QueryFloatAttribute("value", &Desc.fUVValue3); + + // float2 값들 + auto* UVSpeed = Object->FirstChildElement("UVSpeed"); + UVSpeed->QueryFloatAttribute("x", &Desc.vUVSpeed.x); + UVSpeed->QueryFloatAttribute("y", &Desc.vUVSpeed.y); + + auto* LargeUVSpeed = Object->FirstChildElement("LargeUVSpeed"); + LargeUVSpeed->QueryFloatAttribute("x", &Desc.vLargeUVSpeed.x); + LargeUVSpeed->QueryFloatAttribute("y", &Desc.vLargeUVSpeed.y); + + auto* SubUVSpeed3 = Object->FirstChildElement("SubUVSpeed3"); + SubUVSpeed3->QueryFloatAttribute("x", &Desc.vSubUVSpeed3.x); + SubUVSpeed3->QueryFloatAttribute("y", &Desc.vSubUVSpeed3.y); + + // float4 값들 + auto* RefractionColor = Object->FirstChildElement("RefractionColor"); + RefractionColor->QueryFloatAttribute("x", &Desc.vRefractionColor.x); + RefractionColor->QueryFloatAttribute("y", &Desc.vRefractionColor.y); + RefractionColor->QueryFloatAttribute("z", &Desc.vRefractionColor.z); + RefractionColor->QueryFloatAttribute("w", &Desc.vRefractionColor.w); + + auto* SurfaceColor = Object->FirstChildElement("SurfaceColor"); + SurfaceColor->QueryFloatAttribute("x", &Desc.vSurfaceColor.x); + SurfaceColor->QueryFloatAttribute("y", &Desc.vSurfaceColor.y); + SurfaceColor->QueryFloatAttribute("z", &Desc.vSurfaceColor.z); + SurfaceColor->QueryFloatAttribute("w", &Desc.vSurfaceColor.w); + + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Element_Lake"), &Desc))) + return E_FAIL; + } + //MSG_BOX("Successed to Create Interactalbe Element"); + + return S_OK; +} void CMapObject_Manager::Update_PrototypeList() { GUI::Begin("Model Prototype List"); diff --git a/Jusin154_Team3D/Editor/Private/MiniMap_TrimBorder.cpp b/Jusin154_Team3D/Editor/Private/MiniMap_TrimBorder.cpp index dc1a8a276..1bbf4b529 100644 --- a/Jusin154_Team3D/Editor/Private/MiniMap_TrimBorder.cpp +++ b/Jusin154_Team3D/Editor/Private/MiniMap_TrimBorder.cpp @@ -83,6 +83,7 @@ void CMiniMap_TrimBorder::Update(_float fTimeDelta) } } +// m_fAngle = ; m_fTime += fTimeDelta * m_fTimeMult; __super::Update(fTimeDelta); } @@ -104,7 +105,7 @@ HRESULT CMiniMap_TrimBorder::Render() if (FAILED(Bind_ShaderResources())) { return E_FAIL; } - if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::ALPHABLEND)))) { + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::ROTATION)))) { return E_FAIL; } if (FAILED(m_pVIBufferCom->Bind_Resources())) { @@ -160,7 +161,10 @@ HRESULT CMiniMap_TrimBorder::Bind_ShaderResources() { return E_FAIL; } - + if (FAILED(m_pShaderCom->Bind_RawValue("g_fMapAngle", &m_fAngle, sizeof(_float)))) + { + return E_FAIL; + } return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Terrain.cpp b/Jusin154_Team3D/Editor/Private/Terrain.cpp index 4ee26d946..69ba0fe80 100644 --- a/Jusin154_Team3D/Editor/Private/Terrain.cpp +++ b/Jusin154_Team3D/Editor/Private/Terrain.cpp @@ -46,9 +46,9 @@ HRESULT CTerrain::Initialize(void* pArg) if(!m_isEdit) { - m_pAlphaMap->Load_ToFile("Hogsmeade_AlphaMap.bin"); + m_pAlphaMap->Load_ToFile(pDesc->strAlphaMapTag.c_str()); - if (FAILED(m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin"))) + if (FAILED(m_pVIBufferCom->Load_HeightMap(pDesc->strHeightMapTag.c_str()))) return E_FAIL; } // Psx 적용할지 안할지 @@ -158,11 +158,6 @@ HRESULT CTerrain::Ready_Components(void* pArg) return E_FAIL; } - /* Com_Texture */ - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_Mask"), reinterpret_cast(&m_pMaskTextureCom), nullptr))) { - return E_FAIL; - } - return S_OK; } @@ -301,7 +296,6 @@ void CTerrain::Free() SAFE_RELEASE(m_pDiffuseTextureCom); SAFE_RELEASE(m_pNormalTextureCom); SAFE_RELEASE(m_pMROTextureCom); - SAFE_RELEASE(m_pMaskTextureCom); } void CTerrain::Describe_Entity() diff --git a/Jusin154_Team3D/Editor/Public/Boss_HpBer.h b/Jusin154_Team3D/Editor/Public/Boss_HpBer.h new file mode 100644 index 000000000..71ed2c7ec --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/Boss_HpBer.h @@ -0,0 +1,52 @@ +#pragma once + +#include "Editor_Define.h" +#include "ElementObject.h" + +NS_BEGIN(Editor) + +class CBoss_HpBar final : public CElementObject +{ +private: + CBoss_HpBar(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CBoss_HpBar(const CBoss_HpBar& rhs); + virtual ~CBoss_HpBar() = default; + +public: + virtual void Priority_Update(_float fTimeDelta); + virtual void Update(_float fTimeDelta); + virtual void Late_Update(_float fTimeDelta); + virtual HRESULT Render() override; + virtual _vector Get_WorldPostion() override; + +public: + void Hit(_float fTimeDelta); + +private: + virtual HRESULT Bind_ShaderResources() override; + virtual HRESULT Ready_Components(void* pArg) override; + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + +private: + CTexture* m_pDiffuse_TextureCom = { nullptr }; + CTexture* m_pDiffuse_TextureCom1 = { nullptr }; + CTexture* m_pDiffuse_TextureCom2 = { nullptr }; + CShader* m_pShaderCom = { nullptr }; + CVIBuffer_Rect* m_pVIBufferCom = { nullptr }; + + _float m_fMaxHp{}; + _float m_fCurrentHp{}; + _float m_fHpBar{}; + _float m_fDamage{}; + _float m_fTargetHp{}; + + _bool m_bAnimation = { false }; +public: + static CBoss_HpBar* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; + virtual void Free() override; + void Describe_Entity() override; +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h index 374a99796..9cc9e1481 100644 --- a/Jusin154_Team3D/Editor/Public/Editor_Define.h +++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h @@ -15,7 +15,7 @@ namespace Editor enum class LEVEL { STATIC, LOADING, LOGO, LOBY, GAMEPLAY, RESTART, OBJECT, MAP, UI, EFFECT, PHYSX, BLOOM, END }; enum class COLLIDABLEOBJECT { PLAYER, MONSTER, HOSTILE_HITBOX, ALLY_HITBOX, NEUTRAL_HITBOX, ENVIRIONMENT, NPC, ITEM, TRIGGERBOX, REGION, NOCOLLIDE, END }; - enum class MAPOBJECT_TYPE { CONTAINER, ELEMENT_STATIC, ELEMENT_INTERACT, ELEMENT_LIGHT }; + enum class MAPOBJECT_TYPE { CONTAINER, ELEMENT_STATIC, ELEMENT_INTERACT, ELEMENT_LIGHT, ELEMENT_LAKE}; enum class MAPOBJECT_RENDER_TYPE { NORMAL, DECAL, GLASS }; enum class SHADER_PASS_ANIM { DEFAULT, SHADOW, CAPTURE, BLUR, HAIR, EYELASH, OUTLINE_WRITE, OUTLINE_READ, SPECTOR, END }; @@ -25,7 +25,7 @@ namespace Editor enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLEND, TRAILWB_FOR_BLEND, TRAIL_BLUR, TRAIL_BLOOM, END }; - enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW,ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, ENEMY_HPBAR, END }; + enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, ENEMY_HPBAR, BOSS_HPBAR, END }; enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, DEPTH_STOP, END }; enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, UVALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, SPELL_SLOT, END }; @@ -41,15 +41,15 @@ namespace Editor BEAST_PETTING_BRUSH, BEAST_FEED, NAB_SACK, // 하늘색 JAP, REVELIO, PROTEGO, STUPEFY, // 검은색 ANCIENT_MAGIC_THROW, ANCIENT_MAGIC, ALOHOMORA, PETRIFICUS_TOTALUS, - JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, - + JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, + TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, END }; enum class BLOOM_TYPE { NONE, BASIC, MULTIPLY, END }; - enum class ELEMENT_INTERACTABLE_ID {BARREL, BOX, END}; + enum class ELEMENT_INTERACTABLE_ID { BARREL, BOX, END }; } using namespace Editor; diff --git a/Jusin154_Team3D/Editor/Public/Enemy_Info.h b/Jusin154_Team3D/Editor/Public/Enemy_Info.h index 62e0bbe42..289cc44e6 100644 --- a/Jusin154_Team3D/Editor/Public/Enemy_Info.h +++ b/Jusin154_Team3D/Editor/Public/Enemy_Info.h @@ -27,7 +27,7 @@ class CEnemy_Info final : public CElementObject public: void Set_Info(_int Level, _wstring Name); - + void Set_Font_Move(_bool Boss); private: CTexture* m_pDiffuse_TextureCom = { nullptr }; CShader* m_pShaderCom = { nullptr }; @@ -38,7 +38,7 @@ class CEnemy_Info final : public CElementObject _wstring m_pEnemy_Name; _wstring m_pLevel; _bool m_bAnimation = {false}; - + _bool m_bBoss = { false }; public: static CEnemy_Info* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; diff --git a/Jusin154_Team3D/Editor/Public/Enemy_Panel.h b/Jusin154_Team3D/Editor/Public/Enemy_Panel.h index e06bd196a..7bf62d370 100644 --- a/Jusin154_Team3D/Editor/Public/Enemy_Panel.h +++ b/Jusin154_Team3D/Editor/Public/Enemy_Panel.h @@ -35,6 +35,7 @@ class CEnemy_Panel final : public CPanelObject CGameObject* m_pEnemy_HpBar = { nullptr }; CGameObject* m_pEnemy_Info = { nullptr }; + CGameObject* m_pBoss_HpBar= { nullptr }; public: static CEnemy_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Editor/Public/MapElement_Lake.h b/Jusin154_Team3D/Editor/Public/MapElement_Lake.h index dd746a628..745c57361 100644 --- a/Jusin154_Team3D/Editor/Public/MapElement_Lake.h +++ b/Jusin154_Team3D/Editor/Public/MapElement_Lake.h @@ -14,7 +14,19 @@ class CMapElement_Lake final : public CMapElement public: typedef struct tagMapObejct_Lake_Desc : public MAPOBJECT_LOD_DESC { - vector<_wstring> SurfaceModelPrototypeTags; + _bool bEdit; + _float fTimeSpeed; + _float fRefractionStrength; + _float fRefractionPow; + _float fUVValue1; + _float fUVValue2; + _float fUVValue3; + _float2 vUVSpeed ; + _float2 vLargeUVSpeed; + _float2 vSubUVSpeed3; + _float4 vRefractionColor; + _float4 vSurfaceColor; + vector<_wstring> ShallowModelPrototypeTags; }MAPOBJECT_LAKE_DESC; private: @@ -29,6 +41,8 @@ class CMapElement_Lake final : public CMapElement virtual HRESULT Render() override; private: + vector m_pShallowModels = {}; + CTexture* m_pNormalTextureCom = { nullptr }; CTexture* m_pNormalLargeTextureCom = { nullptr }; CTexture* m_pNormalSubTextureCom = { nullptr }; @@ -37,22 +51,31 @@ class CMapElement_Lake final : public CMapElement CTexture* m_pCubeMapTextureCom = { nullptr }; CTexture* m_pRefractionTextureCom = { nullptr }; + _float m_fTimeAcc = {}; + _float m_fTimeSpeed = { 0.02f }; + _float m_fRefractionStrength = {0.18f}; _float m_fRefractionPow = {10.f}; - _float m_fTimeAcc = {}; - _float m_fUVValue = {0.02f}; + _float m_fUVValue1 = {30.f}; _float m_fUVValue2 = {20.f}; _float m_fUVValue3 = {10.f}; - _float m_fSpecularIntensity = {0.6f}; - - _float m_fUVSpeed1 = { -0.1f }; - _float m_fUVSpeed2 = { 0.05f }; - _float m_fUVSpeed3 = { 0.01f }; + _float2 m_vUVSpeed = {}; + _float2 m_vLargeUVSpeed = {}; + _float2 m_vSubUVSpeed3 = {}; _float4 m_vRefractionColor = {}; _float4 m_vSurfaceColor = {}; + +#pragma region EDITOR + _bool m_bEdit = { false }; + _char m_szSaveName[MAX_PATH] = {}; + vector<_wstring> m_ShallowModelPrototypeTags; +#pragma endregion + + + private: virtual HRESULT Initialize_Prototype() override; @@ -65,6 +88,7 @@ class CMapElement_Lake final : public CMapElement virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; void Describe_Entity() override; + virtual HRESULT Save_XML(tinyxml2::XMLDocument& doc, tinyxml2::XMLElement* root); }; NS_END diff --git a/Jusin154_Team3D/Editor/Public/MapObject_LOD.h b/Jusin154_Team3D/Editor/Public/MapObject_LOD.h index 17778d86d..2b1ffd739 100644 --- a/Jusin154_Team3D/Editor/Public/MapObject_LOD.h +++ b/Jusin154_Team3D/Editor/Public/MapObject_LOD.h @@ -39,6 +39,9 @@ class CMapObject_LOD final : public CMapObject // LOD 있는 애들 _uint m_iLodIndex = {}; _uint m_iShaderPass = {}; + _float m_fGlassRatio = {0.5f}; + + CTexture* m_pDefaultGlassTextureCom = { nullptr }; vector<_wstring> m_ModelPrototypeTags; vector<_uint> m_ModelPathIndices = { }; diff --git a/Jusin154_Team3D/Editor/Public/MapObject_Manager.h b/Jusin154_Team3D/Editor/Public/MapObject_Manager.h index 9f48ed6e1..0b16cd6ae 100644 --- a/Jusin154_Team3D/Editor/Public/MapObject_Manager.h +++ b/Jusin154_Team3D/Editor/Public/MapObject_Manager.h @@ -67,6 +67,8 @@ class CMapObject_Manager final : public CGameObject HRESULT Save_InteractObject(const _char* pFileName); HRESULT Load_InteractObject(const _char* pFileName); + + HRESULT Load_WaterObject(const _char* pFileName); #pragma endregion void Update_PrototypeList(); diff --git a/Jusin154_Team3D/Editor/Public/Terrain.h b/Jusin154_Team3D/Editor/Public/Terrain.h index f3a2fc158..56f9b979d 100644 --- a/Jusin154_Team3D/Editor/Public/Terrain.h +++ b/Jusin154_Team3D/Editor/Public/Terrain.h @@ -22,6 +22,8 @@ class CTerrain final : public CGameObject _uint iAlphaSizeY; _float3 vPosition; _wstring strBufferTag; + _string strHeightMapTag; + _string strAlphaMapTag; }TERRAIN_DESC; private: @@ -43,7 +45,6 @@ class CTerrain final : public CGameObject CTexture* m_pDiffuseTextureCom = { nullptr }; CTexture* m_pNormalTextureCom = { nullptr }; CTexture* m_pMROTextureCom = { nullptr }; - CTexture* m_pMaskTextureCom = { nullptr }; CRigidBody_Static* m_pRigidBody = { nullptr }; diff --git a/Jusin154_Team3D/Engine/Default/Engine.vcxproj b/Jusin154_Team3D/Engine/Default/Engine.vcxproj index 389a14646..d16d3a165 100644 --- a/Jusin154_Team3D/Engine/Default/Engine.vcxproj +++ b/Jusin154_Team3D/Engine/Default/Engine.vcxproj @@ -641,7 +641,10 @@ call Update_Lib.bat - + + Effect + 5.0 + Effect 5.0 diff --git a/Jusin154_Team3D/Engine/Private/Character_Controller.cpp b/Jusin154_Team3D/Engine/Private/Character_Controller.cpp index 88f0c4a39..0e24089dd 100644 --- a/Jusin154_Team3D/Engine/Private/Character_Controller.cpp +++ b/Jusin154_Team3D/Engine/Private/Character_Controller.cpp @@ -350,6 +350,8 @@ HRESULT CCharacter_Controller::Initialize(void* pArg) break; } + m_pController->setStepOffset(pDesc->fStepOffset); + if (nullptr == m_pController) { assert(false); return E_FAIL; diff --git a/Jusin154_Team3D/Engine/Private/Instance_Model.cpp b/Jusin154_Team3D/Engine/Private/Instance_Model.cpp index ea97c2726..ce7a97c87 100644 --- a/Jusin154_Team3D/Engine/Private/Instance_Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Instance_Model.cpp @@ -123,7 +123,7 @@ HRESULT CInstance_Model::Assimp_Model_Load(const _char* pModelFilePath, MODEL eT _uint iFlag = {}; iFlag = aiProcess_ConvertToLeftHanded | aiProcessPreset_TargetRealtime_Fast; - if (MODEL::NONANIM == eType || MODEL::PBR_NONANIM == eType || MODEL::ENVIROMENT == eType) { + if (MODEL::NONANIM == eType || MODEL::PBR_NONANIM == eType || MODEL::ENVIRONMENT == eType) { iFlag |= aiProcess_PreTransformVertices; } m_iRootBoneIndex = iRootBoneIndex; diff --git a/Jusin154_Team3D/Engine/Private/Mesh.cpp b/Jusin154_Team3D/Engine/Private/Mesh.cpp index 8d987b8b3..7578b974e 100644 --- a/Jusin154_Team3D/Engine/Private/Mesh.cpp +++ b/Jusin154_Team3D/Engine/Private/Mesh.cpp @@ -77,7 +77,7 @@ HRESULT CMesh::Initialize_Prototype(MODEL eType, vector& Bones, co { case Engine::MODEL::NONANIM: case Engine::MODEL::PBR_NONANIM: - case Engine::MODEL::ENVIROMENT: + case Engine::MODEL::ENVIRONMENT: case Engine::MODEL::NONANIM_LOCAL: hr = Ready_VertexBuffer_For_NonAnim(pAIMesh, PreTransformMatrix); break; @@ -206,7 +206,7 @@ HRESULT CMesh::Initialize_Prototype(MODEL eType, const CModel* pModel, SaveMesh* { case Engine::MODEL::NONANIM: case Engine::MODEL::PBR_NONANIM: - case Engine::MODEL::ENVIROMENT: + case Engine::MODEL::ENVIRONMENT: hr = Ready_VertexBuffer_For_NonAnim(_SaveMesh, PreTransformMatrix); break; diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp index 95815986a..9482843a4 100644 --- a/Jusin154_Team3D/Engine/Private/Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Model.cpp @@ -327,8 +327,8 @@ void CModel::Set_AnimationIndex(_uint iIndex, _bool isLoop, _float fAmount, _boo m_Animations[m_iCurrentAnimIndex]->Set_AnimSpeed(1.f); } - //m_fBlendTime = 0.f; - //m_fRatio = 0.f; + m_fBlendTime = 0.f; + m_fRatio = 0.f; m_iCurrentAnimIndex = iIndex; m_bIsLoop = isLoop; @@ -1162,7 +1162,7 @@ _bool CModel::SaveAssimpModel(const _char* filename) } } - if (MODEL::ENVIROMENT == m_eType) + if (MODEL::ENVIRONMENT == m_eType) { fwrite(&m_fRadius, sizeof(_float), 1, fp); fwrite(&m_vRadiusOffset, sizeof(_float3), 1, fp); @@ -1208,7 +1208,7 @@ HRESULT CModel::Assimp_Model_Load(const _char* pModelFilePath, MODEL eType, _fma _uint iFlag = {}; iFlag = aiProcess_ConvertToLeftHanded | aiProcessPreset_TargetRealtime_Fast; - if (MODEL::NONANIM == eType || MODEL::PBR_NONANIM == eType || MODEL::ENVIROMENT == eType || MODEL::NONANIM_LOCAL == eType) { + if (MODEL::NONANIM == eType || MODEL::PBR_NONANIM == eType || MODEL::ENVIRONMENT == eType || MODEL::NONANIM_LOCAL == eType) { iFlag |= aiProcess_PreTransformVertices; } m_iRootBoneIndex = iRootBoneIndex; @@ -1230,7 +1230,7 @@ HRESULT CModel::Assimp_Model_Load(const _char* pModelFilePath, MODEL eType, _fma } #pragma endregion #pragma region Material - if (MODEL::ENVIROMENT == eType) + if (MODEL::ENVIRONMENT == eType) { if (FAILED(Ready_Materials_FromFile(m_pAIScene, pModelFilePath))) { return E_FAIL; @@ -1627,7 +1627,7 @@ _bool CModel::LoadData(const _char* filename) NewModel.Materials.push_back(pMAt); } - if (MODEL::ENVIROMENT == m_eType) + if (MODEL::ENVIRONMENT == m_eType) { fread(&m_fRadius, sizeof(_float), 1, fp); fread(&m_vRadiusOffset, sizeof(_float3), 1, fp); diff --git a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp index 14bce229c..dcc5e0e6b 100644 --- a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp +++ b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp @@ -108,7 +108,10 @@ void CRigidBody_Dynamic::Move_LocalPos(_float4 vNewRotQ, _float3 vNewTranslation PSX::PxShape* pShape = { nullptr }; m_pRigidBody->getShapes(&pShape, m_pRigidBody->getNbShapes()); pShape->setLocalPose(PSX::PxTransform(vNewTranslation.x, vNewTranslation.y, vNewTranslation.z, PSX::PxQuat(vNewRotQ.x, vNewRotQ.y, vNewRotQ.z, vNewRotQ.w))); +#ifdef _DEBUG Add_DebugShape(); +#endif // _DEBUG + } // _DEBUG void CRigidBody_Dynamic::Add_Force(_fvector vForce, PSX::PxForceMode::Enum eType) diff --git a/Jusin154_Team3D/Engine/Private/RigidBody_Static.cpp b/Jusin154_Team3D/Engine/Private/RigidBody_Static.cpp index acc9bdd48..854f7aa98 100644 --- a/Jusin154_Team3D/Engine/Private/RigidBody_Static.cpp +++ b/Jusin154_Team3D/Engine/Private/RigidBody_Static.cpp @@ -39,6 +39,7 @@ HRESULT CRigidBody_Static::Initialize(void* pArg) m_tagData.pBody = this; m_pRigidBody = m_pGameInstance->Add_StaticActor(*this); m_pRigidBody->userData = &m_tagData; + m_pRigidBody->setName(CMyTools::ToString(m_wstrMeshName).c_str()); return S_OK; } diff --git a/Jusin154_Team3D/Engine/Private/Stat.cpp b/Jusin154_Team3D/Engine/Private/Stat.cpp index 317a42c5c..13264d8ea 100644 --- a/Jusin154_Team3D/Engine/Private/Stat.cpp +++ b/Jusin154_Team3D/Engine/Private/Stat.cpp @@ -28,7 +28,9 @@ HRESULT CStat::Initialize_Prototype(tinyxml2::XMLNode* pChild) pElement->QueryFloatAttribute("EXPERIENCE", &m_UnitInfo.fExprince); pElement->QueryFloatAttribute("MAX_EXPERIENCE", &m_UnitInfo.fMaxExprience); pElement->QueryIntAttribute("GOLD", &m_UnitInfo.iGold); - + _int Boss = 0; + pElement->QueryIntAttribute("BOSS", &Boss); + m_UnitInfo.bBoss = (Boss != 0); return S_OK; } diff --git a/Jusin154_Team3D/Engine/Private/Transform.cpp b/Jusin154_Team3D/Engine/Private/Transform.cpp index e5daf13b6..1f46548c2 100644 --- a/Jusin154_Team3D/Engine/Private/Transform.cpp +++ b/Jusin154_Team3D/Engine/Private/Transform.cpp @@ -215,7 +215,7 @@ _vector CTransform::Go_LerpStraight(_float fSpeed, _float fTimeDelta) _vector CTransform::Go_LerpUp(_float fSpeed, _float fTimeDelta) { _vector vPos = Get_State(STATE::POSITION); - _vector vUp = Get_State(STATE::UP); + _vector vUp = XMVectorSet(0.f,1.f,0.f,0.f); _vector vMomentum = XMVector3Normalize(vUp) * fSpeed * fTimeDelta; vPos += vMomentum; Set_State(STATE::POSITION, vPos); @@ -225,7 +225,7 @@ _vector CTransform::Go_LerpUp(_float fSpeed, _float fTimeDelta) _vector CTransform::Go_LerpDown(_float fSpeed, _float fTimeDelta) { _vector vPos = Get_State(STATE::POSITION); - _vector vUp = Get_State(STATE::UP); + _vector vUp = XMVectorSet(0.f, 1.f, 0.f, 0.f); _vector vMomentum = XMVector3Normalize(vUp) * fSpeed * fTimeDelta; vPos -= vMomentum; Set_State(STATE::POSITION, vPos); diff --git a/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp b/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp index 4250b84eb..9edac6596 100644 --- a/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp +++ b/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp @@ -231,7 +231,7 @@ HRESULT CVIBuffer_Terrain::Initialize_Prototype(const _char* pFilePath, _uint iS #pragma region READ_DATA - string strFilePath = "../Bin/Resources/Data/Map/" + string(pFilePath); + string strFilePath = "../Bin/Resources/Data/Map/Terrain/" + string(pFilePath); ifstream in(strFilePath, ios::binary); @@ -484,7 +484,7 @@ void CVIBuffer_Terrain::FitY(_fmatrix WorldMatrix, _float fY) HRESULT CVIBuffer_Terrain::Load_HeightMap(const _char* pFilePath) { - string strFilePath = "../Bin/Resources/Data/Map/" + string(pFilePath); + string strFilePath = "../Bin/Resources/Data/Map/Terrain/" + string(pFilePath); ifstream in(strFilePath, ios::binary); @@ -540,7 +540,7 @@ void CVIBuffer_Terrain::Set_CullingRadius(_float fRaduis) HRESULT CVIBuffer_Terrain::Save_HeightMap(const _char* pFilePath) { - string strFilePath = "../Bin/Resources/Data/Map/" + string(pFilePath); + string strFilePath = "../Bin/Resources/Data/Map/Terrain/" + string(pFilePath); ofstream out(strFilePath, ios::binary); diff --git a/Jusin154_Team3D/Engine/Public/Camera.h b/Jusin154_Team3D/Engine/Public/Camera.h index b850a9a7c..2cf5351f7 100644 --- a/Jusin154_Team3D/Engine/Public/Camera.h +++ b/Jusin154_Team3D/Engine/Public/Camera.h @@ -21,10 +21,10 @@ class ENGINE_DLL CCamera abstract : public CGameObject _float2 vTransitionTime = { 0.f, 1.f }; _bool bEnableLookLerp = { false }; - _float2 vLookLerpTime = { 0.f, BASIC_LERP_TIMER }; + _float2 vLookLerpTime = { 0.f, TIMER_SHORT_LERP }; _bool bEnableFollowLerp = { false }; - _float2 vFollowLerpTime = { 0.f, BASIC_LERP_TIMER }; + _float2 vFollowLerpTime = { 0.f, TIMER_SHORT_LERP }; }CAMERA_DESC; protected: @@ -55,10 +55,10 @@ class ENGINE_DLL CCamera abstract : public CGameObject _float m_fFar = {}; _float2 m_vTransitionTime = { 0.f, 1.f }; - _float2 m_vLookLerpTime = { 0.f, BASIC_LERP_TIMER }; + _float2 m_vLookLerpTime = { 0.f, TIMER_SHORT_LERP }; _float3 m_vLookPos_Src = { 0.f, 0.f, 1.f }; _float3 m_vLookPos_Dest = { 0.f, 0.f, 1.f }; - _float2 m_vFollowLerpTime = { 0.f, BASIC_LERP_TIMER }; + _float2 m_vFollowLerpTime = { 0.f, TIMER_SHORT_LERP }; _float3 m_vFollowPos_Src = { 0.f, 0.f, 0.f }; _float3 m_vFollowPos_Dest = { 0.f, 0.f, 0.f }; _uint m_iPriority = { UINT_MAX }; diff --git a/Jusin154_Team3D/Engine/Public/Engine_Enum.h b/Jusin154_Team3D/Engine/Public/Engine_Enum.h index 385579324..ac47dc5d9 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Enum.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Enum.h @@ -32,7 +32,7 @@ enum class PXBODYSTATE { enum class MOUSEKEYSTATE { LBUTTON, RBUTTON, WBUTTON, XBUTTON }; enum class MOUSEMOVESTATE { X, Y, W }; enum class D3DTS { VIEW, PROJ, VIEW_INV, PROJ_INV, END }; -enum class MODEL { ANIM, NONANIM, PBR_NONANIM, PBR_ANIM, ENVIROMENT, ANIM_LOCAL,NONANIM_LOCAL}; +enum class MODEL { ANIM, NONANIM, PBR_NONANIM, PBR_ANIM, ENVIRONMENT, ANIM_LOCAL,NONANIM_LOCAL}; enum class NAVI_POINT { A, B, C, END }; enum class NAVI_LINE { AB, BC, CA, END }; diff --git a/Jusin154_Team3D/Engine/Public/Engine_Macro.h b/Jusin154_Team3D/Engine/Public/Engine_Macro.h index 026af1bbf..f97dab7d6 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Macro.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Macro.h @@ -90,7 +90,7 @@ #define SSAO_SAMPLE_NUMBER 64 -#define BASIC_LERP_TIMER 0.16f +#define TIMER_SHORT_LERP 0.16f constexpr unsigned int g_iMaxShadowWidth = 16384; constexpr unsigned int g_iMaxShadowHeight = 9216; diff --git a/Jusin154_Team3D/Engine/Public/FSM.h b/Jusin154_Team3D/Engine/Public/FSM.h index 230f9de0f..eef1a200e 100644 --- a/Jusin154_Team3D/Engine/Public/FSM.h +++ b/Jusin154_Team3D/Engine/Public/FSM.h @@ -37,6 +37,10 @@ enum ESTATE : _u64Flag DEAD = 1ULL << 30, STUN = 1ULL << 31, SUSTAIN = 1ULL << 32, + BROOM_RIDE_MOVE = 1ULL << 33, + BROOM_DISMOUNT = 1ULL << 34, + HOVER = 1ULL << 35, + FLY = 1ULL << 36, END }; NS_END diff --git a/Jusin154_Team3D/Engine/Public/GameInstance.h b/Jusin154_Team3D/Engine/Public/GameInstance.h index 65f2cdaec..325f70a41 100644 --- a/Jusin154_Team3D/Engine/Public/GameInstance.h +++ b/Jusin154_Team3D/Engine/Public/GameInstance.h @@ -298,6 +298,7 @@ class ENGINE_DLL CGameInstance final : public CBase class CFont_Manager* m_pFont_Manager = { nullptr }; mt19937 m_Rng{ random_device{}() }; + _float2 m_vViewPortSize = {}; #ifdef _DEBUG private: _float m_fTimer_PriorityUpdate = { 0.f }; @@ -310,7 +311,6 @@ class ENGINE_DLL CGameInstance final : public CBase _float m_fTimer_Level = { 0.f }; _float m_fTimer_FrameCount = { 0.f }; - _float2 m_vViewPortSize = {}; vector m_FilePaths = {}; map m_ModelMap; diff --git a/Jusin154_Team3D/Engine/Public/Stat.h b/Jusin154_Team3D/Engine/Public/Stat.h index 2352c5c83..5ac87b92e 100644 --- a/Jusin154_Team3D/Engine/Public/Stat.h +++ b/Jusin154_Team3D/Engine/Public/Stat.h @@ -19,6 +19,7 @@ class ENGINE_DLL CStat final : public CComponent _float fExprince{}; _float fMaxExprience{}; _int iGold{}; + _bool bBoss = false; }UNITINFO; private: CStat(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Engine/Public/State.h b/Jusin154_Team3D/Engine/Public/State.h index e87ff5d1e..df6098e3b 100644 --- a/Jusin154_Team3D/Engine/Public/State.h +++ b/Jusin154_Team3D/Engine/Public/State.h @@ -12,7 +12,9 @@ enum ESTATE JUMP,JUMP_JOG,JUMP_SPRINT, LAND, DODGE,DODGE_BLINK, DODGE_LEFT, DODGE_RIGHT, - COMBAT, LIGHT_ATTACK, SPELL, SKILL, SKILL2, + COMBAT, SKILL, SKILL2, + SPELL, SPELL_180_R, SPELL_90_L, + LIGHT_ATTACK,LIGHT_ATTACK_180_R, LIGHT_ATTACK_90_L, LIGHT_ATTACK_90_R1, LIGHT_ATTACK_90_R2, LIGHT_ATTACK_90_R3, ATTACK_END, SHUFFLE1, SHUFFLE2, SHUFFLE3, SHUFFLE4, MAPHELP,POTION,