@@ -130,6 +130,7 @@ void CBroom::Behavior_MoveEnter()
|
|||||||
{
|
{
|
||||||
if (!m_bRide)
|
if (!m_bRide)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
pair<_uint, _bool> pairAnimInfo = {};
|
pair<_uint, _bool> pairAnimInfo = {};
|
||||||
m_pFSM->Enable_State(FSMSTATE::MOVE);
|
m_pFSM->Enable_State(FSMSTATE::MOVE);
|
||||||
if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE)) {
|
if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE)) {
|
||||||
@@ -172,6 +173,7 @@ HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
{
|
{
|
||||||
if (!m_bRide)
|
if (!m_bRide)
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|
||||||
pair<_uint, _bool> pairAnimInfo = {};
|
pair<_uint, _bool> pairAnimInfo = {};
|
||||||
_uint iCurrentAnimIndex = m_pModelCom->Get_AnimIndex();
|
_uint iCurrentAnimIndex = m_pModelCom->Get_AnimIndex();
|
||||||
_bool bFwd = m_pGameInstance->Key_Pressing(DIK_W);
|
_bool bFwd = m_pGameInstance->Key_Pressing(DIK_W);
|
||||||
@@ -199,10 +201,14 @@ HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
else if (bLft)
|
else if (bLft)
|
||||||
{
|
{
|
||||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_LEFT_B];
|
pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_LEFT_B];
|
||||||
|
Camera_InterpTurn(fTimeDelta);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (bRht)
|
else if (bRht)
|
||||||
{
|
{
|
||||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_RIGHT_B];
|
pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_RIGHT_B];
|
||||||
|
Camera_InterpTurn(fTimeDelta);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (bDown)
|
else if (bDown)
|
||||||
{
|
{
|
||||||
@@ -365,6 +371,7 @@ void CBroom::Camera_InterpTurn(_float fTimeDelta)
|
|||||||
if (m_pGameInstance->Key_Pressing(DIK_W))
|
if (m_pGameInstance->Key_Pressing(DIK_W))
|
||||||
xmvInput += vCameraLook;
|
xmvInput += vCameraLook;
|
||||||
|
|
||||||
|
|
||||||
xmvInput = XMVector3Normalize(xmvInput);
|
xmvInput = XMVector3Normalize(xmvInput);
|
||||||
|
|
||||||
_float2 fInput2D = { XMVectorGetX(xmvInput), XMVectorGetZ(xmvInput) };
|
_float2 fInput2D = { XMVectorGetX(xmvInput), XMVectorGetZ(xmvInput) };
|
||||||
|
|||||||
@@ -238,6 +238,8 @@ HRESULT CEffect_Container::Pre_Setting(CGameObject* pObject, void* pArg)
|
|||||||
m_bVisible = true;
|
m_bVisible = true;
|
||||||
m_isCollisionEnter = false;
|
m_isCollisionEnter = false;
|
||||||
|
|
||||||
|
m_bHit = false;
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -340,6 +340,7 @@ HRESULT CGoblin_Mage::Ready_Parts()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_pGoblin_Orb->Load("../Bin/Resources/Data/Effect/GoblinMage/Orb_P", static_cast<LEVEL>(NEXT_LEVEL));
|
m_pGoblin_Orb->Load("../Bin/Resources/Data/Effect/GoblinMage/Orb_P", static_cast<LEVEL>(NEXT_LEVEL));
|
||||||
|
|
||||||
m_pGoblin_Orb->FollowParents(m_pModelCom->Get_BoneMatrixPtr("RightHand"));
|
m_pGoblin_Orb->FollowParents(m_pModelCom->Get_BoneMatrixPtr("RightHand"));
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ void CGoblin_Mage::Behavior_IdleBreakEnter()
|
|||||||
m_pFSM->Enable_State(FSMSTATE::IDLEBREAK);
|
m_pFSM->Enable_State(FSMSTATE::IDLEBREAK);
|
||||||
pair<_uint, _bool> pairAnimInfo;
|
pair<_uint, _bool> pairAnimInfo;
|
||||||
m_bLookAt = true;
|
m_bLookAt = true;
|
||||||
_int RandIndex = m_pGameInstance->Real_Random_Int(0, 2);
|
_int RandIndex = m_pGameInstance->Real_Random_Int(0, 6);
|
||||||
switch (RandIndex)
|
switch (RandIndex)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
@@ -62,6 +62,18 @@ void CGoblin_Mage::Behavior_IdleBreakEnter()
|
|||||||
case 2:
|
case 2:
|
||||||
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK3];
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK3];
|
||||||
break;
|
break;
|
||||||
|
case 3:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK4];
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK5];
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK6];
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK7];
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||||
}
|
}
|
||||||
@@ -589,6 +601,10 @@ void CGoblin_Mage::Set_Anim()
|
|||||||
m_Animation[STATEANIM::IDLE_BREAK1] = { 137, false };
|
m_Animation[STATEANIM::IDLE_BREAK1] = { 137, false };
|
||||||
m_Animation[STATEANIM::IDLE_BREAK2] = { 138, false };
|
m_Animation[STATEANIM::IDLE_BREAK2] = { 138, false };
|
||||||
m_Animation[STATEANIM::IDLE_BREAK3] = { 139, false };
|
m_Animation[STATEANIM::IDLE_BREAK3] = { 139, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK4] = { 37, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK5] = { 38, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK6] = { 39, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK7] = { 41, false };
|
||||||
|
|
||||||
m_Animation[STATEANIM::WALK_FWD] = { 45,true };
|
m_Animation[STATEANIM::WALK_FWD] = { 45,true };
|
||||||
m_Animation[STATEANIM::WALK_START] = { 57,false };
|
m_Animation[STATEANIM::WALK_START] = { 57,false };
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
#pragma region STATE
|
#pragma region STATE
|
||||||
#include "State_Idle.h"
|
#include "State_Idle.h"
|
||||||
|
#include "State_IdleBreak.h"
|
||||||
#include "State_Dodge.h"
|
#include "State_Dodge.h"
|
||||||
#include "State_Jump.h"
|
#include "State_Jump.h"
|
||||||
#include "State_Land.h"
|
#include "State_Land.h"
|
||||||
@@ -47,6 +48,53 @@ void CGoblin::Behavior_IdleExit()
|
|||||||
m_pFSM->Disable_State(FSMSTATE::IDLE);
|
m_pFSM->Disable_State(FSMSTATE::IDLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CGoblin::Behavior_IdleBreakEnter()
|
||||||
|
{
|
||||||
|
m_pFSM->Enable_State(FSMSTATE::IDLEBREAK);
|
||||||
|
pair<_uint, _bool> pairAnimInfo;
|
||||||
|
m_bLookAt = true;
|
||||||
|
_int RandIndex = m_pGameInstance->Real_Random_Int(0, 6);
|
||||||
|
switch (RandIndex)
|
||||||
|
{
|
||||||
|
case 0:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK1];
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK2];
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK3];
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK4];
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK5];
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK6];
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK7];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||||
|
}
|
||||||
|
|
||||||
|
HRESULT CGoblin::Behavior_IdleBreakExitCheck()
|
||||||
|
{
|
||||||
|
if (m_pModelCom->IsFinishedAnim()) {
|
||||||
|
m_pFSM->Change_State(FSMSTATE::MOVE);
|
||||||
|
}
|
||||||
|
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CGoblin::Behavior_IdleBreakExit()
|
||||||
|
{
|
||||||
|
m_pFSM->Disable_State(FSMSTATE::IDLEBREAK);
|
||||||
|
}
|
||||||
|
|
||||||
void CGoblin::Behavior_MoveEnter()
|
void CGoblin::Behavior_MoveEnter()
|
||||||
{
|
{
|
||||||
pair<_uint, _bool> pairAnimInfo = {};
|
pair<_uint, _bool> pairAnimInfo = {};
|
||||||
@@ -523,6 +571,18 @@ void CGoblin::Add_FSM()
|
|||||||
Desc.funcLateUpdate = nullptr;
|
Desc.funcLateUpdate = nullptr;
|
||||||
m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc));
|
m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
CState_IdleBreak::STATE_IDLEBREAK_DESC Desc{};
|
||||||
|
Desc.pOwner = this;
|
||||||
|
Desc.funcEnterEvent = [this]() { Behavior_IdleBreakEnter(); };
|
||||||
|
Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_IdleBreakExitCheck(); };
|
||||||
|
Desc.funcExitEvent = [this]() { Behavior_IdleBreakExit(); };
|
||||||
|
Desc.funcPriorityUpdate = nullptr;
|
||||||
|
Desc.funcLateUpdate = nullptr;
|
||||||
|
m_States.emplace(FSMSTATE::IDLEBREAK, CState_IdleBreak::Create(&Desc));
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
CState_Move::STATE_MOVE_DESC Desc{};
|
CState_Move::STATE_MOVE_DESC Desc{};
|
||||||
Desc.pOwner = this;
|
Desc.pOwner = this;
|
||||||
@@ -630,6 +690,14 @@ void CGoblin::Set_Anim()
|
|||||||
m_Animation[STATEANIM::IDLE_TURN_L] = { 26, false };
|
m_Animation[STATEANIM::IDLE_TURN_L] = { 26, false };
|
||||||
m_Animation[STATEANIM::IDLE_TURN_R] = { 30, false };
|
m_Animation[STATEANIM::IDLE_TURN_R] = { 30, false };
|
||||||
|
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK1] = { 137, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK2] = { 138, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK3] = { 139, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK4] = { 37, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK5] = { 38, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK6] = { 39, false };
|
||||||
|
m_Animation[STATEANIM::IDLE_BREAK7] = { 41, false };
|
||||||
|
|
||||||
m_Animation[STATEANIM::WALK_FWD] = { 45,true };
|
m_Animation[STATEANIM::WALK_FWD] = { 45,true };
|
||||||
m_Animation[STATEANIM::WALK_START] = { 57,false };
|
m_Animation[STATEANIM::WALK_START] = { 57,false };
|
||||||
m_Animation[STATEANIM::WALK_STOP] = { 58,false };
|
m_Animation[STATEANIM::WALK_STOP] = { 58,false };
|
||||||
|
|||||||
@@ -159,6 +159,11 @@ CStat* CMonster::Get_Stat()
|
|||||||
return m_pStat;
|
return m_pStat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const _float4x4* CMonster::Get_HeadMatrix()
|
||||||
|
{
|
||||||
|
return m_pModelCom->Get_BoneMatrixPtr("Head");
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT CMonster::Ready_Components(void*pArg)
|
HRESULT CMonster::Ready_Components(void*pArg)
|
||||||
{
|
{
|
||||||
__super::Ready_Components(pArg);
|
__super::Ready_Components(pArg);
|
||||||
|
|||||||
@@ -501,7 +501,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
{
|
{
|
||||||
pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_LEFT];
|
pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_LEFT];
|
||||||
}
|
}
|
||||||
else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT))
|
/*else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT))
|
||||||
{
|
{
|
||||||
if (degree > 35.f && degree < 55.f)
|
if (degree > 35.f && degree < 55.f)
|
||||||
{
|
{
|
||||||
@@ -526,12 +526,12 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
m_fAnimSpeed = 1.2f;
|
m_fAnimSpeed = 1.2f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
else {
|
else {
|
||||||
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
||||||
}
|
}
|
||||||
|
|
||||||
m_fAmount = 0.3f;
|
m_fAmount = 1.f;
|
||||||
m_bRatio = true;
|
m_bRatio = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -539,7 +539,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
{
|
{
|
||||||
pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_RIGHT];
|
pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_RIGHT];
|
||||||
}
|
}
|
||||||
else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT))
|
/*else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT))
|
||||||
{
|
{
|
||||||
if (degree < -35.f && degree > -55.f)
|
if (degree < -35.f && degree > -55.f)
|
||||||
{
|
{
|
||||||
@@ -564,12 +564,12 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
m_fAnimSpeed = 1.2f;
|
m_fAnimSpeed = 1.2f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
else {
|
else {
|
||||||
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
||||||
}
|
}
|
||||||
|
|
||||||
m_fAmount = 0.3f;
|
m_fAmount = 1.f;
|
||||||
m_bRatio = true;
|
m_bRatio = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -578,7 +578,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
{
|
{
|
||||||
pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_BWD];
|
pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_BWD];
|
||||||
}
|
}
|
||||||
else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT))
|
/*else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT))
|
||||||
{
|
{
|
||||||
if (m_pModelCom->IsFinishedAnim() && iCurrentAnimIndex == m_Animation[STATEANIM::JOG_BWD].first)
|
if (m_pModelCom->IsFinishedAnim() && iCurrentAnimIndex == m_Animation[STATEANIM::JOG_BWD].first)
|
||||||
{
|
{
|
||||||
@@ -594,7 +594,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
else if (m_pFSM->IsEnable(FSMSTATE::WALK))
|
else if (m_pFSM->IsEnable(FSMSTATE::WALK))
|
||||||
{
|
{
|
||||||
pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
|
pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
|
||||||
}
|
*/
|
||||||
else {
|
else {
|
||||||
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
|
||||||
}
|
}
|
||||||
@@ -603,7 +603,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
|
|||||||
m_bRatio = true;
|
m_bRatio = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, m_fAmount, m_bRatio, m_fAnimSpeed);
|
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, m_fAmount, true, m_fAnimSpeed);
|
||||||
m_fAmount = 1.f;
|
m_fAmount = 1.f;
|
||||||
m_fAnimSpeed = 1.f;
|
m_fAnimSpeed = 1.f;
|
||||||
}
|
}
|
||||||
@@ -748,8 +748,8 @@ HRESULT CPlayer::Behavior_DodgeExitCheck(_float fTimeDelta)
|
|||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SUCCEEDED(InputMove()) && fRatio >= 0.3f) {
|
if (SUCCEEDED(InputMove()) && fRatio >= 0.32f) {
|
||||||
m_pTransformCom->AccumulateMomentum(m_pTransformCom->Get_State(STATE::LOOK)*fTimeDelta);
|
m_pTransformCom->AccumulateMomentum(m_pTransformCom->Get_State(STATE::LOOK)*fTimeDelta*1.3f);
|
||||||
m_pFSM->Change_State(FSMSTATE::MOVE);
|
m_pFSM->Change_State(FSMSTATE::MOVE);
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,6 +80,10 @@ class CGoblin final : public CMonster
|
|||||||
HRESULT Behavior_IdleExitCheck();
|
HRESULT Behavior_IdleExitCheck();
|
||||||
void Behavior_IdleExit();
|
void Behavior_IdleExit();
|
||||||
|
|
||||||
|
void Behavior_IdleBreakEnter();
|
||||||
|
HRESULT Behavior_IdleBreakExitCheck();
|
||||||
|
void Behavior_IdleBreakExit();
|
||||||
|
|
||||||
void Behavior_MoveEnter();
|
void Behavior_MoveEnter();
|
||||||
HRESULT Behavior_MoveExitCheck(_float fTimeDelta);
|
HRESULT Behavior_MoveExitCheck(_float fTimeDelta);
|
||||||
void Behavior_MoveExit();
|
void Behavior_MoveExit();
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ class CMonster abstract : public CUnit
|
|||||||
virtual _bool Get_Damage(_float fDamage);
|
virtual _bool Get_Damage(_float fDamage);
|
||||||
virtual _float2 Get_Hp();
|
virtual _float2 Get_Hp();
|
||||||
virtual CStat* Get_Stat();
|
virtual CStat* Get_Stat();
|
||||||
|
const _float4x4* Get_HeadMatrix();
|
||||||
protected:
|
protected:
|
||||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||||
CUnit* m_pTarget = { nullptr };
|
CUnit* m_pTarget = { nullptr };
|
||||||
|
|||||||
Binary file not shown.
@@ -17,11 +17,11 @@
|
|||||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="T_Troll_ArmoredTroll_Body_Corruption_A" Extension=".dds"/>
|
||||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||||
<aiTextureType_TRANSMISSION Index="21" Filename="T_Troll_ArmoredTroll_Body_Corruption_A" Extension=".dds"/>
|
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Troll_Mountain01_Eye_D" Extension=".dds"/>
|
<aiTextureType_DIFFUSE Index="1" Filename="T_Troll_Mountain01_Eye_D" Extension=".dds"/>
|
||||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
<aiTextureType_EMISSIVE Index="4" Filename="T_Eye_IrisTint_MSK" Extension=".dds"/>
|
||||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||||
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||||
@@ -104,11 +104,11 @@
|
|||||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="T_Troll_ArmoredTroll_Head_Corruption_A" Extension=".dds"/>
|
||||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||||
<aiTextureType_TRANSMISSION Index="21" Filename="T_Troll_ArmoredTroll_Head_Corruption_A" Extension=".dds"/>
|
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||||
@@ -162,11 +162,11 @@
|
|||||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||||
<aiTextureType_METALNESS Index="15" Filename="T_Troll_ArmoredTroll_Leather_MRO" Extension=".dds"/>
|
<aiTextureType_METALNESS Index="15" Filename="T_Troll_ArmoredTroll_Leather_MRO" Extension=".dds"/>
|
||||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="T_Troll_ArmoredTroll_Leather_Corruption_A" Extension=".dds"/>
|
||||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||||
<aiTextureType_TRANSMISSION Index="21" Filename="T_Troll_ArmoredTroll_Leather_Corruption_A" Extension=".dds"/>
|
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||||
@@ -191,11 +191,11 @@
|
|||||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="VFX_T_SkinBurn_Alpha_D" Extension=".dds"/>
|
||||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||||
<aiTextureType_TRANSMISSION Index="21" Filename="VFX_T_SkinBurn_Alpha_D" Extension=".dds"/>
|
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -247,7 +247,7 @@ void CGoblin::OnCollision(CGameObject* pOther, void* pDesc)
|
|||||||
{
|
{
|
||||||
m_eHitSpell = STATEANIM::HIT_LEVIOSO;
|
m_eHitSpell = STATEANIM::HIT_LEVIOSO;
|
||||||
_float fSkillRatio = m_pInfoInstance->Get_Spell_Info(ENUM_CLASS(SKILL_TYPE::JAP)).fSpell_Damage;
|
_float fSkillRatio = m_pInfoInstance->Get_Spell_Info(ENUM_CLASS(SKILL_TYPE::JAP)).fSpell_Damage;
|
||||||
_float fCoefficient = CollisionDesc->pObject->Get_Component<CStat>()->Get_Stat(ENUM_CLASS(STAT::MAGIC));
|
_float fCoefficient = CollisionDesc->pObject->Get_Component<CStat>()->Get_Stat().fMagic;
|
||||||
if (true == Get_Damage(fSkillRatio * fCoefficient)) {
|
if (true == Get_Damage(fSkillRatio * fCoefficient)) {
|
||||||
m_pFSM->Change_State(FSMSTATE::DEAD);
|
m_pFSM->Change_State(FSMSTATE::DEAD);
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -2097,15 +2097,10 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
|||||||
}
|
}
|
||||||
vector<future<pair<_wstring, CModel*>*>> futures = {};
|
vector<future<pair<_wstring, CModel*>*>> futures = {};
|
||||||
|
|
||||||
futures.emplace_back(Deferred_ModelLoad(
|
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_troll_Model"),
|
||||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(),
|
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) {
|
||||||
TEXT("Prototype_Component_troll_Model")
|
return E_FAIL;
|
||||||
));
|
}
|
||||||
|
|
||||||
//futures.emplace_back(Deferred_ModelLoad(
|
|
||||||
// MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx", XMMatrixIdentity(),
|
|
||||||
// TEXT("Prototype_Component_troll_Model")
|
|
||||||
//));
|
|
||||||
|
|
||||||
#pragma region BODY
|
#pragma region BODY
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
NS_BEGIN(STATEANIM)
|
NS_BEGIN(STATEANIM)
|
||||||
enum ESTATE
|
enum ESTATE
|
||||||
{
|
{
|
||||||
IDLE,IDLE_AIM, IDLE_TURN_L, IDLE_TURN_R, IDLE_TURN_BWD, IDLE_COMBAT_TURN_BWD_L, IDLE_COMBAT_TURN_BWD_R, IDLE_COMBAT_TURN_90_L, IDLE_COMBAT_TURN_90_R,IDLE_BREAK1,IDLE_BREAK2,IDLE_BREAK3,IDLE_BREAK4,
|
IDLE,IDLE_AIM, IDLE_TURN_L, IDLE_TURN_R, IDLE_TURN_BWD, IDLE_COMBAT_TURN_BWD_L, IDLE_COMBAT_TURN_BWD_R, IDLE_COMBAT_TURN_90_L, IDLE_COMBAT_TURN_90_R,IDLE_BREAK1,IDLE_BREAK2,IDLE_BREAK3,IDLE_BREAK4, IDLE_BREAK5, IDLE_BREAK6, IDLE_BREAK7,
|
||||||
MOVE,
|
MOVE,
|
||||||
WALK, WALK_FWD,WALK_RIGHT,WALK_LEFT, WALK_BWD,WALK_START,WALK_STOP,
|
WALK, WALK_FWD,WALK_RIGHT,WALK_LEFT, WALK_BWD,WALK_START,WALK_STOP,
|
||||||
JOG,JOG_START, JOG_FWD, JOG_RIGHT, JOG_LEFT, JOG_BWD, JOG_STOP, JOG_AIM_LEFT, JOG_AIM_RIGHT, JOG_AIM_BWD, JOG_AIM_STOP_L, JOG_AIM_STOP_R, JOG_AIM_STOP_BWD,JOG_LEFT_TURN,JOG_RIGHT_TURN,JOG_112_L,JOG_112_R,JOG_90_L,JOG_90_R,
|
JOG,JOG_START, JOG_FWD, JOG_RIGHT, JOG_LEFT, JOG_BWD, JOG_STOP, JOG_AIM_LEFT, JOG_AIM_RIGHT, JOG_AIM_BWD, JOG_AIM_STOP_L, JOG_AIM_STOP_R, JOG_AIM_STOP_BWD,JOG_LEFT_TURN,JOG_RIGHT_TURN,JOG_112_L,JOG_112_R,JOG_90_L,JOG_90_R,
|
||||||
|
|||||||
Reference in New Issue
Block a user