Cod: Selectaţi tot
Gamelib > ActorInstanceData.cppCod: Selectaţi tot
if (!pkAcce->m_stModelFileName.empty())
{
CGraphicThing * pkAcceThing = (CGraphicThing *)CResourceManager::Instance().GetResourcePointer(pkAcce->m_stModelFileName.c_str());
RegisterModelThing(CRaceData::PART_ACCE, pkAcceThing);
SetModelInstance(CRaceData::PART_ACCE, CRaceData::PART_ACCE, 0, CRaceData::PART_MAIN);
}Cod: Selectaţi tot
if (!pkAcce->m_stModelFileName.empty())
{
CGraphicThing * pkAcceThing = (CGraphicThing *)CResourceManager::Instance().GetResourcePointer(pkAcce->m_stModelFileName.c_str());
RegisterModelThing(CRaceData::PART_ACCE, pkAcceThing);
SetModelInstance(CRaceData::PART_ACCE, CRaceData::PART_ACCE, 0);
AttachModelInstance(0, "Bip01 Spine2", CRaceData::PART_ACCE);
}Odată folosită această ataşare specularul de pe eşarfe va dispărea, deoarece nu este item_scale adevărat este doar o metodă prin care să fie citit fişierul
Recomandarea mea ar fi că mai bine să fie folosi item_scale decât o strălucire pe eşarfă
Recomandarea mea ar fi că mai bine să fie folosi item_scale decât o strălucire pe eşarfă









