Merge branch 'Develope' into Bloom
This commit is contained in:
@@ -164,6 +164,7 @@ call Update_Resources.bat
|
||||
<ClInclude Include="..\Public\Current_Spell_Slot.h" />
|
||||
<ClInclude Include="..\Public\Eessential_Spell.h" />
|
||||
<ClInclude Include="..\Public\Eessential_Spell_Slot.h" />
|
||||
<ClInclude Include="..\Public\Goblin_Dagger.h" />
|
||||
<ClInclude Include="..\Public\HpBarBG.h" />
|
||||
<ClInclude Include="..\Public\Levioso.h" />
|
||||
<ClInclude Include="..\Public\Magic_Icon.h" />
|
||||
@@ -284,6 +285,7 @@ call Update_Resources.bat
|
||||
<ClCompile Include="..\Private\Current_Spell_Slot.cpp" />
|
||||
<ClCompile Include="..\Private\Eessential_Spell.cpp" />
|
||||
<ClCompile Include="..\Private\Eessential_Spell_Slot.cpp" />
|
||||
<ClCompile Include="..\Private\Goblin_Dagger.cpp" />
|
||||
<ClCompile Include="..\Private\HpBarBG.cpp" />
|
||||
<ClCompile Include="..\Private\Levioso.cpp" />
|
||||
<ClCompile Include="..\Private\Magic_Icon.cpp" />
|
||||
|
||||
@@ -355,6 +355,7 @@
|
||||
<ClInclude Include="..\Public\Troll_Rock.h">
|
||||
<Filter>02.GameObjects\Item\Troll_Rock</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Goblin_Dagger.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="Client.ico">
|
||||
@@ -761,6 +762,9 @@
|
||||
<Filter Include="02.GameObjects\Item\Troll_Rock">
|
||||
<UniqueIdentifier>{837ff377-2bcd-4a54-baf2-18b1be9d90a0}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Item\Goblin_Dagger">
|
||||
<UniqueIdentifier>{7d6fe51e-3d6d-4fed-9e5d-27e257672e01}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Client.cpp">
|
||||
@@ -1111,6 +1115,7 @@
|
||||
<ClCompile Include="..\Private\Troll_Rock.cpp">
|
||||
<Filter>02.GameObjects\Item\Troll_Rock</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\Goblin_Dagger.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="Client.rc">
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -157,7 +157,6 @@ HRESULT CGoblin::Render()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,197 @@
|
||||
#include "pch.h"
|
||||
#include "Goblin_Dagger.h"
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "Goblin.h"
|
||||
|
||||
CGoblin_Dagger::CGoblin_Dagger(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
: CPartObject(pDevice, pContext)
|
||||
{
|
||||
}
|
||||
|
||||
CGoblin_Dagger::CGoblin_Dagger(const CGoblin_Dagger& Prototype)
|
||||
: CPartObject(Prototype)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CGoblin_Dagger::Initialize_Prototype()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CGoblin_Dagger::Initialize(void* pArg)
|
||||
{
|
||||
GOBLINDAGGER_DESC* pDesc = static_cast<GOBLINDAGGER_DESC*> (pArg);
|
||||
m_pSocketMatrices = pDesc->pSocketMatrices;
|
||||
|
||||
if (FAILED(__super::Initialize(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
if (FAILED(Ready_Components())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CGoblin_Dagger::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
m_pModelCom->Combined_BoneMatrix();
|
||||
if (m_bAttach)
|
||||
{
|
||||
_matrix socketMatrix = {};
|
||||
|
||||
socketMatrix = XMLoadFloat4x4(m_pSocketMatrices);
|
||||
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]);
|
||||
}
|
||||
|
||||
m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
|
||||
_float4 vTargetPos = static_cast<CGoblin*>(m_pOwner)->Get_TargetPos();
|
||||
m_pTransformCom->LookAt(XMLoadFloat4(&vTargetPos));
|
||||
}
|
||||
else
|
||||
{
|
||||
_matrix world = XMLoadFloat4x4(m_pTransformCom->Get_WorldMatrixPtr());
|
||||
m_pTransformCom->Set_WorldMatrix(world);
|
||||
m_pTransformCom->Go_Straight(fTimeDelta);
|
||||
}
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
Describe_Entity();
|
||||
|
||||
#endif // _DEBUG
|
||||
}
|
||||
|
||||
void CGoblin_Dagger::Update(_float fTimeDelta)
|
||||
{
|
||||
}
|
||||
|
||||
void CGoblin_Dagger::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
}
|
||||
|
||||
HRESULT CGoblin_Dagger::Render()
|
||||
{
|
||||
if (!m_pModelCom)
|
||||
return S_OK;
|
||||
|
||||
if (!m_bVisible)
|
||||
return S_OK;
|
||||
|
||||
if (FAILED(Bind_ShaderResources())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
|
||||
|
||||
for (_uint i = 0; i < iNumMeshes; i++)
|
||||
{
|
||||
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::DEFAULT)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pModelCom->Render(i))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CGoblin_Dagger::Ready_Components()
|
||||
{
|
||||
|
||||
CTransform::TRANSFORM_DESC Desc = {};
|
||||
|
||||
Desc.fSpeedPerSec = 18.f;
|
||||
Desc.fRotationPerSec = XMConvertToRadians(180.0f);
|
||||
Desc.fRadius = 10.f;
|
||||
|
||||
__super::Ready_Components(&Desc);
|
||||
|
||||
|
||||
/* Com_Model */
|
||||
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Goblin_Dagger_Model"),
|
||||
reinterpret_cast<CComponent**>(&m_pModelCom))))
|
||||
return E_FAIL;
|
||||
|
||||
/* Com_Shader */
|
||||
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH,
|
||||
reinterpret_cast<CComponent**>(&m_pShaderCom))))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CGoblin_Dagger::Bind_ShaderResources()
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
CGoblin_Dagger* CGoblin_Dagger::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CGoblin_Dagger* pInstance = new CGoblin_Dagger(pDevice, pContext);
|
||||
|
||||
if (FAILED(pInstance->Initialize_Prototype()))
|
||||
{
|
||||
MSG_BOX("Failed to Created : CGoblin_Dagger");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
CGameObject* CGoblin_Dagger::Clone(void* pArg, CGameObject* pOwner)
|
||||
{
|
||||
CGoblin_Dagger* pInstance = new CGoblin_Dagger(*this);
|
||||
pInstance->m_pOwner = pOwner;
|
||||
if (FAILED(pInstance->Initialize(pArg)))
|
||||
{
|
||||
MSG_BOX("Failed to Cloned : CGoblin_Dagger");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CGoblin_Dagger::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
SAFE_RELEASE(m_pShaderCom);
|
||||
SAFE_RELEASE(m_pModelCom);
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CGoblin_Dagger::Describe_Entity()
|
||||
{
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
@@ -103,6 +103,11 @@ void CInfoInstance::Change_Canvas()
|
||||
{
|
||||
|
||||
}
|
||||
void CInfoInstance::Key_Input(_uint Input)
|
||||
{
|
||||
m_eInput = Input;
|
||||
}
|
||||
|
||||
#pragma endregion
|
||||
LEVEL CInfoInstance::Get_RestartLevel()
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1211,6 +1211,10 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Object/Troll_Rock/Troll_Rock_Big.bin", XMMatrixScaling(0.00004f, 0.00004f, 0.00004f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Dagger_Model"),
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Object/Goblin_Dagger/Goblin_Dagger.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
|
||||
/* For.Prototype_Component_SkyboxModel */
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -58,7 +57,7 @@ HRESULT CNomalJap::Initialize(void* pArg)
|
||||
void CNomalJap::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
|
||||
XMStoreFloat4(&m_vSrcPos, m_pProjectile->Get_Component<CTransform>()->Get_State(STATE::POSITION));
|
||||
}
|
||||
|
||||
void CNomalJap::Update(_float fTimeDelta)
|
||||
@@ -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,65 +115,147 @@ 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()) {
|
||||
_vector vStartPos = m_pProjectile->Get_WorldPostion();
|
||||
_vector vSrcPos = XMLoadFloat4(&m_vSrcPos);
|
||||
_vector vDstPos = m_pProjectile->Get_Component<CTransform>()->Get_State(STATE::POSITION);
|
||||
_vector vDir = vDstPos - vSrcPos;
|
||||
_float vDistance = XMVectorGetX(XMVector3Length(vDir));
|
||||
vDir = XMVector4Normalize(vDir);
|
||||
PSX::PxSweepBufferN<12> pxBuffer = {}; // 쿼리할 갯수를 템플릿 인자로 넣ㅇ름
|
||||
_bool bHit = m_pGameInstance->SphereCast(0.5f, vSrcPos, vDir, vDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer);
|
||||
|
||||
_vector vEndPos = m_pTargetUnit->Get_WorldPostion();
|
||||
// 가장 가까운 block (있으면)
|
||||
//if (true == bHit) {
|
||||
// const PSX::PxSweepHit& hit = pxBuffer.block;
|
||||
// PSX::PxRigidActor* pActor = hit.actor;
|
||||
// PSX::PxShape* pShape = hit.shape;
|
||||
// if (nullptr != pActor && nullptr != pActor->userData) {
|
||||
// PhsXUserData* pUserData = static_cast<PhsXUserData*>(pActor->userData);
|
||||
// switch (pUserData->eKind)
|
||||
// {
|
||||
// case PHYSX_KIND::CCTActor:
|
||||
// {
|
||||
// switch (PXOBJECT(pUserData->iSubKind))
|
||||
// {
|
||||
// case PXOBJECT::MONSTER:
|
||||
// case PXOBJECT::GOBLIN_WARRIOR:
|
||||
// case PXOBJECT::TROLL:
|
||||
// {
|
||||
// ON_COLLISION_INFO Desc;
|
||||
// pUserData->pOwner->OnCollision();
|
||||
// GUI::Text("HitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHit");
|
||||
// } break;
|
||||
// case PXOBJECT::PLAYER:
|
||||
// GUI::Text("ㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴㅛㄸㄴ");
|
||||
// break;
|
||||
// default:
|
||||
// break;
|
||||
// }
|
||||
// } break;
|
||||
// default:
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
_vector vDir = { vEndPos - vStartPos };
|
||||
// 건드린 친구들 순서대로 다 가져옴 ( 정렬은 안되어있음 )
|
||||
for (PSX::PxU32 i = 0; i < pxBuffer.nbTouches; ++i)
|
||||
{
|
||||
const PSX::PxSweepHit& Hit = pxBuffer.touches[i];
|
||||
/* 기타 로직 */
|
||||
|
||||
_float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos));
|
||||
PSX::PxRigidActor* pActor = Hit.actor;
|
||||
PSX::PxShape* pShape = Hit.shape;
|
||||
|
||||
PSX::PxSweepBuffer pxBuffer = {};
|
||||
if (nullptr != pActor && nullptr != pActor->userData) {
|
||||
PhsXUserData* pUserData = static_cast<PhsXUserData*>(pActor->userData);
|
||||
|
||||
_bool bHit = m_pGameInstance->SphereCast(0.1f, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer);
|
||||
|
||||
if (bHit) {
|
||||
const PSX::PxSweepHit& hit = pxBuffer.block;
|
||||
PSX::PxRigidActor* pActor = hit.actor;
|
||||
PSX::PxShape* pShape = hit.shape;
|
||||
|
||||
if (nullptr != pActor && nullptr != pActor->userData)
|
||||
switch (pUserData->eKind)
|
||||
{
|
||||
PhsXUserData* pUserData = static_cast<PhsXUserData*>(pActor->userData);
|
||||
|
||||
switch (pUserData->eKind)
|
||||
case PHYSX_KIND::CCTActor:
|
||||
{
|
||||
switch (PXOBJECT(pUserData->iSubKind))
|
||||
{
|
||||
case PHYSX_KIND::CCTActor:
|
||||
case PXOBJECT::MONSTER:
|
||||
case PXOBJECT::GOBLIN_WARRIOR:
|
||||
case PXOBJECT::TROLL:
|
||||
{
|
||||
switch (PXOBJECT(pUserData->iSubKind))
|
||||
{
|
||||
case PXOBJECT::MONSTER:
|
||||
case PXOBJECT::GOBLIN_WARRIOR:
|
||||
break;
|
||||
case PXOBJECT::TROLL:
|
||||
{
|
||||
ON_COLLISION_INFO Desc;
|
||||
pUserData->pOwner->OnCollision();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
ON_COLLISION_INFO Desc;
|
||||
pUserData->pOwner->OnCollision();
|
||||
GUI::Text("HitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHitHit");
|
||||
} break;
|
||||
case PXOBJECT::PLAYER:
|
||||
GUI::Text("NONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONO");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
//if (nullptr != m_pTargetUnit && false == m_pTargetUnit->isDead()) {
|
||||
// _vector vStartPos = m_pProjectile->Get_WorldPostion();
|
||||
|
||||
// _vector vEndPos = m_pTargetUnit->Get_WorldPostion();
|
||||
|
||||
// _vector vDir = { vEndPos - vStartPos };
|
||||
|
||||
// _float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos));
|
||||
|
||||
// PSX::PxSweepBuffer pxBuffer = {};
|
||||
|
||||
// _bool bHit = m_pGameInstance->SphereCast(0.1f, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer);
|
||||
|
||||
// if (bHit) {
|
||||
// const PSX::PxSweepHit& hit = pxBuffer.block;
|
||||
// PSX::PxRigidActor* pActor = hit.actor;
|
||||
// PSX::PxShape* pShape = hit.shape;
|
||||
|
||||
// if (nullptr != pActor && nullptr != pActor->userData)
|
||||
// {
|
||||
// PhsXUserData* pUserData = static_cast<PhsXUserData*>(pActor->userData);
|
||||
|
||||
// switch (pUserData->eKind)
|
||||
// {
|
||||
// case PHYSX_KIND::CCTActor:
|
||||
// {
|
||||
// switch (PXOBJECT(pUserData->iSubKind))
|
||||
// {
|
||||
// case PXOBJECT::MONSTER:
|
||||
// case PXOBJECT::GOBLIN_WARRIOR:
|
||||
// break;
|
||||
// case PXOBJECT::TROLL:
|
||||
// {
|
||||
// ON_COLLISION_INFO Desc;
|
||||
// pUserData->pOwner->OnCollision();
|
||||
// }
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
//}
|
||||
|
||||
|
||||
Get_PartObject<CTrailObject>()->Trail_Update(m_pProjectile->Get_Component<CTransform>()->Get_XMWorldMatrix(), fTimeDelta);
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
@@ -182,24 +263,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 +293,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 +317,6 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject)
|
||||
|
||||
XMStoreFloat3(&m_vRotateUp, XMVector3Normalize(XMVector3Rotate(vUp, vQuaternion)));
|
||||
|
||||
m_bVisible = true;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -298,7 +364,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;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,6 +92,8 @@ HRESULT CPlayer::Initialize(void* pArg)
|
||||
m_pInfoInstance->Regist_PlayerAlly(this);
|
||||
|
||||
|
||||
m_pCharacter_Controller->Set_Position(XMVectorSet(-34.f, 5, -11.4f, 1.f));
|
||||
|
||||
#ifdef _DEBUG
|
||||
m_BasicEffect = make_unique<BasicEffect>(m_pDevice);
|
||||
m_BasicEffect->SetVertexColorEnabled(true);
|
||||
@@ -129,8 +131,6 @@ __super::Update(fTimeDelta);
|
||||
Describe_Entity();
|
||||
#endif // _DEBUG
|
||||
|
||||
|
||||
|
||||
{ // 세트
|
||||
m_pCallBack_HitReport->BeginFrame();
|
||||
m_pCharacter_Controller->Move(fTimeDelta);
|
||||
@@ -498,9 +498,35 @@ void CPlayer::Describe_Entity()
|
||||
|
||||
GUI::Text("%d", m_iStateMask);
|
||||
|
||||
|
||||
_vector xmvInputDir = XMVectorZero();
|
||||
|
||||
_vector xmvCamLook = XMVector4Normalize(XMVectorSet(m_vCameraLookDir.x, 0.f, m_vCameraLookDir.z, 0.f));
|
||||
_vector xmvCamRight = XMVector4Normalize(XMVectorSet(m_vCameraRightDir.x, 0.f, m_vCameraRightDir.z, 0.f));
|
||||
|
||||
if (m_pGameInstance->Key_Pressing(DIK_W))
|
||||
xmvInputDir += xmvCamLook;
|
||||
if (m_pGameInstance->Key_Pressing(DIK_S))
|
||||
xmvInputDir -= xmvCamLook;
|
||||
if (m_pGameInstance->Key_Pressing(DIK_A))
|
||||
xmvInputDir -= xmvCamRight;
|
||||
if (m_pGameInstance->Key_Pressing(DIK_D))
|
||||
xmvInputDir += xmvCamRight;
|
||||
|
||||
xmvInputDir = XMVector3Normalize(xmvInputDir);
|
||||
|
||||
_float2 vInputDir = { XMVectorGetX(xmvInputDir),XMVectorGetZ(xmvInputDir) };
|
||||
_vector xmvCurLook = XMVector4Normalize(
|
||||
XMVectorSetY(m_pTransformCom->Get_State(STATE::LOOK), 0.f));
|
||||
_float2 vCurLook = { XMVectorGetX(xmvCurLook),XMVectorGetZ(xmvCurLook) };
|
||||
|
||||
_float vDir = CMyTools::Get_Direction2D(vCurLook, vInputDir);
|
||||
_float degree = XMConvertToDegrees(vDir);
|
||||
|
||||
GUI::Text("Angle %.2f", degree);
|
||||
|
||||
m_pLightCom->Describe_Entity();
|
||||
|
||||
GUI::Text("HI Check %d",HI);
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
|
||||
@@ -80,8 +80,12 @@ HRESULT CPlayer::InputAction()
|
||||
|| m_pGameInstance->Key_Down(DIK_G)
|
||||
|| m_pGameInstance->Key_Down(DIK_B)
|
||||
|| m_pGameInstance->Key_Down(DIK_T)
|
||||
|| m_pGameInstance->Key_Down(DIK_TAB)
|
||||
)
|
||||
{
|
||||
if (m_pGameInstance->Key_Down(DIK_T)) m_pInfoInstance->Key_Input(ENUM_CLASS(KEYINPUT::INPUT_T));
|
||||
if (m_pGameInstance->Key_Down(DIK_TAB)) m_pInfoInstance->Key_Input(ENUM_CLASS(KEYINPUT::INPUT_TAB));
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
return E_FAIL;
|
||||
@@ -120,6 +124,11 @@ HRESULT CPlayer::InputSpell()
|
||||
|| m_pGameInstance->Key_Down(DIK_4)
|
||||
)
|
||||
{
|
||||
if (m_pGameInstance->Key_Down(DIK_1)) m_pInfoInstance->Key_Input(ENUM_CLASS(KEYINPUT::INPUT_1));
|
||||
if (m_pGameInstance->Key_Down(DIK_2)) m_pInfoInstance->Key_Input(ENUM_CLASS(KEYINPUT::INPUT_2));
|
||||
if (m_pGameInstance->Key_Down(DIK_3)) m_pInfoInstance->Key_Input(ENUM_CLASS(KEYINPUT::INPUT_3));
|
||||
if (m_pGameInstance->Key_Down(DIK_4)) m_pInfoInstance->Key_Input(ENUM_CLASS(KEYINPUT::INPUT_4));
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
return E_FAIL;
|
||||
@@ -314,6 +323,7 @@ void CPlayer::Behavior_MoveEnter()
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
m_pFSM->Enable_State(FSMSTATE::JOG);
|
||||
m_bSprintToggle = false;
|
||||
m_bWalkToggle = false;
|
||||
@@ -427,7 +437,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
||||
|
||||
_vector xmvCamLook = XMVector4Normalize(XMVectorSet(m_vCameraLookDir.x, 0.f, m_vCameraLookDir.z, 0.f));
|
||||
_vector xmvCamRight = XMVector4Normalize(XMVectorSet(m_vCameraRightDir.x, 0.f, m_vCameraRightDir.z, 0.f));
|
||||
|
||||
|
||||
if (m_pGameInstance->Key_Pressing(DIK_W))
|
||||
xmvInputDir += xmvCamLook;
|
||||
if (m_pGameInstance->Key_Pressing(DIK_S))
|
||||
@@ -437,6 +447,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
||||
if (m_pGameInstance->Key_Pressing(DIK_D))
|
||||
xmvInputDir += xmvCamRight;
|
||||
|
||||
|
||||
if (XMVector3Equal(xmvInputDir, XMVectorZero()))
|
||||
return E_FAIL;
|
||||
|
||||
@@ -451,13 +462,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
||||
_float absDir = fabsf(vDir);
|
||||
_float cross = vCurLook.x * vInputDir.y - vCurLook.y * vInputDir.x;
|
||||
|
||||
_vector vCameraLook = XMVectorSet(m_vCameraLookDir.x, 0.f, m_vCameraLookDir.z, 0.f);
|
||||
|
||||
_vector vCameraRight = XMVectorSet(m_vCameraRightDir.x, 0.f, m_vCameraRightDir.z, 0.f);
|
||||
|
||||
_float2 fCamLook = { XMVectorGetX(vCameraLook), XMVectorGetZ(vCameraLook) };
|
||||
|
||||
vCameraRight = XMVector3Normalize(vCameraRight);
|
||||
_float2 fCamLook = { XMVectorGetX(xmvCamLook), XMVectorGetZ(xmvCamLook) };
|
||||
|
||||
_float angle = CMyTools::Get_Direction2D(vCurLook, fCamLook);
|
||||
|
||||
@@ -468,6 +473,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
||||
if (iCurrentAnimIndex != m_Animation[STATEANIM::JOG_FWD].first &&
|
||||
iCurrentAnimIndex != m_Animation[STATEANIM::WALK_FWD].first) {
|
||||
bSkipAngleCheck = true;
|
||||
|
||||
if (m_pModelCom->IsFinishedAnim() || m_pFSM->IsEnable(FSMSTATE::STOP)|| SUCCEEDED(InputAim())) {
|
||||
m_pFSM->Disable_State(FSMSTATE::STOP);
|
||||
bSkipAngleCheck = false;
|
||||
@@ -502,8 +508,16 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
||||
}
|
||||
else
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_LEFT];
|
||||
else {
|
||||
if (m_pModelCom->IsFinishedAnim() && iCurrentAnimIndex == m_Animation[STATEANIM::JOG_LEFT].first)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
||||
}
|
||||
else {
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_LEFT];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
m_fAmount = 0.5f;
|
||||
@@ -524,8 +538,16 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
||||
}
|
||||
else
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_RIGHT];
|
||||
else {
|
||||
if (m_pModelCom->IsFinishedAnim() && iCurrentAnimIndex == m_Animation[STATEANIM::JOG_RIGHT].first)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
||||
}
|
||||
else {
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_RIGHT];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
m_fAmount = 0.5f;
|
||||
@@ -539,7 +561,15 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
||||
}
|
||||
else if (m_pFSM->IsEnable(FSMSTATE::JOG))
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_BWD];
|
||||
if (m_pModelCom->IsFinishedAnim() && iCurrentAnimIndex == m_Animation[STATEANIM::JOG_BWD].first)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
||||
}
|
||||
else
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_BWD];
|
||||
}
|
||||
|
||||
}
|
||||
else if (m_pFSM->IsEnable(FSMSTATE::WALK))
|
||||
{
|
||||
@@ -548,7 +578,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
||||
m_fAmount = 0.5f;
|
||||
m_bRatio = true;
|
||||
}
|
||||
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,m_fAmount, m_bRatio);
|
||||
m_fAmount = 1.f;
|
||||
}
|
||||
@@ -713,9 +743,7 @@ void CPlayer::Behavior_CombatEnter()
|
||||
if (m_pGameInstance->Key_Down(DIK_R)) {
|
||||
m_pFSM->Enable_State(FSMSTATE::SKILL);
|
||||
pairAnimInfo = m_Animation[STATEANIM::SKILL];
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::REVELIO, this);
|
||||
|
||||
}
|
||||
else if (m_pGameInstance->Key_Down(DIK_Q)) {
|
||||
m_pFSM->Enable_State(FSMSTATE::SKILL2);
|
||||
@@ -745,7 +773,6 @@ void CPlayer::Behavior_CombatEnter()
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject<CWand>()); },
|
||||
0.f);
|
||||
|
||||
break;
|
||||
|
||||
case STATEANIM::DESCENDO:
|
||||
@@ -756,6 +783,10 @@ void CPlayer::Behavior_CombatEnter()
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::DESCENDO_SIDE, Get_PartObject<CWand>()); },
|
||||
0.f);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::DESCENDO, this); },
|
||||
0.4f);
|
||||
|
||||
break;
|
||||
case STATEANIM::DEPULSO:
|
||||
pairAnimInfo = m_Animation[STATEANIM::DEPULSO];
|
||||
@@ -774,9 +805,6 @@ void CPlayer::Behavior_CombatEnter()
|
||||
break;
|
||||
case STATEANIM::DIFFINDO:
|
||||
pairAnimInfo = m_Animation[STATEANIM::DIFFINDO];
|
||||
|
||||
|
||||
|
||||
m_eSpell = STATEANIM::END;
|
||||
break;
|
||||
case STATEANIM::DISILLUSION_ENTER:
|
||||
@@ -835,9 +863,6 @@ void CPlayer::Behavior_CombatEnter()
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
|
||||
pairAnimInfo = m_Animation[STATEANIM::SPELL];
|
||||
}
|
||||
}
|
||||
@@ -900,8 +925,9 @@ HRESULT CPlayer::Behavior_CombatExitCheck()
|
||||
pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
|
||||
pairAnimInfo.first = iIndex + 1;
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::JAP, this);},
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::JAP, this);},
|
||||
0.1f);
|
||||
}
|
||||
}
|
||||
@@ -965,12 +991,9 @@ HRESULT CPlayer::Behavior_CombatExitCheck()
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::ACCIO];
|
||||
Add_Event(pairAnimInfo.first,
|
||||
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA, this);},
|
||||
0.15f);
|
||||
|
||||
|
||||
|
||||
m_eSpell = STATEANIM::END;
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
@@ -979,10 +1002,6 @@ HRESULT CPlayer::Behavior_CombatExitCheck()
|
||||
case STATEANIM::DESCENDO:
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::DESCENDO];
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::DESCENDO, this);},
|
||||
0.1f);
|
||||
|
||||
m_eSpell = STATEANIM::END;
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
}
|
||||
@@ -1277,11 +1296,11 @@ void CPlayer::Add_FSM()
|
||||
Desc.funcExitEvent = [this]() { Behavior_MoveExit(); };
|
||||
Desc.funcPriorityUpdate = [this](_float fTimeDelta) {
|
||||
{
|
||||
if (!m_pFSM->IsEnable(FSMSTATE::STOP))
|
||||
/*if (!m_pFSM->IsEnable(FSMSTATE::STOP))
|
||||
{
|
||||
_float3 fMove = m_pGameInstance->Get_MouseMove();
|
||||
m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * fMove.x * 0.05f);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -333,6 +333,8 @@ void CTroll::Describe_Entity()
|
||||
{
|
||||
GUI::Begin("Troll");
|
||||
|
||||
GUI::Checkbox("LookAt", &m_bLookAt);
|
||||
|
||||
string AnimList = m_pModelCom->Get_AnimList(m_pModelCom->Get_AnimIndex());
|
||||
GUI::Text(AnimList.c_str());
|
||||
|
||||
@@ -351,7 +353,6 @@ void CTroll::Describe_Entity()
|
||||
m_pCharacter_Controller->Set_Position(XMLoadFloat3(&Pos));
|
||||
}
|
||||
|
||||
|
||||
GUI::End();
|
||||
|
||||
}
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
#include "Troll_Rock.h"
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "TrailObject.h"
|
||||
#include "EffectParts.h"
|
||||
#include "Troll.h"
|
||||
|
||||
CTroll_Rock::CTroll_Rock(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
: CPartObject(pDevice, pContext)
|
||||
@@ -39,8 +38,8 @@ HRESULT CTroll_Rock::Initialize(void* pArg)
|
||||
|
||||
void CTroll_Rock::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
|
||||
m_pModelCom->Combined_BoneMatrix();
|
||||
|
||||
if (m_bAttach)
|
||||
{
|
||||
_matrix socketMatrix = {};
|
||||
@@ -52,6 +51,8 @@ void CTroll_Rock::Priority_Update(_float fTimeDelta)
|
||||
}
|
||||
|
||||
m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
|
||||
_float4 vTargetPos = static_cast<CTroll*>(m_pOwner)->Get_TargetPos();
|
||||
m_pTransformCom->LookAt(XMLoadFloat4(&vTargetPos));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -59,7 +60,7 @@ void CTroll_Rock::Priority_Update(_float fTimeDelta)
|
||||
m_pTransformCom->Set_WorldMatrix(world);
|
||||
m_pTransformCom->Go_Straight(fTimeDelta);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
Describe_Entity();
|
||||
@@ -69,16 +70,11 @@ void CTroll_Rock::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CTroll_Rock::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->Key_Up(DIK_U))
|
||||
{
|
||||
m_bAttach = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Rock::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this);
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
}
|
||||
|
||||
HRESULT CTroll_Rock::Render()
|
||||
@@ -118,7 +114,7 @@ HRESULT CTroll_Rock::Ready_Components()
|
||||
|
||||
CTransform::TRANSFORM_DESC Desc = {};
|
||||
|
||||
Desc.fSpeedPerSec = 10.f;
|
||||
Desc.fSpeedPerSec = 18.f;
|
||||
Desc.fRotationPerSec = XMConvertToRadians(180.0f);
|
||||
Desc.fRadius = 10.f;
|
||||
|
||||
@@ -133,7 +129,7 @@ HRESULT CTroll_Rock::Ready_Components()
|
||||
/* Com_Shader */
|
||||
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH,
|
||||
reinterpret_cast<CComponent**>(&m_pShaderCom))))
|
||||
return E_FAIL;
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -197,16 +193,7 @@ void CTroll_Rock::Free()
|
||||
|
||||
void CTroll_Rock::Describe_Entity()
|
||||
{
|
||||
GUI::Begin("Rock");
|
||||
GUI::Text("X %.2f,Y%.2f,Z%.2f", m_pTransformCom->Get_Scale().x, m_pTransformCom->Get_Scale().y, m_pTransformCom->Get_Scale().z);
|
||||
|
||||
static _float Scale = 1.f;
|
||||
if (GUI::DragFloat("Scale", &Scale,0.01f))
|
||||
{
|
||||
_float3 vScale = { Scale,Scale ,Scale };
|
||||
m_pTransformCom->Set_Scale(vScale);
|
||||
}
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -47,7 +47,6 @@ void CTroll::Behavior_MoveEnter()
|
||||
pairAnimInfo = m_Animation[STATEANIM::JOG_START];
|
||||
}
|
||||
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
}
|
||||
|
||||
@@ -111,6 +110,7 @@ void CTroll::Behavior_CombatEnter()
|
||||
}
|
||||
else
|
||||
{
|
||||
m_bLookAt = true;
|
||||
_int RandIndex = m_pGameInstance->Real_Random_Int(0,3);
|
||||
switch (RandIndex)
|
||||
{
|
||||
@@ -139,39 +139,45 @@ HRESULT CTroll::Behavior_CombatExitCheck(_float fTimeDelta)
|
||||
|
||||
if (m_pFSM->IsEnable(FSMSTATE::SKILL))
|
||||
{
|
||||
m_bLookAt = false;
|
||||
m_pFSM->Disable_State(FSMSTATE::SKILL);
|
||||
pairAnimInfo = m_Animation[STATEANIM::SKILL];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
|
||||
m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SLAM)] = m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SLAM)];
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_bLookAt = false; },
|
||||
0.2f);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
if (m_pFSM->IsEnable(FSMSTATE::SWING))
|
||||
{
|
||||
m_bLookAt = false;
|
||||
m_pFSM->Disable_State(FSMSTATE::SWING);
|
||||
pairAnimInfo = m_Animation[STATEANIM::SWING_FWD];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
|
||||
m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SWING)] = m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SWING)];
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_bLookAt = false; },
|
||||
0.2f);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
if (m_pFSM->IsEnable(FSMSTATE::BACKHAND_SWING))
|
||||
{
|
||||
m_bLookAt = false;
|
||||
m_pFSM->Disable_State(FSMSTATE::BACKHAND_SWING);
|
||||
pairAnimInfo = m_Animation[STATEANIM::BACKHAND_SWING_JOG];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
|
||||
m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::BACKHAND_SWING)] = m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::BACKHAND_SWING)];
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_bLookAt = false; },
|
||||
0.2f);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
if (m_pModelCom->IsFinishedAnim())
|
||||
{
|
||||
m_bLookAt = true;
|
||||
m_pFSM->Change_State(FSMSTATE::IDLE);
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return E_FAIL;
|
||||
@@ -245,12 +251,11 @@ void CTroll::Behavior_ThrowEnter()
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
m_pFSM->Enable_State(FSMSTATE::THROW_ROCK);
|
||||
pairAnimInfo = m_Animation[STATEANIM::THROW_ROCK_START];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this](){Get_PartObject<CTroll_Rock>()->Set_Visible(true);},
|
||||
0.9f);
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
|
||||
0.95f);
|
||||
}
|
||||
|
||||
HRESULT CTroll::Behavior_ThrowExitCheck(_float fTimeDelta)
|
||||
@@ -277,6 +282,8 @@ HRESULT CTroll::Behavior_ThrowExitCheck(_float fTimeDelta)
|
||||
if (m_pModelCom->IsFinishedAnim())
|
||||
{
|
||||
m_bLookAt = true;
|
||||
Get_PartObject<CTroll_Rock>()->Set_Attach(true);
|
||||
Get_PartObject<CTroll_Rock>()->Set_Visible(false);
|
||||
m_pFSM->Change_State(FSMSTATE::IDLE);
|
||||
}
|
||||
return E_FAIL;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Client
|
||||
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, 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 };
|
||||
@@ -29,6 +29,14 @@ namespace Client
|
||||
,END
|
||||
};
|
||||
enum class BLOOM_TYPE { NONE, BASIC, MULTIPLY, END };
|
||||
|
||||
enum class KEYINPUT
|
||||
{
|
||||
INPUT_1, INPUT_2, INPUT_3, INPUT_4,
|
||||
INPUT_T,
|
||||
INPUT_TAB,
|
||||
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 = {};
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
#pragma once
|
||||
|
||||
#include "Client_Define.h"
|
||||
#include "PartObject.h"
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
class CGoblin_Dagger final : public CPartObject
|
||||
{
|
||||
public:
|
||||
typedef struct tagDagger : public CPartObject::PARTOBJECT_DESC
|
||||
{
|
||||
const _float4x4* pSocketMatrices = { };
|
||||
}GOBLINDAGGER_DESC;
|
||||
private:
|
||||
CGoblin_Dagger(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CGoblin_Dagger(const CGoblin_Dagger& Prototype);
|
||||
virtual ~CGoblin_Dagger() = default;
|
||||
|
||||
public:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
virtual void Priority_Update(_float fTimeDelta) override;
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
void Set_Attach(_bool Attach) { m_bAttach = Attach; }
|
||||
public:
|
||||
|
||||
private:
|
||||
const _float4x4* m_pSocketMatrices = { };
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
CModel* m_pModelCom = { nullptr };
|
||||
_bool m_bAttach = { true };
|
||||
|
||||
private:
|
||||
HRESULT Ready_Components();
|
||||
HRESULT Bind_ShaderResources();
|
||||
|
||||
public:
|
||||
static CGoblin_Dagger* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr)override;
|
||||
virtual void Free() override;
|
||||
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -13,7 +13,7 @@ NS_BEGIN(Client)
|
||||
|
||||
class CInfoInstance final : public CBase
|
||||
{
|
||||
DECLARE_SINGLETON(CInfoInstance)
|
||||
DECLARE_SINGLETON(CInfoInstance)
|
||||
private:
|
||||
CInfoInstance();
|
||||
virtual ~CInfoInstance() = default;
|
||||
@@ -46,6 +46,7 @@ class CInfoInstance final : public CBase
|
||||
HRESULT Load_SpellInfo(const _char* pFilePath);
|
||||
SPELL_INFO Get_Spell_Info(_int Spell_Info);
|
||||
void Change_Canvas();
|
||||
void Key_Input(_uint Input);
|
||||
#pragma endregion
|
||||
private:
|
||||
CGameInstance* m_pGameInstance = { nullptr };
|
||||
@@ -56,7 +57,7 @@ class CInfoInstance final : public CBase
|
||||
class CMonsterInfo* m_pMonsterInfo = { nullptr };
|
||||
class CMapInfo* m_pMapInfo = { nullptr };
|
||||
class CSkill_Data* m_pSkillInfo= { nullptr };
|
||||
|
||||
_uint m_eInput = ENUM_CLASS(KEYINPUT::END);
|
||||
|
||||
#ifdef _DEBUG
|
||||
_string m_strLog = {};
|
||||
|
||||
@@ -18,6 +18,7 @@ class CMonster abstract : public CUnit
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render_OutLine() override;
|
||||
virtual void Set_DrawOutLine();
|
||||
_float4 Get_TargetPos() { return m_vTargetPos; }
|
||||
|
||||
protected:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
|
||||
@@ -32,24 +32,25 @@ class CNomalJap final : public CEffect_Container
|
||||
HRESULT Bind_ShaderResources() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
|
||||
private:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
_wstring m_wstrEffectName = {};
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
_wstring m_wstrEffectName = {};
|
||||
|
||||
class CPartObject* m_pProjectile = {};
|
||||
class CPartObject* m_pProjectile_Side = {};
|
||||
class CPartObject* m_pProjectile = {};
|
||||
class CPartObject* m_pProjectile_Side = {};
|
||||
|
||||
_float3 m_vRotateUp = {};
|
||||
_float m_fAccTime = {};
|
||||
_float m_fLerpAmount = {};
|
||||
_float m_fTurnValue = {};
|
||||
_float3 m_vRotateUp = {};
|
||||
_float m_fAccMoveTime = {};
|
||||
_float m_fLerpAmount = {};
|
||||
_float m_fTurnValue = {};
|
||||
|
||||
CUnit* m_pTargetUnit = { nullptr }; // 발사될 당시 대상
|
||||
_float3 m_vDirection = { 0.f, 0.f, 1.f };
|
||||
_float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치
|
||||
_float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치
|
||||
_float m_fAngularSpeed = XM_2PI / 0.3f;
|
||||
_float m_fLinearSpeed = 1.f;
|
||||
_bool m_bTrailPulseEnded = false;
|
||||
CUnit* m_pTargetUnit = { nullptr }; // 발사될 당시 대상
|
||||
_float3 m_vDirection = { 0.f, 0.f, 1.f };
|
||||
_float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치
|
||||
_float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치
|
||||
_float m_fAngularSpeed = XM_2PI / 0.3f;
|
||||
_float m_fLinearSpeed = 1.f;
|
||||
_bool m_bTrailPulseEnded = false;
|
||||
_float4 m_vSrcPos = {};
|
||||
public:
|
||||
static CNomalJap* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual void Free() override;
|
||||
|
||||
@@ -86,7 +86,9 @@ class CPlayer final : public CUnit
|
||||
virtual void Add_FSM();
|
||||
virtual void Set_Anim();
|
||||
|
||||
_uint HI = 0;
|
||||
function<void()> m_InputAction = nullptr;
|
||||
|
||||
|
||||
_float3 m_OffsetPos = {};
|
||||
_float m_fAmount = { 1.f };
|
||||
_float m_fInputTime = {};
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1,429 +1,35 @@
|
||||
0 Gob_BM_2Cmbt_01_anm
|
||||
1 Gob_BM_2Cmbt_02_anm
|
||||
2 Gob_BM_2Cmbt_03_anm
|
||||
3 Gob_BM_2Cmbt_04_anm
|
||||
4 Gob_BM_2Cmbt_05_anm
|
||||
5 Gob_BM_2Cmbt_Equip_01_anm
|
||||
6 Gob_BM_2Cmbt_Equip_02_anm
|
||||
7 Gob_BM_2Cmbt_Equip_03_anm
|
||||
8 Gob_BM_Alert_Look_2Cmbt_02_anm
|
||||
9 Gob_BM_Alert_Look_2Cmbt_03_anm
|
||||
10 Gob_BM_Alert_Look_2Cmbt_04_anm
|
||||
11 Gob_BM_Alert_Look_2Cmbt_anm
|
||||
12 Gob_BM_Alert_Look_2Cmbt_Equip_01_anm
|
||||
13 Gob_BM_Alert_Look_2Cmbt_Equip_02_anm
|
||||
14 Gob_BM_Alert_Look_End_anm
|
||||
15 Gob_BM_Alert_Look_Loop_anm
|
||||
16 Gob_BM_Alert_Look_Start_anm
|
||||
17 Gob_BM_Assassin_Alert_Look_2Cmbt_Equip_01_anm
|
||||
18 Gob_BM_Assassin_Alert_Look_2Cmbt_Equip_02_anm
|
||||
19 Gob_BM_Assassin_Alert_Look_2Cmbt_Equip_03_anm
|
||||
20 Gob_BM_Idle_01_Face_anm
|
||||
21 Gob_BM_Idle_02_Face_anm
|
||||
22 Gob_BM_Idle_anm
|
||||
23 Gob_BM_Idle_Turn_Lft_135_anm
|
||||
24 Gob_BM_Idle_Turn_Lft_180_anm
|
||||
25 Gob_BM_Idle_Turn_Lft_45_anm
|
||||
26 Gob_BM_Idle_Turn_Lft_90_anm
|
||||
27 Gob_BM_Idle_Turn_Rht_135_anm
|
||||
28 Gob_BM_Idle_Turn_Rht_180_anm
|
||||
29 Gob_BM_Idle_Turn_Rht_45_anm
|
||||
30 Gob_BM_Idle_Turn_Rht_90_anm
|
||||
31 Gob_BM_IdleBreak_01_anm
|
||||
32 Gob_BM_IdleBreak_01_Face_anm
|
||||
33 Gob_BM_IdleBreak_02_anm
|
||||
34 Gob_BM_IdleBreak_03_anm
|
||||
35 Gob_BM_IdleBreak_04_anm
|
||||
36 Gob_BM_IdleBreak_05_anm
|
||||
37 Gob_BM_IdleBreak_06_anm
|
||||
38 Gob_BM_IdleBreak_07_anm
|
||||
39 Gob_BM_IdleBreak_08_anm
|
||||
40 Gob_BM_IdleBreak_09_anm
|
||||
41 Gob_BM_IdleBreak_10_anm
|
||||
42 Gob_BM_IdleBreak_11_anm
|
||||
43 Gob_BM_IdleBreak_12_anm
|
||||
44 Gob_BM_IdleBreak_13_anm
|
||||
45 Gob_BM_Jog_Loop_Fwd_anm
|
||||
46 Gob_BM_Jog_Loop_Fwd_v00_anm
|
||||
47 Gob_BM_Lean_0_anm
|
||||
48 Gob_BM_Spawn_anm
|
||||
49 Gob_BM_Walk_Loop_Bwd_anm
|
||||
50 Gob_BM_Walk_Loop_Fwd_anm
|
||||
51 Gob_BM_Walk_Loop_Lft_135_anm
|
||||
52 Gob_BM_Walk_Loop_Lft_45_anm
|
||||
53 Gob_BM_Walk_Loop_Lft_90_anm
|
||||
54 Gob_BM_Walk_Loop_Rht_135_anm
|
||||
55 Gob_BM_Walk_Loop_Rht_45_anm
|
||||
56 Gob_BM_Walk_Loop_Rht_90_anm
|
||||
57 Gob_BM_Walk_Start_Fwd_anm
|
||||
58 Gob_BM_Walk_Stop_Fwd_anm
|
||||
59 Gob_BM_Walk_Turn_Start_Lft_135_anm
|
||||
60 Gob_BM_Walk_Turn_Start_Lft_180_anm
|
||||
61 Gob_BM_Walk_Turn_Start_Lft_45_anm
|
||||
62 Gob_BM_Walk_Turn_Start_Lft_90_anm
|
||||
63 Gob_BM_Walk_Turn_Start_Rht_135_anm
|
||||
64 Gob_BM_Walk_Turn_Start_Rht_180_anm
|
||||
65 Gob_BM_Walk_Turn_Start_Rht_45_anm
|
||||
66 Gob_BM_Walk_Turn_Start_Rht_90_anm
|
||||
67 Gob_BM_WalkFast_Loop_Fwd_anm
|
||||
68 Gob_BM_WalkSlow_Loop_Fwd_anm
|
||||
69 Gob_BM_Wpn_Hold_Rht_Arm_ADD_anm
|
||||
70 Gob_Chief_Cmbt_Atk_Sprint_02_FromRun_anm
|
||||
71 Gob_Cmbt_Alert_01_Face_anm
|
||||
72 Gob_Cmbt_Assassin_Atk_Slash_anm
|
||||
73 Gob_Cmbt_Assassin_Dash_anm
|
||||
74 Gob_Cmbt_Assassin_Idle_anm
|
||||
75 Gob_Cmbt_Assassin_Idle_LArm_replace_anm
|
||||
76 Gob_Cmbt_Atk_Axe_01_End_Flourish_anm
|
||||
77 Gob_Cmbt_Atk_Axe_Throw_01_anm
|
||||
78 Gob_Cmbt_Atk_Counter_Lft_Throw_anm
|
||||
79 Gob_Cmbt_Atk_Counter_Lft_ThrowKnife_anm
|
||||
80 Gob_Cmbt_Atk_Counter_Rht_Throw_anm
|
||||
81 Gob_Cmbt_Atk_Counter_Rht_ThrowKnife_anm
|
||||
82 Gob_Cmbt_Atk_Katar_01_End_Flourish_anm
|
||||
83 Gob_Cmbt_Atk_Katar_L2R_Hi_anm
|
||||
84 Gob_Cmbt_Atk_Katar_R2L_Mid_anm
|
||||
85 Gob_Cmbt_Atk_Knife_Throw_01_anm
|
||||
86 Gob_Cmbt_Atk_Melee_Near_Katar_anm
|
||||
87 Gob_Cmbt_Atk_Melee_Near_Swrd_anm
|
||||
88 Gob_Cmbt_Atk_ShieldPunch_anm
|
||||
89 Gob_Cmbt_Atk_Sprint_Katar_anm
|
||||
90 Gob_Cmbt_Atk_Sprint_Loop_01_anm
|
||||
91 Gob_Cmbt_Atk_Sprint_Loop_04_anm
|
||||
92 Gob_Cmbt_Atk_Sprint_Start_01_anm
|
||||
93 Gob_Cmbt_Atk_Sprint_Start_04_anm
|
||||
94 Gob_Cmbt_Atk_Swrd_01_End_Flourish_anm
|
||||
95 Gob_Cmbt_Atk_Swrd_01_End_Retreat_anm
|
||||
96 Gob_Cmbt_Atk_Swrd_01_Retreat_End_anm
|
||||
97 Gob_Cmbt_Atk_Swrd_01_Retreat_Loop_anm
|
||||
98 Gob_Cmbt_Atk_Swrd_01_Retreat_Start_anm
|
||||
99 Gob_Cmbt_Atk_Swrd_Spin_01_anm
|
||||
100 Gob_Cmbt_Atk_Swrd_Spin_01_FromRun_anm
|
||||
101 Gob_Cmbt_Atk_Swrd_Throw_01_anm
|
||||
102 Gob_Cmbt_Axe_Retreat_End_anm
|
||||
103 Gob_Cmbt_Axe_Retreat_Loop_anm
|
||||
104 Gob_Cmbt_Axe_Retreat_Start_anm
|
||||
105 Gob_Cmbt_Celebrate_01_anm
|
||||
106 Gob_Cmbt_Celebrate_02_anm
|
||||
107 Gob_Cmbt_Celebrate_03_anm
|
||||
108 Gob_Cmbt_Celebrate_04_anm
|
||||
109 Gob_Cmbt_Celebrate_05_anm
|
||||
110 Gob_Cmbt_Celebrate_06_anm
|
||||
111 Gob_Cmbt_Celebrate_07_anm
|
||||
112 Gob_Cmbt_Celebrate_Death_anm
|
||||
113 Gob_Cmbt_Celebrate_Death_v01_anm
|
||||
114 Gob_Cmbt_Celebrate_Death_v02_anm
|
||||
115 Gob_Cmbt_Celebrate_Event_anm
|
||||
116 Gob_Cmbt_Celebrate_Event_v01_anm
|
||||
117 Gob_Cmbt_Celebrate_Event_v02_anm
|
||||
118 Gob_Cmbt_CrsBow_Equip_2Aim_anm
|
||||
119 Gob_Cmbt_CrsBow_Equip_anm
|
||||
120 Gob_Cmbt_CrsBow_Fire_Single_anm
|
||||
121 Gob_Cmbt_CrsBow_Idle_anm
|
||||
122 Gob_Cmbt_CrsBow_Idle_RArm_replace_anm
|
||||
123 Gob_Cmbt_CrsBow_Taunt_02_anm
|
||||
124 Gob_Cmbt_CrsBow_Taunt_anm
|
||||
125 Gob_Cmbt_DodgeRoll_Lft__anm
|
||||
126 Gob_Cmbt_DodgeRoll_Rht_anm
|
||||
127 Gob_Cmbt_Equip_Katar_anm
|
||||
128 Gob_Cmbt_Equip_Swrd_Fast_anm
|
||||
129 Gob_Cmbt_Idle_01_Face_anm
|
||||
130 Gob_Cmbt_Idle_02_anm
|
||||
131 Gob_Cmbt_Idle_03_anm
|
||||
132 Gob_Cmbt_Idle_anm
|
||||
133 Gob_Cmbt_Idle_Shield_anm
|
||||
134 Gob_Cmbt_IdleBreak_Adjust_Weight_v1_anm
|
||||
135 Gob_Cmbt_IdleBreak_Adjust_Weight_v2_anm
|
||||
136 Gob_Cmbt_IdleBreak_Adjust_Weight_v3_anm
|
||||
137 Gob_Cmbt_IdleBreak_ArmShake_v01_anm
|
||||
138 Gob_Cmbt_IdleBreak_Bolster_anm
|
||||
139 Gob_Cmbt_IdleBreak_GetPumped_anm
|
||||
140 Gob_Cmbt_IdleBreak_LookAround_Agressive_anm
|
||||
141 Gob_Cmbt_IdleBreak_LookAround_anm
|
||||
142 Gob_Cmbt_IdleBreak_LookAround_v01_anm
|
||||
143 Gob_Cmbt_IdleBreak_LookAround_v02_anm
|
||||
144 Gob_Cmbt_IdleBreak_Stretch_anm
|
||||
145 Gob_Cmbt_IdleBreak_SwatFlies_anm
|
||||
146 Gob_Cmbt_Jog_Loop_Bwd_anm
|
||||
147 Gob_Cmbt_Jog_Loop_Fwd_anm
|
||||
148 Gob_Cmbt_Jog_Loop_Lft_112_anm
|
||||
149 Gob_Cmbt_Jog_Loop_Lft_135_anm
|
||||
150 Gob_Cmbt_Jog_Loop_Lft_45_anm
|
||||
151 Gob_Cmbt_Jog_Loop_Lft_90_anm
|
||||
152 Gob_Cmbt_Jog_Loop_Rht_112_anm
|
||||
153 Gob_Cmbt_Jog_Loop_Rht_135_anm
|
||||
154 Gob_Cmbt_Jog_Loop_Rht_45_anm
|
||||
155 Gob_Cmbt_Jog_Loop_Rht_90_anm
|
||||
156 Gob_Cmbt_Jog_Start_Bck_anm
|
||||
157 Gob_Cmbt_Jog_Start_Fwd_anm
|
||||
158 Gob_Cmbt_Jog_Start_Lft_135_anm
|
||||
159 Gob_Cmbt_Jog_Start_Lft_45_anm
|
||||
160 Gob_Cmbt_Jog_Start_Lft_90_anm
|
||||
161 Gob_Cmbt_Jog_Start_Rht_135_anm
|
||||
162 Gob_Cmbt_Jog_Start_Rht_45_anm
|
||||
163 Gob_Cmbt_Jog_Start_Rht_90_anm
|
||||
164 Gob_Cmbt_Jog_Stop_Bck_anm
|
||||
165 Gob_Cmbt_Jog_Stop_Fwd_anm
|
||||
166 Gob_Cmbt_Jog_Stop_Lft_135_anm
|
||||
167 Gob_Cmbt_Jog_Stop_Lft_45_anm
|
||||
168 Gob_Cmbt_Jog_Stop_Lft_90_anm
|
||||
169 Gob_Cmbt_Jog_Stop_Rht_135_anm
|
||||
170 Gob_Cmbt_Jog_Stop_Rht_45_anm
|
||||
171 Gob_Cmbt_Jog_Stop_Rht_90_anm
|
||||
172 Gob_Cmbt_Jog_Turn_Start_Lft_135_anm
|
||||
173 Gob_Cmbt_Jog_Turn_Start_Lft_180_anm
|
||||
174 Gob_Cmbt_Jog_Turn_Start_Lft_45_anm
|
||||
175 Gob_Cmbt_Jog_Turn_Start_Lft_90_anm
|
||||
176 Gob_Cmbt_Jog_Turn_Start_Rht_135_anm
|
||||
177 Gob_Cmbt_Jog_Turn_Start_Rht_180_anm
|
||||
178 Gob_Cmbt_Jog_Turn_Start_Rht_45_anm
|
||||
179 Gob_Cmbt_Jog_Turn_Start_Rht_90_anm
|
||||
180 Gob_Cmbt_Jog_Turn_Stop_Lft_135_anm
|
||||
181 Gob_Cmbt_Jog_Turn_Stop_Lft_180_anm
|
||||
182 Gob_Cmbt_Jog_Turn_Stop_Lft_45_anm
|
||||
183 Gob_Cmbt_Jog_Turn_Stop_Lft_90_anm
|
||||
184 Gob_Cmbt_Jog_Turn_Stop_Rht_135_anm
|
||||
185 Gob_Cmbt_Jog_Turn_Stop_Rht_180_anm
|
||||
186 Gob_Cmbt_Jog_Turn_Stop_Rht_45_anm
|
||||
187 Gob_Cmbt_Jog_Turn_Stop_Rht_90_anm
|
||||
188 Gob_Cmbt_Katar_Retreat_End_anm
|
||||
189 Gob_Cmbt_Katar_Retreat_Loop_anm
|
||||
190 Gob_Cmbt_Katar_Retreat_Start_anm
|
||||
191 Gob_Cmbt_LF_Idle_Turn_Lft_135_anm
|
||||
192 Gob_Cmbt_LF_Idle_Turn_Lft_180_anm
|
||||
193 Gob_Cmbt_LF_Idle_Turn_Lft_45_anm
|
||||
194 Gob_Cmbt_LF_Idle_Turn_Lft_90_anm
|
||||
195 Gob_Cmbt_LF_Idle_Turn_Rht_135_anm
|
||||
196 Gob_Cmbt_LF_Idle_Turn_Rht_180_anm
|
||||
197 Gob_Cmbt_LF_Idle_Turn_Rht_45_anm
|
||||
198 Gob_Cmbt_LF_Idle_Turn_Rht_90_anm
|
||||
199 Gob_Cmbt_Rct_Mandrake_Loop_anm
|
||||
200 Gob_Cmbt_Rct_Mandrake_Start_anm
|
||||
201 Gob_Cmbt_Rct_Mandrake_Stop_anm
|
||||
202 Gob_Cmbt_Shield_Block_anm
|
||||
203 Gob_Cmbt_Shuffle_Bck_anm
|
||||
204 Gob_Cmbt_Shuffle_Fwd_anm
|
||||
205 Gob_Cmbt_Shuffle_Lft_anm
|
||||
206 Gob_Cmbt_Shuffle_Rht_anm
|
||||
207 Gob_Cmbt_Shuffle_Sngl_Bck_anm
|
||||
208 Gob_Cmbt_Shuffle_Sngl_Fwd_anm
|
||||
209 Gob_Cmbt_Shuffle_Sngl_Lft_anm
|
||||
210 Gob_Cmbt_Shuffle_Sngl_Rht_anm
|
||||
211 Gob_Cmbt_Shuffle_Taunt_01_Bwd_anm
|
||||
212 Gob_Cmbt_Shuffle_Taunt_01_Fwd_anm
|
||||
213 Gob_Cmbt_Shuffle_Taunt_01_Lft_anm
|
||||
214 Gob_Cmbt_Shuffle_Taunt_01_Rht_anm_anm
|
||||
215 Gob_Cmbt_Shuffle_Taunt_02_Bwd_anm
|
||||
216 Gob_Cmbt_Shuffle_Taunt_02_Fwd_anm
|
||||
217 Gob_Cmbt_Shuffle_Taunt_02_Lft_anm
|
||||
218 Gob_Cmbt_Shuffle_Taunt_02_Rht_anm
|
||||
219 Gob_Cmbt_Shuffle_Taunt_03_Bwd_anm
|
||||
220 Gob_Cmbt_Shuffle_Taunt_03_Fwd_anm
|
||||
221 Gob_Cmbt_Shuffle_Taunt_03_Lft_anm
|
||||
222 Gob_Cmbt_Shuffle_Taunt_03_Rht_anm
|
||||
223 Gob_Cmbt_Shuffle_Taunt_04_Bwd_anm
|
||||
224 Gob_Cmbt_Shuffle_Taunt_04_Fwd_anm
|
||||
225 Gob_Cmbt_Shuffle_Taunt_04_Lft_anm
|
||||
226 Gob_Cmbt_Shuffle_Taunt_04_Rht_anm
|
||||
227 Gob_Cmbt_Slide_Loop_40_anm
|
||||
228 Gob_Cmbt_Slide_Loop_anm
|
||||
229 Gob_Cmbt_Slide_Start_40_anm
|
||||
230 Gob_Cmbt_Slide_Start_anm
|
||||
231 Gob_Cmbt_Slide_Stop_anm
|
||||
232 Gob_Cmbt_Spawn_Smoke_anm
|
||||
233 Gob_Cmbt_Spawn_Smoke_anm1
|
||||
234 Gob_Cmbt_SplineSpawn_anm
|
||||
235 Gob_Cmbt_Taunt_01_anm
|
||||
236 Gob_Cmbt_Taunt_01_Face_anm
|
||||
237 Gob_Cmbt_Taunt_02_anm
|
||||
238 Gob_Cmbt_Taunt_02_Face_anm
|
||||
239 Gob_Cmbt_Taunt_03_anm
|
||||
240 Gob_Cmbt_Taunt_04_anm
|
||||
241 Gob_Cmbt_Taunt_Assassin_01_anm
|
||||
242 Gob_Cmbt_Taunt_Assassin_02_anm
|
||||
243 Gob_Cmbt_Taunt_Axe_01_anm
|
||||
244 Gob_Cmbt_Taunt_Axe_02_anm
|
||||
245 Gob_Cmbt_Taunt_Lft_180_anm
|
||||
246 Gob_Cmbt_Taunt_Lft_90_anm
|
||||
247 Gob_Cmbt_Taunt_Rht_180_anm
|
||||
248 Gob_Cmbt_Taunt_Rht_90_anm
|
||||
249 Gob_Cmbt_Taunt_Unarmed_anm
|
||||
250 Gob_Cmbt_UnEquip_Katar_anm
|
||||
251 Gob_Cmbt_UnEquip_Sword_anm
|
||||
252 Gob_Cmbt_Walk_Loop_Bwd_anm
|
||||
253 Gob_Cmbt_Walk_Loop_Fwd_anm
|
||||
254 Gob_Cmbt_Walk_Loop_Lft_112_anm
|
||||
255 Gob_Cmbt_Walk_Loop_Lft_135_anm
|
||||
256 Gob_Cmbt_Walk_Loop_Lft_45_anm
|
||||
257 Gob_Cmbt_Walk_Loop_Lft_90_anm
|
||||
258 Gob_Cmbt_Walk_Loop_Rht_112_anm
|
||||
259 Gob_Cmbt_Walk_Loop_Rht_135_anm
|
||||
260 Gob_Cmbt_Walk_Loop_Rht_45_anm
|
||||
261 Gob_Cmbt_Walk_Loop_Rht_90_anm
|
||||
262 Gob_Cmbt_Walk_Start_Bwd_anm
|
||||
263 Gob_Cmbt_Walk_Start_Fwd_anm
|
||||
264 Gob_Cmbt_Walk_Start_Lft_135_anm
|
||||
265 Gob_Cmbt_Walk_Start_Lft_45_anm
|
||||
266 Gob_Cmbt_Walk_Start_Lft_90_anm
|
||||
267 Gob_Cmbt_Walk_Start_Rht_135_anm
|
||||
268 Gob_Cmbt_Walk_Start_Rht_45_anm
|
||||
269 Gob_Cmbt_Walk_Start_Rht_90_anm
|
||||
270 Gob_Cmbt_Walk_Stop_Bwd_anm
|
||||
271 Gob_Cmbt_Walk_Stop_Fwd_anm
|
||||
272 Gob_Cmbt_Walk_Stop_Lft_135_anm
|
||||
273 Gob_Cmbt_Walk_Stop_Lft_45_anm
|
||||
274 Gob_Cmbt_Walk_Stop_Lft_90_anm
|
||||
275 Gob_Cmbt_Walk_Stop_Rht_135_anm
|
||||
276 Gob_Cmbt_Walk_Stop_Rht_45_anm
|
||||
277 Gob_Cmbt_Walk_Stop_Rht_90_anm
|
||||
278 Gob_Cmbt_Walk_Turn_Start_Lft_135_anm
|
||||
279 Gob_Cmbt_Walk_Turn_Start_Lft_180_anm
|
||||
280 Gob_Cmbt_Walk_Turn_Start_Lft_45_anm
|
||||
281 Gob_Cmbt_Walk_Turn_Start_Lft_90_anm
|
||||
282 Gob_Cmbt_Walk_Turn_Start_Rht_135_anm
|
||||
283 Gob_Cmbt_Walk_Turn_Start_Rht_180_anm
|
||||
284 Gob_Cmbt_Walk_Turn_Start_Rht_45_anm
|
||||
285 Gob_Cmbt_Walk_Turn_Start_Rht_90_anm
|
||||
286 Gob_Cmbt_Walk_Turn_Stop_Lft_135_anm
|
||||
287 Gob_Cmbt_Walk_Turn_Stop_Lft_180_anm
|
||||
288 Gob_Cmbt_Walk_Turn_Stop_Lft_45_anm
|
||||
289 Gob_Cmbt_Walk_Turn_Stop_Lft_90_anm
|
||||
290 Gob_Cmbt_Walk_Turn_Stop_Rht_135_anm
|
||||
291 Gob_Cmbt_Walk_Turn_Stop_Rht_180_anm
|
||||
292 Gob_Cmbt_Walk_Turn_Stop_Rht_45_anm
|
||||
293 Gob_Cmbt_Walk_Turn_Stop_Rht_90_anm
|
||||
294 Gob_Cmbt_WalkSlow_Loop_Fwd1_anm
|
||||
295 Gob_Enemy_Intro_Assassin_anm
|
||||
296 Gob_Rct_Atk_01_Face_anm
|
||||
297 Gob_Rct_Atk_02_Face_anm
|
||||
298 Gob_Rct_Cringe_End_01_anm
|
||||
299 Gob_Rct_Cringe_End_02_anm
|
||||
300 Gob_Rct_Cringe_End_03_anm
|
||||
301 Gob_Rct_Cringe_End_04_anm
|
||||
302 Gob_Rct_Cringe_Loop_01_anm
|
||||
303 Gob_Rct_Cringe_Loop_02_anm
|
||||
304 Gob_Rct_Cringe_Loop_03_anm
|
||||
305 Gob_Rct_Cringe_Loop_04_anm
|
||||
306 Gob_Rct_Cringe_Start_01_anm
|
||||
307 Gob_Rct_Cringe_Start_02_anm
|
||||
308 Gob_Rct_Cringe_Start_03_anm
|
||||
309 Gob_Rct_Cringe_Start_04_anm
|
||||
310 Gob_Rct_CrsBow_Hit_Fwd_anm
|
||||
311 Gob_Rct_CrsBow_Hitch_Bwd_Add_anm
|
||||
312 Gob_Rct_CrsBow_Hitch_Fwd_Add_anm
|
||||
313 Gob_Rct_CrsBow_Hitch_Lft_Add_anm
|
||||
314 Gob_Rct_CrsBow_Hitch_Rht_Add_anm
|
||||
315 Gob_Rct_Crucio_Stop_anm
|
||||
316 Gob_Rct_Death_01_Face_anm
|
||||
317 Gob_Rct_Death_Bck_01_anm
|
||||
318 Gob_Rct_Death_Bck_02_anm
|
||||
319 Gob_Rct_Death_Fwd_01_anm
|
||||
320 Gob_Rct_Death_Fwd_02_anm
|
||||
321 Gob_Rct_Death_Lft_01_anm
|
||||
322 Gob_Rct_Death_Lft_02_anm
|
||||
323 Gob_Rct_Death_Rht_01_anm
|
||||
324 Gob_Rct_Death_Rht_02_anm
|
||||
325 Gob_Rct_Finisher_Anticipate_01_anm
|
||||
326 Gob_Rct_Finisher_Anticipate_02_anm
|
||||
327 Gob_Rct_Finisher_Anticipate_03_anm
|
||||
328 Gob_Rct_Finisher_Anticipate_04_anm
|
||||
329 Gob_Rct_Getup_Bck_2Knee_anm
|
||||
330 Gob_Rct_Getup_Bck_anm
|
||||
331 Gob_Rct_Getup_Frnt_2Knee_anm
|
||||
332 Gob_Rct_Getup_Frnt_anm
|
||||
333 Gob_Rct_Getup_Lftside_2Knee_anm
|
||||
334 Gob_Rct_Getup_LftSide_anm
|
||||
335 Gob_Rct_Getup_Lftside_FD_2Knee_anm
|
||||
336 Gob_Rct_Getup_LftSide_FD_anm
|
||||
337 Gob_Rct_Getup_Lftside_FU_2Knee_anm
|
||||
338 Gob_Rct_Getup_LftSide_FU_anm
|
||||
339 Gob_Rct_Getup_Rhtside_2Knee_anm
|
||||
340 Gob_Rct_Getup_RhtSide_anm
|
||||
341 Gob_Rct_Getup_Rhtside_FD_2Knee_anm
|
||||
342 Gob_Rct_Getup_RhtSide_FD_anm
|
||||
343 Gob_Rct_Getup_Rhtside_FU_2Knee_anm
|
||||
344 Gob_Rct_Getup_RhtSide_FU_anm
|
||||
345 Gob_Rct_Getup_Slouch_2Knee_anm
|
||||
346 Gob_Rct_Getup_Slouch_anm
|
||||
347 Gob_Rct_Hit_01_Face_anm
|
||||
348 Gob_Rct_Hit_02_Face_anm
|
||||
349 Gob_Rct_Hit_Bwd_02_anm
|
||||
350 Gob_Rct_Hit_Bwd_03_anm
|
||||
351 Gob_Rct_Hit_Bwd_04_anm
|
||||
352 Gob_Rct_Hit_Bwd_anm
|
||||
353 Gob_Rct_Hit_Fwd_anm
|
||||
354 Gob_Rct_Hit_Lft_anm
|
||||
355 Gob_Rct_Hit_Rht_anm
|
||||
356 Gob_Rct_Hitch_Bck_01_Add_anm
|
||||
357 Gob_Rct_Hitch_Bck_02_Add_anm
|
||||
358 Gob_Rct_Hitch_Bck_02_anm
|
||||
359 Gob_Rct_Hitch_Bwd_Add_anm
|
||||
360 Gob_Rct_Hitch_Fwd_01_Add_anm
|
||||
361 Gob_Rct_Hitch_Fwd_01_anm
|
||||
362 Gob_Rct_Hitch_Fwd_Add_anm
|
||||
363 Gob_Rct_Hitch_Lft_01_ADD_anm
|
||||
364 Gob_Rct_Hitch_Lft_01_anm
|
||||
365 Gob_Rct_Hitch_Lft_Add_01_anm
|
||||
366 Gob_Rct_Hitch_Lft_Add_anm
|
||||
367 Gob_Rct_Hitch_Rht_01_Add_anm
|
||||
368 Gob_Rct_Hitch_Rht_01_anm
|
||||
369 Gob_Rct_Hitch_Rht_Add_anm
|
||||
370 Gob_Rct_KnckDn_Bwd_SplatHold_anm
|
||||
371 Gob_Rct_KnckDn_Fwd_Hvy_anm
|
||||
372 Gob_Rct_KnckDn_Fwd_Hvy_Splat_anm
|
||||
373 Gob_Rct_KnckDn_Fwd_SplatHold_anm
|
||||
374 Gob_Rct_KnckDn_Hvy_anm
|
||||
375 Gob_Rct_KnckDn_Hvy_Splat_anm
|
||||
376 Gob_Rct_Levitated_Land_anm
|
||||
377 Gob_Rct_Send_Bwd_Loop_02_anm
|
||||
378 Gob_Rct_Send_Bwd_Loop_anm
|
||||
379 Gob_Rct_Send_Bwd_Tumble_Loop_02_anm
|
||||
380 Gob_Rct_Send_Bwd_Tumble_Loop_anm
|
||||
381 Gob_Rct_Spell_Dance_anm
|
||||
382 Gob_Rct_Spell_Incarcerous_Loop_anm
|
||||
383 Gob_Rct_Spell_Petrificus_Start_anm
|
||||
384 Gob_Rct_Spell_Scalp_anm
|
||||
385 Gob_Rct_Spell_Sneeze_anm
|
||||
386 Gob_Rct_Spell_Trip_Catch_anm
|
||||
387 Gob_Rct_Spell_Trip_Fall_anm
|
||||
388 Gob_Rct_Stumble_Bck_4m_anm
|
||||
389 Gob_Rct_Stumble_Bwd_Dazed_End_anm
|
||||
390 Gob_Rct_Stumble_Bwd_Dazed_End_v2_anm
|
||||
391 Gob_Rct_Stumble_Bwd_Dazed_Loop_anm
|
||||
392 Gob_Rct_Stumble_Bwd_Dazed_Start_anm
|
||||
393 Gob_Rct_Stumble_Bwd_Fire_anm
|
||||
394 Gob_Rct_Stumble_Bwd_Lft_anm
|
||||
395 Gob_Rct_Stumble_Bwd_Rht_anm
|
||||
396 Gob_Rct_Stumble_Fwd_4m_anm
|
||||
397 Gob_Rct_Stumble_Lft_4m_anm
|
||||
398 Gob_Rct_Stumble_Rht_4m_anm
|
||||
399 Gob_Rct_Swarm_Death_01_anm
|
||||
400 Gob_Rct_Swarm_Death_anm
|
||||
401 Gob_Rct_Swarm_Loop_01_anm
|
||||
402 Gob_Rct_Swarm_Loop_anm
|
||||
403 Gob_Rct_Swarm_Start_01_anm
|
||||
404 Gob_Rct_Swarm_Start_anm
|
||||
405 Gob_Rct_Swarm_Stop_01_anm
|
||||
406 Gob_Rct_Swarm_Stop_anm
|
||||
407 Gob_Srch_Idle_03_anm
|
||||
408 Gob_Srch_Idle_04_anm
|
||||
409 Gob_Srch_Turn_InPlace_anm
|
||||
410 Gob_Srch_Walk_Loop_Fwd_01_anm
|
||||
411 Gob_Srch_Walk_Loop_Fwd_02_anm
|
||||
412 Gob_Srch_Walk_Start_anm
|
||||
413 Gob_Srch_Walk_Stop_Fwd_anm
|
||||
414 Gob_Srch_Walk_Turn_Start_Lft_135_anm
|
||||
415 Gob_Srch_Walk_Turn_Start_Lft_180_anm
|
||||
416 Gob_Srch_Walk_Turn_Start_Lft_45_anm
|
||||
417 Gob_Srch_Walk_Turn_Start_Lft_90_anm
|
||||
418 Gob_Srch_Walk_Turn_Start_Rht_135_anm
|
||||
419 Gob_Srch_Walk_Turn_Start_Rht_180_anm
|
||||
420 Gob_Srch_Walk_Turn_Start_Rht_45_anm
|
||||
421 Gob_Srch_Walk_Turn_Start_Rht_90_anm
|
||||
422 Gob_Stairs_Jog_Dn_Loop_FLAT_anm
|
||||
423 Gob_Stairs_Jog_Up_Loop_FLAT_anm
|
||||
424 Gob_Stairs_Walk_Dn_Loop_FLAT_anm
|
||||
425 Gob_Stairs_Walk_Up_Loop_FLAT_anm
|
||||
426 Gob_Travel_Apparate_In_Long_anm
|
||||
427 Gob_Travel_Apparate_Out_anm
|
||||
428 Gob_Travel_Apparate_Out_Long_anm
|
||||
0 Brm_STN_Sweep_Magic_BroomProp_ANM
|
||||
1 Brm_STN_Sweep_Magic_BroomProp_Enter_ANM
|
||||
2 Brm_STN_Sweep_Magic_BroomProp_Exit_ANM
|
||||
3 Broom_Bristle_Fly_Fast_anm
|
||||
4 Broom_Bristle_Fly_Slow_anm
|
||||
5 Broom_Bristle_Hover_anm
|
||||
6 Broom_Fly_2Hover_Stop_anm
|
||||
7 Broom_Fly_2Hover_Stop_Dn_anm
|
||||
8 Broom_Fly_2Hover_Stop_Lft_anm
|
||||
9 Broom_Fly_2Hover_Stop_Rht_anm
|
||||
10 Broom_Fly_2Hover_Stop_Up_anm
|
||||
11 Broom_Fly_ADD_anm
|
||||
12 Broom_Fly_Cntr_anm
|
||||
13 Broom_Fly_Dn_anm
|
||||
14 Broom_Fly_Idle_anm
|
||||
15 Broom_Fly_Lft_anm
|
||||
16 Broom_Fly_Rht_anm
|
||||
17 Broom_Fly_Up_anm
|
||||
18 Broom_Hover_2Fly_Dn_anm
|
||||
19 Broom_Hover_2Fly_Start_anm
|
||||
20 Broom_Hover_2Fly_Start_Lft_anm
|
||||
21 Broom_Hover_2Fly_Start_Rht_anm
|
||||
22 Broom_Hover_2Fly_Up_anm
|
||||
23 Broom_Hover_Idle_ADD_anm
|
||||
24 Broom_Hover_Idle_anm
|
||||
25 Broom_Hover_Idle_Dn_anm
|
||||
26 Broom_Hover_Idle_Lft_anm
|
||||
27 Broom_Hover_Idle_Rht_anm
|
||||
28 Broom_Hover_Idle_Up_anm
|
||||
29 Broom_Hover_Mount_anm
|
||||
30 Broom_Hover_Throw_anm
|
||||
31 BroomSpline_Fly_BarrelRoll_Lft_anm
|
||||
32 BroomSpline_Fly_BarrelRoll_Rht_anm
|
||||
33 BroomSpline_Fly_Lft_anm
|
||||
34 BroomSpline_Fly_Rht_anm
|
||||
|
||||
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.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user