@@ -3,7 +3,6 @@
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "EffectParts.h"
|
||||
#include "PhysXEffectHitBox.h"
|
||||
#include "Wand.h"
|
||||
#include "Player.h"
|
||||
|
||||
@@ -83,27 +82,16 @@ void CBombard::Late_Update(_float fTimeDelta)
|
||||
return;
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
|
||||
|
||||
XMStoreFloat4(&m_vEndPos, m_pLight_Projectile->Get_WorldPostion());
|
||||
|
||||
}
|
||||
|
||||
HRESULT CBombard::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
if (FAILED(Ready_Child()))
|
||||
return E_FAIL;
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
CWand* pWand = static_cast<CPlayer*>(m_pOwner)->Get_PartObject<CWand>();
|
||||
|
||||
if (pWand == nullptr)
|
||||
@@ -115,6 +103,7 @@ HRESULT CBombard::Pre_Setting(CGameObject* pObject)
|
||||
|
||||
m_vCameraLook = m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK);
|
||||
|
||||
|
||||
pShootPt->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
m_pLight_Projectile->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
@@ -125,9 +114,6 @@ HRESULT CBombard::Pre_Setting(CGameObject* pObject)
|
||||
m_pLight_Projectile->Set_Visible(true);
|
||||
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -174,7 +160,10 @@ CGameObject* CBombard::Clone(void* pArg, CGameObject* pOwner)
|
||||
|
||||
void CBombard::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
//CTransform* pOtherTransform = p
|
||||
if (m_isCollisionEnter == true)
|
||||
return;
|
||||
|
||||
m_isCollisionEnter = true;
|
||||
|
||||
_vector vPos = XMVectorSet(hitBuffer.block.position.x, hitBuffer.block.position.y, hitBuffer.block.position.z, 1.f);
|
||||
|
||||
@@ -185,14 +174,27 @@ void CBombard::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
pPair.second->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
}
|
||||
|
||||
CWand* pWand = static_cast<CPlayer*>(m_pOwner)->Get_PartObject<CWand>();
|
||||
|
||||
if (pWand == nullptr)
|
||||
return;
|
||||
|
||||
CPartObject* pShootPt = Get_PartObject<CEffectParts>("Bombard_Shoot_Pt");
|
||||
CPartObject* pCircle0 = Get_PartObject<CEffectParts>("Bombard_Circle0");
|
||||
|
||||
pShootPt->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
|
||||
m_pLight_Projectile->Set_Visible(false);
|
||||
Get_PartObject<CEffectParts>("Bombard_Shoot_Pt")->Set_Visible(false);
|
||||
|
||||
//Get_PartObject<CEffectParts>("Bombard_PT_0")->Get_Component<CTransform>()->LookAt(m_pOwner->Get_WorldPostion());
|
||||
//Get_PartObject<CEffectParts>("Bombard_PT_1")->Get_Component<CTransform>()->LookAt(m_pOwner->Get_WorldPostion());
|
||||
//Get_PartObject<CEffectParts>("Bombard_PT_2")->Get_Component<CTransform>()->LookAt(m_pOwner->Get_WorldPostion());
|
||||
|
||||
_vector vOwnerLook = m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK);
|
||||
Get_PartObject<CEffectParts>("Bombard_Smoke")->Get_Component<CTransform>()->Translation(vOwnerLook);
|
||||
|
||||
Get_PartObject<CEffectParts>("Bombard_Circle0")->Set_Visible(false);
|
||||
|
||||
}
|
||||
|
||||
void CBombard::Free()
|
||||
|
||||
@@ -40,7 +40,7 @@ HRESULT CBombardSide::Initialize(void* pArg)
|
||||
m_wstrEffectName = L"BombardSide";
|
||||
|
||||
|
||||
m_pWandParticle = Get_PartObject<CEffectParts>("WandParticle_B_100");
|
||||
m_pWandParticle = Get_PartObject<CEffectParts>("WandParticle_B_1000");
|
||||
m_pWandLight = Get_PartObject<CEffectParts>("Wand_Light_B");
|
||||
m_pWandTrail = Get_PartObject<CTrailObject>();
|
||||
|
||||
@@ -97,17 +97,9 @@ void CBombardSide::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CBombardSide::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
|
||||
CWand* pWand = static_cast<CWand*>(m_pOwner);
|
||||
|
||||
@@ -126,9 +118,6 @@ HRESULT CBombardSide::Pre_Setting(CGameObject* pObject)
|
||||
|
||||
m_pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "EffectParts.h"
|
||||
#include "PhysXEffectHitBox.h"
|
||||
#include "TrailObject.h"
|
||||
|
||||
#include "Wand.h"
|
||||
@@ -104,22 +103,9 @@ void CDecendo::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CDecendo::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
/* 부모 할당 */
|
||||
m_pOwner = pObject;
|
||||
|
||||
/* 피직스 생성*/
|
||||
if (FAILED(Ready_Child()))
|
||||
return E_FAIL;
|
||||
|
||||
/* 초기 셋팅 초기화 */
|
||||
Reset_EffectParts();
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
|
||||
CWand* pWand = static_cast<CPlayer*>(m_pOwner)->Get_PartObject<CWand>();
|
||||
|
||||
@@ -129,16 +115,25 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject)
|
||||
|
||||
CPartObject* pCircle0 = Get_PartObject<CEffectParts>();
|
||||
|
||||
CPartObject* pWandLight = Get_PartObject<CEffectParts>("Decendo_Wand_Light");
|
||||
|
||||
|
||||
|
||||
/* 초기 객체 위치 초기화 */
|
||||
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
m_pProjectile->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
m_pProjectile_Blur->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
/* 초기 객체 비지블 */
|
||||
pCircle0->Set_Visible(true);
|
||||
pWandLight->Set_Visible(true);
|
||||
|
||||
m_pProjectile->Set_Visible(true);
|
||||
m_pProjectile_Blur->Set_Visible(true);
|
||||
|
||||
|
||||
/*트레일 초기화 */
|
||||
Get_PartObject<CTrailObject>()->Set_Visible(true);
|
||||
Get_PartObject<CTrailObject>()->Get_Component<CTrail>()->Reset_Trail();
|
||||
@@ -154,7 +149,6 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject)
|
||||
m_vRotateUp = XMVector3Rotate(vUp, vQuaternion);
|
||||
m_vRotateUp = XMVector3Normalize(m_vRotateUp);
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -202,7 +196,12 @@ CGameObject* CDecendo::Clone(void* pArg, CGameObject* pOwner)
|
||||
|
||||
void CDecendo::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
//CTransform* pOtherTransform = p
|
||||
|
||||
if (m_isCollisionEnter == true)
|
||||
return;
|
||||
|
||||
m_isCollisionEnter = true;
|
||||
|
||||
_vector vPos = XMVectorSet(hitBuffer.block.position.x, hitBuffer.block.position.y, hitBuffer.block.position.z, 1.f);
|
||||
|
||||
|
||||
@@ -218,13 +217,26 @@ void CDecendo::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
m_pProjectile->Set_Visible(false);
|
||||
|
||||
|
||||
CWand* pWand = static_cast<CPlayer*>(m_pOwner)->Get_PartObject<CWand>();
|
||||
|
||||
if (pWand == nullptr)
|
||||
return;
|
||||
|
||||
CPartObject* pCircle0 = Get_PartObject<CEffectParts>();
|
||||
CPartObject* pWandLight = Get_PartObject<CEffectParts>("Decendo_Wand_Light");
|
||||
|
||||
|
||||
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
_vector vPlayerPos = m_pOwner->Get_Component<CTransform>()->Get_State(STATE::POSITION);
|
||||
|
||||
|
||||
|
||||
Get_PartObject<CEffectParts>("Decendo_Down")->Get_Component<CTransform>()->LookAt(vPlayerPos);
|
||||
Get_PartObject<CEffectParts>("Decendo_Smoke")->Get_Component<CTransform>()->LookAt(vPlayerPos);
|
||||
|
||||
Get_PartObject<CEffectParts>()->Set_Visible(false);
|
||||
|
||||
|
||||
Get_PartObject<CTrailObject>()->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f));
|
||||
Get_PartObject<CTrailObject>()->Set_Visible(false);
|
||||
|
||||
@@ -89,17 +89,9 @@ void CDecendoSide::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CDecendoSide::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
|
||||
CWand* pWand = static_cast<CWand*>(m_pOwner);
|
||||
|
||||
@@ -117,8 +109,6 @@ HRESULT CDecendoSide::Pre_Setting(CGameObject* pObject)
|
||||
m_pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -655,6 +655,38 @@ HRESULT CEffectObject::Bind_ShaderResources()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDissolveDelay", &m_EffectInfo.fDissolveDelay, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fReverseDissolveDelay", &m_EffectInfo.fReverseDissolveDelay, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveUVGainAmount", &m_EffectInfo.vDissolveUVGainAmount, sizeof(_float2)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isDissolveMove", &m_EffectInfo.isDissolveMove, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDissolveMaskEdge", &m_EffectInfo.vDissolveValue.x, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDissolveSoftMask", &m_EffectInfo.vDissolveValue.y, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDissolveCutRatio", &m_EffectInfo.vDissolveValue.z, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (m_pDiffuse_TextureCom != nullptr)
|
||||
@@ -704,6 +736,8 @@ HRESULT CEffectObject::Bind_ShaderResources()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
#include "GameInstance.h"
|
||||
#include "EffectParts.h"
|
||||
#include "TrailObject.h"
|
||||
|
||||
#include "PhysXEffectHitBox.h"
|
||||
#include "GameObject.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
@@ -23,6 +22,8 @@ CEffect_Container::CEffect_Container(const CEffect_Container& rhs)
|
||||
HRESULT CEffect_Container::Initialize_Prototype()
|
||||
{
|
||||
|
||||
|
||||
|
||||
return S_OK;
|
||||
|
||||
}
|
||||
@@ -35,7 +36,8 @@ HRESULT CEffect_Container::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Child()))
|
||||
return E_FAIL;
|
||||
|
||||
Set_Visible(false);
|
||||
|
||||
m_bVisible = false;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -60,168 +62,6 @@ void CEffect_Container::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Load_Directory(const _char* pPath)
|
||||
{
|
||||
|
||||
for (const auto& file : filesystem::directory_iterator(pPath))
|
||||
{
|
||||
if (file.is_directory())
|
||||
continue;
|
||||
|
||||
string ext = file.path().extension().string();
|
||||
|
||||
if (strcmp(ext.c_str(), ".bin"))
|
||||
continue;
|
||||
|
||||
_char szFilePath[MAX_PATH] = {};
|
||||
|
||||
strcpy_s(szFilePath, MAX_PATH, file.path().string().c_str());
|
||||
|
||||
|
||||
/////////////////////////////
|
||||
|
||||
CEffectParts* pEffectParts = nullptr;
|
||||
|
||||
CPartObject::PARTOBJECT_DESC PartsDesc{};
|
||||
|
||||
PartsDesc.pParentTransform = m_pTransformCom;
|
||||
|
||||
|
||||
|
||||
|
||||
/*이펙트 껍데기 생성*/
|
||||
|
||||
_wstring wstrFileName = file.path().stem().wstring(); //이름 넣기
|
||||
|
||||
if (FAILED(Add_PartObject<CEffectParts>(CMyTools::ToString(wstrFileName), g_iStaticLevel, &pEffectParts, &PartsDesc))) {
|
||||
assert(false);
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
/*이펙트 로드 로드*/
|
||||
size_t iPos = {};
|
||||
_string strFilePath = szFilePath;
|
||||
|
||||
while ((iPos = strFilePath.find(".bin")) != std::string::npos) {
|
||||
strFilePath.erase(iPos, 4);
|
||||
};
|
||||
|
||||
|
||||
if (FAILED(pEffectParts->Load(strFilePath.c_str(),static_cast<LEVEL>(NEXT_LEVEL))))
|
||||
{
|
||||
Safe_Release(pEffectParts);
|
||||
continue;
|
||||
}
|
||||
|
||||
Safe_Release(pEffectParts);
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Ready_Components(void* pArg)
|
||||
{
|
||||
CTransform::TRANSFORM_DESC TransformDesc = {};
|
||||
|
||||
TransformDesc.fRadius = 20.f;
|
||||
TransformDesc.fRotationPerSec = 10.f;
|
||||
TransformDesc.fSpeedPerSec = 10.f;
|
||||
|
||||
if (FAILED(__super::Ready_Components(&TransformDesc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Reset_EffectParts()
|
||||
{
|
||||
for (auto& iter : m_PartObjects)
|
||||
{
|
||||
CInstance_Model* pInstanceModel = iter.second->Get_Component<CInstance_Model>();
|
||||
|
||||
if (pInstanceModel == nullptr){
|
||||
continue;
|
||||
}
|
||||
|
||||
pInstanceModel->Instane_Buffer_ReStruct();
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
HRESULT CEffect_Container::Ready_Child()
|
||||
{
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CEffect_Container::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Bind_ShaderResources()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CEffect_Container::Update_Event(_float fTimeDelta)
|
||||
{
|
||||
|
||||
|
||||
m_fPreAccTime = m_fAccTime;
|
||||
m_fAccTime += fTimeDelta;
|
||||
|
||||
if (m_fAccTime >= m_fDelay || m_isDelayed == false) // 아직 딜레이되지 않았고 딜레이를 넘어섰다면
|
||||
{
|
||||
m_isDelayed = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (m_fAccTime >= m_fDuration) // 듀레이션을 넘어섰다면
|
||||
{
|
||||
if (m_isLoop)
|
||||
{
|
||||
m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
m_isDelayed = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_bVisible = false;
|
||||
|
||||
for (auto& pPart : m_PartObjects)
|
||||
{
|
||||
pPart.second->Set_Visible(false);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for (auto& pPair : m_Events) // 이벤트들을 비교하면서 실행함
|
||||
{
|
||||
if (pPair.first >= m_fPreAccTime && pPair.first <= m_fAccTime)
|
||||
{
|
||||
pPair.second();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
HRESULT CEffect_Container::Load_Package(const _char* pPath)
|
||||
{
|
||||
|
||||
@@ -315,7 +155,7 @@ HRESULT CEffect_Container::Load_Package(const _char* pPath)
|
||||
};
|
||||
|
||||
|
||||
if (FAILED(pTrail->Load_Trail(strEffectPath.c_str(), static_cast<LEVEL>(NEXT_LEVEL))))
|
||||
if (FAILED(pTrail->Load_Trail(strEffectPath.c_str() , static_cast<LEVEL>(NEXT_LEVEL))))
|
||||
{
|
||||
Safe_Release(pTrail);
|
||||
continue;
|
||||
@@ -329,7 +169,7 @@ HRESULT CEffect_Container::Load_Package(const _char* pPath)
|
||||
|
||||
/////////////////////////////
|
||||
|
||||
CEffectParts* pEffectPart = nullptr;
|
||||
CEffectParts* pEffectParts = nullptr;
|
||||
|
||||
CPartObject::PARTOBJECT_DESC PartsDesc{};
|
||||
|
||||
@@ -337,7 +177,7 @@ HRESULT CEffect_Container::Load_Package(const _char* pPath)
|
||||
|
||||
/*이펙트 껍데기 생성*/
|
||||
|
||||
if (FAILED(Add_PartObject<CEffectParts>(strEffectName, g_iStaticLevel, &pEffectPart, &PartsDesc))) {
|
||||
if (FAILED(Add_PartObject<CEffectParts>(strEffectName, g_iStaticLevel, &pEffectParts, &PartsDesc))) {
|
||||
assert(false);
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -351,13 +191,13 @@ HRESULT CEffect_Container::Load_Package(const _char* pPath)
|
||||
};
|
||||
|
||||
|
||||
if (FAILED(pEffectPart->Load(strFilePath.c_str(), static_cast<LEVEL>(NEXT_LEVEL))))
|
||||
if (FAILED(pEffectParts->Load(strFilePath.c_str(), static_cast<LEVEL>(NEXT_LEVEL))))
|
||||
{
|
||||
Safe_Release(pEffectPart);
|
||||
Safe_Release(pEffectParts);
|
||||
continue;
|
||||
}
|
||||
|
||||
Safe_Release(pEffectPart);
|
||||
Safe_Release(pEffectParts);
|
||||
|
||||
}
|
||||
|
||||
@@ -365,3 +205,116 @@ HRESULT CEffect_Container::Load_Package(const _char* pPath)
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
m_bVisible = true;
|
||||
m_isCollisionEnter = false;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Ready_Components(void* pArg)
|
||||
{
|
||||
CTransform::TRANSFORM_DESC TransformDesc = {};
|
||||
|
||||
TransformDesc.fRadius = 20.f;
|
||||
TransformDesc.fRotationPerSec = 10.f;
|
||||
TransformDesc.fSpeedPerSec = 10.f;
|
||||
|
||||
if (FAILED(__super::Ready_Components(&TransformDesc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Ready_Child()
|
||||
{
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CEffect_Container::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Bind_ShaderResources()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CEffect_Container::Reset_EffectParts()
|
||||
{
|
||||
for (auto& iter : m_PartObjects)
|
||||
{
|
||||
CInstance_Model* pInstanceModel = iter.second->Get_Component<CInstance_Model>();
|
||||
|
||||
if (pInstanceModel == nullptr)
|
||||
continue;
|
||||
|
||||
pInstanceModel->Instane_Buffer_ReStruct();
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CEffect_Container::Update_Event(_float fTimeDelta)
|
||||
{
|
||||
|
||||
m_fPreAccTime = m_fAccTime;
|
||||
m_fAccTime += fTimeDelta;
|
||||
|
||||
if (m_fAccTime >= m_fDelay || m_isDelayed == false) // 아직 딜레이되지 않았고 딜레이를 넘어섰다면
|
||||
{
|
||||
m_isDelayed = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (m_fAccTime >= m_fDuration) // 듀레이션을 넘어섰다면
|
||||
{
|
||||
if (m_isLoop)
|
||||
{
|
||||
m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
m_isDelayed = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_bVisible = false;
|
||||
|
||||
for (auto& pPart : m_PartObjects)
|
||||
{
|
||||
pPart.second->Set_Visible(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for (auto& pPair : m_Events) // 이벤트들을 비교하면서 실행함
|
||||
{
|
||||
if (pPair.first >= m_fPreAccTime && pPair.first <= m_fAccTime)
|
||||
{
|
||||
pPair.second();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -34,9 +34,9 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Lights())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Ready_Background())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
//if (FAILED(Ready_Background())) {
|
||||
// return E_FAIL;
|
||||
//}
|
||||
if (FAILED(Ready_Markers())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -51,10 +51,11 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Layer_Item(LAYER_ITEM))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Ready_Layer_Player(LAYER_PLAYER))) {
|
||||
|
||||
if (FAILED(Ready_Layer_SkyBox(TEXT("Layer_SkyBox")))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Ready_Layer_SkyBox(TEXT("Layer_SkyBox")))) {
|
||||
if (FAILED(Ready_Layer_Player(LAYER_PLAYER))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Ready_Layer_Monster())) {
|
||||
@@ -160,9 +161,9 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
/* Map Containters */
|
||||
/* 테스트용 맵 */
|
||||
|
||||
//CInfoInstance::GetInstance()->Load_MapObjects("ClientTest");
|
||||
CInfoInstance::GetInstance()->Load_MapObjects("ClientTest");
|
||||
/* 전체 맵 */
|
||||
CInfoInstance::GetInstance()->Load_MapObjects("Map1129");
|
||||
//CInfoInstance::GetInstance()->Load_MapObjects("Map1129");
|
||||
|
||||
/* 조명 오브젝트 */
|
||||
CInfoInstance::GetInstance()->Load_LightElements("LightElement");
|
||||
|
||||
@@ -20,6 +20,9 @@ HRESULT CLevel_Loading::Initialize(LEVEL eNextLevelID)
|
||||
m_eNextLevelID = eNextLevelID;
|
||||
|
||||
m_pLoader = CLoader::Create(m_pDevice, m_pContext, eNextLevelID);
|
||||
m_ShadowDesc.vAt = _float4(-10.f, -10.f, 10.f, 1.f);
|
||||
m_ShadowDesc.fWidth = 300.f;
|
||||
m_ShadowDesc.fHeight = 300.f;
|
||||
if (nullptr == m_pLoader) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -37,7 +40,6 @@ void CLevel_Loading::Update(_float fTimeDelta)
|
||||
)
|
||||
{
|
||||
pair<CLevel*, function<void()>> pairLevel = { nullptr, nullptr };
|
||||
SHADOW_LIGHT_DESC ShadowDesc{};
|
||||
|
||||
switch (m_eNextLevelID)
|
||||
{
|
||||
@@ -47,6 +49,9 @@ void CLevel_Loading::Update(_float fTimeDelta)
|
||||
} break;
|
||||
case LEVEL::GAMEPLAY:
|
||||
{
|
||||
m_ShadowDesc.vAt = _float4(-194, 18.5f, -153.f, 1.f);
|
||||
m_ShadowDesc.fHeight = 1000.f;
|
||||
m_ShadowDesc.fWidth = 1000.f;
|
||||
pairLevel = CLevel_GamePlay::Create(m_pDevice, m_pContext, m_eNextLevelID, nullptr);
|
||||
} break;
|
||||
case LEVEL::FIELD:
|
||||
@@ -62,7 +67,7 @@ void CLevel_Loading::Update(_float fTimeDelta)
|
||||
assert(false); // E_IMPL
|
||||
break;
|
||||
}
|
||||
|
||||
Capture_TerrainPreShadow(m_ShadowDesc);
|
||||
if (SUCCEEDED(m_pGameInstance->Change_Level(pairLevel.first))) {
|
||||
if (nullptr != pairLevel.second)
|
||||
{
|
||||
@@ -83,6 +88,34 @@ HRESULT CLevel_Loading::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CLevel_Loading::Capture_TerrainPreShadow(SHADOW_LIGHT_DESC& ShadowDesc)
|
||||
{
|
||||
CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_BACKGROUND);
|
||||
if (nullptr != pLayer) {
|
||||
ShadowDesc.fFar = 1000.f;
|
||||
ShadowDesc.fNear = 0.1f;
|
||||
_float3 vRollPichYaw = { 35.2643897f, 45.f, 0.f }; // (1, -1, 1) 방향 look
|
||||
|
||||
_matrix matRotation = XMMatrixRotationRollPitchYaw(
|
||||
XMConvertToRadians(vRollPichYaw.x), XMConvertToRadians(vRollPichYaw.y), XMConvertToRadians(vRollPichYaw.z));
|
||||
|
||||
XMStoreFloat4(&ShadowDesc.vEye, XMLoadFloat4(&ShadowDesc.vAt) - matRotation.r[2] * (ShadowDesc.fFar * 0.25f));
|
||||
|
||||
if (FAILED(m_pGameInstance->Ready_Shadow_Light(ShadowDesc))) {
|
||||
assert(false);
|
||||
}
|
||||
|
||||
const list<CGameObject*>* pObjects = pLayer->Get_Objects();
|
||||
_float4 vPos = {};
|
||||
for (auto& pObject : *pObjects) {
|
||||
if (FAILED(m_pGameInstance->Add_RenderGroup(RENDER::PRESHADOW, pObject))) {
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
m_pGameInstance->Render_PreShadow();
|
||||
}
|
||||
}
|
||||
|
||||
HRESULT CLevel_Loading::Ready_Layer_BackGround(const _wstring& strLayerTag)
|
||||
{
|
||||
return S_OK;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "EffectParts.h"
|
||||
#include "Player.h"
|
||||
#include "TrailObject.h"
|
||||
#include "PhysXEffectHitBox.h"
|
||||
#include "Wand.h"
|
||||
|
||||
|
||||
CLevioso::CLevioso(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -38,12 +38,10 @@ HRESULT CLevioso::Initialize(void* pArg)
|
||||
return E_FAIL;
|
||||
|
||||
m_pLeviosoPJ_0 = Get_PartObject<CEffectParts>("Levioso_PJ0");
|
||||
m_pLeviosoPJ_1 = Get_PartObject<CEffectParts>("Levioso_PJ1");
|
||||
m_pLeviosoTrail = Get_PartObject<CTrailObject>("Levioso_Trail");
|
||||
m_pTrail_PT_0 = Get_PartObject<CEffectParts>("Trail_PT0");
|
||||
|
||||
SAFE_ADDREF(m_pLeviosoPJ_0);
|
||||
SAFE_ADDREF(m_pLeviosoPJ_1);
|
||||
SAFE_ADDREF(m_pLeviosoTrail);
|
||||
SAFE_ADDREF(m_pTrail_PT_0);
|
||||
|
||||
@@ -54,6 +52,8 @@ HRESULT CLevioso::Initialize(void* pArg)
|
||||
|
||||
m_fDuration = 2.f;
|
||||
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -61,7 +61,6 @@ void CLevioso::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
|
||||
|
||||
XMStoreFloat4(&m_vStartPos, m_pLeviosoPJ_0->Get_WorldPostion());
|
||||
|
||||
}
|
||||
@@ -74,14 +73,13 @@ void CLevioso::Update(_float fTimeDelta)
|
||||
__super::Update(fTimeDelta);
|
||||
|
||||
Update_Event(fTimeDelta);
|
||||
|
||||
|
||||
m_pLeviosoPJ_0->Get_Component<CTransform>()->Translation(m_vOwnerLook * 0.25f);
|
||||
m_pLeviosoPJ_1->Get_Component<CTransform>()->Translation(m_vOwnerLook * 0.25f);
|
||||
|
||||
|
||||
m_pTrail_PT_0->Get_Component<CTransform>()->Translation(m_vOwnerLook * 0.25f);
|
||||
|
||||
if (true == m_pGameInstance->SphereCast(0.125f, XMLoadFloat4(&m_vStartPos), m_vOwnerLook, XMVectorGetX(XMVector3Length(m_vOwnerLook * 1.f))
|
||||
if (true == m_pGameInstance->SphereCast(0.0f, XMLoadFloat4(&m_vStartPos), m_vOwnerLook, XMVectorGetX(XMVector3Length(m_vOwnerLook * 1.f))
|
||||
, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eSTATIC, hitBuffer))
|
||||
{
|
||||
OnCollision();
|
||||
@@ -116,20 +114,8 @@ void CLevioso::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CLevioso::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
m_fAccRotateTime = 0.f;
|
||||
|
||||
if (FAILED(Ready_Child()))
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
CPlayer* pPlayer = static_cast<CPlayer*>(m_pOwner);
|
||||
@@ -139,26 +125,25 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject)
|
||||
|
||||
_vector WandPos = pPlayer->Get_WandPos().r[3];
|
||||
|
||||
CEffectParts* pWandSmoke = Get_PartObject<CEffectParts>("Levioso_Wand0");
|
||||
|
||||
m_pLeviosoPJ_0->Get_Component<CTransform>()->Set_WorldMatrix(m_pOwner->Get_Component<CTransform>()->Get_XMWorldMatrix());
|
||||
m_pLeviosoPJ_1->Get_Component<CTransform>()->Set_WorldMatrix(m_pOwner->Get_Component<CTransform>()->Get_XMWorldMatrix());
|
||||
m_pTrail_PT_0->Get_Component<CTransform>()->Set_WorldMatrix(m_pOwner->Get_Component<CTransform>()->Get_XMWorldMatrix());
|
||||
|
||||
|
||||
|
||||
m_pLeviosoPJ_0->Get_Component<CTransform>()->Set_State(STATE::POSITION, WandPos);
|
||||
m_pLeviosoPJ_1->Get_Component<CTransform>()->Set_State(STATE::POSITION, WandPos);
|
||||
m_pTrail_PT_0->Get_Component<CTransform>()->Set_State(STATE::POSITION, WandPos);
|
||||
pWandSmoke->Get_Component<CTransform>()->Set_State(STATE::POSITION, pPlayer->Get_PartObject<CWand>()->Get_WorldPostion());
|
||||
|
||||
|
||||
m_pLeviosoPJ_0 ->Set_Visible(true);
|
||||
m_pLeviosoPJ_1->Set_Visible(true);
|
||||
m_pLeviosoPJ_0->Set_Visible(true);
|
||||
m_pTrail_PT_0->Set_Visible(true);
|
||||
pWandSmoke->Set_Visible(true);
|
||||
|
||||
m_pLeviosoTrail->Set_Visible(true);
|
||||
m_pLeviosoTrail->Get_Component<CTrail>()->Reset_Trail();
|
||||
|
||||
m_vOwnerLook = XMVector3Normalize(m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK));
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -206,6 +191,11 @@ CGameObject* CLevioso::Clone(void* pArg, CGameObject* pOwner)
|
||||
|
||||
void CLevioso::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
if (m_isCollisionEnter == true)
|
||||
return;
|
||||
|
||||
m_isCollisionEnter = true;
|
||||
|
||||
_vector vPos = XMVectorSet(hitBuffer.block.position.x, hitBuffer.block.position.y, hitBuffer.block.position.z, 1.f);
|
||||
|
||||
|
||||
@@ -215,19 +205,19 @@ void CLevioso::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
pPair.second->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
}
|
||||
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fAccTime = 0.f;
|
||||
m_fDuration = 3.f; //적중하면 지속시간 3초
|
||||
|
||||
//CEditEffect* pLevioso_Hit = Get_PartObject<CEditEffect>("Levioso_Hit");
|
||||
//CEditEffect* pLevioso_Bottom_Wind = Get_PartObject<CEditEffect>("Levioso_Bottom_Wind");
|
||||
//CEditEffect* pLevioso_Rotate0 = Get_PartObject<CEditEffect>("Levioso_Rotate0");
|
||||
//CEditEffect* pLevioso_Rotate1 = Get_PartObject<CEditEffect>("Levioso_Rotate1");
|
||||
//CEditEffect* pLevioso_Tornado = Get_PartObject<CEditEffect>("Levioso_Tornado");
|
||||
//CEffectParts* pLevioso_Hit = Get_PartObject<CEffectParts>("Levioso_Hit");
|
||||
//CEffectParts* pLevioso_Bottom_Wind = Get_PartObject<CEffectParts>("Levioso_Bottom_Wind");
|
||||
//CEffectParts* pLevioso_Rotate0 = Get_PartObject<CEffectParts>("Levioso_Rotate0");
|
||||
//CEffectParts* pLevioso_Rotate1 = Get_PartObject<CEffectParts>("Levioso_Rotate1");
|
||||
//CEffectParts* pLevioso_Tornado = Get_PartObject<CEffectParts>("Levioso_Tornado");
|
||||
|
||||
m_pLeviosoPJ_0->Set_Visible(false);
|
||||
m_pLeviosoPJ_1->Set_Visible(false);
|
||||
m_pTrail_PT_0->Set_Visible(false);
|
||||
m_pLeviosoTrail->Set_Visible(false);
|
||||
//m_pLeviosoPJ_0->Set_Visible(false);
|
||||
//m_pLeviosoPJ_1->Set_Visible(false);
|
||||
//m_pTrail_PT_0->Set_Visible(false);
|
||||
//m_pLeviosoTrail->Set_Visible(false);
|
||||
}
|
||||
|
||||
void CLevioso::Free()
|
||||
@@ -236,7 +226,6 @@ void CLevioso::Free()
|
||||
|
||||
|
||||
SAFE_RELEASE(m_pLeviosoPJ_0);
|
||||
SAFE_RELEASE(m_pLeviosoPJ_1);
|
||||
SAFE_RELEASE(m_pLeviosoTrail);
|
||||
SAFE_RELEASE(m_pTrail_PT_0);
|
||||
}
|
||||
|
||||
@@ -90,17 +90,9 @@ void CLeviosoSide::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CLeviosoSide::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
|
||||
CWand* pWand = static_cast<CWand*>(m_pOwner);
|
||||
|
||||
@@ -118,9 +110,6 @@ HRESULT CLeviosoSide::Pre_Setting(CGameObject* pObject)
|
||||
|
||||
m_pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -59,9 +59,9 @@ HRESULT CLight_Main::Ready_Components()
|
||||
LIGHT_DESC LightDesc{};
|
||||
|
||||
LightDesc.eType = LIGHT::DIRECTIONAL;
|
||||
/*LightDesc.vDiffuse = _float4(0.8f, 0.8f, 0.8f, 0.f);
|
||||
LightDesc.vAmbient = _float4(0.6f, 0.6f, 0.6f, 0.f);
|
||||
LightDesc.vSpecular = _float4(0.f, 0.f, 0.f, 0.f);*/
|
||||
//LightDesc.vDiffuse = _float4(0.8f, 0.8f, 0.8f, 0.f);
|
||||
//LightDesc.vAmbient = _float4(0.6f, 0.6f, 0.6f, 0.f);
|
||||
//LightDesc.vSpecular = _float4(0.f, 0.f, 0.f, 0.f);
|
||||
LightDesc.vDiffuse = _float4(0.3f, 0.3f, 0.1f, 0.f);
|
||||
LightDesc.vAmbient = _float4(0.3f, 0.3f, 0.5f, 0.f);
|
||||
LightDesc.vSpecular = _float4(0.f, 0.f, 0.f, 0.f);
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
#include "pch.h"
|
||||
#include "Loader.h"
|
||||
#include "GameInstance.h"
|
||||
#include "MainApp.h"
|
||||
#include "Light_Main.h"
|
||||
#include "Camera_Debug.h"
|
||||
#include "Client_Struct.h"
|
||||
#include "GameInstance.h"
|
||||
#include "Light_Main.h"
|
||||
#include "Loader.h"
|
||||
#include "MainApp.h"
|
||||
#include "Model.h"
|
||||
|
||||
#include "Broom.h"
|
||||
#include "Camera_Gaze.h"
|
||||
#include "CamPosition_Arm.h"
|
||||
#include "CamPosition_Shoulder.h"
|
||||
#include "CamPosition_Socket.h"
|
||||
#include "CamPosition_Target.h"
|
||||
#include "CamPosition_Shoulder.h"
|
||||
#include "CamPosition_Arm.h"
|
||||
#include "Wand.h"
|
||||
#include "SkyBox.h"
|
||||
#include "Broom.h"
|
||||
#include "Troll_Weapon.h"
|
||||
#include "Troll_Rock.h"
|
||||
#include "Wand.h"
|
||||
|
||||
#pragma region ACTOR
|
||||
|
||||
@@ -226,249 +226,249 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
#pragma region MAP_MODELS
|
||||
vector<future<vector<FOLDER_LOAD*>*>> jobMapModels;
|
||||
|
||||
{
|
||||
{ /* Terrain */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
//{
|
||||
// { /* Terrain */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
|
||||
{ /* Ollivanders*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
// { /* Ollivanders*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
|
||||
{ /* Gatehouse*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Gatehouse/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
// { /* Gatehouse*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Gatehouse/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
|
||||
{ /* TScrolls */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* 3BroomStick*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
// { /* TScrolls */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* 3BroomStick*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
|
||||
|
||||
{ /* BLDG_QuidditchShop */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* BLDG_HogsheadInn */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* BLDG_Honeydukes */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* BLDG_OwlPost */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* BLDG_TeaShop */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* BLDG_Zonkos */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* BLDG_DB_GR */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* BLDG_Potions */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* BLDG_Salon */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* Hengist_Tree */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* GEN A*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* GEN B*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* GEN C*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* GEN E*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* GEN F*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* GEN G*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* GEN H*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{ /* GEN J*/
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes",
|
||||
".bin", false
|
||||
));
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
{/* Light Objects */
|
||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/LightPosts",
|
||||
".bin", false
|
||||
));
|
||||
}
|
||||
}
|
||||
// { /* BLDG_QuidditchShop */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* BLDG_HogsheadInn */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* BLDG_Honeydukes */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* BLDG_OwlPost */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* BLDG_TeaShop */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* BLDG_Zonkos */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* BLDG_DB_GR */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* BLDG_Potions */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* BLDG_Salon */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* Hengist_Tree */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* GEN A*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* GEN B*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* GEN C*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* GEN E*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* GEN F*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* GEN G*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* GEN H*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// { /* GEN J*/
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
// {/* Light Objects */
|
||||
// jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||
// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/LightPosts",
|
||||
// ".bin", false
|
||||
// ));
|
||||
// }
|
||||
//}
|
||||
|
||||
#pragma endregion
|
||||
|
||||
|
||||
@@ -82,17 +82,9 @@ void CLumos::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CLumos::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
CWand* pWand = static_cast<CWand*>(m_pOwner);
|
||||
|
||||
if (pWand == nullptr)
|
||||
@@ -101,8 +93,6 @@ HRESULT CLumos::Pre_Setting(CGameObject* pObject)
|
||||
m_pLumos_Light->Set_Visible(true);
|
||||
m_pLumos_Light->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
m_isLoop = true;
|
||||
|
||||
return S_OK;
|
||||
|
||||
@@ -75,6 +75,7 @@ void CMapObject_Render::Update(_float fTimeDelta)
|
||||
|
||||
void CMapObject_Render::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
if (m_pGameInstance->isIn_WorldFrustum(XMLoadFloat4(&m_vExtentPosition), m_fRadius)) {
|
||||
|
||||
m_fCamDepth = XMVectorGetX(XMVector3LengthSq(XMLoadFloat4(m_pGameInstance->Get_CamPosition()) - XMLoadFloat4(&m_vExtentPosition)));
|
||||
@@ -126,6 +127,39 @@ HRESULT CMapObject_Render::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CMapObject_Render::Render_Shadow()
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", &m_CombinedWorldMatrix))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
for (_uint i = 0; i < m_iNumMeshe; i++)
|
||||
{
|
||||
if (FAILED(m_pModelComs[0]->Bind_Material(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::SHADOW)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pModelComs[m_iLodIndex]->Render(i))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
_wstring CMapObject_Render::Get_PrototypeTag(_uint iLodIndex)
|
||||
{
|
||||
if (m_iMaxLodLevel < iLodIndex)
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "InfoInstance.h"
|
||||
#include "GameInstance.h"
|
||||
#include "EffectParts.h"
|
||||
#include "PhysXEffectHitBox.h"
|
||||
#include "TrailObject.h"
|
||||
|
||||
|
||||
@@ -39,7 +38,7 @@ HRESULT CNomalJap::Initialize(void* pArg)
|
||||
|
||||
m_wstrEffectName = L"Nomal_Jap";
|
||||
|
||||
if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Jap"))){
|
||||
if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Jap"))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
@@ -70,7 +69,7 @@ void CNomalJap::Update(_float fTimeDelta)
|
||||
__super::Update(fTimeDelta);
|
||||
|
||||
Update_Event(fTimeDelta);
|
||||
if (m_fAccTime > m_fDuration) {
|
||||
if (m_fAccMoveTime > m_fDuration) {
|
||||
SAFE_RELEASE(m_pTargetUnit);
|
||||
}
|
||||
|
||||
@@ -95,7 +94,7 @@ void CNomalJap::Update(_float fTimeDelta)
|
||||
//m_pGameInstance->SphereCast(0.125f, vfStartPos, vDir, XMVectorGetX(XMVector3Length(vEndPos - vStartPos)), )
|
||||
|
||||
|
||||
if (false == m_bTrailPulseEnded && m_fAccTime > m_fDuration * 0.3f) {
|
||||
if (false == m_bTrailPulseEnded && m_fAccMoveTime > m_fDuration * 0.3f) {
|
||||
m_bTrailPulseEnded = true;
|
||||
|
||||
if (nullptr != m_pTargetUnit && false == m_pTargetUnit->isDead()) {
|
||||
@@ -105,7 +104,7 @@ void CNomalJap::Update(_float fTimeDelta)
|
||||
XMStoreFloat3(&m_vDirection, XMVector4Normalize(vTargetPos - vCurrentPos));
|
||||
|
||||
_float fDistance = XMVectorGetX(XMVector3Length(vTargetPos - vCurrentPos));
|
||||
m_fLinearSpeed = fDistance / (m_fDuration - m_fAccTime) * 10 / 3;
|
||||
m_fLinearSpeed = fDistance / (m_fDuration - m_fAccMoveTime) * 10 / 3;
|
||||
SAFE_RELEASE(m_pTargetUnit);
|
||||
}
|
||||
|
||||
@@ -116,17 +115,17 @@ void CNomalJap::Update(_float fTimeDelta)
|
||||
return;
|
||||
}
|
||||
_vector vRotateUp = XMLoadFloat3(&m_vRotateUp);
|
||||
m_fAccTime += fTimeDelta;
|
||||
m_fAccMoveTime += fTimeDelta;
|
||||
|
||||
// 각속도
|
||||
m_pProjectile_Side->Get_Component<CTransform>()->Translation(vRotateUp * 0.6f * sinf(m_fAngularSpeed * m_fAccTime));
|
||||
m_pProjectile->Get_Component<CTransform>()->Translation(vRotateUp * 0.6f * sinf(m_fAngularSpeed * m_fAccTime));
|
||||
m_pProjectile_Side->Get_Component<CTransform>()->Translation(vRotateUp * 0.6f * sinf(m_fAngularSpeed * m_fAccMoveTime));
|
||||
m_pProjectile->Get_Component<CTransform>()->Translation(vRotateUp * 0.6f * sinf(m_fAngularSpeed * m_fAccMoveTime));
|
||||
}
|
||||
|
||||
|
||||
void CNomalJap::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false){
|
||||
if (m_bVisible == false) {
|
||||
return;
|
||||
}
|
||||
if (nullptr != m_pTargetUnit && false == m_pTargetUnit->isDead()) {
|
||||
@@ -182,24 +181,11 @@ void CNomalJap::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CNomalJap::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
/* 부모 할당 */
|
||||
m_pOwner = pObject;
|
||||
|
||||
/* 피직스 생성*/
|
||||
if (FAILED(Ready_Child())){
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
/* 초기 셋팅 초기화 */
|
||||
Reset_EffectParts();
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
m_bTrailPulseEnded = false;
|
||||
|
||||
m_fAccMoveTime = 0.f;
|
||||
|
||||
/* 초기 객체 위치 초기화 */
|
||||
_vector vStartPos = m_pOwner->Get_WorldPostion();
|
||||
@@ -225,7 +211,7 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject)
|
||||
//Get_PartObject<CEffectParts>("Circle_Particle_Red")->Get_Component<CTransform>()->Set_WorldMatrix(m_pOwner->Get_Component<CTransform>()->Get_XMWorldMatrix());
|
||||
|
||||
_vector vQuaternion = XMQuaternionRotationAxis(vDirection, m_pGameInstance->Random_Float(0.f, XM_PIDIV2));
|
||||
|
||||
|
||||
{ /* 대상 위치 지정 */
|
||||
SAFE_RELEASE(m_pTargetUnit);
|
||||
m_pTargetUnit = m_pInfoInstance->Get_LockOnUnit();
|
||||
@@ -249,8 +235,6 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject)
|
||||
|
||||
XMStoreFloat3(&m_vRotateUp, XMVector3Normalize(XMVector3Rotate(vUp, vQuaternion)));
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -298,7 +282,11 @@ CGameObject* CNomalJap::Clone(void* pArg, CGameObject* pOwner)
|
||||
|
||||
void CNomalJap::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
//CTransform* pOtherTransform = p
|
||||
if (m_isCollisionEnter == true)
|
||||
return;
|
||||
|
||||
m_isCollisionEnter = true;
|
||||
|
||||
ON_COLLISION_INFO* CollisionDesc = static_cast<ON_COLLISION_INFO*>(pDesc);
|
||||
|
||||
for (auto& pPair : m_PartObjects)
|
||||
|
||||
@@ -93,17 +93,9 @@ void CNomalJapSide::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
|
||||
CWand* pWand = static_cast<CWand*>(m_pOwner);
|
||||
|
||||
@@ -122,9 +114,6 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject)
|
||||
|
||||
m_pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ HRESULT CPlayer::Initialize(void* pArg)
|
||||
void CPlayer::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
ReLockOnTarget();
|
||||
SetGravity();
|
||||
//SetGravity();
|
||||
m_pTransformCom->RewindMomentum();
|
||||
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
|
||||
@@ -108,17 +108,9 @@ void CProtego::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CProtego::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
|
||||
m_pSphere->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
m_pBottom->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
@@ -138,9 +130,6 @@ HRESULT CProtego::Pre_Setting(CGameObject* pObject)
|
||||
m_pSphere->Set_Dissolve(false);
|
||||
m_pBottom->Set_Dissolve(false);
|
||||
m_pCircle->Set_Dissolve(false);
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -94,18 +94,9 @@ void CRevelio::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CRevelio::Pre_Setting(CGameObject* pObject)
|
||||
{
|
||||
if (pObject == nullptr)
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pOwner = pObject;
|
||||
|
||||
|
||||
Reset_EffectParts();
|
||||
|
||||
m_fAccTime = 0.f;
|
||||
__super::m_fAccTime = 0.f;
|
||||
m_fPreAccTime = 0.f;
|
||||
|
||||
|
||||
CPlayer* pPlayer = static_cast<CPlayer*>(m_pOwner);
|
||||
|
||||
@@ -128,7 +119,6 @@ HRESULT CRevelio::Pre_Setting(CGameObject* pObject)
|
||||
Get_PartObject<CEffectParts>("Revelio_Ring")->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
Get_PartObject<CEffectParts>("Revelio_Ring")->Set_Visible(true);
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -24,24 +24,28 @@ HRESULT CTerrain::Initialize(void* pArg)
|
||||
{
|
||||
TERRAIN_DESC* pDesc = static_cast<TERRAIN_DESC*>(pArg);
|
||||
|
||||
if (FAILED(__super::Initialize(pArg)))
|
||||
if (FAILED(__super::Initialize(pArg))){
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(Ready_Components(pArg)))
|
||||
if (FAILED(Ready_Components(pArg))){
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
m_fUsingSurfaceParams = 15.f / 27.f;
|
||||
//m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-194, 18.5f, -153.f, 1.f));
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&pDesc->vPosition), 1.f));
|
||||
|
||||
|
||||
CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{};
|
||||
Desc.pMeshName = TEXT("Hogsmeade_HeightMap");
|
||||
Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN);
|
||||
/* Com_RigidBody */
|
||||
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"),
|
||||
reinterpret_cast<CComponent**>(&m_pRigidBody), &Desc))) {
|
||||
return E_FAIL;
|
||||
{
|
||||
CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{};
|
||||
Desc.pMeshName = TEXT("Hogsmeade_HeightMap");
|
||||
Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN);
|
||||
/* Com_RigidBody */
|
||||
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"),
|
||||
reinterpret_cast<CComponent**>(&m_pRigidBody), &Desc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
@@ -60,6 +64,7 @@ void CTerrain::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
//if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
//}
|
||||
}
|
||||
|
||||
@@ -90,6 +95,33 @@ HRESULT CTerrain::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTerrain::Render_Shadow()
|
||||
{
|
||||
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NORTEX::SHADOW)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pVIBufferCom->Bind_Resources())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pVIBufferCom->Render())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTerrain::Ready_Components(void* pArg)
|
||||
{
|
||||
__super::Ready_Components(nullptr);
|
||||
@@ -210,7 +242,7 @@ void CTerrain::Describe_Entity()
|
||||
{
|
||||
GUI::Begin("Renderer");
|
||||
GUI::PushItemWidth(80);
|
||||
if (GUI::CollapsingHeader("PostProcessing_Bloom"))
|
||||
if (GUI::CollapsingHeader("Terr"))
|
||||
{
|
||||
static _int iTuningValue = 16;
|
||||
GUI::DragInt("DSN1", (_int*)&iTuningValue, 1, 1024);
|
||||
@@ -220,7 +252,6 @@ void CTerrain::Describe_Entity()
|
||||
m_vDRN.y = 1.f / (_float)iTuningValue;
|
||||
m_vDRN.z = 1.f / (_float)iTuningValue;
|
||||
GUI::PopItemWidth();
|
||||
GUI::EndChild();
|
||||
}
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ HRESULT CTrailObject::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Components(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -42,14 +43,19 @@ void CTrailObject::Update(_float fTimeDelta)
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
if (m_TrailInfo.vDistortionTime.y == 0)
|
||||
return;
|
||||
|
||||
m_TrailInfo.vDistortionTime.x += fTimeDelta;
|
||||
|
||||
if (m_TrailInfo.vDistortionTime.x > m_TrailInfo.vDistortionTime.y)
|
||||
|
||||
|
||||
/* 디졸브 타임*/
|
||||
if (m_TrailInfo.vDistortionTime.y != 0)
|
||||
{
|
||||
m_TrailInfo.vDistortionTime.x = 0.f;
|
||||
m_TrailInfo.vDistortionTime.x += fTimeDelta;
|
||||
|
||||
if (m_TrailInfo.vDistortionTime.x > m_TrailInfo.vDistortionTime.y)
|
||||
{
|
||||
m_TrailInfo.vDistortionTime.x = 0.f;
|
||||
}
|
||||
}
|
||||
|
||||
/* 블룸 타임*/
|
||||
@@ -63,19 +69,21 @@ void CTrailObject::Update(_float fTimeDelta)
|
||||
m_TrailInfo.vBloomTime.x = 0.f;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void CTrailObject::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
|
||||
if (m_TrailInfo.isBloom == true)
|
||||
{
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::BLOOM, this);
|
||||
}
|
||||
|
||||
|
||||
if (m_TrailInfo.isBlur == true)
|
||||
{
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::BLUR, this);
|
||||
@@ -85,40 +93,11 @@ void CTrailObject::Late_Update(_float fTimeDelta)
|
||||
return;
|
||||
|
||||
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::EFFECT, this);
|
||||
m_pGameInstance->Add_RenderGroup(m_TrailInfo.eRenderOrder, this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTrailObject::Ready_Components(void* pArg)
|
||||
{
|
||||
|
||||
if (FAILED(__super::Ready_Components(nullptr))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_POSTEX, (CComponent**)&m_pShaderCom, nullptr)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
CTrail::TRAIL_DESC pTrailDesc;
|
||||
|
||||
pTrailDesc.vHigh = _float3(0.f, 1.f, 0.f);
|
||||
pTrailDesc.vLow = _float3(0.f, -1.f, 0.f);
|
||||
|
||||
if (FAILED(Add_Component<CTrail>(g_iStaticLevel, &m_pTrailCom, &pTrailDesc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CTrailObject::Trail_Update(_fmatrix WorldMat , _float fTimeDelta)
|
||||
{
|
||||
m_pTrailCom->Trail_Update(fTimeDelta, WorldMat);
|
||||
}
|
||||
|
||||
HRESULT CTrailObject::Load_Trail(const _char* pPath, LEVEL eLevel)
|
||||
{
|
||||
SAFE_RELEASE(m_pDiffuse_TextureCom);
|
||||
@@ -243,15 +222,44 @@ HRESULT CTrailObject::Load_Trail(const _char* pPath, LEVEL eLevel)
|
||||
CloseHandle(hFile);
|
||||
|
||||
return S_OK;
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTrailObject::Ready_Components(void* pArg)
|
||||
{
|
||||
|
||||
if (FAILED(__super::Ready_Components(nullptr))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_POSTEX, (CComponent**)&m_pShaderCom, nullptr)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
CTrail::TRAIL_DESC pTrailDesc;
|
||||
|
||||
pTrailDesc.vHigh = _float3(0.f, 1.f, 0.f);
|
||||
pTrailDesc.vLow = _float3(0.f, -1.f, 0.f);
|
||||
|
||||
if (FAILED(Add_Component<CTrail>(g_iStaticLevel, &m_pTrailCom, &pTrailDesc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CTrailObject::Trail_Update(_fmatrix WorldMat, _float fTimeDelta)
|
||||
{
|
||||
m_pTrailCom->Trail_Update(fTimeDelta, WorldMat);
|
||||
}
|
||||
|
||||
|
||||
HRESULT CTrailObject::Render()
|
||||
{
|
||||
if (FAILED(Bind_ShaderResources()))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_POSTEX::TRAIL))))
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(m_TrailInfo.eShaderPass))))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(m_pGameInstance->Bind_DepthStencil(m_pShaderCom, "g_DepthStencilTexture")))
|
||||
@@ -260,12 +268,12 @@ HRESULT CTrailObject::Render()
|
||||
if (FAILED(m_pTrailCom->Render()))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTrailObject::Render_Blur()
|
||||
{
|
||||
|
||||
if (FAILED(Bind_ShaderResources()))
|
||||
return E_FAIL;
|
||||
|
||||
@@ -289,6 +297,44 @@ HRESULT CTrailObject::Render_Blur()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTrailObject::Render_Bloom()
|
||||
{
|
||||
if (FAILED(Bind_ShaderResources()))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fBloomStrength", &m_TrailInfo.fBloomStrength, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_iBloomType", &m_TrailInfo.eBloomType, sizeof(_int)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomDissolve", &m_TrailInfo.isBloomDissolve, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomReverseDissolve", &m_TrailInfo.isBloomReverseDissolve, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_vBloomTime", &m_TrailInfo.vBloomTime, sizeof(_float2)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_POSTEX::TRAIL_BLOOM))))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
|
||||
if (FAILED(m_pTrailCom->Render()))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
CTrailObject* CTrailObject::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -328,52 +374,6 @@ void CTrailObject::Free()
|
||||
SAFE_RELEASE(m_pShaderCom);
|
||||
SAFE_RELEASE(m_pTrailCom);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CTrailObject::Describe_Entity()
|
||||
{
|
||||
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
HRESULT CTrailObject::Render_Bloom()
|
||||
{
|
||||
if (FAILED(Bind_ShaderResources()))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fBloomStrength", &m_TrailInfo.fBloomStrength, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_iBloomType", &m_TrailInfo.eBloomType, sizeof(_int)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomDissolve", &m_TrailInfo.isBloomDissolve, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isBloomReverseDissolve", &m_TrailInfo.isBloomReverseDissolve, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_vBloomTime", &m_TrailInfo.vBloomTime, sizeof(_float2)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_POSTEX::TRAIL_BLOOM))))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
|
||||
if (FAILED(m_pTrailCom->Render()))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
HRESULT CTrailObject::Bind_ShaderResources()
|
||||
{
|
||||
@@ -516,3 +516,10 @@ HRESULT CTrailObject::Bind_ShaderResources()
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
void CTrailObject::Describe_Entity()
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -7,11 +7,10 @@ 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, END };
|
||||
enum class SHADER_PASS_CUBE { DEFAULT, SHADOW, BLUR, 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, END };
|
||||
enum class SHADER_PASS_NORTEX { DEFAULT, TERRAIN, ENV_TERRAIN_ANISO, 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_BLUR, TRAIL_BLOOM, 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, 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, END };
|
||||
enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, END };
|
||||
|
||||
@@ -52,7 +52,6 @@ class CEffectObject abstract : public CPartObject
|
||||
_bool isBlur = {};
|
||||
_bool isBillboard = {};
|
||||
|
||||
|
||||
_float4 vEmissive = { 0.f ,0.f ,0.f ,0.f };
|
||||
_float fDiffuseAlpha = { 1.f };
|
||||
_float fBlurIntensity = {};
|
||||
@@ -86,23 +85,35 @@ class CEffectObject abstract : public CPartObject
|
||||
|
||||
SHADER_PASS_INSTANCE_MODEL eShaderPass = { SHADER_PASS_INSTANCE_MODEL::NON_NOMALMAP };
|
||||
|
||||
_bool isBlurNoEmissive = {};
|
||||
_bool isBlurNoEmissive = {};
|
||||
_bool isTexBlur = {};
|
||||
_bool isBlurDissolve = {};
|
||||
_bool isBlurReverseDissolve = {};
|
||||
|
||||
_bool isTexBlur = {};
|
||||
_bool isBlurDissolve = {};
|
||||
_bool isBlurReverseDissolve = {};
|
||||
_float fBluringStrength = { 0.01f };
|
||||
|
||||
_float fBluringStrength = { 0.01f };
|
||||
_bool isBloom = {};
|
||||
_bool isBloomDissolve = {};
|
||||
_bool isBloomReverseDissolve = {};
|
||||
_float fBloomStrength = {};
|
||||
BLOOM_TYPE eBloomType = {};
|
||||
|
||||
|
||||
_bool isBloom = {};
|
||||
_float fDissolveDelay = {};
|
||||
_float fReverseDissolveDelay = {};
|
||||
_float2 vDissolveUVGainAmount = {};
|
||||
_bool isDissolveMove = {};
|
||||
|
||||
_bool isBloomDissolve = {};
|
||||
_bool isBloomReverseDissolve = {};
|
||||
_float3 vDissolveValue = {};
|
||||
|
||||
_float fBloomStrength = {};
|
||||
|
||||
BLOOM_TYPE eBloomType = {};
|
||||
_float3 vPadding1 = {};
|
||||
|
||||
_float fPadding0 = {};
|
||||
_float fPadding1 = {};
|
||||
|
||||
_bool isPadding0 = {};
|
||||
_bool isPadding1 = {};
|
||||
|
||||
}EFFECT_INFO;
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ class CEffect_Container abstract : public CContainerObject
|
||||
_float m_fDuration = {};
|
||||
_float m_fDelay = {};
|
||||
_bool m_isDelayed = { false };
|
||||
_bool m_isCollisionEnter = { false };
|
||||
|
||||
map<_float, function<void()>> m_Events = {};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include "Client_Define.h"
|
||||
#include "Level.h"
|
||||
@@ -15,10 +15,12 @@ class CLevel_Loading final : public CLevel
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual _uint Get_NextLevelID() override { return ENUM_CLASS(m_eNextLevelID); };
|
||||
virtual void Capture_TerrainPreShadow(SHADOW_LIGHT_DESC& ShadowDesc);
|
||||
|
||||
private:
|
||||
LEVEL m_eNextLevelID = { LEVEL::END };
|
||||
class CLoader* m_pLoader = { nullptr };
|
||||
SHADOW_LIGHT_DESC m_ShadowDesc = {};
|
||||
LEVEL m_eNextLevelID = { LEVEL::END };
|
||||
class CLoader* m_pLoader = { nullptr };
|
||||
private:
|
||||
virtual HRESULT Initialize(LEVEL eNextLevelID);
|
||||
HRESULT Initialize() override;
|
||||
@@ -30,4 +32,4 @@ class CLevel_Loading final : public CLevel
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -23,6 +23,7 @@ class CMapObject_Render final : public CMapPartObject // Render PartObject
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
|
||||
public:
|
||||
virtual _wstring Get_PrototypeTag(_uint iLodIndex = 0);
|
||||
|
||||
@@ -39,7 +39,7 @@ class CNomalJap final : public CEffect_Container
|
||||
class CPartObject* m_pProjectile_Side = {};
|
||||
|
||||
_float3 m_vRotateUp = {};
|
||||
_float m_fAccTime = {};
|
||||
_float m_fAccMoveTime = {};
|
||||
_float m_fLerpAmount = {};
|
||||
_float m_fTurnValue = {};
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ class CTerrain final : public CGameObject
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
|
||||
private:
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
|
||||
@@ -57,17 +57,33 @@ class CTrailObject final : public CPartObject
|
||||
_int iBlurWeight = {};
|
||||
|
||||
/* 블룸 */
|
||||
_bool isBloom = {};
|
||||
_bool isBloom = {};
|
||||
|
||||
_bool isBloomDissolve = {};
|
||||
_bool isBloomReverseDissolve = {};
|
||||
_bool isBloomDissolve = {};
|
||||
_bool isBloomReverseDissolve = {};
|
||||
|
||||
_float fBloomStrength = {};
|
||||
|
||||
BLOOM_TYPE eBloomType = {};
|
||||
_float2 vBloomTime = {};
|
||||
BLOOM_TYPE eBloomType = {};
|
||||
_float2 vBloomTime = {};
|
||||
|
||||
_int iNumVertex = {};
|
||||
_int iNumVertex = {};
|
||||
|
||||
|
||||
RENDER eRenderOrder = { RENDER::EFFECT };
|
||||
SHADER_PASS_POSTEX eShaderPass = { SHADER_PASS_POSTEX::TRAIL };
|
||||
|
||||
_float3 vPadding0 = {};
|
||||
_float3 vPadding1 = {};
|
||||
_float3 vPadding2 = {};
|
||||
|
||||
_float fPadding0 = {};
|
||||
_float fPadding1 = {};
|
||||
_float fPadding2 = {};
|
||||
|
||||
_bool isPadding0 = {};
|
||||
_bool isPadding1 = {};
|
||||
_bool isPadding2 = {};
|
||||
|
||||
}TRAIL_INFO;
|
||||
private:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3608,4 +3608,82 @@
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</Collision>
|
||||
</Container>
|
||||
<Container Name="HM_Doors">
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_Front_Door</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_Front_Door_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_Front_Door_Lod2</PrototypeTag>
|
||||
<Position x="41.663696" y="7.0730577" z="100.48561"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="15.000003" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_Door_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_Door_A_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_Door_A_Lod2</PrototypeTag>
|
||||
<Position x="48.913731" y="3.8535721" z="64.313408"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="99.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A</PrototypeTag>
|
||||
<Position x="133.73683" y="14.746075" z="112.0887"/>
|
||||
<Scale x="1.1999999" y="1.4000001" z="0.99999988"/>
|
||||
<Rotation x="0" y="99.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Front_Door</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Front_Door_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Front_Door_Lod2</PrototypeTag>
|
||||
<Position x="131.20894" y="16.3316" z="122.24038"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="80" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod2</PrototypeTag>
|
||||
<Position x="128.47737" y="16.183664" z="138.78999"/>
|
||||
<Scale x="1.1" y="1.1" z="1"/>
|
||||
<Rotation x="0" y="79.999992" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="1" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod2</PrototypeTag>
|
||||
<Position x="131.47073" y="16.271976" z="133.02818"/>
|
||||
<Scale x="1.1999999" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="1" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A</PrototypeTag>
|
||||
<Position x="106.87299" y="15.227801" z="115.30975"/>
|
||||
<Scale x="1.0999995" y="1" z="0.99999952"/>
|
||||
<Rotation x="-0" y="-179.99998" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="1" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A_Frame</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A_Frame_Lod1</PrototypeTag>
|
||||
<Position x="89.315582" y="15.272012" z="130.85849"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="-0" y="-99.999985" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="2" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A</PrototypeTag>
|
||||
<Position x="89.399864" y="15.278326" z="130.8558"/>
|
||||
<Scale x="0.99999994" y="1" z="0.99999994"/>
|
||||
<Rotation x="-0" y="-109.99998" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Door</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Door_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Door_Lod2</PrototypeTag>
|
||||
<Position x="21.315018" y="0.84228206" z="31.657463"/>
|
||||
<Scale x="0.99999994" y="1" z="0.99999994"/>
|
||||
<Rotation x="0" y="109.99998" z="0"/>
|
||||
</PartObject>
|
||||
</Container>
|
||||
</Land>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -30,7 +30,7 @@
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_BogMyrtle_A>
|
||||
<SM_BogCotton_A_Master mesh="1">
|
||||
<SM_BogCotton_A_Master mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_BogCotton_D</Material>
|
||||
<Material>T_BogCotton_N</Material>
|
||||
@@ -38,4 +38,102 @@
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_BogCotton_A_Master>
|
||||
<SM_HM_OwlPost_Window_A mesh="3">
|
||||
<Mesh>
|
||||
<Material>T_Windows_A_D</Material>
|
||||
<Material>T_Windows_A_N</Material>
|
||||
<Material>T_Windows_A_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
<Mesh>
|
||||
<Material>T_HM_WoodTrimTile_Gray_D</Material>
|
||||
<Material>T_HM_WoodTrimTile_Edgy_N</Material>
|
||||
<Material>T_HM_WoodTrimTile_Edgy_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
<Mesh>
|
||||
<Material>T_HM_Potions_Windows_D</Material>
|
||||
<Material>T_HM_Potions_Windows_N</Material>
|
||||
<Material>T_HM_Potions_Windows_MRO</Material>
|
||||
<Surface>MRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_OwlPost_Window_A>
|
||||
<SM_HM_WindowsStyleA_L_Rectangle_Double_A mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_Windows_A_D</Material>
|
||||
<Material>T_Windows_A_N</Material>
|
||||
<Material>T_Windows_A_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_WindowsStyleA_L_Rectangle_Double_A>
|
||||
<SM_HM_WindowsStyleC_Retangle_Double_A mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_HM_WindowStyleC_D</Material>
|
||||
<Material>T_HM_WindowStyleC_N</Material>
|
||||
<Material>T_HM_WindowStyleC_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_WindowsStyleC_Retangle_Double_A>
|
||||
<SM_HM_Quid_Window_A mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_BLDG_QUID_Window_D</Material>
|
||||
<Material>T_BLDG_QUID_Window_N</Material>
|
||||
<Material>T_BLDG_QUID_Window_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_Quid_Window_A>
|
||||
<SM_HM_Ollivanders_Box_Window mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_CampA_WoodBeam_Trim_A_D</Material>
|
||||
<Material>T_CampA_WoodBeam_Trim_A_N</Material>
|
||||
<Material>T_CampA_WoodBeam_Trim_A_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_Ollivanders_Box_Window>
|
||||
<SM_HM_WindowsStyleA_L_Square_Double_C mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_Windows_A_D</Material>
|
||||
<Material>T_Windows_A_D</Material>
|
||||
<Material>T_Windows_A_D</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_WindowsStyleA_L_Square_Double_C>
|
||||
<SM_HM_WindowsStyleC_L_Double_Single_A mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_HM_WindowStyleC_D</Material>
|
||||
<Material>T_HM_WindowStyleC_N</Material>
|
||||
<Material>T_HM_WindowStyleC_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_WindowsStyleC_L_Double_Single_A>
|
||||
<SM_HM_WindowsStyleC_Round_Double_A mesh="2">
|
||||
<Mesh>
|
||||
<Material>T_HM_WindowStyleC_D</Material>
|
||||
<Material>T_HM_WindowStyleC_N</Material>
|
||||
<Material>T_HM_WindowStyleC_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
<Mesh>
|
||||
<Material>T_HM_WoodTrimTile_Edgy_D</Material>
|
||||
<Material>T_HM_WoodTrimTile_Edgy_N</Material>
|
||||
<Material>T_HM_WoodTrimTile_Edgy_SRO</Material>
|
||||
<Surface>SRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_WindowsStyleC_Round_Double_A>
|
||||
<SM_HM_Door1a mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_HM_Door1a_D</Material>
|
||||
<Material>T_HM_Door1a_N</Material>
|
||||
<Material>T_HM_Door1a_MRO</Material>
|
||||
<Surface>MRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_Door1a>
|
||||
<SM_HM_Door2b mesh="1">
|
||||
<Mesh>
|
||||
<Material>T_HM_Door2b_D</Material>
|
||||
<Material>T_HM_Door2b_N</Material>
|
||||
<Material>T_HM_Door2b_MRO</Material>
|
||||
<Surface>MRO</Surface>
|
||||
</Mesh>
|
||||
</SM_HM_Door2b>
|
||||
</Instance>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4882,4 +4882,85 @@
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</Collision>
|
||||
</Container>
|
||||
<Container Name="HM_Doors">
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<MapContainerType type="1"/>
|
||||
<BoundingBox_Min x="-4.7134042" y="-0.049025059" z="-1.398217"/>
|
||||
<BoundingBox_Max x="6.3309155" y="13.058901" z="9.4858494"/>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_Front_Door</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_Front_Door_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_Front_Door_Lod2</PrototypeTag>
|
||||
<Position x="41.663696" y="7.0730577" z="100.48561"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="15.000003" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_Door_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_Door_A_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_Door_A_Lod2</PrototypeTag>
|
||||
<Position x="48.913731" y="3.8535721" z="64.313408"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="99.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A</PrototypeTag>
|
||||
<Position x="133.73683" y="14.746075" z="112.0887"/>
|
||||
<Scale x="1.1999999" y="1.4000001" z="0.99999988"/>
|
||||
<Rotation x="0" y="99.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Front_Door</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Front_Door_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Front_Door_Lod2</PrototypeTag>
|
||||
<Position x="131.20894" y="16.3316" z="122.24038"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="80" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod2</PrototypeTag>
|
||||
<Position x="128.47737" y="16.183664" z="138.78999"/>
|
||||
<Scale x="1.1" y="1.1" z="1"/>
|
||||
<Rotation x="0" y="79.999992" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="1" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_DoorB_Lod2</PrototypeTag>
|
||||
<Position x="131.47073" y="16.271976" z="133.02818"/>
|
||||
<Scale x="1.1999999" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="1" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A</PrototypeTag>
|
||||
<Position x="106.87299" y="15.227801" z="115.30975"/>
|
||||
<Scale x="1.0999995" y="1" z="0.99999952"/>
|
||||
<Rotation x="-0" y="-179.99998" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="1" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A_Frame</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A_Frame_Lod1</PrototypeTag>
|
||||
<Position x="89.315582" y="15.272012" z="130.85849"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="-0" y="-99.999985" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="2" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_Door_A</PrototypeTag>
|
||||
<Position x="89.399864" y="15.278326" z="130.8558"/>
|
||||
<Scale x="0.99999994" y="1" z="0.99999994"/>
|
||||
<Rotation x="-0" y="-109.99998" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0" Render_Type="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Door</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Door_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Door_Lod2</PrototypeTag>
|
||||
<Position x="21.315018" y="0.84228206" z="31.657463"/>
|
||||
<Scale x="0.99999994" y="1" z="0.99999994"/>
|
||||
<Rotation x="0" y="109.99998" z="0"/>
|
||||
</PartObject>
|
||||
</Container>
|
||||
</Land>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user