Milkee 2 Posted August 10, 2023 Share Posted August 10, 2023 Sziasztok. Megprobáltam berakni a Scale féle pánt rendszert de az alábbi hibákba ütköztem... Esetleg valaki tudna ebben segíteni? Itt az első hiba kód: Itt van a kód: #ifdef ENABLE_SASH_SYSTEM void CActorInstance::AttachSash(CItemData * pItemData, float fSpecular) { if (!pItemData) { RegisterModelThing(CRaceData::PART_SASH, NULL); SetModelInstance(CRaceData::PART_SASH, CRaceData::PART_SASH, 0); RefreshActorInstance(); return; } RegisterModelThing(CRaceData::PART_SASH, pItemData->GetModelThing()); SetModelInstance(CRaceData::PART_SASH, CRaceData::PART_SASH, 0); AttachModelInstance(CRaceData::PART_MAIN, "Bip01 Spine2", CRaceData::PART_SASH); if (fSpecular > 0.0f) { SMaterialData kMaterialData; kMaterialData.pImage = NULL; kMaterialData.isSpecularEnable = TRUE; kMaterialData.fSpecularPower = fSpecular; kMaterialData.bSphereMapIndex = 1; SetMaterialData(CRaceData::PART_SASH, NULL, kMaterialData); } } #endif Van még egy hiba amit nem teljesen értek annak a hiba kódja itt van: És a kódja itt van: #ifdef ENABLE_NEW_EQUIPMENT_SYSTEM #ifdef ENABLE_COSTUME_WEAPON_SYSTEM const DWORD c_New_Equipment_Start = c_Equipment_Start + 22 + 1; #else const DWORD c_New_Equipment_Start = c_Equipment_Start + 22; #endif #ifdef ENABLE_SASH_SYSTEM const DWORD c_New_Equipment_Start = c_Equipment_Start + 21 + 1; #else const DWORD c_New_Equipment_Start = c_Equipment_Start + 21; const DWORD c_New_Equipment_Count = 3; const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0; const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1; const DWORD c_Equipment_Belt = c_New_Equipment_Start + 2;; #endif Előre is köszönöm szépen a segítségeket 🙂 Quote Link to post Share on other sites
Slaw 755 Posted August 10, 2023 Share Posted August 10, 2023 #ifdef ENABLE_NEW_EQUIPMENT_SYSTEM const DWORD c_New_Equipment_Start = c_Equipment_Start + 24; const DWORD c_New_Equipment_Count = 4; const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 1; const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 2; const DWORD c_Equipment_Belt = c_New_Equipment_Start + 0; #endif Quote Link to post Share on other sites
Pisti95 3,606 Posted August 11, 2023 Share Posted August 11, 2023 1, RaceData.h oda kellett #include-olni a Locale_inc.h-t, mert nem ismerte fel a makrót. 2, Lenght.h-ban lévő 'enum EWearPositions' részt kell figyelembe venni a sorrendnél: Hidden Content Give reaction to this post to see the hidden content. 2 Quote Link to post Share on other sites
Slaw 755 Posted August 15, 2023 Share Posted August 15, 2023 Hidden Content Give reaction to this post to see the hidden content. Hidden Content Give reaction to this post to see the hidden content. 2 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.