@@ -365,7 +365,6 @@ void CBroom::Behavior_Broom_FlyEnter()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
m_pFSM->Enable_State(FSMSTATE::FLY);
|
||||
m_pModelCom->Set_BlendDuration(0.8f);
|
||||
m_bHoverToggle = false;
|
||||
pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
|
||||
@@ -556,14 +555,12 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
|
||||
void CBroom::Behavior_Broom_FlyExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::FLY);
|
||||
m_pModelCom->Set_BlendDuration(0.3f);
|
||||
}
|
||||
|
||||
void CBroom::Behavior_Broom_TurboFlyEnter()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
m_pFSM->Enable_State(FSMSTATE::TURBOFLY);
|
||||
m_pModelCom->Set_BlendDuration(0.8f);
|
||||
m_bTurbo = true;
|
||||
m_bHoverToggle = false;
|
||||
pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
|
||||
@@ -755,7 +752,6 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
void CBroom::Behavior_Broom_TurboFlyExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::TURBOFLY);
|
||||
m_pModelCom->Set_BlendDuration(0.3f);
|
||||
|
||||
Boost_Effect_Visible(false);
|
||||
}
|
||||
|
||||
@@ -237,8 +237,10 @@ HRESULT CGoblin_Assassin::Render()
|
||||
m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float));
|
||||
}
|
||||
|
||||
if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
if (m_bMotionTrail) {
|
||||
if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
@@ -411,11 +413,7 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
_uint iSkillType = pEffect_Container->Get_SkillType();
|
||||
|
||||
#ifndef Bin
|
||||
damagePair = Get_Damage(m_pInfoInstance->Get_Spell_Damage(iSkillType));
|
||||
#endif // !Bin
|
||||
|
||||
|
||||
|
||||
switch (iSkillType)
|
||||
{
|
||||
@@ -462,7 +460,6 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef Bin
|
||||
m_DamageInfo.fDamage = damagePair.first;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
|
||||
if (0 == damagePair.second) {
|
||||
@@ -471,7 +468,6 @@ void CGoblin_Assassin::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
m_pInfoInstance->Event_CallBack(TEXT("MonsterDead"), &ID);
|
||||
return;
|
||||
}
|
||||
#endif // !Bin
|
||||
|
||||
m_pFSM->Change_State(FSMSTATE::HIT);
|
||||
|
||||
|
||||
@@ -46,8 +46,8 @@ HRESULT CGoblin_Assassin_Spector::Initialize(void* pArg)
|
||||
|
||||
m_vOriginScale = m_pTransformCom->Get_Scale();
|
||||
|
||||
m_pLeftHand_BoneMat = Get_PartObject<CGoblin_Sword>("Goblin_Sword_L")->Get_Component<CModel>()->Get_BoneMatrixPtr("Bone");
|
||||
m_pRightHand_BoneMat = Get_PartObject<CGoblin_Sword>("Goblin_Sword_R")->Get_Component<CModel>()->Get_BoneMatrixPtr("Bone");
|
||||
m_pLeftHand_BoneMat = m_pModelCom->Get_BoneMatrixPtr("SKT_LeftHand");
|
||||
m_pRightHand_BoneMat = m_pModelCom->Get_BoneMatrixPtr("SKT_RightHand");
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(5);
|
||||
m_pModelCom->Play_Animation(0, m_pTransformCom);
|
||||
|
||||
@@ -288,11 +288,11 @@ void CGoblin_Assassin::Behavior_SlashEnter()
|
||||
m_pGoblinSpector->Set_Disolve(true); },
|
||||
0.28f);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
m_bLookAt = true;
|
||||
},
|
||||
0.7f);
|
||||
//Add_Event(pairAnimInfo.first,
|
||||
// [this]() {
|
||||
// m_bLookAt = true;
|
||||
// },
|
||||
// 0.8f);
|
||||
|
||||
Set_Easing(pairAnimInfo.first, 0.01f, 0.15f, 0.8f);
|
||||
|
||||
@@ -316,6 +316,7 @@ HRESULT CGoblin_Assassin::Behavior_SlashExitCheck(_float fTimeDelta)
|
||||
void CGoblin_Assassin::Behavior_SlashExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::SLASH);
|
||||
m_bMotionTrail = false;
|
||||
m_bLookAt = true;
|
||||
}
|
||||
|
||||
@@ -323,6 +324,7 @@ void CGoblin_Assassin::Behavior_DashEnter()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
m_pFSM->Enable_State(FSMSTATE::DASH);
|
||||
m_bMotionTrail = true;
|
||||
|
||||
pairAnimInfo = m_Animation[STATEANIM::DASH];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,false,1.f,false);
|
||||
@@ -649,10 +651,18 @@ void CGoblin_Assassin::Behavior_DeadEnter()
|
||||
|
||||
HRESULT CGoblin_Assassin::Behavior_DeadExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
|
||||
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
|
||||
|
||||
return E_PENDING;
|
||||
if (fRatio >= 0.8f)
|
||||
{
|
||||
m_fDeadRatio += fTimeDelta / 3.f;
|
||||
m_fDeadRatio = min(1.f, m_fDeadRatio);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_fDeadRatio = 0.f;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -816,6 +826,7 @@ void CGoblin_Assassin::Descendo_Event()
|
||||
Add_Event(m_Animation[STATEANIM::GETUP_BWD].first,
|
||||
[this]() {m_bLookAt = true; },
|
||||
0.7f);
|
||||
|
||||
}
|
||||
|
||||
void CGoblin_Assassin::TumbleAnim(_float fTimeDelta)
|
||||
@@ -904,6 +915,7 @@ void CGoblin_Assassin::HitState_Behavior(_float fTimeDelta)
|
||||
m_pCharacter_Controller->SetGravity(true);
|
||||
pairAnimInfo = m_Animation[STATEANIM::LAND];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
|
||||
m_eHitState = ENUM_CLASS(HIT_STATE::END);
|
||||
}
|
||||
}
|
||||
if (m_eHitState == ENUM_CLASS(HIT_STATE::DESCENDO))
|
||||
@@ -1058,8 +1070,8 @@ void CGoblin_Assassin::Add_FSM()
|
||||
Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_DeadExitCheck(fTimedelta); };
|
||||
Desc.funcExitEvent = [this]() { Behavior_DeadExit(); };
|
||||
Desc.funcLateUpdate = [this](_float fDeadRatio) {
|
||||
m_fDeadRatio = fDeadRatio;
|
||||
if (m_fDeadRatio > 1.f) {
|
||||
//m_fDeadRatio = fDeadRatio;
|
||||
if (m_fDeadRatio >= 1.f) {
|
||||
PSX::PxExtendedVec3 pxControlllerPos = m_pCharacter_Controller->Get_Controller()->getPosition();
|
||||
PSX::PxTransform pxTransform((_float)pxControlllerPos.x, (_float)pxControlllerPos.y + 100.f, (_float)pxControlllerPos.z);
|
||||
m_pCharacter_Controller->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
|
||||
|
||||
@@ -537,8 +537,16 @@ void CGoblin_Mage::Behavior_DeadEnter()
|
||||
|
||||
HRESULT CGoblin_Mage::Behavior_DeadExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
|
||||
return E_PENDING;
|
||||
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
|
||||
|
||||
if (fRatio >= 0.8f)
|
||||
{
|
||||
m_fDeadRatio += fTimeDelta / 3.f;
|
||||
m_fDeadRatio = min(1.f, m_fDeadRatio);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_fDeadRatio = 0.f;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
@@ -792,6 +800,7 @@ void CGoblin_Mage::HitState_Behavior(_float fTimeDelta)
|
||||
m_pCharacter_Controller->SetGravity(true);
|
||||
pairAnimInfo = m_Animation[STATEANIM::LAND];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
|
||||
m_eHitState = ENUM_CLASS(HIT_STATE::END);
|
||||
}
|
||||
}
|
||||
if (m_eHitState == ENUM_CLASS(HIT_STATE::DESCENDO))
|
||||
@@ -950,8 +959,8 @@ void CGoblin_Mage::Add_FSM()
|
||||
Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_DeadExitCheck(fTimedelta); };
|
||||
Desc.funcExitEvent = [this]() { Behavior_DeadExit(); };
|
||||
Desc.funcLateUpdate = [this](_float fDeadRatio) {
|
||||
m_fDeadRatio = fDeadRatio;
|
||||
if (m_fDeadRatio > 1.f) {
|
||||
//m_fDeadRatio = fDeadRatio;
|
||||
if (m_fDeadRatio >= 1.f) {
|
||||
PSX::PxExtendedVec3 pxControlllerPos = m_pCharacter_Controller->Get_Controller()->getPosition();
|
||||
PSX::PxTransform pxTransform((_float)pxControlllerPos.x, (_float)pxControlllerPos.y + 100.f, (_float)pxControlllerPos.z);
|
||||
m_pCharacter_Controller->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
|
||||
|
||||
@@ -627,10 +627,18 @@ void CGoblin::Behavior_DeadEnter()
|
||||
|
||||
HRESULT CGoblin::Behavior_DeadExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
|
||||
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
|
||||
|
||||
return E_PENDING;
|
||||
if (fRatio >= 0.8f)
|
||||
{
|
||||
m_fDeadRatio += fTimeDelta / 3.f;
|
||||
m_fDeadRatio = min(1.f, m_fDeadRatio);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_fDeadRatio = 0.f;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -883,6 +891,7 @@ void CGoblin::HitState_Behavior(_float fTimeDelta)
|
||||
m_pCharacter_Controller->SetGravity(true);
|
||||
pairAnimInfo = m_Animation[STATEANIM::LAND];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
|
||||
m_eHitState = ENUM_CLASS(HIT_STATE::END);
|
||||
}
|
||||
}
|
||||
if (m_eHitState == ENUM_CLASS(HIT_STATE::DESCENDO))
|
||||
@@ -1035,8 +1044,8 @@ void CGoblin::Add_FSM()
|
||||
Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_DeadExitCheck(fTimedelta); };
|
||||
Desc.funcExitEvent = [this]() { Behavior_DeadExit(); };
|
||||
Desc.funcLateUpdate = [this](_float fDeadRatio) {
|
||||
m_fDeadRatio = fDeadRatio;
|
||||
if (m_fDeadRatio > 1.f) {
|
||||
//m_fDeadRatio = fDeadRatio;
|
||||
if (m_fDeadRatio >= 1.f) {
|
||||
PSX::PxExtendedVec3 pxControlllerPos = m_pCharacter_Controller->Get_Controller()->getPosition();
|
||||
PSX::PxTransform pxTransform((_float)pxControlllerPos.x, (_float)pxControlllerPos.y + 100.f, (_float)pxControlllerPos.z);
|
||||
m_pCharacter_Controller->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
|
||||
|
||||
@@ -276,7 +276,7 @@ void CHuman_Duelist::Behavior_HitEnter()
|
||||
return;
|
||||
}
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_BWD];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.1f);
|
||||
break;
|
||||
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
|
||||
@@ -284,7 +284,7 @@ void CHuman_Duelist::Behavior_HitEnter()
|
||||
break;
|
||||
case ENUM_CLASS(SKILL_TYPE::STUPEFY):
|
||||
pairAnimInfo = m_Animation[STATEANIM::DAZED_START];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.3f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.1f);
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::DAZED_LOOP];
|
||||
|
||||
@@ -344,19 +344,18 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
_bool isReady_Background = { true };
|
||||
_bool isReady_Hogsmeade = { true };
|
||||
_bool isReady_Hogwart = { true };
|
||||
m_pInfoInstance->Load_ReparoObjects("Reparo_Data");
|
||||
#ifdef _DEBUG
|
||||
|
||||
#ifdef gimch
|
||||
isReady_Background = true;
|
||||
isReady_Hogsmeade = true;
|
||||
isReady_Hogwart = false;
|
||||
m_pInfoInstance->Load_ReparoObjects("Reparo_Data");
|
||||
#endif // gimch
|
||||
#ifdef Bin
|
||||
isReady_Background = false;
|
||||
isReady_Hogsmeade = false;
|
||||
isReady_Hogwart = false;
|
||||
m_pInfoInstance->Load_ReparoObjects("Reparo_Data");
|
||||
#endif //
|
||||
#ifdef 진우
|
||||
isReady_Background = false;
|
||||
@@ -796,7 +795,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* StratifiedCliff_A1 */
|
||||
Desc.isShake = false;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.vRadius = _float2(0.f, 0.f);
|
||||
Desc.vSpeed = _float2(0.f, 0.f);
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_StratifiedCliff_A1";
|
||||
@@ -823,7 +822,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* StratifiedRock_B */
|
||||
Desc.isShake = false;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.vRadius = _float2(0.f, 0.f);
|
||||
Desc.vSpeed = _float2(0.3f, 1.f);
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_StratifiedRock_B";
|
||||
@@ -841,7 +840,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* StratifiedRock_D_B */
|
||||
Desc.isShake = false;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.vRadius = _float2(0.f, 0.f);
|
||||
Desc.vSpeed = _float2(0.3f, 1.f);
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_StratifiedRock_D_B";
|
||||
|
||||
@@ -1247,7 +1247,7 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
TEXT("Prototype_Component_GerboldOlivander_Model")
|
||||
));
|
||||
jobCharacterModels.emplace_back(Deferred_ModelLoad(
|
||||
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(),
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_Professor_EleazarFig_Model")
|
||||
));
|
||||
jobCharacterModels.emplace_back(Deferred_ModelLoad(
|
||||
|
||||
@@ -48,6 +48,7 @@ HRESULT CMageSide::Initialize(void* pArg)
|
||||
|
||||
|
||||
SAFE_ADDREF(m_pMage_PT);
|
||||
SAFE_ADDREF(m_pMage_Fire);
|
||||
SAFE_ADDREF(m_pMage_Trail);
|
||||
|
||||
m_fDuration = 5.f;
|
||||
|
||||
@@ -18,6 +18,34 @@ CNPC_EleazarFig::CNPC_EleazarFig(const CNPC_EleazarFig& Prototype)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CNPC_EleazarFig::Initialize_Prototype()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CNPC_EleazarFig::Initialize(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Initialize(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Ready_Components(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
NPCDESC* pDesc = static_cast<NPCDESC*>(pArg);
|
||||
|
||||
_vector vPos = XMLoadFloat4(&pDesc->vPos);
|
||||
m_pTransformCom->Set_State(STATE::POSITION, vPos);
|
||||
m_pCharacter_Controller->Set_Position(vPos);
|
||||
m_pTransformCom->Rotation(XMLoadFloat4(&pDesc->vRotQ));
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(0, true);
|
||||
m_pCallBack_Behavior->Initialize(m_pCharacter_Controller);
|
||||
m_pCallBack_HitReport->Initialize(m_pCharacter_Controller);
|
||||
m_bNpc = true;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
void CNPC_EleazarFig::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
m_pTransformCom->RewindMomentum();
|
||||
@@ -31,6 +59,13 @@ void CNPC_EleazarFig::Priority_Update(_float fTimeDelta)
|
||||
void CNPC_EleazarFig::Update(_float fTimeDelta)
|
||||
{
|
||||
m_pFSM->Update_State(fTimeDelta);
|
||||
|
||||
if (m_pModelCom->IsFinishedAnim())
|
||||
{
|
||||
_int iRandom = m_pGameInstance->Real_Random_Int(0, 12);
|
||||
m_pModelCom->Set_AnimationIndex(iRandom, false, 1.f, false, 1.f, false);
|
||||
}
|
||||
|
||||
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
|
||||
__super::Update(fTimeDelta);
|
||||
#ifdef _DEBUG
|
||||
@@ -76,6 +111,9 @@ HRESULT CNPC_EleazarFig::Render()
|
||||
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Bind_ShaderParameters(i))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -155,6 +193,41 @@ HRESULT CNPC_EleazarFig::Bind_ShaderResources()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CNPC_EleazarFig::Bind_ShaderParameters(_uint iMeshOrder)
|
||||
{
|
||||
_bool bUseColorMixer = false;
|
||||
|
||||
_uint iColorParam = { UINT_MAX };
|
||||
_float fMixerFactor = { FLT_MAX };
|
||||
_uint iColorMixerMethod = { 0 };
|
||||
|
||||
switch (m_pModelCom->Get_UsingPass(iMeshOrder, m_pShaderCom))
|
||||
{
|
||||
case 23:
|
||||
{
|
||||
bUseColorMixer = true;
|
||||
iColorParam = 0x2E2E2E;
|
||||
fMixerFactor = 0.9f;
|
||||
iColorMixerMethod = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (true == bUseColorMixer) {
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_iPackedBlendColor", &iColorParam, sizeof(_uint)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fMixerFactor", &fMixerFactor, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_iColorMixerMethod", &iColorMixerMethod, sizeof(_uint)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CNPC_EleazarFig::OnRayCollision(CGameObject* pCaster, _uint iCastedOrder, _float fDistance, _float3 vCastedWorldPos)
|
||||
{
|
||||
CPlayer* pPlayer = dynamic_cast<CPlayer*>(pCaster);
|
||||
@@ -175,32 +248,6 @@ void CNPC_EleazarFig::Set_Pos(_vector vPos)
|
||||
m_pCharacter_Controller->Set_Position(vPos);
|
||||
}
|
||||
|
||||
HRESULT CNPC_EleazarFig::Initialize_Prototype()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CNPC_EleazarFig::Initialize(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Initialize(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Ready_Components(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
NPCDESC* pDesc = static_cast<NPCDESC*>(pArg);
|
||||
|
||||
_vector vPos = XMLoadFloat4(&pDesc->vPos);
|
||||
m_pTransformCom->Set_State(STATE::POSITION, vPos);
|
||||
m_pCharacter_Controller->Set_Position(vPos);
|
||||
m_pTransformCom->Rotation(XMLoadFloat4(&pDesc->vRotQ));
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(0, true);
|
||||
m_pCallBack_Behavior->Initialize(m_pCharacter_Controller);
|
||||
m_pCallBack_HitReport->Initialize(m_pCharacter_Controller);
|
||||
m_bNpc = true;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CNPC_EleazarFig::Ready_Components(void* pArg)
|
||||
{
|
||||
@@ -253,6 +300,10 @@ HRESULT CNPC_EleazarFig::Ready_Components(void* pArg)
|
||||
}
|
||||
}
|
||||
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("ELEAZARFIG"), (CComponent**)&m_pNpcStat))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -286,6 +337,8 @@ void CNPC_EleazarFig::Free()
|
||||
|
||||
SAFE_RELEASE(m_pCharacter_Controller);
|
||||
SAFE_RELEASE(m_pRigidBody);
|
||||
SAFE_RELEASE(m_pNpcStat);
|
||||
|
||||
if (nullptr != m_pInfoInstance) {
|
||||
CInfoInstance* pInfo = m_pInfoInstance;
|
||||
m_pInfoInstance = nullptr;
|
||||
|
||||
@@ -1940,7 +1940,8 @@ void CPlayer::Behavior_ParryEnter()
|
||||
}
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject<CWand>()); },
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject<CWand>());
|
||||
m_pGameInstance->SlowMotion(0.4f, 0.2f); },
|
||||
0.01f);
|
||||
|
||||
|
||||
|
||||
@@ -490,7 +490,8 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
return;
|
||||
}
|
||||
|
||||
Update_BehaviorByHPRatio(CollisionDesc);
|
||||
if (Update_BehaviorByHPRatio(CollisionDesc))
|
||||
return;
|
||||
|
||||
if (!IsHitStateDisabled() || IsHitSpellDisabled()) {
|
||||
m_pFSM->Change_State(FSMSTATE::HIT);
|
||||
@@ -974,6 +975,7 @@ void CRanrok::MoveTo(_float fTimeDelta)
|
||||
m_pTransformCom->LookAt_Lerp(LerpTarget, fTimeDelta,5.f);
|
||||
|
||||
m_pCharacter_Controller->Set_Position(CurPos + vLook * m_fTuckedSpeed * fTimeDelta);
|
||||
m_pTransformCom->Set_State(STATE::POSITION, CurPos + vLook * m_fTuckedSpeed * fTimeDelta);
|
||||
}
|
||||
|
||||
HRESULT CRanrok::Load_RanrokPos(const _char* pFilePath)
|
||||
|
||||
@@ -901,13 +901,13 @@ void CRanrok::Behavior_TuckedEnter()
|
||||
m_bDisolve = true;
|
||||
pairAnimInfo = m_Animation[STATEANIM::TUCKED];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_POINT, this, nullptr, &m_pRanrok_Point);
|
||||
|
||||
m_pLeftEye_Trail->Set_Visible(false);
|
||||
m_pRightEye_Trail->Set_Visible(false);
|
||||
|
||||
|
||||
}, 0.05f);
|
||||
|
||||
@@ -952,9 +952,14 @@ void CRanrok::Behavior_TuckedExit()
|
||||
SAFE_RELEASE(m_pRanrok_Point);
|
||||
}
|
||||
|
||||
|
||||
m_pLeftEye_Trail->Get_Component<CTrail>()->Reset_Trail();
|
||||
m_pRightEye_Trail->Get_Component<CTrail>()->Reset_Trail();
|
||||
|
||||
m_pLeftEye_Trail->Set_Visible(true);
|
||||
m_pRightEye_Trail->Set_Visible(true);
|
||||
|
||||
|
||||
m_pFSM->Disable_State(FSMSTATE::TUCKED);
|
||||
m_bTucked = false;
|
||||
|
||||
@@ -999,6 +1004,7 @@ void CRanrok::Behavior_LandExit()
|
||||
void CRanrok::Behavior_HitEnter()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
m_pFSM->Enable_State(FSMSTATE::HIT);
|
||||
|
||||
m_bLookAt = false;
|
||||
|
||||
@@ -1028,6 +1034,8 @@ HRESULT CRanrok::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
|
||||
void CRanrok::Behavior_HitExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::HIT);
|
||||
|
||||
m_bLookAt = true;
|
||||
}
|
||||
|
||||
@@ -1151,64 +1159,45 @@ _bool CRanrok::IsHitSpellDisabled()
|
||||
return false;
|
||||
}
|
||||
|
||||
void CRanrok::Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo)
|
||||
_bool CRanrok::Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo)
|
||||
{
|
||||
_float curr = Get_HpRatio();
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
if (m_fPrevHpRatio > 0.85f && curr <= 0.85f)
|
||||
|
||||
static const _float Thresholds[] = { 0.85f, 0.7f, 0.5f };
|
||||
|
||||
if (m_iHpPhase < 3 && curr <= Thresholds[m_iHpPhase])
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
|
||||
pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
|
||||
|
||||
if (m_iHpPhase == 2)
|
||||
m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND);
|
||||
|
||||
m_pEffectPool->Use_Skill(
|
||||
SKILL_TYPE::RANROK_IMPACT,
|
||||
this,
|
||||
&CollisionInfo->vWorldPos
|
||||
);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() { m_bDisolve = true; },
|
||||
0.25f);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() { m_pFSM->Change_State(FSMSTATE::TUCKED); },
|
||||
0.55f);
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
|
||||
++m_iHpPhase;
|
||||
m_fPrevHpRatio = curr;
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_bDisolve = true; },
|
||||
0.25f);
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
|
||||
0.55f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
else if (m_fPrevHpRatio > 0.7f && curr <= 0.7f)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
|
||||
m_fPrevHpRatio = curr;
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_bDisolve = true; },
|
||||
0.25f);
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
|
||||
0.55f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
return;
|
||||
}
|
||||
else if (m_fPrevHpRatio > 0.5f && curr <= 0.5f)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
|
||||
m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND);
|
||||
m_fPrevHpRatio = curr;
|
||||
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_bDisolve = true; },
|
||||
0.25f);
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
|
||||
0.55f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
return;
|
||||
}
|
||||
m_fPrevHpRatio = curr;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
void CRanrok::Add_FSM()
|
||||
{
|
||||
#pragma region Behavior_Movement_NotFocus
|
||||
|
||||
@@ -58,27 +58,14 @@ void CReparoObject::Update(_float fTimeDelta)
|
||||
|
||||
Change_State();
|
||||
|
||||
switch (m_eCurState)
|
||||
{
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::SLEEP:
|
||||
break;
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::BEFORE:
|
||||
break;
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::PLAYANIM:
|
||||
//if (true == m_pModelCom->IsFinishedAnim())
|
||||
// m_eCurState = REPARO_OBJECT_STATE::AFTER;
|
||||
break;
|
||||
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::AFTER:
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
|
||||
|
||||
if (m_pModelCom->Get_AnimIndex() == 0)
|
||||
{
|
||||
if (true == m_pModelCom->IsFinishedAnim())
|
||||
m_eCurState = REPARO_OBJECT_STATE::AFTER;
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
Describe_Entity();
|
||||
#endif // _DEBUG
|
||||
@@ -230,7 +217,6 @@ HRESULT CReparoObject::Render_OutLine()
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CReparoObject::Change_State()
|
||||
{
|
||||
if (m_eCurState != m_ePreState)
|
||||
|
||||
@@ -91,7 +91,6 @@ void CTrailObject::Late_Update(_float fTimeDelta)
|
||||
if (m_bVisible == false)
|
||||
return;
|
||||
|
||||
|
||||
if (m_TrailInfo.isBloom == true)
|
||||
{
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::BLOOM, this);
|
||||
|
||||
@@ -809,14 +809,24 @@ void CTroll::Behavior_DeadEnter()
|
||||
m_pDead_Smoke->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pTransformCom->Get_State(STATE::POSITION));
|
||||
}, 0.55f);
|
||||
|
||||
Get_PartObject<CTroll_Weapon>()->Set_Disolve(true);
|
||||
|
||||
}
|
||||
|
||||
HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (FLT_EPSILON > m_pModelCom->Get_CurrentTrackProgressRatio()) {
|
||||
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
|
||||
|
||||
return E_PENDING;
|
||||
if (fRatio >= 0.8f)
|
||||
{
|
||||
m_fDeadRatio += fTimeDelta / 3.f;
|
||||
m_fDeadRatio = min(1.f, m_fDeadRatio);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_fDeadRatio = 0.f;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -971,8 +981,8 @@ void CTroll::Add_FSM()
|
||||
Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_DeadExitCheck(fTimedelta); };
|
||||
Desc.funcExitEvent = [this]() { Behavior_DeadExit(); };
|
||||
Desc.funcLateUpdate = [this](_float fDeadRatio) {
|
||||
m_fDeadRatio = fDeadRatio;
|
||||
if (m_fDeadRatio > 1.f) {
|
||||
//m_fDeadRatio = fDeadRatio;
|
||||
if (m_fDeadRatio >= 1.f) {
|
||||
CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_REPARO);
|
||||
|
||||
if (nullptr != pLayer)
|
||||
|
||||
@@ -73,7 +73,15 @@ void CTroll_Weapon::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CTroll_Weapon::Update(_float fTimeDelta)
|
||||
{
|
||||
|
||||
if (m_bDisolve) {
|
||||
m_fDisolveTime += fTimeDelta*0.2f;
|
||||
if (m_fDisolveTime >= 1.f)
|
||||
{
|
||||
/*m_fDisolveTime = 0.f;*/
|
||||
m_bDisolve = false;
|
||||
m_bVisible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CTroll_Weapon::Late_Update(_float fTimeDelta)
|
||||
@@ -91,6 +99,10 @@ HRESULT CTroll_Weapon::Render()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(Render_Disolve())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
|
||||
|
||||
for (_uint i = 0; i < iNumMeshes; i++)
|
||||
@@ -131,6 +143,33 @@ const _float4* CTroll_Weapon::Get_HammerPosition()
|
||||
return (_float4*)&m_HammerMatrix.m[3][0];
|
||||
}
|
||||
|
||||
HRESULT CTroll_Weapon::Render_Disolve()
|
||||
{
|
||||
if (FLT_EPSILON3 * 10 < m_fDisolveTime)
|
||||
{
|
||||
_bool bDisolve = true;
|
||||
_float fDisolveAmount = 0.1f;
|
||||
_float fDisolveEdgeWidth = 0.1f;
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &m_fDisolveTime, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDisolveAmount", &fDisolveAmount, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDisolveEdgeWidth", &fDisolveEdgeWidth, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_GlobalSRV(m_pShaderCom, TEXT("GLOBAL_DISOLVE_NOISE_05"), "g_DeadDisolveTexture"))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTroll_Weapon::Ready_Components()
|
||||
{
|
||||
__super::Ready_Components(nullptr);
|
||||
|
||||
@@ -25,7 +25,7 @@ class CCutSceneInfo final : public CBase
|
||||
void Active_Event(_string& strKey);
|
||||
HRESULT DeActive_ActiveEvent(_string& strKey);
|
||||
void Load_Events(pair<_string, TimeLine*>& pairTimeLine);
|
||||
|
||||
HRESULT Clear_AllEvents();
|
||||
private:
|
||||
CGameInstance* m_pGameInstance = { nullptr };
|
||||
class CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
@@ -46,7 +46,7 @@ class CCutSceneInfo final : public CBase
|
||||
#endif // _DEBUG
|
||||
HRESULT Clear_ActiveEvents();
|
||||
HRESULT Clear_Events(map<_string, TimeLine*>&Events);
|
||||
HRESULT Clear_AllEvents();
|
||||
|
||||
|
||||
HRESULT Ready_GameplayCutScenes();
|
||||
HRESULT Ready_FieldCutScenes();
|
||||
|
||||
@@ -92,6 +92,7 @@ class CGoblin_Assassin final : public CMonster
|
||||
_float m_fHitTimer = {};
|
||||
_float m_fTumbleTimer = {};
|
||||
_bool m_bCameraShake = {};
|
||||
_bool m_bMotionTrail = {};
|
||||
|
||||
_float m_fMoveDecisionTime = 0.f;
|
||||
_float m_fMoveDecisionLimit = 1.2f;
|
||||
|
||||
@@ -32,7 +32,7 @@ class CNPC_EleazarFig final : public CUnit
|
||||
class CCallBack_NonPlayable_Behavior* m_pCallBack_Behavior = { nullptr };
|
||||
class CCallBack_NonPlayable_HitReport* m_pCallBack_HitReport = { nullptr };
|
||||
CUnit* m_pPlayerAllyUnit = { nullptr };
|
||||
|
||||
CNPCStat* m_pNpcStat = { nullptr };
|
||||
|
||||
_int m_iEntered = { 0 };
|
||||
_float2 m_vEnteringTimer = { 0.f, 1.f };
|
||||
@@ -42,6 +42,7 @@ class CNPC_EleazarFig final : public CUnit
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
HRESULT Ready_Components(void* pArg);
|
||||
HRESULT Bind_ShaderResources() override;
|
||||
HRESULT Bind_ShaderParameters(_uint iMeshOrder);
|
||||
|
||||
public:
|
||||
static CNPC_EleazarFig* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
|
||||
@@ -128,6 +128,8 @@ class CRanrok final : public CMonster
|
||||
_int m_iPropSize = {};
|
||||
_int m_iHoverDash = { };
|
||||
_bool m_bChangePhase = {};
|
||||
_int m_iHpPhase = { 0 };
|
||||
|
||||
|
||||
_float2 m_vCaptureTimer = { 0.f, 0.1f };
|
||||
|
||||
@@ -250,7 +252,7 @@ class CRanrok final : public CMonster
|
||||
virtual _bool IsHitStateDisabled() override;
|
||||
virtual _bool IsHitSpellDisabled() override;
|
||||
|
||||
void Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo);
|
||||
_bool Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo);
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -22,16 +22,20 @@ class CTroll_Weapon final : public CPartObject
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
void Set_Disolve(_bool bDisolve) { m_bDisolve = bDisolve; }
|
||||
public:
|
||||
virtual _vector Get_WorldPostion() override;
|
||||
_matrix Get_WorldMatrix();
|
||||
virtual const _float4* Get_HammerPosition();
|
||||
|
||||
|
||||
private:
|
||||
const _float4x4* m_pSocketMatrices = { };
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
CModel* m_pModelCom = { nullptr };
|
||||
_float4x4 m_HammerMatrix = { };
|
||||
_bool m_bDisolve = { false };
|
||||
_float m_fDisolveTime = { 0.f };
|
||||
#ifdef _DEBUG
|
||||
unique_ptr<GeometricPrimitive> m_pGripShape = { nullptr };
|
||||
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
||||
@@ -42,6 +46,8 @@ class CTroll_Weapon final : public CPartObject
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
HRESULT Ready_Components();
|
||||
HRESULT Bind_ShaderResources();
|
||||
HRESULT Render_Disolve();
|
||||
|
||||
|
||||
public:
|
||||
static CTroll_Weapon* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<Material>
|
||||
<MI_Professor_EleazarFig_Hair ShaderIndex = "5" OutLineWrite="5">
|
||||
<MI_Professor_EleazarFig_Hair ShaderIndex = "23" OutLineWrite="5">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Old_M_Hair_Fig_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
@@ -57,7 +57,7 @@
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_Eye>
|
||||
<MI_HUM_N_Heads_Eyelash ShaderIndex = "5" OutLineWrite="5">
|
||||
<MI_HUM_N_Heads_Eyelash ShaderIndex = "25" OutLineWrite="5">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Old_M_Hair_Fig_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
<Material>
|
||||
<MI_HouseElf_Body ShaderIndex = "7" OutLineWrite="7">
|
||||
<MI_HouseElf_Body ShaderIndex = "6" OutLineWrite="7">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HouseElf_Body_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
<MI_NPC_HouseElf_M_Head1 ShaderIndex = "6" OutLineWrite="16">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HouseElf_M_Head1_D" Extension=".png"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HouseElf_M_Head1_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
@@ -184,14 +184,14 @@
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MM_Eye_Occlusion>
|
||||
|
||||
<MI_HouseElf_M_Upp_Toga01 ShaderIndex = "8" OutLineWrite="8">
|
||||
<MI_HouseElf_M_Upp_Toga01 ShaderIndex = "6" OutLineWrite="8">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HouseElf_M_Upp_PillowCase03_D" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HouseElf_M_Upp_Toga01_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_HouseElf_M_Upp_PillowCase03_N" Extension=".dds"/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_HouseElf_M_Upp_Toga01_N" Extension=".dds"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
@@ -200,7 +200,7 @@
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="T_HouseElf_M_Upp_PillowCase03_MRO" Extension=".dds"/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
@@ -211,7 +211,7 @@
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="T_HouseElf_M_Upp_Toga01_SRO" Extension=".dds"/>
|
||||
</MI_HouseElf_M_Upp_Toga01>
|
||||
|
||||
</Material>
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_ClothSim>
|
||||
<MI_HouseElf_KitchenElfF_Body ShaderIndex = "7" OutLineWrite="7">
|
||||
<MI_HouseElf_KitchenElfF_Body ShaderIndex = "6" OutLineWrite="7">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Elf_KitchenElf_F_Body_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" 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.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -134,11 +134,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
// TEXT("Prototype_Component_ConjuredDragon_Model")
|
||||
//));
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_Professor_EleazarFig_Model")
|
||||
));
|
||||
|
||||
#pragma endregion
|
||||
|
||||
#pragma region ITEM
|
||||
@@ -289,7 +284,7 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
));
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_Professor_EleazarFig_Model")
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user