[Fix] 레페로 수적
[Fix] fig 애니메이션 수정
This commit is contained in:
@@ -335,6 +335,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
isReady_Background = false;
|
||||
isReady_Hogsmeade = false;
|
||||
isReady_Hogwart = false;
|
||||
m_pInfoInstance->Load_ReparoObjects("Reparo_Data");
|
||||
#endif //
|
||||
#ifdef 진우
|
||||
isReady_Background = false;
|
||||
@@ -988,11 +989,11 @@ HRESULT CLevel_GamePlay::Ready_Layer_Item(const _wstring& strLayerTag)
|
||||
|
||||
HRESULT CLevel_GamePlay::Ready_Layer_ReparoObject(const _wstring& strLayerTag)
|
||||
{
|
||||
//for (_uint i = 0; i < 1; ++i) {
|
||||
// if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CReparoObject>(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) {
|
||||
// return E_FAIL;
|
||||
// }
|
||||
//}
|
||||
/*for (_uint i = 0; i < 1; ++i) {
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CReparoObject>(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}*/
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -550,8 +550,6 @@ void CPlayer::Trigger(CTimeSocket& Socket)
|
||||
m_pTransformCom->RotationQ(pContents->pxTransform.q);
|
||||
m_pTransformCom->RewindMomentum();
|
||||
} break;
|
||||
}
|
||||
break;
|
||||
case TIMESOCKET_FUNC::TRANSLATION_LERP:
|
||||
{
|
||||
|
||||
@@ -806,64 +804,6 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder)
|
||||
fMixerFactor = 0.5f;
|
||||
iColorMixerMethod = 1;
|
||||
break;
|
||||
case PLAYER_MESH_ORDER::SHOES:
|
||||
bUseColorMixer = true;
|
||||
iColorParam = 0x614242;
|
||||
fMixerFactor = 0.5f;
|
||||
iColorMixerMethod = 1;
|
||||
break;
|
||||
case PLAYER_MESH_ORDER::UPPER:
|
||||
bUseColorMixer = true;
|
||||
iColorParam = 0xBFAC29;
|
||||
fMixerFactor = 0.658333f;
|
||||
iColorMixerMethod = 1;
|
||||
break;
|
||||
//#ifdef 기무리
|
||||
//
|
||||
// case PLAYER_MESH_ORDER::ROBE_CLOTH:
|
||||
// {
|
||||
// CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH));
|
||||
// _uint MeshBoneCount = pMesh->Get_NumBone();
|
||||
//
|
||||
// for (_uint i = 0; i < MeshBoneCount; ++i)
|
||||
// {
|
||||
// XMStoreFloat4x4(&SkinMatrices[i], XMMatrixIdentity());
|
||||
// }
|
||||
//
|
||||
// _uint temp = 0;
|
||||
// vector<_uint> globalMask = m_pModelCom->Get_BoneMask(ENUM_CLASS(BLEND_BONE::HIPS_CLOTH));
|
||||
// vector<_int> boneIndices = pMesh->Get_BoneIndices();
|
||||
//
|
||||
// for (_uint i = 0; i < MeshBoneCount; ++i)
|
||||
// {
|
||||
// _uint global = boneIndices[i];
|
||||
// if (global == 38)
|
||||
// continue;
|
||||
// if (globalMask[global] == 1)
|
||||
// {
|
||||
// SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// GUI::DragFloat("TempWeight", &m_fTempWeight, 0.01f);
|
||||
//
|
||||
// if (FAILED(m_pShaderCom->Bind_RawValue("g_TempWeight", &m_fTempWeight, sizeof(_float)))) {
|
||||
// return E_FAIL;
|
||||
// }
|
||||
//
|
||||
//
|
||||
// if (FAILED(m_pShaderCom->Bind_Matrices(
|
||||
// "g_BoneMatrices",
|
||||
// SkinMatrices.data(),
|
||||
// (_int)SkinMatrices.size()
|
||||
// )))
|
||||
// {
|
||||
// return E_FAIL;
|
||||
// }
|
||||
// }
|
||||
// break;
|
||||
//#endif // _DEBUG
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -41,8 +41,9 @@ HRESULT CReparoObject::Initialize(void* pArg)
|
||||
// 되돌리기 전 Before
|
||||
m_ePreState = m_eCurState = REPARO_OBJECT_STATE::SLEEP;
|
||||
m_pModelCom->Set_AnimationIndex(2);
|
||||
m_pInfoInstance->Deregist_PlayerAlly(this);
|
||||
|
||||
//m_pInfoInstance->Deregist_PlayerAlly(this);
|
||||
|
||||
m_pInfoInstance->Deregist_ActiveMonster(this);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -64,8 +65,8 @@ void CReparoObject::Update(_float fTimeDelta)
|
||||
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;
|
||||
//if (true == m_pModelCom->IsFinishedAnim())
|
||||
// m_eCurState = REPARO_OBJECT_STATE::AFTER;
|
||||
break;
|
||||
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::AFTER:
|
||||
@@ -240,7 +241,7 @@ void CReparoObject::Change_State()
|
||||
break;
|
||||
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::BEFORE:
|
||||
m_pInfoInstance->Regist_PlayerAlly(this);
|
||||
m_pInfoInstance->Regist_ActiveMonster(this);
|
||||
break;
|
||||
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::PLAYANIM:
|
||||
@@ -249,7 +250,7 @@ void CReparoObject::Change_State()
|
||||
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::AFTER:
|
||||
m_pModelCom->Set_AnimationIndex(1);
|
||||
m_pInfoInstance->Deregist_PlayerAlly(this);
|
||||
m_pInfoInstance->Deregist_ActiveMonster(this);
|
||||
break;
|
||||
|
||||
case Client::CReparoObject::REPARO_OBJECT_STATE::END:
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -71,20 +71,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
vector<future<pair<_wstring, CModel*>*>> futures = {};
|
||||
|
||||
#pragma region MONSTER
|
||||
#ifndef 기무리
|
||||
/* For.Prototype_Component_Hogsmead_NorthLakeShallow */
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_NorthLakeShallow"),
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM_LOCAL, "C:/MeshTable\\Game\\VFX\\Meshes\\Animated\\HM_Troll_OLI_Reparo\\VFX_SK_OLI_TrollFight_BlockerA\\VFX_SK_OLI_TrollFight_BlockerA.fbx", XMMatrixIdentity()))))
|
||||
return E_FAIL;
|
||||
|
||||
/* For.Prototype_Component_Hogsmead_NorthLakeShallow */
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_NorthLakeShallow"),
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM_LOCAL, "C:/MeshTable\\Game\\VFX\\Meshes\\Animated\\HM_Troll_OLI_Reparo\\VFX_SK_OLI_TrollFight_BlockerB\\VFX_SK_OLI_TrollFight_BlockerB.fbx", XMMatrixIdentity()))))
|
||||
return E_FAIL;
|
||||
#endif // 기무리
|
||||
|
||||
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model")
|
||||
@@ -136,10 +122,10 @@ 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", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_Professor_EleazarFig_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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user