@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -162,6 +162,7 @@ call Update_Resources.bat
|
||||
<ClInclude Include="..\Public\Action_Panel.h" />
|
||||
<ClInclude Include="..\Public\Broom_State_Fly.h" />
|
||||
<ClInclude Include="..\Public\Broom_State_Hover.h" />
|
||||
<ClInclude Include="..\Public\Boss_HpBar.h" />
|
||||
<ClInclude Include="..\Public\CallBack_Troll_HitReport.h" />
|
||||
<ClInclude Include="..\Public\CameraLockOn.h" />
|
||||
<ClInclude Include="..\Public\Current_Slot_Number.h" />
|
||||
@@ -324,6 +325,7 @@ call Update_Resources.bat
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\Private\Action_Panel.cpp" />
|
||||
<ClCompile Include="..\Private\Boss_HpBar.cpp" />
|
||||
<ClCompile Include="..\Private\Broom_States.cpp" />
|
||||
<ClCompile Include="..\Private\Broom_State_Fly.cpp" />
|
||||
<ClCompile Include="..\Private\Broom_State_Hover.cpp" />
|
||||
|
||||
@@ -508,6 +508,9 @@
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Broom_State_Fly.h">
|
||||
<Filter>04.Mechanic\State\Broom\Fly</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Boss_HpBar.h">
|
||||
<Filter>02.GameObjects\UI\GamePlay_Canvas\Enemy_Penel\Boss_HpBar</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -1070,6 +1073,9 @@
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom\Fly">
|
||||
<UniqueIdentifier>{537c9208-b8e7-4e3b-a818-27335e3f0469}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\GamePlay_Canvas\Enemy_Penel\Boss_HpBar">
|
||||
<UniqueIdentifier>{b49a3671-96d0-47b8-833f-28190d549b0f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -1523,6 +1529,9 @@
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\Broom_State_Fly.cpp">
|
||||
<Filter>04.Mechanic\State\Broom\Fly</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\Boss_HpBar.cpp">
|
||||
<Filter>02.GameObjects\UI\GamePlay_Canvas\Enemy_Penel\Boss_HpBar</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -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<CUIObject*>(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<CVIBuffer_Rect>(g_iStaticLevel, &m_pVIBufferCom)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Texture_UI_T_Boss_HpBar"), reinterpret_cast<CComponent**>(&m_pDiffuse_TextureCom), nullptr)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Texture_UI_T_HUD_Boss_HealthMeterFill"), reinterpret_cast<CComponent**>(&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
|
||||
@@ -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();
|
||||
|
||||
@@ -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<PSX::PxRigidDynamic*>(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();
|
||||
|
||||
@@ -68,12 +68,10 @@ void CCallBack_Playable_HitReport::onShapeHit(const PSX::PxControllerShapeHit& h
|
||||
{
|
||||
PSX::PxRigidDynamic* pDynamic = static_cast<PSX::PxRigidDynamic*>(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;
|
||||
|
||||
@@ -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<PSX::PxRigidDynamic*>(pActor);
|
||||
//pDynamic->setRigidBodyFlag(PSX::PxRigidBodyFlag::eKINEMATIC, false);
|
||||
PSX::PxVec3 vCompressedDir = -vWorldNormal;
|
||||
vCompressedDir.normalize();
|
||||
pDynamic->addForce(vCompressedDir * fLength * 1000.f, PSX::PxForceMode::eFORCE);
|
||||
}break;
|
||||
default:
|
||||
{
|
||||
}
|
||||
@@ -158,6 +180,20 @@ void CCallBack_Troll_HitReport::onObstacleHit(const PSX::PxControllerObstacleHit
|
||||
//}
|
||||
}
|
||||
|
||||
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;
|
||||
@@ -178,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();
|
||||
|
||||
@@ -170,7 +170,7 @@ _vector CCamPosition_Shoulder::Calc_LookTargetPos()
|
||||
_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 = vDestPos + XMVectorSet(0.f, m_fHeadHeight, 0.f, 0.f);
|
||||
@@ -252,6 +252,11 @@ _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 부호로 결정
|
||||
@@ -264,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
|
||||
);
|
||||
|
||||
// 카메라 로컬 오프셋을 카메라 회전에 맞춰 월드로 회전
|
||||
@@ -310,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<CCamera_Gaze>(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &CameraDesc, nullptr, &m_pBinded_Camera)))
|
||||
{
|
||||
|
||||
@@ -104,7 +104,7 @@ void CDamage_Font::Add_Damage(void* pArg)
|
||||
pInfo = *reinterpret_cast<DAMAGE_INFO*>(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)
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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<CUIObject*>(m_pBoss_HpBar)->Set_FadeOut();
|
||||
static_cast<CUIObject*>(m_pEnemy_HpBar)->Set_FadeOut();
|
||||
static_cast<CUIObject*>(m_pEnemy_Info)->Set_FadeOut();
|
||||
return;
|
||||
}
|
||||
if (m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().bBoss == true)
|
||||
{
|
||||
static_cast<CBoss_HpBar*>(m_pBoss_HpBar)->Update_Target();
|
||||
static_cast<CEnemy_HpBar*>(m_pEnemy_Info)->Set_FadeOut();
|
||||
static_cast<CEnemy_Info*>(m_pEnemy_Info)->Update_Target();
|
||||
static_cast<CEnemy_Info*>(m_pEnemy_Info)->Set_Font_Move(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<CBoss_HpBar*>(m_pBoss_HpBar)->Set_FadeOut();
|
||||
static_cast<CEnemy_HpBar*>(m_pEnemy_HpBar)->Update_Target();
|
||||
static_cast<CEnemy_Info*>(m_pEnemy_Info)->Update_Target();
|
||||
static_cast<CEnemy_Info*>(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<CBoss_HpBar>(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast<CBoss_HpBar**>(&m_pBoss_HpBar))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
Add_Element(TEXT("Boss_Bar"), m_pBoss_HpBar);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -79,21 +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);
|
||||
|
||||
__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()) {
|
||||
@@ -322,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();
|
||||
|
||||
@@ -76,21 +76,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);
|
||||
|
||||
__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()) {
|
||||
@@ -308,7 +311,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();
|
||||
|
||||
@@ -113,6 +113,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
|
||||
|
||||
@@ -223,20 +223,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CUnified>(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<CMapElement_Lake>(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");
|
||||
|
||||
|
||||
@@ -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"
|
||||
@@ -1358,7 +1359,6 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
}
|
||||
|
||||
|
||||
// Heavy Wall
|
||||
CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{};
|
||||
{
|
||||
Desc.eType = ACTOR::BOX;
|
||||
@@ -1429,7 +1429,7 @@ 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"),
|
||||
@@ -1683,6 +1683,10 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CEnemy_Info>(g_iStaticLevel, CEnemy_Info::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
/* For.Prototype_GameObject_NoMountIcon*/
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CBoss_HpBar>(g_iStaticLevel, CBoss_HpBar::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
/* For.Prototype_GameObject_Spell_Canvas*/
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CSpell_Canvas>(g_iStaticLevel, CSpell_Canvas::Create(m_pDevice, m_pContext))))
|
||||
@@ -1936,27 +1940,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 */
|
||||
@@ -1969,6 +1973,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))))
|
||||
@@ -2272,7 +2286,7 @@ vector<FOLDER_LOAD*>* 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();
|
||||
|
||||
|
||||
@@ -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<MAPOBJECT_LAKE_DESC*>(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<CComponent**>(&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
|
||||
|
||||
@@ -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<CMapElement_Lake>(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();
|
||||
|
||||
@@ -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());
|
||||
@@ -475,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()
|
||||
@@ -595,6 +616,16 @@ void CPlayer::Describe_Entity()
|
||||
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();
|
||||
|
||||
_vector xmvCamLook = XMVector4Normalize(XMVectorSet(m_vCameraLookDir.x, 0.f, m_vCameraLookDir.z, 0.f));
|
||||
|
||||
@@ -85,16 +85,20 @@ void CTroll::Priority_Update(_float 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()) {
|
||||
|
||||
@@ -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<PSX::PxSweepHit*> 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<PhsXUserData*>(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<CStat>();
|
||||
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()
|
||||
|
||||
@@ -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
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
@@ -21,6 +21,8 @@ class CCallBack_Troll_HitReport final : public PSX::PxUserControllerHitReport
|
||||
public:
|
||||
~CCallBack_Troll_HitReport();
|
||||
|
||||
void BeginFrame();
|
||||
|
||||
public:
|
||||
// PxUserControllerHitReport을(를) 통해 상속됨
|
||||
// 충돌알림!!
|
||||
@@ -31,15 +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, _bool* bCollisionPlayer);
|
||||
HRESULT Finalize();
|
||||
_bool IsOnGround();
|
||||
_vector Get_GroundVector();
|
||||
private:
|
||||
CCharacter_Controller* m_pController = { nullptr };
|
||||
CRigidBody_Dynamic* m_pPartDynamicBody = { nullptr };
|
||||
_bool* m_pCollisionPlayer = { 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();
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
@@ -43,6 +44,7 @@ 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
|
||||
@@ -62,8 +64,9 @@ class CCamPosition_Shoulder final : public CCamPosition
|
||||
_float m_fFocalRatioMin = 0.05f;
|
||||
|
||||
_float2 m_vMoveLerpPositions = { };
|
||||
_float2 m_vMoveLerpTimer = { 0.f, BASIC_LERP_TIMER };
|
||||
_float2 m_vMoveLerpTimer = { 0.f, TIMER_SHORT_LERP };
|
||||
#pragma endregion
|
||||
_float2 m_vCameraShakeTimer = { 0.f, 0.3f };
|
||||
|
||||
PSX::PxSweepBuffer m_BufferHit = {};
|
||||
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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<CModel*> m_pShallowModels = {};
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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,10 +36,14 @@ class CPlayer final : public CUnit
|
||||
|
||||
_bool m_bSprintToggle = { false };
|
||||
_bool m_bWalkToggle = { false };
|
||||
_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 };
|
||||
@@ -64,7 +69,7 @@ class CPlayer final : public CUnit
|
||||
void ReLockOnTarget();
|
||||
void SetGravity();
|
||||
|
||||
void Update_CameraCoordinateSystem();
|
||||
void Update_CameraCoordinateSystem(_float fTimeDelta);
|
||||
#ifdef _DEBUG
|
||||
unique_ptr<BasicEffect> m_BasicEffect;
|
||||
unique_ptr<PrimitiveBatch<VertexPositionColor>> m_Batch;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -2106,14 +2106,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1</PrototypeTag>
|
||||
@@ -3692,14 +3684,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1</PrototypeTag>
|
||||
@@ -3800,14 +3784,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1</PrototypeTag>
|
||||
@@ -4805,14 +4781,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1</PrototypeTag>
|
||||
|
||||
@@ -2106,14 +2106,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1</PrototypeTag>
|
||||
@@ -3692,14 +3684,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1</PrototypeTag>
|
||||
@@ -3800,14 +3784,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1</PrototypeTag>
|
||||
@@ -4805,14 +4781,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1</PrototypeTag>
|
||||
|
||||
|
Before Width: | Height: | Size: 518 KiB After Width: | Height: | Size: 518 KiB |
|
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 185 KiB |
|
Before Width: | Height: | Size: 369 KiB After Width: | Height: | Size: 369 KiB |
|
Before Width: | Height: | Size: 518 KiB After Width: | Height: | Size: 518 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
@@ -1,320 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Land>
|
||||
<Container Name="3Broom_Ext">
|
||||
<Position x="44.396912" y="-9.5367432e-07" z="30.934399"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_Decals_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_Decals_A_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_DoorFrame</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_Dormer_Wood_Slats</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_fireplace</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_fireplace_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_fireplace_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_fireplace_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_stone</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_walls</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_R</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_R_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_R_Lod2</PrototypeTag>
|
||||
<Position x="1.05" y="0" z="0"/>
|
||||
<Scale x="0.99999958" y="1" z="0.99999958"/>
|
||||
<Rotation x="0" y="2.2123847" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_L</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_L_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_L_Lod2</PrototypeTag>
|
||||
<Position x="-1.05" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Window_Glass</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Window_Glass_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Roof_Debris_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Roof_Debris_A_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Roof_Debris_A_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Roof_Debris_A_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Roof_Debris_B</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Roof_Debris_B_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Roof_Debris_B_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Roof_Debris_B_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_DSkull</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_DSkull_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_DSkull_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_DSkull_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
</Container>
|
||||
<Container Name="3Broom_Int">
|
||||
<Position x="22.056229" y="0" z="38.276192"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<PartObject Lod_Level="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_stairs_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_stairs_A_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_Bar</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_Bar_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_Bar_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_floors</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_floors_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_floors_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_stairs_B</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_stairs_B_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_stairs_B_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_windows</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_windows_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_stairs_D</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_stairs_D_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_Stairs_Upper_Floors</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_Stairs_Upper_Floors_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_Stairs_Upper_Floors_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_walls</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_walls_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_walls_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_walls_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_A_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_A_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_A_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_B</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_B_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_B_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_B_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_C</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_C_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_C_Lod2</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_C_Lod3</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_Stairs</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_Stairs_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_int_wood_Stairs_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2">
|
||||
<PrototypeTag>Prototype_GameObject_SM_Broom_01</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_Broom_01_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_Broom_01_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
</Container>
|
||||
</Land>
|
||||
@@ -1,36 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MapLightObjects>
|
||||
<Object Type="3" Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_LightPost</PrototypeTag>
|
||||
<Position x="26.366684" y="0.44646791" z="36.957825"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<Diffuse x="0.81999999" y="0.52999997" z="0.25"/>
|
||||
<Ambient x="0.82999998" y="0.52999997" z="0.25"/>
|
||||
<Specular x="0" y="0" z="0"/>
|
||||
<PosOffset x="0" y="3.3" z="0"/>
|
||||
<Info GlassIndex="0" BloomStrength="3.7000022" Range="5"/>
|
||||
</Object>
|
||||
<Object Type="3" Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_LightPost</PrototypeTag>
|
||||
<Position x="17.501596" y="-4.5276604" z="-14.468103"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<Diffuse x="1" y="0.60000002" z="0.30000001"/>
|
||||
<Ambient x="1" y="0.60000002" z="0.30000001"/>
|
||||
<Specular x="0" y="0" z="0"/>
|
||||
<PosOffset x="0" y="3.3" z="0"/>
|
||||
<Info GlassIndex="0" BloomStrength="3.5" Range="7"/>
|
||||
</Object>
|
||||
<Object Type="3" Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_LightPost</PrototypeTag>
|
||||
<Position x="22.643427" y="-3.9982495" z="-15.436444"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<Diffuse x="1" y="0.60000002" z="0.30000001"/>
|
||||
<Ambient x="1" y="0.60000002" z="0.30000001"/>
|
||||
<Specular x="0" y="0" z="0"/>
|
||||
<PosOffset x="0" y="3.5" z="0"/>
|
||||
<Info GlassIndex="0" BloomStrength="3.5" Range="6"/>
|
||||
</Object>
|
||||
</MapLightObjects>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MapObjects_Water>
|
||||
<Object Type="4" Name="Hogsmead_North_Lake" Lod_Level="0">
|
||||
<PrototypeTag>Prototype_Component_Hogsmead_NorthLake</PrototypeTag>
|
||||
<ShollowPrototypeTag>Prototype_Component_Hogsmead_NorthLakeShallow</ShollowPrototypeTag>
|
||||
<Position x="129.5" y="16.299999" z="175.60001"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<Radius value="31.2"/>
|
||||
<TimeSpeed value="0.017999999"/>
|
||||
<RefractionStrength value="0.02"/>
|
||||
<RefractionPow value="2"/>
|
||||
<UVValue1 value="20"/>
|
||||
<UVValue2 value="20"/>
|
||||
<UVValue3 value="20"/>
|
||||
<UVSpeed x="-0.1" y="0.1"/>
|
||||
<LargeUVSpeed x="0.1" y="0.80000001"/>
|
||||
<SubUVSpeed3 x="5" y="5"/>
|
||||
<RefractionColor x="0.85292602" y="0.9433403" z="0.99578059" w="1"/>
|
||||
<SurfaceColor x="0.78823531" y="0" z="1" w="1"/>
|
||||
</Object>
|
||||
<Object Type="4" Name="HN_LakeA" Lod_Level="0">
|
||||
<PrototypeTag>Prototype_Component_Hogwart_Lake</PrototypeTag>
|
||||
<ShollowPrototypeTag>Prototype_Component_Hogwart_LakeSurFace</ShollowPrototypeTag>
|
||||
<Position x="-92" y="-77.900002" z="-611"/>
|
||||
<Scale x="1.1" y="1.1" z="1.1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<Radius value="472.7"/>
|
||||
<TimeSpeed value="0.0099999998"/>
|
||||
<RefractionStrength value="0.029999999"/>
|
||||
<RefractionPow value="1.5"/>
|
||||
<UVValue1 value="10"/>
|
||||
<UVValue2 value="20"/>
|
||||
<UVValue3 value="20"/>
|
||||
<UVSpeed x="0.1" y="0"/>
|
||||
<LargeUVSpeed x="0.30000001" y="0.1"/>
|
||||
<SubUVSpeed3 x="100" y="1"/>
|
||||
<RefractionColor x="0.80590719" y="0.89926827" z="1" w="1"/>
|
||||
<SurfaceColor x="1" y="0" z="1" w="1"/>
|
||||
</Object>
|
||||
</MapObjects_Water>
|
||||
@@ -1,6 +1,6 @@
|
||||
<StatInfo>
|
||||
<STAT_PLAYER Name="플레이어" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="1" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000"/>
|
||||
<STAT_GOBLIN Name="고블린 전사" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10"LEVEL="1" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000"/>
|
||||
<STAT_GOBLIN_WIZARD Name="고블린 마법사" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="2" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000"/>
|
||||
<STAT_TROLL Name="트롤" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="5" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000"/>
|
||||
<STAT_PLAYER Name="플레이어" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="1" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="0"/>
|
||||
<STAT_GOBLIN Name="고블린 전사" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="1" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="0"/>
|
||||
<STAT_GOBLIN_WIZARD Name="고블린 마법사" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="2" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="0"/>
|
||||
<STAT_TROLL Name="트롤" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="5" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="1"/>
|
||||
</StatInfo>
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
<MI_ClothSim>
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Troll_ArmoredTroll_Leather_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="T_Cav_Spid_ThickWeb_N" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="T_Troll_ArmoredTroll_Body_SRXO" Extension=".dds"/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="VFX_T_SkinBurn_Emiss_BPF_D" Extension=".dds"/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
<Material>
|
||||
<MI_FlyingClassBroom_01>
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_FlightClassBroom_01_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="T_FlightClassBroom_01_E" Extension=".png"/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_FlightClassBroom_01_N" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="T_FlightClassBroom_01_MRO" Extension=".png"/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_FlyingClassBroom_01>
|
||||
</Material>
|
||||