@@ -333,6 +333,9 @@ call Update_Resources.bat
|
||||
<ClInclude Include="..\public\MiniMap_Camera.h" />
|
||||
<ClInclude Include="..\Public\Goblin_Teleport.h" />
|
||||
<ClInclude Include="..\Public\TriggerBox.h" />
|
||||
<ClInclude Include="..\Public\Troll_Rush.h" />
|
||||
<ClInclude Include="..\Public\Troll_Self_Hit.h" />
|
||||
<ClInclude Include="..\Public\Troll_Shout.h" />
|
||||
<ClInclude Include="..\Public\Troll_State_Stun.h" />
|
||||
<ClInclude Include="..\Public\State_Sustain.h" />
|
||||
<ClInclude Include="..\Public\WandEnd.h" />
|
||||
@@ -644,6 +647,9 @@ call Update_Resources.bat
|
||||
<ClCompile Include="..\Private\StunEffect.cpp" />
|
||||
<ClCompile Include="..\Private\Goblin_Teleport.cpp" />
|
||||
<ClCompile Include="..\Private\TriggerBox.cpp" />
|
||||
<ClCompile Include="..\Private\Troll_Rush.cpp" />
|
||||
<ClCompile Include="..\Private\Troll_Self_Hit.cpp" />
|
||||
<ClCompile Include="..\Private\Troll_Shout.cpp" />
|
||||
<ClCompile Include="..\Private\Troll_State_Stun.cpp" />
|
||||
<ClCompile Include="..\Private\WandEnd.cpp" />
|
||||
<ClCompile Include="..\Private\Magic_Icon.cpp" />
|
||||
|
||||
@@ -925,6 +925,19 @@
|
||||
<ClInclude Include="..\Public\TriggerBox.h">
|
||||
<Filter>02.GameObjects\Environment\Prop\SkyBox\TriggerBox</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\TriggerBox.h" />
|
||||
<ClInclude Include="..\Public\Broom_TargetGate2D.h">
|
||||
<Filter>02.GameObjects\UI\GamePlay_Canvas\Broom_Panel\Broom_TargetGate2D</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Troll_Shout.h">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Troll_Shout</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Troll_Rush.h">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Troll_Rush</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Troll_Self_Hit.h">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Troll_Self_Hit</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Duelist_ProtegoHit.h">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Duelist_Protego\Duelist_ProtegoHit</Filter>
|
||||
</ClInclude>
|
||||
@@ -1928,6 +1941,15 @@
|
||||
<Filter Include="02.GameObjects\Effect\Effects\Accio\AccioSide">
|
||||
<UniqueIdentifier>{0e6d6920-c33c-4202-a2a5-3c883e1d4597}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\MonsterEffect\Troll_Rush">
|
||||
<UniqueIdentifier>{a4b6f0be-8841-4748-8947-e497d755c2d9}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\MonsterEffect\Troll_Shout">
|
||||
<UniqueIdentifier>{34b736fb-456e-46e3-8038-49cff23b2f95}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\MonsterEffect\Troll_Self_Hit">
|
||||
<UniqueIdentifier>{c276c050-7000-441e-bb53-30ec3c20c6f5}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\NPC\Ally\Elf">
|
||||
<UniqueIdentifier>{9263815e-9651-4ba2-813f-c2a7f207522d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -2815,6 +2837,19 @@
|
||||
<ClCompile Include="..\Private\TriggerBox.cpp">
|
||||
<Filter>02.GameObjects\Environment\Prop\SkyBox\TriggerBox</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\TriggerBox.cpp" />
|
||||
<ClCompile Include="..\Private\Broom_TargetGate2D.cpp">
|
||||
<Filter>02.GameObjects\UI\GamePlay_Canvas\Broom_Panel\Broom_TargetGate2D</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\Troll_Rush.cpp">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Troll_Rush</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\Troll_Shout.cpp">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Troll_Shout</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\Troll_Self_Hit.cpp">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Troll_Self_Hit</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\Broom_TargetGate2D.cpp">
|
||||
<Filter>02.GameObjects\UI\GamePlay_Canvas\Broom_Panel\Broom_TargetGate2D</Filter>
|
||||
</ClCompile>
|
||||
|
||||
@@ -57,6 +57,8 @@ void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit)
|
||||
if (pOwner->Get_AnimInfo(STATEANIM::RUSH_LOOP).first == iAnimIndex) {
|
||||
CFSM* pFSM = pOwner->Get_Component<CFSM>();
|
||||
pFSM->Change_State(FSMSTATE::STUN);
|
||||
|
||||
/**/
|
||||
}
|
||||
}
|
||||
if (vWorldNormal.y > 0) {
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
#include "Troll_Rush_Hit.h"
|
||||
#include "Troll_Nomal_Smoke.h"
|
||||
#include "TrollSwing.h"
|
||||
#include "Troll_Rush.h"
|
||||
#include "Troll_Shout.h"
|
||||
#include "Troll_Self_Hit.h"
|
||||
|
||||
#include "Goblin_Protego.h"
|
||||
#include "Goblin_Attack.h"
|
||||
#include "Mage_Down_Attack.h"
|
||||
@@ -768,7 +772,36 @@ HRESULT CEffectPool::Ready_MonsterEffect()
|
||||
return pEffect; }
|
||||
))) return E_FAIL;
|
||||
|
||||
|
||||
if (FAILED(Create_Effect(SKILL_TYPE::TROLL_SHOUT, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
|
||||
|
||||
CTroll_Shout* pEffect = nullptr;
|
||||
|
||||
pEffect = m_pGameInstance->Clone_Prototype<CTroll_Shout>(iPrototypeLevel, nullptr);
|
||||
|
||||
return pEffect; }
|
||||
))) return E_FAIL;
|
||||
|
||||
|
||||
if (FAILED(Create_Effect(SKILL_TYPE::TROLL_RUSH, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
|
||||
|
||||
CTroll_Rush* pEffect = nullptr;
|
||||
|
||||
pEffect = m_pGameInstance->Clone_Prototype<CTroll_Rush>(iPrototypeLevel, nullptr);
|
||||
|
||||
return pEffect; }
|
||||
))) return E_FAIL;
|
||||
|
||||
|
||||
if (FAILED(Create_Effect(SKILL_TYPE::TROLL_SELF_HIT, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
|
||||
|
||||
CTroll_Self_Hit* pEffect = nullptr;
|
||||
|
||||
pEffect = m_pGameInstance->Clone_Prototype<CTroll_Self_Hit>(iPrototypeLevel, nullptr);
|
||||
|
||||
return pEffect; }
|
||||
))) return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
||||
m_isDay = true;
|
||||
#endif //
|
||||
#ifdef 진우
|
||||
m_isDay = false;
|
||||
m_isDay = true;
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
m_isDay = true;
|
||||
@@ -86,13 +86,15 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
||||
|
||||
map<_string, CLand*> Lands = {};
|
||||
|
||||
|
||||
if (FAILED(Ready_Land(&Lands))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
#ifndef 진우
|
||||
if (FAILED(Ready_IntstanceProp(&Lands)))
|
||||
return E_FAIL;
|
||||
|
||||
#endif
|
||||
if (FAILED(Ready_Markers())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -266,6 +268,7 @@ HRESULT CLevel_GamePlay::Ready_Volumetric()
|
||||
0.f
|
||||
);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
m_pGameInstance->Setting_Volumetirc(
|
||||
@@ -1113,7 +1116,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc()
|
||||
{
|
||||
_bool isLoad_NPC = { true };
|
||||
_bool isLoad_RandomNPC = { true };
|
||||
_bool isRandomPosition = { false };
|
||||
_bool isRandomPosition = { true };
|
||||
#ifdef _DEBUG
|
||||
#ifdef gimch
|
||||
isLoad_NPC = true;
|
||||
@@ -1121,8 +1124,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc()
|
||||
isRandomPosition = false;
|
||||
#endif // gimch
|
||||
#ifdef 진우
|
||||
isLoad_RandomNPC = true;
|
||||
isLoad_NPC = true;
|
||||
isLoad_RandomNPC = false;
|
||||
isLoad_NPC = false;
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
isLoad_NPC = false;
|
||||
@@ -1170,7 +1173,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc()
|
||||
{
|
||||
if(isRandomPosition)
|
||||
{
|
||||
for (_uint i = 0; i < 10; i++)
|
||||
for (_uint i = 0; i < 12; i++)
|
||||
{
|
||||
CRandomNpc::NPCDESC NPCDesc{};
|
||||
_float X = m_pGameInstance->Real_Random_Float(22.f, 29.f);
|
||||
|
||||
@@ -212,7 +212,9 @@
|
||||
#include "TrollSwing.h"
|
||||
#include "Troll_Nomal_Smoke.h"
|
||||
#include "Troll_Rush_Hit.h"
|
||||
|
||||
#include "Troll_Rush.h"
|
||||
#include "Troll_Shout.h"
|
||||
#include "Troll_Self_Hit.h"
|
||||
|
||||
#include "WandEnd.h"
|
||||
#include "Goblin_Protego.h"
|
||||
@@ -2628,6 +2630,19 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CTroll_Rush_Hit>(g_iStaticLevel, CTroll_Rush_Hit::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CTroll_Rush>(g_iStaticLevel, CTroll_Rush::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CTroll_Shout>(g_iStaticLevel, CTroll_Shout::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CTroll_Self_Hit>(g_iStaticLevel, CTroll_Self_Hit::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CGoblin_Protego>(g_iStaticLevel, CGoblin_Protego::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -2845,6 +2860,16 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
|
||||
});
|
||||
|
||||
Asset_FileLoad("../Bin/Resources/Models/Effect/Rock", L"Prototype_Instance_Model_", [&](_wstring wstrFileName, const _char* pFilePath) {
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, wstrFileName,
|
||||
CInstance_Model::Create(m_pDevice, m_pContext, pFilePath, MODEL::NONANIM, XMMatrixScaling(0.1f, 0.1f, 0.1f) * XMMatrixIdentity(), 0))))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
|
||||
});
|
||||
|
||||
m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다.");
|
||||
|
||||
#pragma region UI
|
||||
|
||||
@@ -127,19 +127,27 @@ void CNomalJap::Late_Update(_float fTimeDelta)
|
||||
if (false == m_bVisible) {
|
||||
return;
|
||||
}
|
||||
//if (false == m_bHit) {
|
||||
// _vector vStartPos = XMLoadFloat4(&m_vStartPos);
|
||||
// _vector vEndPos = m_pProjectile->Get_WorldPostion();
|
||||
|
||||
// if (false == m_bHit) {
|
||||
// _vector vStartPos = XMLoadFloat4(&m_vStartPos);
|
||||
// _vector vEndPos = XMLoadFloat4(&m_vEndPos);
|
||||
// if (false == XMVector3NearEqual(vEndPos, XMVectorZero(), XMVectorReplicate(FLT_EPSILON5)))
|
||||
// {
|
||||
// ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.02f);
|
||||
// OnCollision(this, &CollisionInfo);
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
if (false == m_bHit) {
|
||||
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
|
||||
_vector vEndPos = m_pProjectile->Get_WorldPostion();
|
||||
ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.002f);
|
||||
|
||||
if (false == m_bHit) {
|
||||
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
|
||||
_vector vEndPos = XMLoadFloat4(&m_vEndPos);
|
||||
if (false == XMVector3NearEqual(vEndPos, XMVectorZero(), XMVectorReplicate(FLT_EPSILON5)))
|
||||
{
|
||||
ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.02f);
|
||||
OnCollision(this, &CollisionInfo);
|
||||
}
|
||||
}
|
||||
OnCollision(this, &CollisionInfo);
|
||||
}
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
|
||||
@@ -2740,7 +2740,7 @@ void CPlayer::Attach_Broom()
|
||||
|
||||
_matrix BoneNoScale = XMMatrixRotationQuaternion(Rot) * XMMatrixTranslationFromVector(Trans);
|
||||
|
||||
m_OffsetPos = { 0.f,0.9f,0.f };
|
||||
m_OffsetPos = { 0.f,1.f,0.f };
|
||||
|
||||
_matrix Offset = XMMatrixTranslation(m_OffsetPos.x,
|
||||
m_OffsetPos.y, m_OffsetPos.z);
|
||||
|
||||
@@ -37,16 +37,20 @@ HRESULT CRandomNpc::Initialize(void* pArg)
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
Load_AnimXML(("../Bin/Resources/Data/AnimList/RandomNpc.xml"));
|
||||
|
||||
_vector vPos = XMLoadFloat4(&pDesc->vPos);
|
||||
m_pTransformCom->Set_State(STATE::POSITION, vPos);
|
||||
m_pCharacter_Controller->Set_Position(vPos);
|
||||
m_pTransformCom->Rotation(XMConvertToRadians(pDesc->vRotQ.x), XMConvertToRadians(pDesc->vRotQ.y), XMConvertToRadians(pDesc->vRotQ.z));
|
||||
|
||||
_int iRandom = m_pGameInstance->Real_Random_Int(0, 12);
|
||||
m_pModelCom->Set_AnimationIndex(iRandom, false);
|
||||
m_pModelCom->Set_AnimationIndex(m_Anims[iRandom], false,1.f,false,1.f,false);
|
||||
m_pCallBack_Behavior->Initialize(m_pCharacter_Controller);
|
||||
m_pCallBack_HitReport->Initialize(m_pCharacter_Controller);
|
||||
m_bNpc = true;
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -76,7 +80,7 @@ void CRandomNpc::Update(_float fTimeDelta)
|
||||
if (false == m_bBattle)
|
||||
{
|
||||
_int iRandom = m_pGameInstance->Real_Random_Int(0, 12);
|
||||
m_pModelCom->Set_AnimationIndex(iRandom, false, 1.f, false, 1.f, false);
|
||||
m_pModelCom->Set_AnimationIndex(m_Anims[iRandom], false, 1.f, false, 1.f, false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -379,6 +383,20 @@ HRESULT CRandomNpc::Ready_Components(void* pArg)
|
||||
}
|
||||
m_bBattleObserve_Npc = true;
|
||||
break;
|
||||
case 10:
|
||||
m_strModelPrototypeTag = TEXT("Prototype_Component_VictorRookWood_Model");
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("VICTORROCKWOOD"), (CComponent**)&m_pNpcStat))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
m_bBroomRacer = true;
|
||||
break;
|
||||
case 11:
|
||||
m_strModelPrototypeTag = TEXT("Prototype_Component_ChiyoKogawa_Model");
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("CHIYOKOGAWA"), (CComponent**)&m_pNpcStat))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
m_bBroomRacer = true;
|
||||
break;
|
||||
}
|
||||
|
||||
/* Com_Model */
|
||||
@@ -470,6 +488,42 @@ void CRandomNpc::BattleObserve_Anim()
|
||||
}
|
||||
}
|
||||
|
||||
void CRandomNpc::Load_AnimXML(const _char* pFilePath)
|
||||
{
|
||||
tinyxml2::XMLDocument doc;
|
||||
if (doc.LoadFile(pFilePath) != tinyxml2::XML_SUCCESS)
|
||||
return;
|
||||
|
||||
tinyxml2::XMLElement* pRoot = doc.FirstChildElement("NPCAnimations");
|
||||
|
||||
const char* pModelType =
|
||||
(m_bBroomRacer == true) ? "RACING" : "DEFAULT";
|
||||
|
||||
for (tinyxml2::XMLElement* pNPC = pRoot->FirstChildElement("NPC");
|
||||
pNPC;
|
||||
pNPC = pNPC->NextSiblingElement("NPC"))
|
||||
{
|
||||
if (strcmp(pNPC->Attribute("Model"), pModelType) != 0)
|
||||
continue;
|
||||
|
||||
for (tinyxml2::XMLElement* pAnim = pNPC->FirstChildElement("Anim");
|
||||
pAnim;
|
||||
pAnim = pAnim->NextSiblingElement("Anim"))
|
||||
{
|
||||
string animName = pAnim->Attribute("Name");
|
||||
|
||||
for (tinyxml2::XMLElement* pIndex = pAnim->FirstChildElement("Index");
|
||||
pIndex;
|
||||
pIndex = pIndex->NextSiblingElement("Index"))
|
||||
{
|
||||
m_Anims.push_back(pIndex->IntText());
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
CRandomNpc* CRandomNpc::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CRandomNpc* pInstance = new CRandomNpc(pDevice, pContext);
|
||||
|
||||
@@ -581,6 +581,14 @@ HRESULT CTroll::Ready_Parts()
|
||||
m_pLeft_Smoke->FollowParents(m_pModelCom->Get_BoneMatrixPtr("LeftArm"));
|
||||
|
||||
|
||||
if (FAILED(Add_PartObject<CEffectParts>("Troll_Dead_Smoke", g_iStaticLevel, &m_pDead_Smoke, &PartsDesc)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
m_pDead_Smoke->Load("../Bin/Resources/Data/Effect/Troll/TrollDead/TrollDead", static_cast<LEVEL>(g_iStaticLevel));
|
||||
|
||||
|
||||
|
||||
if (FAILED(Add_PartObject<CTrailObject>("Left_Trail", g_iStaticLevel, &m_pLeftTrail, &PartsDesc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -691,12 +699,15 @@ void CTroll::Free()
|
||||
SAFE_RELEASE(m_pLeftTrail);
|
||||
SAFE_RELEASE(m_pRightTrail);
|
||||
SAFE_RELEASE(m_pWeaponTrail);
|
||||
SAFE_RELEASE(m_pRushEffect);
|
||||
SAFE_RELEASE(m_pDead_Smoke);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CTroll::Describe_Entity()
|
||||
{
|
||||
GUI::Begin("UNIT", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||
|
||||
if (GUI::CollapsingHeader("Troll")) {
|
||||
__super::Describe_Entity();
|
||||
|
||||
@@ -714,8 +725,6 @@ void CTroll::Describe_Entity()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
m_pTransformCom->Describe_Entity();
|
||||
}
|
||||
GUI::End();
|
||||
|
||||
@@ -83,19 +83,29 @@ HRESULT CTrollSwing::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
if (FAILED(__super::Pre_Setting(pObject, nullptr)))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
_vector vPos = m_pOwner->Get_Component<CTransform>()->Get_State(STATE::POSITION);
|
||||
|
||||
vPos += m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK) * 2.f;
|
||||
vPos += m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK) * 4.f;
|
||||
|
||||
CEffectParts* pRockPT = Get_PartObject<CEffectParts>("Rock_PT_25");
|
||||
CEffectParts* pRock_PT_Brown = Get_PartObject<CEffectParts>("Rock_PT_Brown");
|
||||
CEffectParts* pRock_PT_Large = Get_PartObject<CEffectParts>("Rock_PT_Large");
|
||||
CEffectParts* pCrack_Decal = Get_PartObject<CEffectParts>("Crack_Decal");
|
||||
CEffectParts* pSmoke = Get_PartObject<CEffectParts>("Smoke");
|
||||
|
||||
pRockPT->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos + XMVectorSet(0.f, 0.5f, 0.f, 0.f));
|
||||
pSmoke->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos + XMVectorSet(0.f, 0.2f, 0.f, 0.f));
|
||||
pRock_PT_Large->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos + XMVectorSet(0.f, 0.5f, 0.f, 0.f));
|
||||
|
||||
pSmoke->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos + XMVectorSet(0.f, 1.5f, 0.f, 0.f));
|
||||
pCrack_Decal->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos + XMVectorSet(0.f, 0.2f, 0.f, 0.f));
|
||||
|
||||
pRockPT->Set_Visible(true);
|
||||
pRock_PT_Large->Set_Visible(true);
|
||||
|
||||
pSmoke->Set_Visible(true);
|
||||
//pRock_PT_Brown->Set_Visible(true);
|
||||
pCrack_Decal->Set_Visible(true);
|
||||
|
||||
CPlayer* pPlayer = static_cast<CPlayer*>(m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first);
|
||||
|
||||
@@ -155,25 +165,6 @@ CGameObject* CTrollSwing::Clone(void* pArg, CGameObject* pOwner)
|
||||
|
||||
void CTrollSwing::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
_int iIndex = CollisionCheck();
|
||||
|
||||
if (iIndex < 0)
|
||||
return;
|
||||
|
||||
if (m_isCollisionEnter == true)
|
||||
return;
|
||||
|
||||
m_isCollisionEnter = true;
|
||||
|
||||
_vector vPos = XMVectorSet(m_Hitbuffer.touches[iIndex].position.x, m_Hitbuffer.touches[iIndex].position.y, m_Hitbuffer.touches[iIndex].position.z, 1.f);
|
||||
|
||||
|
||||
for (auto& pPair : m_PartObjects)
|
||||
{
|
||||
pPair.second->Set_Visible(true);
|
||||
pPair.second->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "Troll.h"
|
||||
#include "EffectPool.h"
|
||||
#include "Layer.h"
|
||||
|
||||
CTroll_Rock::CTroll_Rock(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
: CPartObject(pDevice, pContext)
|
||||
@@ -33,11 +35,17 @@ HRESULT CTroll_Rock::Initialize(void* pArg)
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object<CEffectPool>();
|
||||
SAFE_ADDREF(m_pEffectPool);
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CTroll_Rock::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
|
||||
XMStoreFloat4(&m_vStartPos, m_pTransformCom->Get_State(STATE::POSITION));
|
||||
m_pModelCom->Combined_BoneMatrix();
|
||||
if (m_bAttach)
|
||||
@@ -152,6 +160,9 @@ void CTroll_Rock::RockHit()
|
||||
break;
|
||||
}
|
||||
m_bVisible = false;
|
||||
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::TROLL_NOMAL_SMOKE, m_pOwner , &tagCollInfo.vWorldPos);
|
||||
pUserData->pOwner->OnCollision(this, &tagCollInfo);
|
||||
}
|
||||
break;
|
||||
@@ -287,7 +298,7 @@ void CTroll_Rock::Free()
|
||||
|
||||
SAFE_RELEASE(m_pShaderCom);
|
||||
SAFE_RELEASE(m_pModelCom);
|
||||
|
||||
SAFE_RELEASE(m_pEffectPool);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
#include "pch.h"
|
||||
#include "Troll_Rush.h"
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "EffectParts.h"
|
||||
#include "Wand.h"
|
||||
#include "Player.h"
|
||||
|
||||
CTroll_Rush::CTroll_Rush(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
: CEffect_Container{ pDevice, pContext }
|
||||
{
|
||||
}
|
||||
|
||||
CTroll_Rush::CTroll_Rush(const CTroll_Rush& rhs)
|
||||
: CEffect_Container(rhs)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CTroll_Rush::Initialize_Prototype()
|
||||
{
|
||||
if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/TrollRushBlur")))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
return S_OK;
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll_Rush::Initialize(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Initialize(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(Ready_Components(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
|
||||
if (FAILED(Create_Effect()))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
m_wstrEffectName = L"TrollRushBlur";
|
||||
|
||||
|
||||
m_pRush_Blur = Get_PartObject<CEffectParts>("Rush_Blur");
|
||||
|
||||
SAFE_ADDREF(m_pRush_Blur);
|
||||
|
||||
m_fDuration = 2.5f;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CTroll_Rush::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Rush::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
__super::Update(fTimeDelta);
|
||||
|
||||
Update_Event(fTimeDelta);
|
||||
|
||||
CCharacter_Controller* pCCT = m_pOwner->Get_Component<CCharacter_Controller>();
|
||||
|
||||
_vector vPos = pCCT->Get_Position();
|
||||
|
||||
vPos += m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK) * 2.f;
|
||||
|
||||
m_pRush_Blur->Set_Visible(true);
|
||||
|
||||
_vector vRight = XMVector3Normalize(m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK));
|
||||
_vector vLook = XMVector3Normalize(XMVector3Cross(vRight , XMVectorSet(0.f, 1.f, 0.f, 0.f)));
|
||||
_vector vUp = XMVector3Normalize(XMVector3Cross(vLook ,vRight));
|
||||
|
||||
_matrix PJ_WorldMat = { vRight , vUp ,vLook , vPos };
|
||||
|
||||
m_pRush_Blur->Get_Component<CTransform>()->Set_WorldMatrix(PJ_WorldMat);
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Rush::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll_Rush::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Pre_Setting(pObject, nullptr)))
|
||||
return E_FAIL;
|
||||
|
||||
m_pRush_Blur->Get_Component<CInstance_Model>()->Set_Loop(true);
|
||||
|
||||
CCharacter_Controller* pCCT = m_pOwner->Get_Component<CCharacter_Controller>();
|
||||
|
||||
_vector vPos = pCCT->Get_Position();
|
||||
|
||||
vPos += m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK);
|
||||
|
||||
|
||||
m_pRush_Blur->Set_Visible(true);
|
||||
|
||||
_vector vRight = XMVector3Normalize( m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK));
|
||||
_vector vLook = XMVector3Normalize(XMVector3Cross(XMVectorSet(0.f, 1.f, 0.f, 0.f), vRight));
|
||||
_vector vUp = XMVector3Normalize(XMVector3Cross(vRight, vLook));
|
||||
|
||||
_matrix PJ_WorldMat = { vRight , vUp ,vLook , vPos };
|
||||
|
||||
m_pRush_Blur->Get_Component<CTransform>()->Set_WorldMatrix(PJ_WorldMat);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTroll_Rush::Ready_Components(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Ready_Components(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTroll_Rush::Ready_Child()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
CTroll_Rush* CTroll_Rush::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CTroll_Rush* pInstance = new CTroll_Rush(pDevice, pContext);
|
||||
|
||||
if (FAILED(pInstance->Initialize_Prototype()))
|
||||
{
|
||||
MSG_BOX("Failed to Created : CTroll_Rush");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
|
||||
CGameObject* CTroll_Rush::Clone(void* pArg, CGameObject* pOwner)
|
||||
{
|
||||
CTroll_Rush* pInstance = new CTroll_Rush(*this);
|
||||
pInstance->m_pOwner = pOwner;
|
||||
if (FAILED(pInstance->Initialize(pArg)))
|
||||
{
|
||||
MSG_BOX("Failed to Cloned : CTroll_Rush");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CTroll_Rush::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Rush::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
SAFE_RELEASE(m_pRush_Blur);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
void CTroll_Rush::Describe_Entity()
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
HRESULT CTroll_Rush::Bind_ShaderResources()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,185 @@
|
||||
#include "pch.h"
|
||||
#include "Troll_Self_Hit.h"
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "EffectParts.h"
|
||||
#include "Wand.h"
|
||||
#include "Player.h"
|
||||
#include "InfoInstance.h"
|
||||
|
||||
CTroll_Self_Hit::CTroll_Self_Hit(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
: CEffect_Container{ pDevice, pContext }
|
||||
{
|
||||
}
|
||||
|
||||
CTroll_Self_Hit::CTroll_Self_Hit(const CTroll_Self_Hit& rhs)
|
||||
: CEffect_Container(rhs),
|
||||
m_pInfoInstance(CInfoInstance::GetInstance())
|
||||
{
|
||||
SAFE_ADDREF(m_pInfoInstance);
|
||||
}
|
||||
|
||||
HRESULT CTroll_Self_Hit::Initialize_Prototype()
|
||||
{
|
||||
|
||||
if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/TrollSelfHit")))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll_Self_Hit::Initialize(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Initialize(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(Ready_Components(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(Create_Effect()))
|
||||
return E_FAIL;
|
||||
|
||||
m_wstrEffectName = L"TrollSelfHit";
|
||||
|
||||
|
||||
m_fDuration = 3.5f;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CTroll_Self_Hit::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Self_Hit::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
__super::Update(fTimeDelta);
|
||||
|
||||
Update_Event(fTimeDelta);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Self_Hit::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll_Self_Hit::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Pre_Setting(pObject, nullptr)))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
_vector vPos = m_pOwner->Get_Component<CCharacter_Controller>()->Get_HeadPosition();
|
||||
|
||||
CEffectParts* pHit0 = Get_PartObject<CEffectParts>("Hit0");
|
||||
CEffectParts* pHit1 = Get_PartObject<CEffectParts>("Hit1");
|
||||
|
||||
|
||||
pHit0->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
pHit1->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
|
||||
pHit0->Set_Visible(true);
|
||||
pHit1->Set_Visible(true);
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTroll_Self_Hit::Ready_Components(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Ready_Components(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTroll_Self_Hit::Ready_Child()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
CTroll_Self_Hit* CTroll_Self_Hit::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CTroll_Self_Hit* pInstance = new CTroll_Self_Hit(pDevice, pContext);
|
||||
|
||||
if (FAILED(pInstance->Initialize_Prototype()))
|
||||
{
|
||||
MSG_BOX("Failed to Created : CTroll_Self_Hit");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
|
||||
CGameObject* CTroll_Self_Hit::Clone(void* pArg, CGameObject* pOwner)
|
||||
{
|
||||
CTroll_Self_Hit* pInstance = new CTroll_Self_Hit(*this);
|
||||
pInstance->m_pOwner = pOwner;
|
||||
if (FAILED(pInstance->Initialize(pArg)))
|
||||
{
|
||||
MSG_BOX("Failed to Cloned : CTroll_Self_Hit");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CTroll_Self_Hit::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
_int iIndex = CollisionCheck();
|
||||
|
||||
if (iIndex < 0)
|
||||
return;
|
||||
|
||||
if (m_isCollisionEnter == true)
|
||||
return;
|
||||
|
||||
m_isCollisionEnter = true;
|
||||
|
||||
_vector vPos = XMVectorSet(m_Hitbuffer.touches[iIndex].position.x, m_Hitbuffer.touches[iIndex].position.y, m_Hitbuffer.touches[iIndex].position.z, 1.f);
|
||||
|
||||
|
||||
for (auto& pPair : m_PartObjects)
|
||||
{
|
||||
pPair.second->Set_Visible(true);
|
||||
pPair.second->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Self_Hit::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
SAFE_RELEASE(m_pInfoInstance);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
void CTroll_Self_Hit::Describe_Entity()
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
HRESULT CTroll_Self_Hit::Bind_ShaderResources()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,191 @@
|
||||
#include "pch.h"
|
||||
#include "Troll_Shout.h"
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "EffectParts.h"
|
||||
#include "Wand.h"
|
||||
#include "Player.h"
|
||||
|
||||
CTroll_Shout::CTroll_Shout(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
: CEffect_Container{ pDevice, pContext }
|
||||
{
|
||||
}
|
||||
|
||||
CTroll_Shout::CTroll_Shout(const CTroll_Shout& rhs)
|
||||
: CEffect_Container(rhs)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CTroll_Shout::Initialize_Prototype()
|
||||
{
|
||||
if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/TrollShout")))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll_Shout::Initialize(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Initialize(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(Ready_Components(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
if (FAILED(Create_Effect()))
|
||||
return E_FAIL;
|
||||
|
||||
m_wstrEffectName = L"TrollShout";
|
||||
|
||||
|
||||
m_fDuration = 3.f;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CTroll_Shout::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Shout::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
__super::Update(fTimeDelta);
|
||||
|
||||
Update_Event(fTimeDelta);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Shout::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll_Shout::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Pre_Setting(pObject, nullptr)))
|
||||
return E_FAIL;
|
||||
|
||||
CCharacter_Controller* pCCT = m_pOwner->Get_Component<CCharacter_Controller>();
|
||||
|
||||
_vector vPos = XMLoadFloat4(static_cast<_float4*>(pArg));
|
||||
vPos += m_pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK) * 2.f;
|
||||
|
||||
_vector vFootPos = {};
|
||||
|
||||
if (pCCT != nullptr)
|
||||
{
|
||||
vFootPos = pCCT->Get_FootPosition();
|
||||
|
||||
CEffectParts* pShout_Blur = Get_PartObject<CEffectParts>("Shout_Blur");
|
||||
CEffectParts* pSmoke = Get_PartObject<CEffectParts>("Shout_Smoke");
|
||||
|
||||
|
||||
pShout_Blur->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
pShout_Blur->Set_Visible(true);
|
||||
|
||||
pSmoke->Get_Component<CTransform>()->Set_State(STATE::POSITION, vFootPos);
|
||||
pSmoke->Set_Visible(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTroll_Shout::Ready_Components(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Ready_Components(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTroll_Shout::Ready_Child()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
CTroll_Shout* CTroll_Shout::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CTroll_Shout* pInstance = new CTroll_Shout(pDevice, pContext);
|
||||
|
||||
if (FAILED(pInstance->Initialize_Prototype()))
|
||||
{
|
||||
MSG_BOX("Failed to Created : CTroll_Shout");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
|
||||
CGameObject* CTroll_Shout::Clone(void* pArg, CGameObject* pOwner)
|
||||
{
|
||||
CTroll_Shout* pInstance = new CTroll_Shout(*this);
|
||||
pInstance->m_pOwner = pOwner;
|
||||
if (FAILED(pInstance->Initialize(pArg)))
|
||||
{
|
||||
MSG_BOX("Failed to Cloned : CTroll_Shout");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CTroll_Shout::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
_int iIndex = CollisionCheck();
|
||||
|
||||
if (iIndex < 0)
|
||||
return;
|
||||
|
||||
if (m_isCollisionEnter == true)
|
||||
return;
|
||||
|
||||
m_isCollisionEnter = true;
|
||||
|
||||
_vector vPos = XMVectorSet(m_Hitbuffer.touches[iIndex].position.x, m_Hitbuffer.touches[iIndex].position.y, m_Hitbuffer.touches[iIndex].position.z, 1.f);
|
||||
|
||||
|
||||
for (auto& pPair : m_PartObjects)
|
||||
{
|
||||
pPair.second->Set_Visible(true);
|
||||
pPair.second->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void CTroll_Shout::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
void CTroll_Shout::Describe_Entity()
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
HRESULT CTroll_Shout::Bind_ShaderResources()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
#include "Layer.h"
|
||||
#include "EffectPool.h"
|
||||
#include "TrailObject.h"
|
||||
#include "Troll_Weapon.h"
|
||||
#include "Effect_Container.h"
|
||||
#include "EffectParts.h"
|
||||
|
||||
#pragma region STATE
|
||||
#include "State_Idle.h"
|
||||
@@ -87,6 +90,17 @@ void CTroll::Behavior_IdleBreakEnter()
|
||||
break;
|
||||
case 1:// 방망이
|
||||
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK2];
|
||||
|
||||
Add_Event(pairAnimInfo.first, [this]() {
|
||||
|
||||
_matrix WeaponMat = XMLoadFloat4x4(m_pWeapon_BoneMat) * Get_PartObject<CTroll_Weapon>()->Get_Component<CTransform>()->Get_XMWorldMatrix();;
|
||||
|
||||
_float4 vPosition = {};
|
||||
XMStoreFloat4(&vPosition, WeaponMat.r[3]);
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::TROLL_NOMAL_SMOKE, this, &vPosition);
|
||||
}, 0.7f);
|
||||
|
||||
break;
|
||||
case 2: // 발구르기
|
||||
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK3];
|
||||
@@ -104,9 +118,22 @@ void CTroll::Behavior_IdleBreakEnter()
|
||||
break;
|
||||
case 3: //소리지르기
|
||||
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK4];
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {CameraShake(5.f, 1.f, 2.f, 0.5f);},
|
||||
0.3f);
|
||||
|
||||
Add_Event(pairAnimInfo.first, [this]() {
|
||||
|
||||
_matrix HandMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("mouth_bag")) * m_pTransformCom->Get_XMWorldMatrix();
|
||||
|
||||
_float4 vPosition = {};
|
||||
|
||||
XMStoreFloat4(&vPosition, HandMat.r[3]);
|
||||
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::TROLL_SHOUT, this, &vPosition);
|
||||
|
||||
CameraShake(5.f, 1.f, 2.f, 0.5f);
|
||||
|
||||
}, 0.2f);
|
||||
|
||||
break;
|
||||
}
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
@@ -316,6 +343,22 @@ void CTroll::Behavior_RushEnter()
|
||||
pairAnimInfo = m_Animation[STATEANIM::RUSH_START];
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
|
||||
Add_Event(pairAnimInfo.first, [this]() {
|
||||
|
||||
_matrix HandMat = XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("IK_LeftFoot")) * m_pTransformCom->Get_XMWorldMatrix();
|
||||
|
||||
_float4 vPosition = {};
|
||||
XMStoreFloat4(&vPosition, HandMat.r[3]);
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::TROLL_NOMAL_SMOKE, this, &vPosition);
|
||||
}, 0.45f);
|
||||
|
||||
Add_Event(m_Animation[STATEANIM::RUSH_LOOP].first, [this]() {
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::TROLL_RUSH, this, nullptr, &m_pRushEffect);
|
||||
|
||||
}, 0.f);
|
||||
}
|
||||
|
||||
HRESULT CTroll::Behavior_RushExitCheck(_float fTimeDelta)
|
||||
@@ -336,6 +379,14 @@ HRESULT CTroll::Behavior_RushExitCheck(_float fTimeDelta)
|
||||
}
|
||||
else {
|
||||
m_fRushTime += fTimeDelta;
|
||||
|
||||
|
||||
if (m_fRushTime >= 1.f && m_pRushEffect != nullptr)
|
||||
{
|
||||
m_pRushEffect->Get_PartObject<CEffectParts>()->Get_Component<CInstance_Model>()->Set_Loop(false);
|
||||
SAFE_RELEASE(m_pRushEffect);
|
||||
}
|
||||
|
||||
if (m_fRushTime >= 1.5f)
|
||||
{
|
||||
m_fRushTime = 0.f;
|
||||
@@ -387,7 +438,10 @@ void CTroll::Behavior_ThrowEnter()
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {Get_PartObject<CTroll_Rock>()->Set_Visible(true); },
|
||||
[this]() {
|
||||
Get_PartObject<CTroll_Rock>()->Set_Visible(true);
|
||||
|
||||
},
|
||||
0.95f);
|
||||
|
||||
Set_Easing(m_Animation[STATEANIM::THROW_ROCK].first, 0.1f, 0.47f, 1.5f);
|
||||
@@ -447,6 +501,7 @@ void CTroll::Behavior_ThrowExit()
|
||||
m_pFSM->Disable_State(FSMSTATE::THROW_ROCK);
|
||||
Get_PartObject<CTroll_Rock>()->Set_Attach(true);
|
||||
Get_PartObject<CTroll_Rock>()->Set_Visible(false);
|
||||
|
||||
}
|
||||
|
||||
void CTroll::Behavior_SwingEnter()
|
||||
@@ -513,17 +568,12 @@ void CTroll::Behavior_SlamEnter()
|
||||
m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SLAM)];
|
||||
|
||||
|
||||
Troll_Trail_Visible(true);
|
||||
m_pWeaponTrail->Set_Visible(true);
|
||||
m_pWeaponTrail->Get_Component<CTrail>()->Reset_Trail();
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
Troll_Trail_Visible(false);
|
||||
m_pWeaponTrail->Set_Visible(false);
|
||||
},
|
||||
0.7f);
|
||||
|
||||
Troll_Trail_Visible(true);
|
||||
m_pWeaponTrail->Set_Visible(true);
|
||||
m_pWeaponTrail->Get_Component<CTrail>()->Reset_Trail(); },
|
||||
0.15f);
|
||||
|
||||
Add_Event(m_Animation[STATEANIM::SLAM].first,
|
||||
[this]() { m_bLookAt = false; },
|
||||
@@ -531,6 +581,8 @@ void CTroll::Behavior_SlamEnter()
|
||||
|
||||
Add_Event(m_Animation[STATEANIM::SLAM].first, [this]() {
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::TROLL_ATTACK, this);
|
||||
Troll_Trail_Visible(false);
|
||||
m_pWeaponTrail->Set_Visible(false);
|
||||
}, 0.3f);
|
||||
|
||||
Set_Easing(pairAnimInfo.first, 0.2f, 0.42f, 1.5f);
|
||||
@@ -571,20 +623,25 @@ void CTroll::Behavior_BackHandSwingEnter()
|
||||
m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::BACKHAND_SWING)] =
|
||||
m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::BACKHAND_SWING)];
|
||||
|
||||
|
||||
Add_Event(m_Animation[STATEANIM::BACKHAND_SWING_JOG].first,
|
||||
[this]() { m_bLookAt = false; },
|
||||
0.2f);
|
||||
|
||||
Troll_Trail_Visible(true);
|
||||
m_pWeaponTrail->Set_Visible(true);
|
||||
m_pWeaponTrail->Get_Component<CTrail>()->Reset_Trail();
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
Troll_Trail_Visible(true);
|
||||
m_pWeaponTrail->Set_Visible(true);
|
||||
m_pWeaponTrail->Get_Component<CTrail>()->Reset_Trail(); },
|
||||
0.4f);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
Troll_Trail_Visible(false);
|
||||
m_pWeaponTrail->Set_Visible(false);
|
||||
},
|
||||
0.9f);
|
||||
0.66f);
|
||||
|
||||
Set_Easing(pairAnimInfo.first, 0.1f, 0.45f, 1.8f);
|
||||
Set_Easing(pairAnimInfo.first, 0.65f, 0.7f, 0.5f);
|
||||
@@ -626,12 +683,20 @@ void CTroll::Behavior_StunEnter()
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::STUN, this, &strBoneName);
|
||||
|
||||
}
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() { m_bLookAt = true;
|
||||
},
|
||||
0.6f);
|
||||
|
||||
if (m_pRushEffect != nullptr)
|
||||
{
|
||||
m_pRushEffect->Get_PartObject<CEffectParts>()->Get_Component<CInstance_Model>()->Set_Loop(false);
|
||||
SAFE_RELEASE(m_pRushEffect);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll::Behavior_StunExitCheck(_float fTimeDelta)
|
||||
@@ -662,8 +727,11 @@ void CTroll::Behavior_HitEnter()
|
||||
if (fRatio <= 0.75f) {
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_FACE];
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {CameraShake(10.f, 2.f, 3.f, 0.3f); },
|
||||
0.1f);
|
||||
[this]() {
|
||||
CameraShake(10.f, 2.f, 3.f, 0.3f);
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::TROLL_SELF_HIT, this);
|
||||
},0.1f);
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
}
|
||||
}
|
||||
@@ -727,6 +795,14 @@ void CTroll::Behavior_DeadEnter()
|
||||
m_pCharacter_Controller->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
|
||||
m_pRigidBody->SetActive(false);
|
||||
m_pCharacter_Controller->SetActive(false);
|
||||
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
m_pDead_Smoke->Set_Visible(true);
|
||||
m_pDead_Smoke->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pTransformCom->Get_State(STATE::POSITION));
|
||||
}, 0.55f);
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta)
|
||||
@@ -741,6 +817,7 @@ HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta)
|
||||
void CTroll::Behavior_DeadExit()
|
||||
{
|
||||
m_bDead = true;
|
||||
m_pDead_Smoke->Set_Visible(false);
|
||||
}
|
||||
|
||||
_bool CTroll::IsHitSpellDisabled()
|
||||
|
||||
@@ -75,13 +75,13 @@ namespace Client
|
||||
JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, WAND_END, LIGHTNING_SIDE, TRANSFORMATION_SIDE, AVADAKEDAVRA_SIDE, STUPEFY_SIDE, ACCIO_SIDE,
|
||||
|
||||
/*트롤*/
|
||||
TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, GOBLIN_PROTEGO,
|
||||
TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, TROLL_SHOUT , TROLL_RUSH, TROLL_SELF_HIT,
|
||||
|
||||
/*고블린*/
|
||||
GOBLIN_ATTACK, GOBILN_TELEPORT,
|
||||
|
||||
/*고블린 메이지*/
|
||||
GOBLIN_MAGE_ATTACK, GOBLIN_MAGE_DOWN, GOBLIN_MAGE_SIDE,
|
||||
GOBLIN_MAGE_ATTACK, GOBLIN_MAGE_DOWN, GOBLIN_MAGE_SIDE, GOBLIN_PROTEGO,
|
||||
|
||||
/*란록*/
|
||||
|
||||
|
||||
@@ -72,6 +72,7 @@ class CRandomNpc final : public CUnit
|
||||
_bool m_bBattle = {};
|
||||
_int m_eNpcState = ENUM_CLASS(NPC_STATE::END);
|
||||
_bool m_bBroomRacer = {};
|
||||
vector<_int> m_Anims;
|
||||
|
||||
protected:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
@@ -84,6 +85,8 @@ class CRandomNpc final : public CUnit
|
||||
|
||||
void BattleObserve_Anim();
|
||||
|
||||
void Load_AnimXML(const _char* pFilePath);
|
||||
|
||||
public:
|
||||
static CRandomNpc* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr);
|
||||
|
||||
@@ -59,10 +59,14 @@ class CTroll final : public CMonster
|
||||
class CEffectParts* m_pTroll_Particle = { nullptr };
|
||||
class CEffectParts* m_pTroll_Particle2 = { nullptr };
|
||||
|
||||
class CEffectParts* m_pDead_Smoke = { nullptr };
|
||||
|
||||
|
||||
class CTrailObject* m_pLeftTrail = { nullptr };
|
||||
class CTrailObject* m_pRightTrail = { nullptr };
|
||||
class CTrailObject* m_pWeaponTrail = { nullptr };
|
||||
|
||||
|
||||
const _float4x4* m_pLeftHand_BoneMat = { nullptr };
|
||||
const _float4x4* m_pRightHand_BoneMat = { nullptr };
|
||||
const _float4x4* m_pWeapon_BoneMat = { nullptr };
|
||||
@@ -96,6 +100,7 @@ class CTroll final : public CMonster
|
||||
_float m_fRushTime = {};
|
||||
_float m_fAttackDelay = {};
|
||||
|
||||
class CEffect_Container* m_pRushEffect = nullptr;
|
||||
|
||||
void Behavior_IdleEnter();
|
||||
HRESULT Behavior_IdleExitCheck();
|
||||
|
||||
@@ -34,6 +34,8 @@ class CTroll_Rock final : public CPartObject
|
||||
CModel* m_pModelCom = { nullptr };
|
||||
_bool m_bAttach = { true };
|
||||
|
||||
class CEffectPool* m_pEffectPool = { nullptr };
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
#pragma once
|
||||
|
||||
#include "Client_Define.h"
|
||||
#include "Effect_Container.h"
|
||||
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
class CTroll_Rush final : public CEffect_Container
|
||||
{
|
||||
private:
|
||||
CTroll_Rush(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CTroll_Rush(const CTroll_Rush& rhs);
|
||||
virtual ~CTroll_Rush() = default;
|
||||
|
||||
public:
|
||||
virtual void Priority_Update(_float fTimeDelta) override;
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
|
||||
public:
|
||||
virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
virtual HRESULT Ready_Components(void* pArg) override;
|
||||
HRESULT Ready_Child();
|
||||
HRESULT Bind_ShaderResources() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
|
||||
private:
|
||||
_wstring m_wstrEffectName = {};
|
||||
|
||||
class CEffectParts* m_pRush_Blur = { nullptr };
|
||||
|
||||
public:
|
||||
static CTroll_Rush* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual void Free() override;
|
||||
CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
|
||||
void Describe_Entity() override;
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -0,0 +1,48 @@
|
||||
#pragma once
|
||||
|
||||
#include "Client_Define.h"
|
||||
#include "Effect_Container.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
NS_END
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
class CTroll_Self_Hit final : public CEffect_Container
|
||||
{
|
||||
private:
|
||||
CTroll_Self_Hit(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CTroll_Self_Hit(const CTroll_Self_Hit& rhs);
|
||||
virtual ~CTroll_Self_Hit() = default;
|
||||
|
||||
public:
|
||||
virtual void Priority_Update(_float fTimeDelta) override;
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
|
||||
public:
|
||||
virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
virtual HRESULT Ready_Components(void* pArg) override;
|
||||
HRESULT Ready_Child();
|
||||
HRESULT Bind_ShaderResources() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
|
||||
private:
|
||||
_wstring m_wstrEffectName = {};
|
||||
private:
|
||||
class CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
public:
|
||||
static CTroll_Self_Hit* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual void Free() override;
|
||||
CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -0,0 +1,43 @@
|
||||
#pragma once
|
||||
|
||||
#include "Client_Define.h"
|
||||
#include "Effect_Container.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
NS_END
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
class CTroll_Shout final : public CEffect_Container
|
||||
{
|
||||
private:
|
||||
CTroll_Shout(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CTroll_Shout(const CTroll_Shout& rhs);
|
||||
virtual ~CTroll_Shout() = default;
|
||||
|
||||
public:
|
||||
virtual void Priority_Update(_float fTimeDelta) override;
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
|
||||
public:
|
||||
virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
virtual HRESULT Ready_Components(void* pArg) override;
|
||||
HRESULT Ready_Child();
|
||||
HRESULT Bind_ShaderResources() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
|
||||
private:
|
||||
_wstring m_wstrEffectName = {};
|
||||
|
||||
public:
|
||||
static CTroll_Shout* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual void Free() override;
|
||||
CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
|
||||
void Describe_Entity() override;
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -0,0 +1,39 @@
|
||||
<NPCAnimations>
|
||||
|
||||
<NPC Model="DEFAULT">
|
||||
<Anim Name="IDLE">
|
||||
<Index>0</Index>
|
||||
<Index>1</Index>
|
||||
<Index>2</Index>
|
||||
<Index>3</Index>
|
||||
<Index>4</Index>
|
||||
<Index>5</Index>
|
||||
<Index>6</Index>
|
||||
<Index>7</Index>
|
||||
<Index>8</Index>
|
||||
<Index>9</Index>
|
||||
<Index>10</Index>
|
||||
<Index>11</Index>
|
||||
<Index>12</Index>
|
||||
</Anim>
|
||||
</NPC>
|
||||
|
||||
<NPC Model="RACING">
|
||||
<Anim Name="IDLE">
|
||||
<Index>76</Index>
|
||||
<Index>77</Index>
|
||||
<Index>78</Index>
|
||||
<Index>79</Index>
|
||||
<Index>80</Index>
|
||||
<Index>81</Index>
|
||||
<Index>82</Index>
|
||||
<Index>83</Index>
|
||||
<Index>84</Index>
|
||||
<Index>85</Index>
|
||||
<Index>86</Index>
|
||||
<Index>87</Index>
|
||||
<Index>88</Index>
|
||||
</Anim>
|
||||
</NPC>
|
||||
|
||||
</NPCAnimations>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
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.
BIN
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.
Binary file not shown.
@@ -13,4 +13,6 @@
|
||||
<DINAHHECAT ID="11" Name="디나 헤카트" NpcName="DINAHHECAT" TAG="1" SizeX="256"/>
|
||||
<MUDIWAONAI ID="12" Name="무디아 오나이" NpcName="MUDIWAONAI" TAG="1" SizeX="256"/>
|
||||
<KITCHENFEMALE ID="13" Name="주방 도비" NpcName="KITCHENFEMALE" TAG="1" SizeX="256"/>
|
||||
<VICTORROCKWOOD ID="14" Name="빅터 룩우드" NpcName="VICTORROCKWOOD" TAG="1" SizeX="256"/>
|
||||
<CHIYOKOGAWA ID="15" Name="치요 코가와" NpcName="CHIYOKOGAWA" TAG="1" SizeX="256"/>
|
||||
</StatInfo>
|
||||
|
||||
Binary file not shown.
@@ -90,7 +90,7 @@
|
||||
</MI_HUM_N_Heads_Teeth>
|
||||
<MI_HUM_N_Heads_Eyelash ShaderIndex = "25" OutLineWrite="5">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_F_Hair_PROHair01_Asuka_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Old_M_Hair_BaiHowin_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
@@ -98,7 +98,7 @@
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_DefaultGrey_D" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="T_HUM_F_Hair_PROHair01_Asuka_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="T_Old_M_Hair_BaiHowin_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
@@ -120,7 +120,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -158,7 +158,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -32,7 +32,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eyelash ShaderIndex = "25" OutLineWrite="5">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_M_Hair_Hecat_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
@@ -40,7 +40,7 @@
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_DefaultGrey_D" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="T_HUM_F_Hair_PROHair01_Asuka_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="T_HUM_M_Hair_Hecat_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -30,7 +30,7 @@
|
||||
</MI_Professor_EleazarFig_Hair>
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -61,7 +61,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -34,7 +34,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eyelash ShaderIndex = "25" OutLineWrite="5">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_F_Hair_PROHair01_Asuka_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_M_Hair_GeorgeOsric_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
@@ -42,7 +42,7 @@
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_DefaultGrey_D" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="T_HUM_F_Hair_PROHair01_Asuka_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="T_HUM_M_Hair_GeorgeOsric_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -59,7 +59,7 @@
|
||||
</MI_HUM_N_Heads_Teeth>
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -206,7 +206,7 @@
|
||||
</MI_HUM_N_Heads_EyeOcclusion>
|
||||
<MI_HUM_M_Heads_Eye_PoltergiestTEst ShaderIndex = "2" OutLineWrite="0">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -187,7 +187,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -216,7 +216,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -94,7 +94,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
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.
@@ -94,7 +94,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -89,7 +89,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -117,7 +117,7 @@
|
||||
</MI_Adult_M_Head_VictorRookWood>
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="0">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
Binary file not shown.
@@ -209,7 +209,7 @@
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Poltergeist_Eye_E" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user