Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

wywala clienta


Rekomendowane odpowiedzi

Opublikowano

Siema dodałem nowy interface logowania i po wyborze królestwa wywala clienta jakieś porady ;/?

 

Sysser.txt

 

 

 

0213 10:23:11416 :: Failed to load script file : locale/de/ui/createcharacterwindow.py
0213 10:23:11419 :: 
ui.py(line:2773) LoadScriptFile
system.py(line:192) execfile
system.py(line:163) Run
locale/de/ui/createcharacterwindow.py(line:11) ?
system.py(line:137) __pack_import
 
LoadScriptFile!!!!!!!!!!!!!! - exceptions.ImportError:No module named CREATE_HAIR
 
0213 10:23:11419 :: ============================================================================================================
0213 10:23:11419 :: Abort!!!!
 
 
0213 10:23:11420 :: 
introCreate.py(line:192) Open
ui.py(line:2790) LoadScriptFile
exception.py(line:36) Abort
 
CreateCharacterWindow.Open.LoadObject - exceptions.SystemExit:
 
0213 10:23:11420 :: ============================================================================================================
0213 10:23:11420 :: Abort!!!!
 

 
 
Linia 11 :
 

 
import uiScriptLocale
 
ROOT_PATH = "d:/ymir work/ui/public/"
LOCALE_PATH = "locale/de/ui/select/"
BUTTON_PATH = uiScriptLocale.LOGIN_PATH
BOARD_X = SCREEN_WIDTH * (45) / 800
BOARD_Y = SCREEN_HEIGHT * (65) / 600
 
PLUS_BUTTON_WIDTH = 20
TEMPORARY_HEIGHT = 24 + 5
 
window = {
"name" : "CreateCharacterWindow",
 
"x" : 0,
"y" : 0,
 
"width" : SCREEN_WIDTH,
"height" : SCREEN_HEIGHT,
 
"children" :
(
#################################################################
## Board
{
"name" : "BackGround", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1920.0, "y_scale" : float(SCREEN_HEIGHT) / 1600.0,
"image" : "locale/de/ui/select.sub",
},
{
"name" : "Frames", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
"image" : "locale/de/ui/frames.tga",
},

 
 
cały .py
 

 
#################################################################
###00000####00####0000000#0000000#00###00#000000###00###0000000##
###00##00##0000###00######00######00###00#####00#00##00#00#######
###00000##00##00##00######00#######00#00######00#00##00#00#######
###00#####000000##0000000#0000000###000####00000#00##00#0000000##
###00####00####00######00######00###00########00#00##00######00##
###00####00####00#0000000#0000000##00#####000000###00###0000000##
#################################################################
 
import uiScriptLocale
 
ROOT_PATH = "d:/ymir work/ui/public/"
LOCALE_PATH = "locale/de/ui/select/"
BUTTON_PATH = uiScriptLocale.LOGIN_PATH
BOARD_X = SCREEN_WIDTH * (45) / 800
BOARD_Y = SCREEN_HEIGHT * (65) / 600
 
PLUS_BUTTON_WIDTH = 20
TEMPORARY_HEIGHT = 24 + 5
 
window = {
"name" : "CreateCharacterWindow",
 
"x" : 0,
"y" : 0,
 
"width" : SCREEN_WIDTH,
"height" : SCREEN_HEIGHT,
 
"children" :
(
#################################################################
## Board
{
"name" : "BackGround", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1920.0, "y_scale" : float(SCREEN_HEIGHT) / 1600.0,
"image" : "locale/de/ui/select.sub",
},
{
"name" : "Frames", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
"image" : "locale/de/ui/frames.tga",
},
 
#################################################################
## Character Board
{
"name" : "character_board",
"type" : "thinboard",
 
"x" : BOARD_X,
"y" : BOARD_Y,
 
"width" : 208,
"height" : 300 + TEMPORARY_HEIGHT,
 
"children" :
(
{
"name" : "text_board",
"type" : "bar",
 
"x" : 8,
"y" : 10,
 
"width" : 189,
"height" : 122,
 
"children" :
(
{
"name" : "prev_button",
"type" : "button",
 
"x" : 95,
"y" : 95,
 
"text" : uiScriptLocale.CREATE_PREV,
 
"default_image" : ROOT_PATH + "Small_Button_01.sub",
"over_image" : ROOT_PATH + "Small_Button_02.sub",
"down_image" : ROOT_PATH + "Small_Button_03.sub",
},
{
"name" : "next_button",
"type" : "button",
 
"x" : 140,
"y" : 95,
 
"text" : uiScriptLocale.CREATE_NEXT,
 
"default_image" : ROOT_PATH + "Small_Button_01.sub",
"over_image" : ROOT_PATH + "Small_Button_02.sub",
"down_image" : ROOT_PATH + "Small_Button_03.sub",
},
{
"name" : "right_line",
"type" : "line",
 
"x" : 189-1,
"y" : -1,
 
"width" : 0,
"height" : 122,
 
"color" : 0xffAAA6A1,
},
{
"name" : "bottom_line",
"type" : "line",
 
"x" : 0,
"y" : 122-1,
 
"width" : 189,
"height" : 0,
 
"color" : 0xffAAA6A1,
},
{
"name" : "left_line",
"type" : "line",
 
"x" : 0,
"y" : 0,
 
"width" : 0,
"height" : 122-1,
 
"color" : 0xff2A2521,
},
{
"name" : "top_line",
"type" : "line",
 
"x" : 0,
"y" : 0,
 
"width" : 189,
"height" : 0,
 
"color" : 0xff2A2521,
},
),
},
{
"name" : "hth",
"type" : "text",
 
"x" : 15,
"y" : 138,
 
"text" : uiScriptLocale.CREATE_HP,
 
"children" :
(
{
"name" : "hth_gauge",
"type" : "gauge",
 
"x" : 30,
"y" : 4,
 
"width" : 100 + PLUS_BUTTON_WIDTH,
"color" : "red",
},
{
"name" : "hth_slot",
"type" : "slotbar",
 
"x" : 137 + PLUS_BUTTON_WIDTH,
"y" : -1,
"width" : 24,
"height" : 16,
 
"children" :
(
{
"name" : "hth_value",
"type" : "text",
 
"x" : 0,
"y" : 1,
"all_align" : "center",
 
"text" : "99",
},
),
},
),
},
{
"name" : "int",
"type" : "text",
 
"x" : 15,
"y" : 157,
 
"text" : uiScriptLocale.CREATE_SP,
 
"children" :
(
{
"name" : "int_gauge",
"type" : "gauge",
 
"x" : 30,
"y" : 4,
 
"width" : 100 + PLUS_BUTTON_WIDTH,
"color" : "pink",
},
{
"name" : "int_slot",
"type" : "slotbar",
 
"x" : 137 + PLUS_BUTTON_WIDTH,
"y" : -1,
"width" : 24,
"height" : 16,
 
"children" :
(
{
"name" : "int_value",
"type" : "text",
 
"x" : 0,
"y" : 1,
"all_align" : "center",
 
"text" : "99",
},
),
},
),
},
{
"name" : "str",
"type" : "text",
 
"x" : 15,
"y" : 176,
 
"text" : uiScriptLocale.CREATE_ATT_GRADE,
 
"children" :
(
{
"name" : "str_gauge",
"type" : "gauge",
 
"x" : 30,
"y" : 4,
 
"width" : 100 + PLUS_BUTTON_WIDTH,
"color" : "purple",
},
{
"name" : "str_slot",
"type" : "slotbar",
 
"x" : 137 + PLUS_BUTTON_WIDTH,
"y" : -1,
"width" : 24,
"height" : 16,
 
"children" :
(
{
"name" : "str_value",
"type" : "text",
 
"x" : 0,
"y" : 1,
"all_align" : "center",
 
"text" : "99",
},
),
},
),
},
{
"name" : "dex",
"type" : "text",
 
"x" : 15,
"y" : 195,
 
"text" : uiScriptLocale.CREATE_DEX_GRADE,
 
"children" :
(
{
"name" : "dex_gauge",
"type" : "gauge",
 
"x" : 30,
"y" : 4,
 
"width" : 100 + PLUS_BUTTON_WIDTH,
"color" : "blue",
},
{
"name" : "dex_slot",
"type" : "slotbar",
 
"x" : 137 + PLUS_BUTTON_WIDTH,
"y" : -1,
"width" : 24,
"height" : 16,
 
"children" :
(
{
"name" : "dex_value",
"type" : "text",
 
"x" : 0,
"y" : 1,
"all_align" : "center",
 
"text" : "99",
},
),
},
),
},
{
"name" : "character_name",
"type" : "text",
 
"x" : 43,
"y" : 218,
 
"text" : uiScriptLocale.CREATE_NAME,
 
"text_horizontal_align" : "center",
 
"children" :
(
{
"name" : "character_name_slot",
"type" : "image",
 
"x" : 40 - 1,
"y" : -2,
 
"image" : "d:/ymir work/ui/public/parameter_slot_04.sub",
},
{
"name" : "character_name_value",
"type" : "editline",
 
"x" : 40 - 1 + 3,
"y" : 0,
 
"input_limit" : 12,
 
"width" : 90,
"height" : 20,
},
),
},
## Shape
{
"name" : "character_shape",
"type" : "text",
 
"x" : 43,
"y" : 245,
 
"text" : uiScriptLocale.CREATE_SHAPE,
 
"text_horizontal_align" : "center",
},
{
"name" : "shape_button_01",
"type" : "radio_button",
 
"x" : 79,
"y" : 245,
 
"text" : "1",
 
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
},
{
"name" : "shape_button_02",
"type" : "radio_button",
 
"x" : 139,
"y" : 245,
 
"text" : "2",
 
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
},
## Hair
{
"name" : "character_hair",
"type" : "text",
 
"x" : 43,
"y" : 270,
 
"text" : uiScriptLocale.CREATE_HAIR,
 
"text_horizontal_align" : "center",
},
{
"name" : "hair_button_prev",
"type" : "button",
 
"x" : 79,
"y" : 275,
 
"text" : "",
 
"default_image" : ROOT_PATH + "scrollbar_thin_middle_button_01.sub",
"over_image" : ROOT_PATH + "scrollbar_thin_middle_button_02.sub",
"down_image" : ROOT_PATH + "scrollbar_thin_middle_button_03.sub",
},
"name" : "HairNumber",
"type" : "image",
 
"x" : 109,
"y" : 270,
 
"image" : ROOT_PATH + "number2/0.sub", 
},
{
"name" : "hair_button_next",
"type" : "button",
 
"x" : 139,
"y" : 275,
 
"text" : "",
 
"default_image" : ROOT_PATH + "scrollbar_thin_middle_button_01.sub",
"over_image" : ROOT_PATH + "scrollbar_thin_middle_button_02.sub",
"down_image" : ROOT_PATH + "scrollbar_thin_middle_button_03.sub",
},
## HairColor
{
"name" : "character_hair_color",
"type" : "text",
 
"x" : 43,
"y" : 295,
 
"text" : uiScriptLocale.CREATE_HAIR_COLOR,
 
"text_horizontal_align" : "center",
},
{
"name" : "hair_color_button_prev",
"type" : "button",
 
"x" : 79,
"y" : 300,
 
"text" : "",
 
"default_image" : ROOT_PATH + "scrollbar_thin_middle_button_01.sub",
"over_image" : ROOT_PATH + "scrollbar_thin_middle_button_02.sub",
"down_image" : ROOT_PATH + "scrollbar_thin_middle_button_03.sub",
},
"name" : "HairColorNumber",
"type" : "image",
 
"x" : 109,
"y" : 295,
 
"image" : ROOT_PATH + "number2/0.sub", 
},
{
"name" : "hair_color_button_next",
"type" : "button",
 
"x" : 139,
"y" : 300,
 
"text" : "",
 
"default_image" : ROOT_PATH + "scrollbar_thin_middle_button_01.sub",
"over_image" : ROOT_PATH + "scrollbar_thin_middle_button_02.sub",
"down_image" : ROOT_PATH + "scrollbar_thin_middle_button_03.sub",
},
),
},
#################################################################
## Buttons
{
"name" : "left_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (350 - 22) / 800,
"y" : SCREEN_HEIGHT * (430) / 600,
 
"default_image" : LOCALE_PATH+"rotate_left_01.sub",
"over_image" : LOCALE_PATH+"rotate_left_02.sub",
"down_image" : LOCALE_PATH+"rotate_left_03.sub",
},
{
"name" : "right_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (480 - 22) / 800,
"y" : SCREEN_HEIGHT * (430) / 600,
 
"default_image" : LOCALE_PATH+"rotate_right_01.sub",
"over_image" : LOCALE_PATH+"rotate_right_02.sub",
"down_image" : LOCALE_PATH+"rotate_right_03.sub",
},
#################################################################
## Frames
#{
# "name" : "TopFrame01",
# "type" : "expanded_image",
 
# "x" : SCREEN_WIDTH / 800 + 30,
# "y" : SCREEN_HEIGHT / 600,
 
# "x_scale" : 0.8,
# "y_scale" : 0.8,
 
# "image" : LOCALE_PATH+"frame_top_01.sub",
#},
#{
# "name" : "TopFrame02",
# "type" : "expanded_image",
 
# "x" : SCREEN_WIDTH / 800 + 30 + 654,
# "y" : SCREEN_HEIGHT / 600,
 
# "x_scale" : 0.8,
# "y_scale" : 0.8,
 
# "image" : LOCALE_PATH+"frame_top_02.sub",
#},
#{
# "name" : "BottomFrame01",
# "type" : "expanded_image",
 
# "x" : SCREEN_WIDTH / 800 + 30,
# "y" : SCREEN_HEIGHT - 98,
 
# "x_scale" : 0.8,
# "y_scale" : 0.8,
 
# "image" : LOCALE_PATH+"frame_bottom_01.sub",
#},
#{
# "name" : "BottomFrame02",
# "type" : "expanded_image",
 
# "x" : SCREEN_WIDTH / 800 + 30 + 654,
# "y" : SCREEN_HEIGHT - 98,
 
# "x_scale" : 0.8,
# "y_scale" : 0.8,
 
# "image" : LOCALE_PATH+"frame_bottom_02.sub",
#},
#################################################################
## Buttons
{
"name" : "warrior_m_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (5 + 30) / 800,
"y" : SCREEN_HEIGHT * (455 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_01_left.sub",
"over_image" : LOCALE_PATH+ "button_02_left.sub",
"down_image" : LOCALE_PATH+ "button_02_left.sub",
 
"children" :
(
{
"name" : "warrior_m",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Warrior (M)",
},
),
},
{
"name" : "warrior_middle",
"type" : "image",
 
"x" : SCREEN_WIDTH * (5 + 30) / 800 + 83,
"y" : SCREEN_HEIGHT * (451 + 50) / 600,
 
"image" : LOCALE_PATH+ "middle_01.sub",
},
{
"name" : "warrior_f_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (5 + 30) / 800 + 145,
"y" : SCREEN_HEIGHT * (455 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_01_right.sub",
"over_image" : LOCALE_PATH+ "button_02_right.sub",
"down_image" : LOCALE_PATH+ "button_02_right.sub",
 
"children" :
(
{
"name" : "warrior_f",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Warrior (W)",
},
),
},
{
"name" : "assassin_m_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (185 + 30) / 800,
"y" : SCREEN_HEIGHT * (455 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_01_left.sub",
"over_image" : LOCALE_PATH+ "button_02_left.sub",
"down_image" : LOCALE_PATH+ "button_02_left.sub",
 
"children" :
(
{
"name" : "assassin_m",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Assassin (M)",
},
),
},
{
"name" : "assassin_middle",
"type" : "image",
 
"x" : SCREEN_WIDTH * (185 + 30) / 800 + 83,
"y" : SCREEN_HEIGHT * (451 + 50) / 600,
 
"image" : LOCALE_PATH+ "middle_01.sub",
},
{
"name" : "assassin_f_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (185 + 30) / 800 + 145,
"y" : SCREEN_HEIGHT * (455 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_01_right.sub",
"over_image" : LOCALE_PATH+ "button_02_right.sub",
"down_image" : LOCALE_PATH+ "button_02_right.sub",
 
"children" :
(
{
"name" : "assassin_f",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Assassin (W)",
},
),
},
{
"name" : "sura_m_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (365 + 30) / 800,
"y" : SCREEN_HEIGHT * (455 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_01_left.sub",
"over_image" : LOCALE_PATH+ "button_02_left.sub",
"down_image" : LOCALE_PATH+ "button_02_left.sub",
 
"children" :
(
{
"name" : "sura_m",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Sura (M)",
},
),
},
{
"name" : "sura_middle",
"type" : "image",
 
"x" : SCREEN_WIDTH * (365 + 30) / 800 + 83,
"y" : SCREEN_HEIGHT * (451 + 50) / 600,
 
"image" : LOCALE_PATH+ "middle_01.sub",
},
{
"name" : "sura_f_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (365 + 30) / 800 + 145,
"y" : SCREEN_HEIGHT * (455 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_01_right.sub",
"over_image" : LOCALE_PATH+ "button_02_right.sub",
"down_image" : LOCALE_PATH+ "button_02_right.sub",
 
"children" :
(
{
"name" : "sura_f",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Sura (W)",
},
),
},
{
"name" : "shaman_m_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (545 + 30) / 800,
"y" : SCREEN_HEIGHT * (455 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_01_left.sub",
"over_image" : LOCALE_PATH+ "button_02_left.sub",
"down_image" : LOCALE_PATH+ "button_02_left.sub",
 
"children" :
(
{
"name" : "shaman_m",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Shaman (M)",
},
),
},
{
"name" : "shaman_middle",
"type" : "image",
 
"x" : SCREEN_WIDTH * (545 + 30) / 800 + 83,
"y" : SCREEN_HEIGHT * (451 + 50) / 600,
 
"image" : LOCALE_PATH+ "middle_01.sub",
},
{
"name" : "shaman_f_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (545 + 30) / 800 + 145,
"y" : SCREEN_HEIGHT * (455 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_01_right.sub",
"over_image" : LOCALE_PATH+ "button_02_right.sub",
"down_image" : LOCALE_PATH+ "button_02_right.sub",
 
"children" :
(
{
"name" : "shaman_f",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Shaman (W)",
},
),
},
{
"name" : "warrior_m_button_active",
"type" : "button",
 
"x" : SCREEN_WIDTH * (5 + 30) / 800,
"y" : SCREEN_HEIGHT * (456 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_03_left.sub",
"over_image" : LOCALE_PATH+ "button_03_left.sub",
"down_image" : LOCALE_PATH+ "button_03_left.sub",
 
"children" :
(
{
"name" : "warrior_m_active",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Warrior (M)",
},
),
},
{
"name" : "warrior_middle_active",
"type" : "image",
 
"x" : SCREEN_WIDTH * (5 + 30) / 800 + 83,
"y" : SCREEN_HEIGHT * (451 + 50) / 600,
 
"image" : LOCALE_PATH+ "middle_03.sub",
},
{
"name" : "warrior_f_button_active",
"type" : "button",
 
"x" : SCREEN_WIDTH * (5 + 30) / 800 + 145,
"y" : SCREEN_HEIGHT * (456 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_03_right.sub",
"over_image" : LOCALE_PATH+ "button_03_right.sub",
"down_image" : LOCALE_PATH+ "button_03_right.sub",
 
"children" :
(
{
"name" : "warrior_f",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Warrior (W)",
},
),
},
{
"name" : "assassin_m_button_active",
"type" : "button",
 
"x" : SCREEN_WIDTH * (185 + 30) / 800,
"y" : SCREEN_HEIGHT * (456 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_03_left.sub",
"over_image" : LOCALE_PATH+ "button_03_left.sub",
"down_image" : LOCALE_PATH+ "button_03_left.sub",
 
"children" :
(
{
"name" : "assassin_m",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Assassin (M)",
},
),
},
{
"name" : "assassin_middle_active",
"type" : "image",
 
"x" : SCREEN_WIDTH * (185 + 30) / 800 + 83,
"y" : SCREEN_HEIGHT * (451 + 50) / 600,
 
"image" : LOCALE_PATH+ "middle_03.sub",
},
{
"name" : "assassin_f_button_active",
"type" : "button",
 
"x" : SCREEN_WIDTH * (185 + 30) / 800 + 145,
"y" : SCREEN_HEIGHT * (456 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_03_right.sub",
"over_image" : LOCALE_PATH+ "button_03_right.sub",
"down_image" : LOCALE_PATH+ "button_03_right.sub",
 
"children" :
(
{
"name" : "assassin_f",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Assassin (W)",
},
),
},
{
"name" : "sura_m_button_active",
"type" : "button",
 
"x" : SCREEN_WIDTH * (365 + 30) / 800,
"y" : SCREEN_HEIGHT * (456 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_03_left.sub",
"over_image" : LOCALE_PATH+ "button_03_left.sub",
"down_image" : LOCALE_PATH+ "button_03_left.sub",
 
"children" :
(
{
"name" : "sura_m",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Sura (M)",
},
),
},
{
"name" : "sura_middle_active",
"type" : "image",
 
"x" : SCREEN_WIDTH * (365 + 30) / 800 + 83,
"y" : SCREEN_HEIGHT * (451 + 50) / 600,
 
"image" : LOCALE_PATH+ "middle_03.sub",
},
{
"name" : "sura_f_button_active",
"type" : "button",
 
"x" : SCREEN_WIDTH * (365 + 30) / 800 + 145,
"y" : SCREEN_HEIGHT * (456 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_03_right.sub",
"over_image" : LOCALE_PATH+ "button_03_right.sub",
"down_image" : LOCALE_PATH+ "button_03_right.sub",
 
"children" :
(
{
"name" : "sura_f",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Sura (W)",
},
),
},
{
"name" : "shaman_m_button_active",
"type" : "button",
 
"x" : SCREEN_WIDTH * (545 + 30) / 800,
"y" : SCREEN_HEIGHT * (456 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_03_left.sub",
"over_image" : LOCALE_PATH+ "button_03_left.sub",
"down_image" : LOCALE_PATH+ "button_03_left.sub",
 
"children" :
(
{
"name" : "shaman_m",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Shaman (M)",
},
),
},
{
"name" : "shaman_middle_active",
"type" : "image",
 
"x" : SCREEN_WIDTH * (545 + 30) / 800 + 83,
"y" : SCREEN_HEIGHT * (451 + 50) / 600,
 
"image" : LOCALE_PATH+ "middle_03.sub",
},
{
"name" : "shaman_f_button_active",
"type" : "button",
 
"x" : SCREEN_WIDTH * (545 + 30) / 800 + 145,
"y" : SCREEN_HEIGHT * (456 + 50) / 600,
 
"default_image" : LOCALE_PATH+ "button_03_right.sub",
"over_image" : LOCALE_PATH+ "button_03_right.sub",
"down_image" : LOCALE_PATH+ "button_03_right.sub",
 
"children" :
(
{
"name" : "shaman_f",
"type" : "text",
 
"x" : 3,
"y" : 12,
 
"horizontal_align" : "center",
"text_horizontal_align" : "center",
 
"text" : "Shaman (W)",
},
),
},
 
## Norm Button
{
"name" : "create_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (280) / 800,
"y" : SCREEN_HEIGHT * (568) / 600,
 
"text" : uiScriptLocale.CREATE_CREATE,
 
"default_image" : BUTTON_PATH + "button_01.sub",
"over_image" : BUTTON_PATH + "button_02.sub",
"down_image" : BUTTON_PATH + "button_03.sub",
"disable_image" : BUTTON_PATH + "button_04.sub",
},
{
"name" : "prev_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (280) / 800 + 90,
"y" : SCREEN_HEIGHT * (568) / 600,
 
"text" : uiScriptLocale.CREATE_PREV,
 
"default_image" : BUTTON_PATH + "button_01.sub",
"over_image" : BUTTON_PATH + "button_02.sub",
"down_image" : BUTTON_PATH + "button_03.sub",
},
{
"name" : "next_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (280) / 800 + 180,
"y" : SCREEN_HEIGHT * (568) / 600,
 
"text" : uiScriptLocale.CREATE_NEXT,
 
"default_image" : BUTTON_PATH + "button_01.sub",
"over_image" : BUTTON_PATH + "button_02.sub",
"down_image" : BUTTON_PATH + "button_03.sub",
},
{
"name" : "cancel_button",
"type" : "button",
 
"x" : SCREEN_WIDTH * (280) / 800 + 270,
"y" : SCREEN_HEIGHT * (568) / 600,
 
"text" : uiScriptLocale.CANCEL,
 
"default_image" : BUTTON_PATH + "button_01.sub",
"over_image" : BUTTON_PATH + "button_02.sub",
"down_image" : BUTTON_PATH + "button_03.sub",
},
),
}
 

 
 
jakby ktoś chciał na wklej to 
 
cały .py
 
 
dziękuję za pomoc

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...