Special Effekt System

Indította OneCharakter, 2018-04-28, 20:00:28

2018-04-28, 20:00:28 Utolsó szerkesztés: 2018-04-28, 22:59:32 Szerző: OneCharakter
Szisztok ! Próbáltam betenni Lennt Special effekt system-jét több kevesebb sikerrel annyi a hiba benne hogy a vért és fegyver effekteket is ugyan oda teszi (egyszerre kettő nem lehet fennt mert kicseréli) ez hogyan lehetne megoldható ?

costumewindow_effect_slot:
{"index":COSTUME_START_INDEX+0, "x":62, "y":45, "width":32, "height":64},
{"index":COSTUME_START_INDEX+1, "x":62, "y": 9, "width":32, "height":32},
{"index":COSTUME_START_INDEX+2, "x":13, "y":126, "width":32, "height":32},
{"index":COSTUME_START_INDEX+3, "x":13, "y":15, "width":32, "height":96},
{"index":COSTUME_START_INDEX+4, "x":1, "y":4+197, "width":32, "height":32},
{"index":COSTUME_START_INDEX+5, "x":52, "y": 5+197, "width":32, "height":32},


Gametype.h

#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19; // [ÁÖŔÇ] ĽýŔÚ(19) ÇϵĺÄÚµů ÁÖŔÇ. ÇöŔç Ľ­ąöżˇĽ­ ÄÚ˝şĂő ˝˝·ÔŔş 19şÎĹÍŔÓ. Ľ­ąö common/length.h ĆÄŔĎŔÇ EWearPositions ż­°ĹÇü Âü°í.
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 2;
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 3;
const DWORD c_Costume_Effect_Body = c_Costume_Slot_Start + 4;
const DWORD c_Costume_Effect_Weapon = c_Costume_Slot_Start + 5;

const DWORD c_Costume_Slot_Count = 6;

const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count;
#endif


#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
#ifdef ENABLE_EFFECT_SYSTEM
const DWORD c_New_Equipment_Start = c_Equipment_Start + 22 + 1 + 2;
#else
const DWORD c_New_Equipment_Start = c_Equipment_Start + 22 + 1;
#endif
#else
#ifdef ENABLE_EFFECT_SYSTEM
const DWORD c_New_Equipment_Start = c_Equipment_Start + 22 + 2;
#else
const DWORD c_New_Equipment_Start = c_Equipment_Start + 22;
#endif
#endif
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


(syserr nincs valamint gondoltam egy USE_EFFECT2-re is de azzal sajna nem csinál semmit hiába egészítettem ki)

[System csatolva]

Létrehoztam USE_EFFECT2-őt 1-es alapon majd sikeresen fel is veszi fegyvert csak megint a vért effect helyére. Akkor WEAR_EFFECT-el lehet probléma ???