[add] NPCs

This commit is contained in:
kimnuri
2025-12-23 16:09:10 +09:00
parent 371011c3c9
commit 3a23e6e2a5
16 changed files with 517 additions and 2573 deletions
+11
View File
@@ -31,6 +31,7 @@
#include "Goblin_Spector.h"
#include "Troll.h"
#include "NPC_Ollivander.h"
#include "NPC_EleazarFig.h"
#include "BroomRacerAI.h"
#include "Ranrok.h"
@@ -1874,6 +1875,11 @@ HRESULT CLoader::Loading_For_GamePlay()
return E_FAIL;
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Professor_EleazarFig_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))){
return E_FAIL;
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))){
return E_FAIL;
@@ -2764,6 +2770,11 @@ HRESULT CLoader::Loading_For_GamePlay()
return E_FAIL;
}
/* For.Prototype_GameObject_EleazarFig */
if (FAILED(m_pGameInstance->Add_Prototype<CNPC_EleazarFig>(g_iStaticLevel, CNPC_EleazarFig::Create(m_pDevice, m_pContext)))){
return E_FAIL;
}
/* For.Prototype_GameObject_Ranrok */
if (FAILED(m_pGameInstance->Add_Prototype<CRanrok>(g_iStaticLevel, CRanrok::Create(m_pDevice, m_pContext)))) {
return E_FAIL;