lotrovic 0 Posted February 23, 2020 Share Posted February 23, 2020 (edited) Hi, when I added sash system it doesn't work properly. It doesn't appear on character and is in wrong place in costume window. Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
⚡FlasH⚡ 65 Posted February 23, 2020 Share Posted February 23, 2020 add this image in ur locale/ur language/ui/costume/new_costume_bg.jpg in uiscript/costumewindows.py change like this window = { "name" : "CostumeWindow", "x" : SCREEN_WIDTH - 175 - 140, "y" : SCREEN_HEIGHT - 37 - 565, "style" : ("movable", "float",), "width" : 140, "height" : (180 + 47), #±âÁ¸º¸´Ù 47 ±æ¾îÁü "children" : ( { "name" : "board", "type" : "board", "style" : ("attach",), "x" : 0, "y" : 0, "width" : 140, "height" : (180 + 47), "children" : ( ## Title { "name" : "TitleBar", "type" : "titlebar", "style" : ("attach",), "x" : 6, "y" : 6, "width" : 130, "color" : "yellow", "children" : ( { "name":"TitleName", "type":"text", "x":60, "y":3, "text":uiScriptLocale.COSTUME_WINDOW_TITLE, "text_horizontal_align":"center" }, ), }, ## Equipment Slot { "name" : "Costume_Base", "type" : "image", "x" : 13, "y" : 38, "image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "costume/new_costume_bg.jpg", "children" : ( { "name" : "CostumeSlot", "type" : "slot", "x" : 3, "y" : 3, "width" : 127, "height" : 145, "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":62, "y":126, "width":32, "height":32},#¾Ç¼¼¼¸® {"index":item.COSTUME_SLOT_WEAPON, "x":13, "y":13, "width":32, "height":96},#¹«±â ), }, 1 Link to comment Share on other sites More sharing options...
lotrovic 0 Posted February 23, 2020 Author Share Posted February 23, 2020 0223 14:22:31467 :: Failed to load script file : UIScript/CostumeWindow.py 0223 14:22:31468 :: ui.py(line:2799) LoadScriptFile system.py(line:192) execfile system.py(line:163) Run UIScript/CostumeWindow.py(line:76) <module> LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'COSTUME_SLOT_WEAPON' 0223 14:22:31468 :: ============================================================================================================ 0223 14:22:31468 :: Abort!!!! 0223 14:22:31469 :: uiInventory.py(line:75) __LoadWindow ui.py(line:2816) LoadScriptFile exception.py(line:36) Abort CostumeWindow.LoadWindow.LoadObject - <type 'exceptions.SystemExit'>: 0223 14:22:31469 :: ============================================================================================================ 0223 14:22:31469 :: Abort!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now