[Fix] 트롤 수정
This commit is contained in:
@@ -247,23 +247,23 @@ void CGoblin_Assassin::Behavior_SlashEnter()
|
||||
|
||||
if (m_fTargetDistance <= 4.f)
|
||||
{
|
||||
fDisAmount = 1.f;
|
||||
fDisAmount = 1.3f;
|
||||
}
|
||||
else if (m_fTargetDistance <= 7.f)
|
||||
{
|
||||
fDisAmount = 1.5f;
|
||||
fDisAmount = 1.8f;
|
||||
}
|
||||
else if (m_fTargetDistance <= 10.f)
|
||||
{
|
||||
fDisAmount = 2.f;
|
||||
fDisAmount = 2.3f;
|
||||
}
|
||||
else if (m_fTargetDistance <= 13.f)
|
||||
{
|
||||
fDisAmount = 2.5f;
|
||||
fDisAmount = 2.8f;
|
||||
}
|
||||
else if (m_fTargetDistance <= 16.f)
|
||||
{
|
||||
fDisAmount = 3.f;
|
||||
fDisAmount = 3.3f;
|
||||
}
|
||||
pairAnimInfo = m_Animation[STATEANIM::SLASH];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, fDisAmount,false,1.3f);
|
||||
@@ -379,9 +379,12 @@ void CGoblin_Assassin::Behavior_BlinkEnter()
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true);
|
||||
m_bDisolve = true;
|
||||
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::GOBILN_TELEPORT, this);
|
||||
Get_PartObject<CGoblin_Sword>("Goblin_Sword_L")->Set_Visible(false);
|
||||
Get_PartObject<CGoblin_Sword>("Goblin_Sword_R")->Set_Visible(false);
|
||||
}, 0.1f);
|
||||
}
|
||||
|
||||
@@ -392,6 +395,9 @@ HRESULT CGoblin_Assassin::Behavior_BlinkExitCheck(_float fTimeDelta)
|
||||
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
|
||||
if (m_fDisolveTime >= 0.8f && iCurrAnimIndex != m_Animation[STATEANIM::BLINK].first)
|
||||
{
|
||||
|
||||
Get_PartObject<CGoblin_Sword>("Goblin_Sword_L")->Set_Visible(true);
|
||||
Get_PartObject<CGoblin_Sword>("Goblin_Sword_R")->Set_Visible(true);
|
||||
m_bDisolve = false;
|
||||
m_fDisolveTime = 0.f;
|
||||
m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::TP)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::TP)];
|
||||
@@ -647,6 +653,9 @@ void CGoblin_Assassin::Behavior_DeadEnter()
|
||||
pairAnimInfo = m_Animation[iState + bStrongerKnockDown];
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
|
||||
Get_PartObject<CGoblin_Sword>("Goblin_Sword_L")->Set_Disolve(true);
|
||||
Get_PartObject<CGoblin_Sword>("Goblin_Sword_R")->Set_Disolve(true);
|
||||
}
|
||||
|
||||
HRESULT CGoblin_Assassin::Behavior_DeadExitCheck(_float fTimeDelta)
|
||||
|
||||
@@ -52,7 +52,7 @@ void CGoblin_Sword::Priority_Update(_float fTimeDelta)
|
||||
void CGoblin_Sword::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bDisolve) {
|
||||
m_fDisolveTime += fTimeDelta;
|
||||
m_fDisolveTime += fTimeDelta * 0.2f;
|
||||
if (m_fDisolveTime >= 1.f)
|
||||
{
|
||||
m_fDisolveTime = 0.f;
|
||||
|
||||
@@ -74,8 +74,6 @@ HRESULT CTroll::Initialize(void* pArg)
|
||||
m_pRightHand_BoneMat = m_pModelCom->Get_BoneMatrixPtr("RightHand");
|
||||
m_pWeapon_BoneMat = Get_PartObject<CTroll_Weapon>()->Get_Component<CModel>()->Get_BoneMatrixPtr("Bone");
|
||||
|
||||
m_pModelCom->Set_DisableRootMotionScale(true);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -256,7 +254,7 @@ HRESULT CTroll::Render_OutLine()
|
||||
Compute_Depth();
|
||||
_float fCamFar = *m_pGameInstance->Get_CurrentCameraFar();
|
||||
_float fRatio = CMyTools::Saturate((m_fCamDepth / (fCamFar * fCamFar)));
|
||||
m_fOutLineThickness = CMyTools::Lerp_f1D(0.024f, 0.5f, fRatio);
|
||||
m_fOutLineThickness = CMyTools::Lerp_f1D(5.f, 10.f, fRatio);
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_PrevWorldMatrix", m_pTransformCom->Get_PrevWorldMatrixPtr()))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<Name Flow="4">
|
||||
<Position>
|
||||
<Pos x="-4.123" y="-18.538" z="-49.517"/>
|
||||
<Pos x="-2.088" y="-18.099" z="-47.244"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GOBLIN>
|
||||
<Object Name="Goblin">
|
||||
<RotQ X="-0.000" Y="-0.630" Z="-0.000" W="0.776"/>
|
||||
<Trans X="-20.660" Y="-22.246" Z="-51.477"/>
|
||||
<RotQ X="-0.000" Y="-0.657" Z="-0.000" W="0.754"/>
|
||||
<Trans X="-29.049" Y="-23.982" Z="-55.791"/>
|
||||
</Object>
|
||||
<Object Name="Goblin_Mage">
|
||||
<RotQ X="0.000" Y="0.896" Z="0.000" W="-0.445"/>
|
||||
<Trans X="-13.454" Y="-20.827" Z="-52.678"/>
|
||||
<RotQ X="0.000" Y="0.955" Z="0.000" W="0.298"/>
|
||||
<Trans X="-24.541" Y="-23.196" Z="-58.537"/>
|
||||
</Object>
|
||||
<Object Name="Goblin_Assassin">
|
||||
<RotQ X="-0.000" Y="-0.186" Z="-0.000" W="0.983"/>
|
||||
<Trans X="-46.135" Y="-7.030" Z="-15.008"/>
|
||||
</Object>
|
||||
<Object Name="Goblin_Mage">
|
||||
<RotQ X="0.000" Y="0.804" Z="0.000" W="-0.595"/>
|
||||
<Trans X="-54.808" Y="-8.538" Z="-16.837"/>
|
||||
<RotQ X="-0.000" Y="-0.209" Z="-0.000" W="0.978"/>
|
||||
<Trans X="-49.431" Y="-6.307" Z="-5.569"/>
|
||||
</Object>
|
||||
</GOBLIN>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -102,16 +102,12 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_troll_Model")
|
||||
));
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin", XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_trsoll_Model")
|
||||
));
|
||||
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
|
||||
Reference in New Issue
Block a user