Hallo,
ich würde gerne die Slotposition vom Sash ändern weil es dauerhaft im Waffenkostüm Slot ist. Auch wenn ich keine Waffenkostüme nutze sieht es halt scheiße aus.
Das Problem ist: Egal welchen Müll ich in der gametype.h eintrage, der Slot bleibt.
gametype.h:
C
- #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;
- #ifdef ENABLE_ACCE_SYSTEM
- const DWORD c_Costume_Slot_Acce = c_Costume_Slot_Start + 3;
- #endif
- const DWORD c_Costume_Slot_Count = 4 //begin of slot count
- #ifdef ENABLE_ACCE_SYSTEM
- + 1;
- #endif
- const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count;
- #endif
costumewindow.py
Python
- import uiScriptLocale
- import item
- COSTUME_START_INDEX = item.COSTUME_SLOT_START
- SHINING_START_INDEX = item.SHINING_SLOT_START
- window = {
- "name" : "CostumeWindow",
- "x" : SCREEN_WIDTH - 175 - 225,
- "y" : SCREEN_HEIGHT - 95 - 620,
- "style" : ("movable", "float",),
- "width" : 135,
- "height" : 241,
- "children" :
- (
- {
- "name" : "board",
- "type" : "board_with_titlebar",
- "style" : ("attach",),
- "x" : 0,
- "y" : 0,
- "width" : 139,
- "height" : 243,
- "title" : uiScriptLocale.COSTUME_WINDOW_TITLE,
- "children" :
- (
- ## Equipment Slot
- {
- "name" : "Costume_Base",
- "type" : "image",
- "x" : 10,
- "y" : 38,
- "image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "costume/new_costume_bg.jpg",
- "children" :
- (
- {
- "name" : "Costume_Page",
- "type" : "window",
- "style" : ("attach",),
- "x" : 0,
- "y" : 0,
- "width" : 127,
- "height" : 175,
- "children" :
- (
- {
- "name" : "CostumeSlot",
- "type" : "slot",
- "x" : 0,
- "y" : 0,
- "width" : 127,
- "height" : 175,
- "slot" : (
- {"index":COSTUME_START_INDEX+0, "x":49, "y":40, "width":29, "height":64},
- {"index":COSTUME_START_INDEX+1, "x":49, "y":3, "width":29, "height":32},
- {"index":COSTUME_START_INDEX+2, "x":10, "y":15, "width":32, "height":96},
- {"index":COSTUME_START_INDEX+3, "x":79, "y":132, "width":32, "height":32},
- {"index":COSTUME_START_INDEX+4, "x":2, "y":132, "width":32, "height":32},
- ),
- },
- ),
- },
- {
- "name" : "Shining_Page",
- "type" : "window",
- "style" : ("attach",),
- "x" : 0,
- "y" : 0,
- "width" : 127,
- "height" : 175,
- "children" :
- (
- {
- "name" : "ShiningSlot",
- "type" : "slot",
- "x" : 0,
- "y" : 0,
- "width" : 127,
- "height" : 175,
- "slot" : (
- #Waffe
- {"index":SHINING_START_INDEX+0, "x":12, "y":75, "width":32, "height":32},
- {"index":SHINING_START_INDEX+1, "x":12, "y":45, "width":32, "height":32},
- {"index":SHINING_START_INDEX+2, "x":12, "y":14, "width":32, "height":32},
- #Armor
- {"index":SHINING_START_INDEX+3, "x":48, "y":75, "width":32, "height":32},
- {"index":SHINING_START_INDEX+4, "x":48, "y":45, "width":32, "height":32},
- #Special
- {"index":SHINING_START_INDEX+5, "x":48, "y":8, "width":32, "height":32},
- ),
- },
- ),
- },
- ),
- },
- {
- "name" : "ChangeButton",
- "type" : "button",
- "x" : 15,
- "y" : 11,
- "tooltip_text" : uiScriptLocale.CHANGE_SHINING,
- "default_image" : "uiscript/refresh/refresh_normal.tga",
- "over_image" : "uiscript/refresh/refresh_hover.tga",
- "down_image" : "uiscript/refresh/refresh_pressed.tga",
- },
- ),
- },
- ),
- }
Aktuell sieht es so aus:
Bitte melden Sie sich an, um dieses Bild zu sehen.
Es soll aber in einen der unteren Slots, am besten direkt unter die Rüstungskostüme