Tipologie server:pvp
*Resursă folosită:sursa/costume-weapon-t40147.html
*ServerFiles utilizat:marty
*Syserr: nimic
Poză:
*Detalii suplimentare:
Gametype.h :
Cod: Selectaţi tot
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19;
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_Effect_Body = c_Costume_Slot_Start + 2;
const DWORD c_Costume_Effect_Weapon = c_Costume_Slot_Start + 3;
const DWORD c_Costume_Slot_Mount = c_Costume_Slot_Start + 4;
const DWORD c_Costume_Slot_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;
#endifcostumewindow.py :
Cod: Selectaţi tot
{
"name" : "EffectSlots_Base",
"type" : "image",
"x" : 13,
"y" : 219 + 16,
"image" : "locale/ro/ui/costume/effect_slot_bg.jpg",
},
{
"name" : "Costume_Base",
"type" : "image",
"x" : 13,
"y" : 38,
"image" : "locale/ro/ui/costume/new_costume_bg.tga",
"children" :
(
{
"name" : "CostumeSlot",
"type" : "slot",
"x" : 3,
"y" : 3,
"width" : 127,
"height" : 236 + 11,
"slot" : (
{"index":COSTUME_START_INDEX+0, "x":61, "y":45, "width":32, "height":64},
{"index":COSTUME_START_INDEX+1, "x":61, "y": 8, "width":32, "height":32},
{"index":COSTUME_START_INDEX+2, "x":60, "y":125, "width":32, "height":32},
{"index":COSTUME_START_INDEX+3, "x":52, "y": 5+197, "width":32, "height":32},
{"index":COSTUME_START_INDEX+4, "x":1, "y": 5+197, "width":32, "height":32},
{"index":COSTUME_START_INDEX+5, "x":13, "y": 13+197, "width":32, "height":32},
),
},
),
},
