[Add] 누락된 Npc 추가함
This commit is contained in:
@@ -758,7 +758,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
|
||||
|
||||
if (true == isLoad_NPC)
|
||||
{
|
||||
for (_uint i = 0; i < 6; i++)
|
||||
for (_uint i = 0; i < 7; i++)
|
||||
{
|
||||
{
|
||||
CRandomNpc::NPCDESC NPCDesc{};
|
||||
|
||||
@@ -2048,6 +2048,11 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_PhineasBlack_Model"),
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_M_Student_Model"),
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) {
|
||||
return E_FAIL;
|
||||
|
||||
@@ -220,18 +220,24 @@ HRESULT CRandomNpc::Ready_Components(void* pArg)
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
m_strModelPrototypeTag = TEXT("Prototype_Component_PhineasBlack_Model");
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHINEASBLACK"), (CComponent**)&m_pNpcStat))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
m_strModelPrototypeTag = TEXT("Prototype_Component_M_Student_Model");
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("M_STUDENT"), (CComponent**)&m_pNpcStat))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
case 5:
|
||||
m_strModelPrototypeTag = TEXT("Prototype_Component_F_Student_Model");
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("F_STUDENT"), (CComponent**)&m_pNpcStat))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
case 6:
|
||||
m_strModelPrototypeTag = TEXT("Prototype_Component_Elf_Model");
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("ELF"), (CComponent**)&m_pNpcStat))) {
|
||||
return E_FAIL;
|
||||
|
||||
@@ -279,10 +279,10 @@ HRESULT CRanrok::Render_MotionTrail(ID3D11ShaderResourceView* pSRV)
|
||||
_vector CRanrok::Get_LockOnPos()
|
||||
{
|
||||
_vector Offset = XMVectorZero();
|
||||
if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR))
|
||||
{
|
||||
Offset = XMVectorSetY(Offset, 10.f);
|
||||
}
|
||||
//if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR))
|
||||
//{
|
||||
// Offset = XMVectorSetY(Offset, 10.f);
|
||||
//}
|
||||
if (nullptr != m_pCharacter_Controller && true == m_pCharacter_Controller->IsActive()) {
|
||||
return m_pCharacter_Controller->Get_Position() + Offset;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,7 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
|
||||
_float m_fRimLightPower = { 3.2f };
|
||||
_float m_fRimLightStrength = { 3.04f };
|
||||
_float3 m_vRimLightColor = { 69.f / 255.f, 5.f / 255.f, 10.f / 255.f };
|
||||
_float m_fMBIntensity = 1.f;
|
||||
|
||||
_bool m_bAI = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user