Jump to content

Sash system problem


Recommended Posts

.png

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},#¹«±â
							),
						},

 

  • Love 1
Link to comment
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.