import uiScriptLocale
ROOT_PATH = "d:/ymir work/ui/public/"
LOCALE_PATH = uiScriptLocale.SELECT_PATH
JEX_RESOURCE_IMGS = "locale/tr/ui/se/"
BOARD_X = SCREEN_WIDTH * (65) / 800
BOARD_Y = SCREEN_HEIGHT * (220) / 600
BOARD_ITEM_ADD_POSITION = -40
window = {
"name" : "SelectCharacterWindow",
"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) / 1280.0, "y_scale" : float(SCREEN_HEIGHT) / 720.0,
"image" : "locale/tr/ui/se/bg.tga",
},
## Name
{
"name" : "name_warrior",
"type" : "image",
"x" :(SCREEN_WIDTH / 2) + (180),
"y" : BOARD_Y + 100,
"image" : JEX_RESOURCE_IMGS+"g.tga",
},
{
"name" : "name_assassin",
"type" : "image",
"x" :(SCREEN_WIDTH / 2) + (180),
"y" : BOARD_Y + 100,
"image" : JEX_RESOURCE_IMGS+"n.tga",
},
{
"name" : "name_sura",
"type" : "image",
"x" :(SCREEN_WIDTH / 2) + (180),
"y" : BOARD_Y + 100,
"image" : JEX_RESOURCE_IMGS+"s.tga",
},
{
"name" : "name_shaman",
"type" : "image",
"x" :(SCREEN_WIDTH / 2) + (180),
"y" : BOARD_Y + 100,
"image" : JEX_RESOURCE_IMGS+"c.tga",
},
{
"name" : "start_button",
"type" : "button",
"x" : 20,
"y" : 295,
"horizontal_align" : "center",
"vertical_align" : "center",
#"text" : "",
#"text_height" : 6,
"default_image" : JEX_RESOURCE_IMGS + "start.tga",
"over_image" : JEX_RESOURCE_IMGS + "start1.tga",
"down_image" : JEX_RESOURCE_IMGS + "start2.tga",
},
{
"name" : "create_button",
"type" : "button",
"x" : 20,
"y" : 295,
"horizontal_align" : "center",
"vertical_align" : "center",
#"text" : uiScriptLocale.SELECT_CREATE,
#"text_height" : 6,
"default_image" : JEX_RESOURCE_IMGS + "create.tga",
"over_image" : JEX_RESOURCE_IMGS + "create2.tga",
"down_image" : JEX_RESOURCE_IMGS + "create1.tga",
},
## Character Board
{
"name" : "character_board",
"type" : "image",
"x" : -340,
"y" : 0,
"horizontal_align" : "center",
"vertical_align" : "center",
"image" : JEX_RESOURCE_IMGS + "select.tga",
"children" :
(
## Empire Flag
{
"name" : "EmpireFlag_A",
"type" : "image",
"x" : 85,
"y" : 60,
#"x_scale" : 0.9,
#"y_scale" : 0.9,
"image" : JEX_RESOURCE_IMGS + "chunjo.tga",
},
{
"name" : "EmpireFlag_B",
"type" : "image",
"x" : 85,
"y" : 60,
#"x_scale" : 0.5,
#"y_scale" : 0.5,
"image" : JEX_RESOURCE_IMGS + "shinsoo.tga",
},
{
"name" : "EmpireFlag_C",
"type" : "image",
"x" : 85,
"y" : 60,
#"x_scale" : 0.9,
#"y_scale" : 0.9,
"image" : JEX_RESOURCE_IMGS + "jinno.tga",
},
{
"name" : "EmpireNameSlot",
"type" : "image",
"x" : 162,
"y" : 166,
"image" : JEX_RESOURCE_IMGS + "etc.tga",
"children" :
(
{
"name" : "EmpireName",
"type" : "text",
"x" : 0,
"y" : 0,
"text" : uiScriptLocale.SELECT_EMPIRE_NAME,
"all_align" : "center",
},
),
},
{
"name" : "GuildNameSlot",
"type" : "image",
"x" : 162,
"y" : 275,
"image" : JEX_RESOURCE_IMGS + "etc.tga",
"children" :
(
{
"name" : "GuildName",
"type" : "text",
"x" : 0,
"y" : 0,
"text" : uiScriptLocale.SELECT_NO_GUILD,
"all_align" : "center",
},
),
},
{
"name" : "character_name",
"type" : "text",
"x" : 119,
"y" : 195,
"text" : "",
"children" :
(
{
"name" : "character_name_slot",
"type" : "image",
"x" : 43,
"y" : -2,
"image" : JEX_RESOURCE_IMGS + "etc.tga",
},
{
"name" : "character_name_value",
"type" : "text",
"x" : 36 + 130/2,
"y" : 0,
"text" : "",
"text_horizontal_align" : "center",
},
),
},
{
"name" : "character_level",
"type" : "text",
"x" : 119,
"y" : 222,
"text" : "",
"children" :
(
{
"name" : "character_level_slot",
"type" : "image",
"x" : 43,
"y" : -2,
"image" : JEX_RESOURCE_IMGS + "etc.tga",
},
{
"name" : "character_level_value",
"type" : "text",
"x" : 36 + 130/2,
"y" : 0,
"text" : "",
"text_horizontal_align" : "center",
},
),
},
{
"name" : "character_play_time",
"type" : "text",
"x" : 79,
"y" : 249,
"text" : "",
"children" :
(
{
"name" : "character_play_time_slot",
"type" : "image",
"x" : 83,
"y" : -2,
"image" : JEX_RESOURCE_IMGS + "etc.tga",
},
{
"name" : "character_play_time_value",
"type" : "text",
"x" : 96 + 91/2,
"y" : 0,
"text" : "",
"text_horizontal_align" : "center",
},
),
},
{
"name" : "character_hth",
"type" : "text",
"x" : 96,
"y" : 328,
"text" : "",
"children" :
(
{
"name" : "gauge_hth",
"type" : "gauge",
"x" : 16,
"y" : 4,
"width" : 100,
"color" : "red",
},
{
"name" : "character_hth_slot",
"type" : "image",
"x" : 134,
"y" : -2,
#"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
},
{
"name" : "character_hth_value",
"type" : "text",
"x" : 134 + 39/2,
"y" : 0,
"text" : "",
"text_horizontal_align" : "center",
},
),
},
{
"name" : "character_int",
"type" : "text",
"x" : 96,
"y" : 352,
"text" : "",
"children" :
(
{
"name" : "gauge_int",
"type" : "gauge",
"x" : 16,
"y" : 4,
"width" : 100,
"color" : "pink",
},
{
"name" : "character_int_slot",
"type" : "image",
"x" : 134,
"y" : -2,
#"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
},
{
"name" : "character_int_value",
"type" : "text",
"x" : 134 + 39/2,
"y" : 0,
"text" : "",
"text_horizontal_align" : "center",
},
),
},
{
"name" : "character_str",
"type" : "text",
"x" : 96,
"y" : 378,
"text" : "",
"children" :
(
{
"name" : "gauge_str",
"type" : "gauge",
"x" : 16,
"y" : 4,
"width" : 100,
"color" : "purple",
},
{
"name" : "character_str_slot",
"type" : "image",
"x" : 134,
"y" : -2,
#"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
},
{
"name" : "character_str_value",
"type" : "text",
"x" : 134 + 39/2,
"y" : 0,
"text" : "",
"text_horizontal_align" : "center",
},
),
},
{
"name" : "character_dex",
"type" : "text",
"x" : 96,
"y" : 406,
"text" : "",
"children" :
(
{
"name" : "gauge_dex",
"type" : "gauge",
"x" : 16,
"y" : 4,
"width" : 100,
"color" : "blue",
},
{
"name" : "character_dex_slot",
"type" : "image",
"x" : 134,
"y" : -2,
#"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
},
{
"name" : "character_dex_value",
"type" : "text",
"x" : 134 + 39/2,
"y" : 0,
"text" : "",
"text_horizontal_align" : "center",
},
),
},
## Buttons
{
"name" : "exit_button",
"type" : "button",
"x" : -70,
"y" : 440,
"horizontal_align" : "center",
#"text" : uiScriptLocale.SELECT_EXIT,
"default_image" : JEX_RESOURCE_IMGS + "close.tga",
"over_image" : JEX_RESOURCE_IMGS + "close1.tga",
"down_image" : JEX_RESOURCE_IMGS + "close2.tga",
},
{
"name" : "delete_button",
"type" : "button",
"x" : 70,
"y" : 440,
"horizontal_align" : "center",
#"text" : uiScriptLocale.SELECT_DELETE,
"default_image" : JEX_RESOURCE_IMGS + "delete.tga",
"over_image" : JEX_RESOURCE_IMGS + "delete1.tga",
"down_image" : JEX_RESOURCE_IMGS + "delete2.tga",
},
),
},
## Buttons
{
"name" : "left_button",
"type" : "button",
"x" : SCREEN_WIDTH * (450 - 22*3) / 950,
"y" : SCREEN_HEIGHT * (505) / 700,
"default_image" : "d:/ymir work/ui/intro/select/dragon_left_button_01.sub",
"over_image" : "d:/ymir work/ui/intro/select/dragon_left_button_02.sub",
"down_image" : "d:/ymir work/ui/intro/select/dragon_left_button_03.sub",
},
{
"name" : "right_button",
"type" : "button",
"x" : SCREEN_WIDTH * (580 - 22) / 845,
"y" : SCREEN_HEIGHT * (505) / 700,
"default_image" : "d:/ymir work/ui/intro/select/dragon_right_button_01.sub",
"over_image" : "d:/ymir work/ui/intro/select/dragon_right_button_02.sub",
"down_image" : "d:/ymir work/ui/intro/select/dragon_right_button_03.sub",
},
),
}