QoL: Clean root, uiscript, locale

This commit is contained in:
rtw1x1
2025-12-31 16:40:15 +00:00
parent 53ab2505d3
commit dc7667e502
2017 changed files with 1000 additions and 88388 deletions

View File

@@ -54,8 +54,8 @@ window = {
"x" : 13,
"y" : 38,
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "costume/costume_bg.jpg",
"image" : "d:/ymir work/ui/costume/costume_bg.jpg",
"children" :
(

View File

@@ -1,13 +1,12 @@
import uiScriptLocale
ROOT_PATH = "d:/ymir work/ui/public/"
LOCALE_PATH = uiScriptLocale.SELECT_PATH
LOCALE_PATH = "locale/cz/ui/select/"
BOARD_X = SCREEN_WIDTH * (65) / 800
BOARD_Y = SCREEN_HEIGHT * (215) / 600
PLUS_BUTTON_WIDTH = 20
TEMPORARY_HEIGHT = 5
TEMPORARY_HEIGHT = 24 + 5
window = {
"name" : "CreateCharacterWindow",
@@ -22,95 +21,10 @@ window = {
(
## Board
{
"name" : "BackGroundPattern",
"type" : "expanded_image",
"x" : 0,
"y" : 42,
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
"name" : "BackGround", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
"image" : "d:/ymir work/ui/intro/select/select.sub",
},
## Alpha
{
"name" : "Alpha",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
"x_scale" : float(SCREEN_WIDTH) / 100.0,
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
"x_origin" : 0.0,
"y_origin" : 0.0,
},
## Top & Bottom Line
{
"name" : "Top_Line",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
},
{
"name" : "Bottom_Line",
"type" : "expanded_image",
"x" : 0,
"y" : SCREEN_HEIGHT - 42,
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
},
## BackGround
{
"name" : "BackGround",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 800.0,
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
"mode" : "MODULATE",
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
},
## Buttons
{
"name" : "left_button",
"type" : "button",
"x" : SCREEN_WIDTH * (440) / 800,
"y" : SCREEN_HEIGHT * (510) / 600,
"default_image" : "d:/ymir work/ui/intro/select/left_button_01.sub",
"over_image" : "d:/ymir work/ui/intro/select/left_button_02.sub",
"down_image" : "d:/ymir work/ui/intro/select/left_button_03.sub",
},
{
"name" : "right_button",
"type" : "button",
"x" : SCREEN_WIDTH * (570) / 800,
"y" : SCREEN_HEIGHT * (510) / 600,
"default_image" : "d:/ymir work/ui/intro/select/right_button_01.sub",
"over_image" : "d:/ymir work/ui/intro/select/right_button_02.sub",
"down_image" : "d:/ymir work/ui/intro/select/right_button_03.sub",
},
## Name
{
"name" : "name_warrior",
@@ -485,7 +399,7 @@ window = {
"type" : "text",
"x" : 43,
"y" : 217 + TEMPORARY_HEIGHT,
"y" : 218,
"text" : uiScriptLocale.CREATE_NAME,
@@ -518,11 +432,49 @@ window = {
},
{
"name" : "character_name",
"name" : "character_gender",
"type" : "text",
"x" : 43,
"y" : 241 + TEMPORARY_HEIGHT,
"y" : 247,
"text" : uiScriptLocale.CREATE_SEX,
"text_horizontal_align" : "center",
},
{
"name" : "gender_button_01",
"type" : "radio_button",
"x" : 79,
"y" : 247,
"text" : uiScriptLocale.CREATE_MAN,
"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" : "gender_button_02",
"type" : "radio_button",
"x" : 139,
"y" : 247,
"text" : uiScriptLocale.CREATE_WOMAN,
"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" : "character_shape",
"type" : "text",
"x" : 43,
"y" : 270,
"text" : uiScriptLocale.CREATE_SHAPE,
@@ -554,6 +506,7 @@ window = {
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
},
{
"name" : "create_button",
"type" : "button",
@@ -582,5 +535,31 @@ window = {
},
),
},
## Buttons
{
"name" : "left_button",
"type" : "button",
"x" : SCREEN_WIDTH * (450 - 22*3) / 800,
"y" : SCREEN_HEIGHT * (505) / 600,
"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) / 800,
"y" : SCREEN_HEIGHT * (505) / 600,
"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",
},
),
}

View File

@@ -28,10 +28,10 @@ window = {
"x" : 0,
"y" : 0,
"width" : 285,
"height" : 521,
"width" : 285,
"height" : 521,
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "new_cube_bg.tga",
"image" : "d:/ymir work/ui/new_cube_bg.tga",
"children" :
(

View File

@@ -0,0 +1,217 @@
import uiScriptLocale
window = {
"name" : "DragonSoulRefineWindow",
## ¿ëÈ¥¼® â ¹Ù·Î ¿ÞÂÊ
"x" : SCREEN_WIDTH - 176 - 287 - 10 - 287,
"y" : SCREEN_HEIGHT - 37 - 505,
"style" : ("movable", "float",),
"width" : 287,
"height" : 232,
"children" :
(
{
"name" : "board",
"type" : "board",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"width" : 287,
"height" : 232,
"children" :
(
## Base BackGroud Image
{
"name" : "DragonSoulRefineWindowBaseImage",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"image" : "d:/ymir work/ui/dragonsoul/dragon_soul_refine_bg.tga",
},
## Title
{
"name" : "TitleBar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 5,
"y" : 7,
"width" : 275,
"color" : "yellow",
"children" :
(
{
"name":"TitleName",
"type":"text",
"x":140,
"y":5,
"text":uiScriptLocale.DRAGONSOUL_REFINE_WINDOW_TITLE,
"text_horizontal_align":"center"
},
),
},
## Refine Slot
{
"name" : "RefineSlot",
"type" : "grid_table",
"image" : "d:/ymir work/ui/dragonsoul/cap.tga",
"x" : 15,
"y" : 39,
"start_index" : 0,
"x_count" : 5,
"y_count" : 3,
"x_step" : 32,
"y_step" : 32,
},
## Result Slot
{
"name" : "ResultSlot",
"type" : "grid_table",
"x" : 207,
"y" : 39,
"start_index" : 0,
"x_count" : 2,
"y_count" : 3,
"x_step" : 32,
"y_step" : 32,
},
## Grade Button
{
"name" : "GradeButton",
"type" : "toggle_button",
"x" : 36,
"y" : 148,
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
"children" :
(
{
"name" : "GradeSlotTitle",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.GRADE_SELECT,
"color" : 0xFFF1E6C0,
},
),
},
## Step Button
{
"name" : "StepButton",
"type" : "toggle_button",
"x" : 118,
"y" : 148,
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
"children" :
(
{
"name" : "StepSlotTitle",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.STEP_SELECT,
"color" : 0xFFF1E6C0,
},
),
},
## Refine Button
{
"name" : "StrengthButton",
"type" : "toggle_button",
"x" : 198,
"y" : 148,
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
"children" :
(
{
"name" : "RefineSlotTitle",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.STRENGTH_SELECT,
"color" : 0xFFF1E6C0,
},
),
},
## Money Print
{
"name":"Money_Slot",
"type" : "text",
"x":35,
"y":180,
"horizontal_align" : "right",
"text_horizontal_align" : "right",
"text" : "123456789",
},
## Do Refine Button
{
"name" : "DoRefineButton",
"type" : "button",
"x" : 188,
"y" : 200,
"default_image" : "d:/ymir work/ui/dragonsoul/l_button01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/l_button02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/l_button03.tga",
"children" :
(
{
"name" : "DoRefineButtonTitle",
"type" : "text",
"x" : 0,
"y" : 0,
"text" : uiScriptLocale.DO_REFINE,
"all_align" : "center",
},
),
},
),
},
),
}

View File

@@ -0,0 +1,426 @@
import uiScriptLocale
window = {
"name" : "InventoryWindow",
## 600 - (width + ¿À¸¥ÂÊÀ¸·Î ºÎÅÍ ¶ç¿ì±â 24 px)
"x" : SCREEN_WIDTH - 176 - 287 - 10,
"y" : SCREEN_HEIGHT - 37 - 505,
"style" : ("movable", "float",),
"width" : 287,
"height" : 505,
"children" :
(
{
"name" : "board",
"type" : "board",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"width" : 287,
"height" : 505,
"children" :
(
## Equipment Slot
{
"name" : "Equipment_Base",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"image" : "d:/ymir work/ui/dragonsoul/dragon_soul_bg.tga",
},
{
"name" : "Inventory_Tab_01",
"type" : "radio_button",
"x" : 16,
"y" : 332,
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
"children" :
(
{
"name" : "Inventory_Tab_01_Print",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_1,
"color" : 0xFFF1E6C0,
},
),
},
{
"name" : "Inventory_Tab_02",
"type" : "radio_button",
"x" : 67,
"y" : 332,
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
"children" :
(
{
"name" : "Inventory_Tab_02_Print",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_2,
"color" : 0xFFF1E6C0,
},
),
},
{
"name" : "Inventory_Tab_03",
"type" : "radio_button",
"x" : 118,
"y" : 332,
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
"children" :
(
{
"name" : "Inventory_Tab_03_Print",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_3,
"color" : 0xFFF1E6C0,
},
),
},
{
"name" : "Inventory_Tab_04",
"type" : "radio_button",
"x" : 169,
"y" : 332,
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
"children" :
(
{
"name" : "Inventory_Tab_04_Print",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_4,
"color" : 0xFFF1E6C0,
},
),
},
{
"name" : "Inventory_Tab_05",
"type" : "radio_button",
"x" : 220,
"y" : 332,
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
"children" :
(
{
"name" : "Inventory_Tab_05_Print",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_5,
"color" : 0xFFF1E6C0,
},
),
},
## Item Slot
{
"name" : "ItemSlot",
"type" : "grid_table",
"x" : 15,
"y" : 355,
"start_index" : 0,
"x_count" : 8,
"y_count" : 4,
"x_step" : 32,
"y_step" : 32,
#"image" : "d:/ymir work/ui/public/Slot_Base.sub"
},
{
"name" : "EquipmentSlot",
"type" : "slot",
"x" : 0,
"y" : 0,
"width" : 287,
"height" : 280,
"slot" : (
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+0, "x":128, "y":53, "width":32, "height":32},
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+1, "x":59, "y":93, "width":32, "height":32},
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+2, "x":59, "y":179, "width":32, "height":32},
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+3, "x":128, "y":219, "width":32, "height":32},
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+4, "x":194, "y":179, "width":32, "height":32},
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+5, "x":194, "y":93, "width":32, "height":32},
),
},
{
"name" : "deck1",
"type" : "toggle_button",
"x" : 21,
"y" : 230,
"default_image" : "d:/ymir work/ui/dragonsoul/deck1_1.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/deck1_2.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/deck1_3.tga",
},
{
"name" : "deck2",
"type" : "toggle_button",
"x" : 234,
"y" : 230,
"default_image" : "d:/ymir work/ui/dragonsoul/deck2_1.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/deck2_2.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/deck2_3.tga",
},
## Title
{
"name" : "TitleBar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 8,
"y" : 7,
"width" : 271,
"color" : "yellow",
"children" :
(
{ "name":"TitleName", "type":"text", "x":130, "y":3, "text":uiScriptLocale.DRAGONSOUL_TITLE, "text_horizontal_align":"center" },
),
},
## Tab Area
{
"name" : "TabControl",
"type" : "window",
"x" : 10,
"y" : 279,
"width" : 267,
"height" : 30,
"children" :
(
## Tab
{
"name" : "Tab_01",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"width" : 267,
"height" : 30,
"image" : "d:/ymir work/ui/dragonsoul/tap01.tga",
},
{
"name" : "Tab_02",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"width" : 267,
"height" : 30,
"image" : "d:/ymir work/ui/dragonsoul/tap02.tga",
},
{
"name" : "Tab_03",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"width" : 267,
"height" : 30,
"image" : "d:/ymir work/ui/dragonsoul/tap03.tga",
},
{
"name" : "Tab_04",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"width" : 267,
"height" : 30,
"image" : "d:/ymir work/ui/dragonsoul/tap04.tga",
},
{
"name" : "Tab_05",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"width" : 267,
"height" : 30,
"image" : "d:/ymir work/ui/dragonsoul/tap05.tga",
},
{
"name" : "Tab_06",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"width" : 267,
"height" : 30,
"image" : "d:/ymir work/ui/dragonsoul/tap06.tga",
},
## RadioButton
{
"name" : "Tab_Button_01",
"type" : "radio_button",
"x" : 2,
"y" : 2,
"width" : 36,
"height" : 27,
},
{
"name" : "Tab_Button_02",
"type" : "radio_button",
"x" : 42,
"y" : 2,
"width" : 36,
"height" : 27,
},
{
"name" : "Tab_Button_03",
"type" : "radio_button",
"x" : 82,
"y" : 2,
"width" : 36,
"height" : 27,
},
{
"name" : "Tab_Button_04",
"type" : "radio_button",
"x" : 122,
"y" : 2,
"width" : 36,
"height" : 27,
},
{
"name" : "Tab_Button_05",
"type" : "radio_button",
"x" : 162,
"y" : 2,
"width" : 36,
"height" : 27,
},
{
"name" : "Tab_Button_06",
"type" : "radio_button",
"x" : 202,
"y" : 2,
"width" : 36,
"height" : 27,
},
),
},
{
"name" : "tab_text_area",
"type" : "text",
"x" : 18,
"y" : 315,
"text" : uiScriptLocale.DRAGONSOUL_TAP_TITLE_1,
"color" : 0xFFC0C0C0,
},
{
"name" : "activate",
"type" : "toggle_button",
"x" : 217,
"y" : 492,
"text" : uiScriptLocale.DRAGONSOUL_ACTIVATE,
"default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga",
},
),
},
),
}

View File

@@ -0,0 +1,70 @@
import uiScriptLocale
ROOT = "d:/ymir work/ui/game/"
Y_ADD_POSITION = 0
window = {
"name" : "EnergyBar",
"x" : 0,
"y" : SCREEN_HEIGHT - 55,
"width" : 50,
"height" : 10,
"children" :
(
# ±â·Â
{
"name" : "EnergyGauge_Board",
"type" : "image",
"x" : 0,
"y" : -10 + Y_ADD_POSITION,
"image" : "D:/Ymir Work/UI/Pattern/EnergyGauge/energygauge_base.tga",
"children" :
(
{
"name" : "EnergyGauge_Empty",
"type" : "expanded_image",
"x" : 5,
"y" : 8,
"image" : "D:/Ymir Work/UI/Pattern/EnergyGauge/gauge_empty.tga",
},
{
"name" : "EnergyGauge_Hungry",
"type" : "expanded_image",
"x" : 5,
"y" : 8,
"image" : "D:/Ymir Work/UI/Pattern/EnergyGauge/gauge_hungry.tga",
},
{
"name" : "EnergyGauge_Full",
"type" : "expanded_image",
"x" : 5,
"y" : 8,
"image" : "D:/Ymir Work/UI/Pattern/EnergyGauge/gauge_full.tga",
},
),
},
{
"name" : "EnergyGauge_ToolTip",
"x" : 0,
"y" : 0,
"width" : 50,
"height" : 10,
"type" : "window",
},
),
}

View File

@@ -0,0 +1,48 @@
import uiScriptLocale
ROOT = "d:/ymir work/ui/game/"
Y_ADD_POSITION = 0
window = {
"name" : "ExpandTaskBar",
"x" : SCREEN_WIDTH/2 - 5,
"y" : SCREEN_HEIGHT - 74,
"width" : 37,
"height" : 37,
"children" :
(
{
"name" : "ExpanedTaskBar_Board",
"type" : "window",
"x" : 0,
"y" : 0,
"width" : 37,
"height" : 37,
"children" :
(
{
"name" : "DragonSoulButton",
"type" : "button",
"x" : 0,
"y" : 0,
"width" : 37,
"height" : 37,
"tooltip_text" : uiScriptLocale.TASKBAR_DISABLE,
"default_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_03.tga",
},
),
},
),
}

View File

@@ -0,0 +1,41 @@
import uiScriptLocale
ROOT = "d:/ymir work/ui/game/"
Y_ADD_POSITION = 0
window = {
"name" : "GiftBox",
"x" : 0,
"y" : SCREEN_HEIGHT - 45,
"width" : 50,
"height" : 50,
"children" :
(
{
"name" : "GiftBox_Icon",
"type" : "image",
"x" : 5,
"y" : -90 + Y_ADD_POSITION,
"width" : 50,
"height" : 50,
"image" : "D:/Ymir Work/UI/Pattern/GiftBox/present_for_fruends_icon.tga",
},
{
"name" : "GiftBox_ToolTip",
"x" : 0,
"y" : 0,
"width" : 50,
"height" : 10,
"type" : "window",
},
),
}

View File

@@ -1,12 +1,13 @@
import uiScriptLocale
import item
EQUIPMENT_START_INDEX = 90
window = {
"name" : "InventoryWindow",
## 600 - (width + ¿À¸¥ÂÊÀ¸·Î ºÎÅÍ ¶ç¿ì±â 24 px)
"x" : SCREEN_WIDTH - 176 - 200,
## 600 - (width + żŔ¸ĄÂĘŔ¸·Î şÎĹÍ ¶çżě±â 24 px)
"x" : SCREEN_WIDTH - 176,
"y" : SCREEN_HEIGHT - 37 - 565,
"style" : ("movable", "float",),
@@ -16,6 +17,7 @@ window = {
"children" :
(
## Inventory, Equipment Slots
{
"name" : "board",
"type" : "board",
@@ -43,7 +45,7 @@ window = {
"children" :
(
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2, "text_horizontal_align":"center" },
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.INVENTORY_TITLE, "text_horizontal_align":"center" },
),
},
@@ -55,7 +57,8 @@ window = {
"x" : 10,
"y" : 33,
"image" : "d:/ymir work/ui/game/windows/equipment_base.sub",
# "image" : "d:/ymir work/ui/equipment_bg_with_ring.tga",
"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",
"children" :
(
@@ -76,15 +79,62 @@ window = {
{"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
{"index":EQUIPMENT_START_INDEX+5, "x":114, "y":84, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+6, "x":114, "y":52, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+7, "x":2, "y":113, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+8, "x":75, "y":113, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+9, "x":114, "y":1, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
## »ő ąÝÁö1
# {"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
## »ő ąÝÁö2
# {"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
## »ő ş§Ć®
{"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
),
},
## Dragon Soul Button
{
"name" : "DSSButton",
"type" : "button",
"x" : 114,
"y" : 107,
"tooltip_text" : uiScriptLocale.TASKBAR_DRAGON_SOUL,
"default_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_03.tga",
},
## MallButton
{
"name" : "MallButton",
"type" : "button",
"x" : 118,
"y" : 148,
"tooltip_text" : uiScriptLocale.MALL_TITLE,
"default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
"over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
"down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
},
## CostumeButton
{
"name" : "CostumeButton",
"type" : "button",
"x" : 78,
"y" : 5,
"tooltip_text" : uiScriptLocale.COSTUME_TITLE,
"default_image" : "d:/ymir work/ui/game/costume_button_01.tga",
"over_image" : "d:/ymir work/ui/game/costume_button_02.tga",
"down_image" : "d:/ymir work/ui/game/costume_button_03.tga",
},
{
"name" : "Equipment_Tab_01",
"type" : "radio_button",
@@ -235,7 +285,7 @@ window = {
"type":"image",
"x":-18,
"y":20,
"y":2,
"image":"d:/ymir work/ui/game/windows/money_icon.sub",
},

View File

@@ -2,7 +2,7 @@ import uiScriptLocale
window = {
"name" : "LoginWindow",
"sytle" : ("movable",),
"sytle" : ("movable", "ltr",),
"x" : 0,
"y" : 0,
@@ -33,6 +33,7 @@ window = {
{
"name" : "GageBoard",
"type" : "window",
"style" : ("ltr",),
"x" : float(SCREEN_WIDTH) * 400 / 800.0 - 200,
"y" : float(SCREEN_HEIGHT) * 500 / 600.0 ,
"width" : 400,
@@ -63,7 +64,7 @@ window = {
"d:/ymir work/ui/intro/loading/08.sub",
"d:/ymir work/ui/intro/loading/09.sub",
"d:/ymir work/ui/intro/loading/10.sub",
"d:/ymir work/ui/intro/loading/11.sub",
"d:/ymir work/ui/intro/loading/11.sub",
"d:/ymir work/ui/intro/loading/12.sub",
"d:/ymir work/ui/intro/loading/13.sub",
"d:/ymir work/ui/intro/loading/14.sub",
@@ -85,7 +86,7 @@ window = {
"x" : 70,
"y" : 25,
"image" : "d:/ymir work/ui/intro/loading/gauge_empty.sub",
"image" : "d:/ymir work/ui/intro/loading/gauge_empty.sub",
},
{
"name" : "FullGage",
@@ -94,7 +95,7 @@ window = {
"x" : 70,
"y" : 25,
"image" : "d:/ymir work/ui/intro/loading/gauge_full.sub",
"image" : "d:/ymir work/ui/intro/loading/gauge_full.sub",
},
),
},

View File

@@ -0,0 +1,756 @@
import uiScriptLocale
LOCALE_PATH = uiScriptLocale.LOGIN_PATH
ROOT_PATH = "d:/ymir work/ui/intro/"
#Big-List
#SERVER_BOARD_HEIGHT = 180 + 390
#SERVER_LIST_HEIGHT = 171 + 350
#Small list like german
SERVER_BOARD_HEIGHT = 220 + 180
SERVER_LIST_HEIGHT = 171 + 180
SERVER_BOARD_WEIGHT = 375
window = {
"name" : "LoginWindow",
"sytle" : ("movable",),
"x" : 0,
"y" : 0,
"width" : SCREEN_WIDTH,
"height" : SCREEN_HEIGHT,
"children" :
(
## Board
{
"name" : "bg1", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
"image" : ROOT_PATH + "login/login.sub",
},
{
"name" : "bg2", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
"image" : ROOT_PATH + "login/login.sub",
},
## VirtualKeyboard
{
'name' : 'VirtualKeyboard',
'type' : 'thinboard',
'x' : (SCREEN_WIDTH - 564) / 2,
'y' : SCREEN_HEIGHT - 300,
'width' : 564,
'height' : 254,
'children' :
(
{
'name' : 'key_at',
'type' : 'toggle_button',
'x' : 40,
'y' : 186,
'default_image' : ROOT_PATH + 'login/vkey/key_at.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_at_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_at_over.tga',
},
{
'name' : 'key_backspace',
'type' : 'button',
'x' : 498,
'y' : 186,
'default_image' : ROOT_PATH + 'login/vkey/key_backspace.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_backspace_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_backspace_over.tga',
},
{
'name' : 'key_enter',
'type' : 'button',
'x' : 439,
'y' : 186,
'default_image' : ROOT_PATH + 'login/vkey/key_enter.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_enter_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_enter_over.tga',
},
{
'name' : 'key_shift',
'type' : 'toggle_button',
'x' : 86,
'y' : 186,
'default_image' : ROOT_PATH + 'login/vkey/key_shift.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_shift_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_shift_over.tga',
},
{
'name' : 'key_space',
'type' : 'button',
'x' : 145,
'y' : 186,
'default_image' : ROOT_PATH + 'login/vkey/key_space.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_space_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_space_over.tga',
},
{
'name' : 'key_1',
'type' : 'button',
'x' : 40,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_2',
'type' : 'button',
'x' : 80,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_3',
'type' : 'button',
'x' : 120,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_4',
'type' : 'button',
'x' : 160,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_5',
'type' : 'button',
'x' : 200,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_6',
'type' : 'button',
'x' : 240,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_7',
'type' : 'button',
'x' : 280,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_8',
'type' : 'button',
'x' : 320,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_9',
'type' : 'button',
'x' : 360,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_10',
'type' : 'button',
'x' : 400,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_11',
'type' : 'button',
'x' : 440,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_12',
'type' : 'button',
'x' : 480,
'y' : 24,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_13',
'type' : 'button',
'x' : 40,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_14',
'type' : 'button',
'x' : 80,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_15',
'type' : 'button',
'x' : 120,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_16',
'type' : 'button',
'x' : 160,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_17',
'type' : 'button',
'x' : 200,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_18',
'type' : 'button',
'x' : 240,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_19',
'type' : 'button',
'x' : 280,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_20',
'type' : 'button',
'x' : 320,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_21',
'type' : 'button',
'x' : 360,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_22',
'type' : 'button',
'x' : 400,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_23',
'type' : 'button',
'x' : 440,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_24',
'type' : 'button',
'x' : 480,
'y' : 63,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_25',
'type' : 'button',
'x' : 60,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_26',
'type' : 'button',
'x' : 100,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_27',
'type' : 'button',
'x' : 140,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_28',
'type' : 'button',
'x' : 180,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_29',
'type' : 'button',
'x' : 220,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_30',
'type' : 'button',
'x' : 260,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_31',
'type' : 'button',
'x' : 300,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_32',
'type' : 'button',
'x' : 340,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_33',
'type' : 'button',
'x' : 380,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_34',
'type' : 'button',
'x' : 420,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_35',
'type' : 'button',
'x' : 460,
'y' : 104,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_36',
'type' : 'button',
'x' : 60,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_37',
'type' : 'button',
'x' : 100,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_38',
'type' : 'button',
'x' : 140,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_39',
'type' : 'button',
'x' : 180,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_40',
'type' : 'button',
'x' : 220,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_41',
'type' : 'button',
'x' : 260,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_42',
'type' : 'button',
'x' : 300,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_43',
'type' : 'button',
'x' : 340,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_44',
'type' : 'button',
'x' : 380,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_45',
'type' : 'button',
'x' : 420,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
{
'name' : 'key_46',
'type' : 'button',
'x' : 460,
'y' : 144,
'default_image' : ROOT_PATH + 'login/vkey/key_normal.tga',
'down_image' : ROOT_PATH + 'login/vkey/key_normal_dn.tga',
'over_image' : ROOT_PATH + 'login/vkey/key_normal_over.tga',
},
)
},
## ConnectBoard
{
"name" : "ConnectBoard",
"type" : "thinboard",
"x" : (SCREEN_WIDTH - 208) / 2,
"y" : (SCREEN_HEIGHT - 410 - 35),
"width" : 208,
"height" : 30,
"children" :
(
{
"name" : "ConnectName",
"type" : "text",
"x" : 15,
"y" : 0,
"vertical_align" : "center",
"text_vertical_align" : "center",
"text" : uiScriptLocale.LOGIN_DEFAULT_SERVERADDR,
},
{
"name" : "SelectConnectButton",
"type" : "button",
"x" : 150,
"y" : 0,
"vertical_align" : "center",
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
"text" : uiScriptLocale.LOGIN_SELECT_BUTTON,
},
),
},
## LoginBoard
{
"name" : "LoginBoard",
"type" : "image",
"x" : (SCREEN_WIDTH - 208) / 2,
"y" : (SCREEN_HEIGHT - 410),
"image" : LOCALE_PATH + "loginwindow.sub",
"children" :
(
{
"name" : "ID_EditLine",
"type" : "editline",
"x" : 77,
"y" : 16,
"width" : 120,
"height" : 18,
"input_limit" : 16,
"enable_codepage" : 0,
"r" : 1.0,
"g" : 1.0,
"b" : 1.0,
"a" : 1.0,
},
{
"name" : "Password_EditLine",
"type" : "editline",
"x" : 77,
"y" : 43,
"width" : 120,
"height" : 18,
"input_limit" : 16,
"secret_flag" : 1,
"enable_codepage" : 0,
"r" : 1.0,
"g" : 1.0,
"b" : 1.0,
"a" : 1.0,
},
{
"name" : "LoginButton",
"type" : "button",
"x" : 15,
"y" : 65,
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
"text" : uiScriptLocale.LOGIN_CONNECT,
},
{
"name" : "LoginExitButton",
"type" : "button",
"x" : 105,
"y" : 65,
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
"text" : uiScriptLocale.LOGIN_EXIT,
},
),
},
## ServerBoard
{
"name" : "ServerBoard",
"type" : "thinboard",
"x" : 0,
"y" : SCREEN_HEIGHT - SERVER_BOARD_HEIGHT - 72,
"width" : 375,
"height" : SERVER_BOARD_HEIGHT,
"horizontal_align" : "center",
"children" :
(
## Title
{
"name" : "Title",
"type" : "text",
"x" : 0,
"y" : 12,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : uiScriptLocale.LOGIN_SELECT_TITLE,
},
## Horizontal
{
"name" : "HorizontalLine1",
"type" : "line",
"x" : 10,
"y" : 34,
"width" : 354,
"height" : 0,
"color" : 0xff777777,
},
{
"name" : "HorizontalLine2",
"type" : "line",
"x" : 10,
"y" : 35,
"width" : 355,
"height" : 0,
"color" : 0xff111111,
},
## Vertical
{
"name" : "VerticalLine1",
"type" : "line",
"x" : 246,
"y" : 38,
"width" : 0,
"height" : SERVER_LIST_HEIGHT + 4,
"color" : 0xff777777,
},
{
"name" : "VerticalLine2",
"type" : "line",
"x" : 247,
"y" : 38,
"width" : 0,
"height" : SERVER_LIST_HEIGHT + 4,
"color" : 0xff111111,
},
## ListBox
{
"name" : "ServerList",
"type" : "listbox2",
"x" : 10,
"y" : 40,
"width" : 232,
"height" : SERVER_LIST_HEIGHT,
"row_count" : 15,
"item_align" : 0,
},
{
"name" : "ChannelList",
"type" : "listbox",
"x" : 255,
"y" : 40,
"width" : 109,
"height" : SERVER_LIST_HEIGHT,
"item_align" : 0,
},
## Buttons
{
"name" : "ServerSelectButton",
"type" : "button",
"x" : 267,
"y" : SERVER_LIST_HEIGHT,
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
"text" : uiScriptLocale.OK,
},
{
"name" : "ServerExitButton",
"type" : "button",
"x" : 267,
"y" : SERVER_LIST_HEIGHT + 22,
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
"text" : uiScriptLocale.LOGIN_SELECT_EXIT,
},
),
},
),
}

View File

@@ -1,5 +1,4 @@
import uiScriptLocale
window = {
"name" : "PasswordDialog",
@@ -8,8 +7,8 @@ window = {
"style" : ("movable", "float",),
"width" : 170,
"height" : 90,
"width" : 250,
"height" : 150,
"children" :
(
@@ -20,11 +19,34 @@ window = {
"x" : 0,
"y" : 0,
"width" : 170,
"height" : 90,
"width" : 250,
"height" : 150,
"children" :
(
#³»¿ë
{
"name" : "Desc1",
"type" : "text",
"x" : 250/2,
"y" : 30,
"text" : uiScriptLocale.PASSWORD_DESC_1,
"text_horizontal_align":"center"
},
#³»¿ë2
{
"name" : "Desc2",
"type" : "text",
"x" : 250/2,
"y" : 42,
"text" : uiScriptLocale.PASSWORD_DESC_2,
"text_horizontal_align":"center"
},
## Title
{
"name" : "titlebar",
@@ -34,7 +56,7 @@ window = {
"x" : 8,
"y" : 8,
"width" : 154,
"width" : 234,
"color" : "gray",
"children" :
@@ -43,7 +65,7 @@ window = {
"name" : "TitleName",
"type" : "text",
"x" : 154/2,
"x" : 234/2,
"y" : 3,
"text" : uiScriptLocale.PASSWORD_TITLE,
@@ -58,7 +80,7 @@ window = {
"type" : "image",
"x" : 0,
"y" : 34,
"y" : 56,
"horizontal_align" : "center",
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
@@ -80,14 +102,43 @@ window = {
},
),
},
{
"name" : "Desc3",
"type" : "text",
"x" : 250/2,
"y" : 80,
"text" : uiScriptLocale.PASSWORD_DESC_3,
"text_horizontal_align":"center"
},
{
"name" : "Desc4",
"type" : "text",
"x" : 250/2,
"y" : 92,
"text" : uiScriptLocale.PASSWORD_DESC_4,
"text_horizontal_align":"center"
},
{
"name" : "Desc5",
"type" : "text",
"x" : 250/2,
"y" : 104,
"text" : uiScriptLocale.PASSWORD_DESC_5,
"text_horizontal_align":"center"
},
## Button
{
"name" : "accept_button",
"type" : "button",
"x" : 170/2 - 61 - 5,
"y" : 58,
"x" : 250/2 - 61 - 5,
"y" : 120,
"text" : uiScriptLocale.OK,
@@ -99,8 +150,8 @@ window = {
"name" : "cancel_button",
"type" : "button",
"x" : 170/2 + 5,
"y" : 58,
"x" : 250/2 + 5,
"y" : 120,
"text" : uiScriptLocale.CANCEL,
@@ -111,4 +162,4 @@ window = {
),
},
),
}
}

View File

@@ -21,69 +21,10 @@ window = {
(
## Board
{
"name" : "BackGroundPattern",
"type" : "expanded_image",
"x" : 0,
"y" : 42,
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
"name" : "BackGround", "type" : "expanded_image", "x" : 0, "y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
"image" : "d:/ymir work/ui/intro/select/select.sub",
},
## Alpha
{
"name" : "Alpha",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
"x_scale" : float(SCREEN_WIDTH) / 100.0,
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
},
## Top & Bottom Line
{
"name" : "Top_Line",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
},
{
"name" : "Bottom_Line",
"type" : "expanded_image",
"x" : 0,
"y" : SCREEN_HEIGHT - 42,
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
},
## BackGround
{
"name" : "BackGround",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"x_scale" : float(SCREEN_WIDTH) / 800.0,
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
"mode" : "MODULATE",
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
},
## Name
{
"name" : "name_warrior",
@@ -557,23 +498,23 @@ window = {
"name" : "left_button",
"type" : "button",
"x" : SCREEN_WIDTH * (450) / 800,
"x" : SCREEN_WIDTH * (450 - 22*3) / 800,
"y" : SCREEN_HEIGHT * (505) / 600,
"default_image" : "d:/ymir work/ui/intro/select/left_button_01.sub",
"over_image" : "d:/ymir work/ui/intro/select/left_button_02.sub",
"down_image" : "d:/ymir work/ui/intro/select/left_button_03.sub",
"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) / 800,
"x" : SCREEN_WIDTH * (580 - 22) / 800,
"y" : SCREEN_HEIGHT * (505) / 600,
"default_image" : "d:/ymir work/ui/intro/select/right_button_01.sub",
"over_image" : "d:/ymir work/ui/intro/select/right_button_02.sub",
"down_image" : "d:/ymir work/ui/intro/select/right_button_03.sub",
"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",
},
),

View File

@@ -6,11 +6,11 @@ window = {
"name" : "SystemDialog",
"style" : ("float",),
"x" : SCREEN_WIDTH/2 - 100,
"y" : SCREEN_HEIGHT/2 - 114,
"x" : (SCREEN_WIDTH - 200) /2,
"y" : (SCREEN_HEIGHT - 288) /2,
"width" : 200,
"height" : 258,
"height" : 288,
"children" :
(
@@ -22,7 +22,7 @@ window = {
"y" : 0,
"width" : 200,
"height" : 258,
"height" : 288,
"children" :
(
@@ -39,13 +39,27 @@ window = {
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_03.sub",
},
{
"name" : "mall_button",
"type" : "button",
"x" : 10,
"y" : 57,
"text" : uiScriptLocale.SYSTEM_MALL,
"text_color" : 0xffF8BF24,
"default_image" : ROOT + "XLarge_Button_02.sub",
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_02.sub",
},
{
"name" : "system_option_button",
"type" : "button",
"x" : 10,
"y" : 57,
"y" : 87,
"text" : uiScriptLocale.SYSTEMOPTION_TITLE,
@@ -58,7 +72,7 @@ window = {
"type" : "button",
"x" : 10,
"y" : 87,
"y" : 117,
"text" : uiScriptLocale.GAMEOPTION_TITLE,
@@ -71,7 +85,7 @@ window = {
"type" : "button",
"x" : 10,
"y" : 117,
"y" : 147,
"text" : uiScriptLocale.SYSTEM_CHANGE,
@@ -84,7 +98,7 @@ window = {
"type" : "button",
"x" : 10,
"y" : 147,
"y" : 177,
"text" : uiScriptLocale.SYSTEM_LOGOUT,
@@ -97,7 +111,7 @@ window = {
"type" : "button",
"x" : 10,
"y" : 177,
"y" : 217,
"text" : uiScriptLocale.SYSTEM_EXIT,
@@ -110,7 +124,7 @@ window = {
"type" : "button",
"x" : 10,
"y" : 217,
"y" : 247,
"text" : uiScriptLocale.CANCEL,

View File

@@ -1,4 +1,5 @@
import uiScriptLocale
import app
ROOT = "d:/ymir work/ui/game/"
@@ -47,31 +48,64 @@ window = {
"x" : 8,
"y" : 4,
"width" : 40,
"height" : 40,
"delay" : 6,
"images" :
(
ROOT + "TaskBar/Rampage_01/00.sub",
ROOT + "TaskBar/Rampage_01/01.sub",
ROOT + "TaskBar/Rampage_01/02.sub",
ROOT + "TaskBar/Rampage_01/03.sub",
ROOT + "TaskBar/Rampage_01/04.sub",
ROOT + "TaskBar/Rampage_01/05.sub",
ROOT + "TaskBar/Rampage_01/06.sub",
ROOT + "TaskBar/Rampage_01/07.sub",
ROOT + "TaskBar/Rampage_01/08.sub",
ROOT + "TaskBar/Rampage_01/09.sub",
ROOT + "TaskBar/Rampage_01/11.sub",
ROOT + "TaskBar/Rampage_01/12.sub",
ROOT + "TaskBar/Rampage_01/13.sub",
ROOT + "TaskBar/Rampage_01/14.sub",
ROOT + "TaskBar/Rampage_01/15.sub",
ROOT + "TaskBar/Rampage_01/16.sub",
ROOT + "mall/00.sub",
ROOT + "mall/01.sub",
ROOT + "mall/02.sub",
ROOT + "mall/03.sub",
ROOT + "mall/04.sub",
ROOT + "mall/05.sub",
ROOT + "mall/06.sub",
ROOT + "mall/07.sub",
ROOT + "mall/08.sub",
ROOT + "mall/09.sub",
ROOT + "mall/11.sub",
ROOT + "mall/12.sub",
ROOT + "mall/13.sub",
ROOT + "mall/14.sub",
ROOT + "mall/15.sub",
ROOT + "mall/16.sub",
)
},
{
## 툴팁을 띄우기 위한 윈도우
"name" : "RampageGauge2",
"type" : "ani_image",
"x" : 8,
"y" : 4,
"width" : 40,
"height" : 40,
"delay" : 6,
"images" :
(
ROOT + "mall/00.sub",
ROOT + "mall/01.sub",
ROOT + "mall/02.sub",
ROOT + "mall/03.sub",
ROOT + "mall/04.sub",
ROOT + "mall/05.sub",
ROOT + "mall/06.sub",
ROOT + "mall/07.sub",
ROOT + "mall/08.sub",
ROOT + "mall/09.sub",
ROOT + "mall/11.sub",
ROOT + "mall/12.sub",
ROOT + "mall/13.sub",
ROOT + "mall/14.sub",
ROOT + "mall/15.sub",
ROOT + "mall/16.sub",
)
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "HPGauge_Board",
"type" : "window",
@@ -116,7 +150,7 @@ window = {
),
},
{
## 툴팁을 띄우기 위한 윈도우
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "SPGauge_Board",
"type" : "window",
@@ -161,7 +195,7 @@ window = {
),
},
{
## 툴팁을 띄우기 위한 윈도우
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "STGauge_Board",
"type" : "window",
@@ -340,13 +374,16 @@ window = {
"children" :
(
{
"name" : "ChatButton",
# ExpandButtonŔş ±âÁ¸żˇ ChatButtonŔĚľúŔ¸łŞ, ChatButtonŔÇ ČżżëĽşŔĚ Ŕű´Ů ĆÇ´ÜÇĎż©
# ExpandButtonŔ¸·Î ąŮ˛ď °ÍŔĚ´Ů.
"name" : "ExpandButton",
"type" : "button",
"x" : 128,
"y" : 1,
"tooltip_text" : uiScriptLocale.TASKBAR_CHAT,
"tooltip_text" : uiScriptLocale.TASKBAR_EXPAND,
"default_image" : ROOT + "TaskBar/Chat_Button_01.sub",
"over_image" : ROOT + "TaskBar/Chat_Button_02.sub",
"down_image" : ROOT + "TaskBar/Chat_Button_03.sub",

View File

@@ -0,0 +1,487 @@
import uiScriptLocale
import app
ROOT = "d:/ymir work/ui/game/"
#Y_ADD_POSITION = -2
Y_ADD_POSITION = 0
window = {
"name" : "TaskBar",
"x" : 0,
"y" : SCREEN_HEIGHT - 37,
"width" : SCREEN_WIDTH,
"height" : 37,
"children" :
(
## Board
{
"name" : "Base_Board_01",
"type" : "expanded_image",
"x" : 263,
"y" : 0,
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 263 - 256) / 256.0, 0.0),
"image" : "d:/ymir work/ui/pattern/TaskBar_Base.tga"
},
## Gauge
{
"name" : "Gauge_Board",
"type" : "image",
"x" : 0,
"y" : -10 + Y_ADD_POSITION,
"image" : ROOT + "taskbar/gauge.sub",
"children" :
(
{
"name" : "RampageGauge",
"type" : "ani_image",
"x" : 8,
"y" : 4,
"width" : 40,
"height" : 40,
"delay" : 6,
"images" :
(
ROOT + "mall/easter_2012_0000.tga",
ROOT + "mall/easter_2012_0001.tga",
ROOT + "mall/easter_2012_0002.tga",
ROOT + "mall/easter_2012_0003.tga",
ROOT + "mall/easter_2012_0004.tga",
ROOT + "mall/easter_2012_0005.tga",
ROOT + "mall/easter_2012_0006.tga",
ROOT + "mall/easter_2012_0007.tga",
ROOT + "mall/easter_2012_0008.tga",
ROOT + "mall/easter_2012_0009.tga",
)
},
{
"name" : "RampageGauge2",
"type" : "ani_image",
"x" : 8,
"y" : 4,
"width" : 40,
"height" : 40,
"delay" : 6,
"images" :
(
ROOT + "mall/easter_2012_0000.tga",
ROOT + "mall/easter_2012_0001.tga",
ROOT + "mall/easter_2012_0002.tga",
ROOT + "mall/easter_2012_0003.tga",
ROOT + "mall/easter_2012_0004.tga",
ROOT + "mall/easter_2012_0005.tga",
ROOT + "mall/easter_2012_0006.tga",
ROOT + "mall/easter_2012_0007.tga",
ROOT + "mall/easter_2012_0008.tga",
ROOT + "mall/easter_2012_0009.tga",
)
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "HPGauge_Board",
"type" : "window",
"x" : 59,
"y" : 14,
"width" : 95,
"height" : 11,
"children" :
(
{
"name" : "HPRecoveryGaugeBar",
"type" : "bar",
"x" : 0,
"y" : 0,
"width" : 95,
"height" : 13,
"color" : 0x55ff0000,
},
{
"name" : "HPGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/02.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/03.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/04.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/05.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/06.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/07.tga",
),
},
),
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "SPGauge_Board",
"type" : "window",
"x" : 59,
"y" : 24,
"width" : 95,
"height" : 11,
"children" :
(
{
"name" : "SPRecoveryGaugeBar",
"type" : "bar",
"x" : 0,
"y" : 0,
"width" : 95,
"height" : 13,
"color" : 0x550000ff,
},
{
"name" : "SPGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/SPGauge/01.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/02.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/03.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/04.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/05.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/06.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/07.tga",
),
},
),
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "STGauge_Board",
"type" : "window",
"x" : 59,
"y" : 38,
"width" : 95,
"height" : 6,
"children" :
(
{
"name" : "STGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/STGauge/01.tga",
"D:/Ymir Work/UI/Pattern/STGauge/02.tga",
"D:/Ymir Work/UI/Pattern/STGauge/03.tga",
"D:/Ymir Work/UI/Pattern/STGauge/04.tga",
"D:/Ymir Work/UI/Pattern/STGauge/05.tga",
"D:/Ymir Work/UI/Pattern/STGauge/06.tga",
"D:/Ymir Work/UI/Pattern/STGauge/07.tga",
),
},
),
},
),
},
{
"name" : "EXP_Gauge_Board",
"type" : "image",
"x" : 158,
"y" : 0 + Y_ADD_POSITION,
"image" : ROOT + "taskbar/exp_gauge.sub",
"children" :
(
{
"name" : "EXPGauge_01",
"type" : "expanded_image",
"x" : 5,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_02",
"type" : "expanded_image",
"x" : 30,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_03",
"type" : "expanded_image",
"x" : 55,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_04",
"type" : "expanded_image",
"x" : 80,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
),
},
## Mouse Button
{
"name" : "LeftMouseButton",
"type" : "button",
"x" : SCREEN_WIDTH/2 - 128,
"y" : 3 + Y_ADD_POSITION,
"default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
"over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
"down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
},
{
"name" : "RightMouseButton",
"type" : "button",
"x" : SCREEN_WIDTH/2 + 128 + 66 + 11,
"y" : 3 + Y_ADD_POSITION,
"default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
"over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
"down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
},
## Button
{
"name" : "CharacterButton",
"type" : "button",
"x" : SCREEN_WIDTH - 144,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_CHARACTER,
"default_image" : ROOT + "TaskBar/Character_Button_01.sub",
"over_image" : ROOT + "TaskBar/Character_Button_02.sub",
"down_image" : ROOT + "TaskBar/Character_Button_03.sub",
},
{
"name" : "InventoryButton",
"type" : "button",
"x" : SCREEN_WIDTH - 110,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_INVENTORY,
"default_image" : ROOT + "TaskBar/Inventory_Button_01.sub",
"over_image" : ROOT + "TaskBar/Inventory_Button_02.sub",
"down_image" : ROOT + "TaskBar/Inventory_Button_03.sub",
},
{
"name" : "MessengerButton",
"type" : "button",
"x" : SCREEN_WIDTH - 76,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_MESSENGER,
"default_image" : ROOT + "TaskBar/Community_Button_01.sub",
"over_image" : ROOT + "TaskBar/Community_Button_02.sub",
"down_image" : ROOT + "TaskBar/Community_Button_03.sub",
},
{
"name" : "SystemButton",
"type" : "button",
"x" : SCREEN_WIDTH - 42,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_SYSTEM,
"default_image" : ROOT + "TaskBar/System_Button_01.sub",
"over_image" : ROOT + "TaskBar/System_Button_02.sub",
"down_image" : ROOT + "TaskBar/System_Button_03.sub",
},
## QuickBar
{
"name" : "quickslot_board",
"type" : "window",
"x" : SCREEN_WIDTH/2 - 128 + 32 + 10,
"y" : 0 + Y_ADD_POSITION,
"width" : 256 + 14 + 2 + 11,
"height" : 37,
"children" :
(
{
# ExpandButtonŔş ±âÁ¸żˇ ChatButtonŔĚľúŔ¸łŞ, ChatButtonŔÇ ČżżëĽşŔĚ Ŕű´Ů ĆÇ´ÜÇĎż©
# ExpandButtonŔ¸·Î ąŮ˛ď °ÍŔĚ´Ů.
"name" : "ExpandButton",
"type" : "button",
"x" : 128,
"y" : 1,
"tooltip_text" : uiScriptLocale.TASKBAR_EXPAND,
"default_image" : ROOT + "TaskBar/Chat_Button_01.sub",
"over_image" : ROOT + "TaskBar/Chat_Button_02.sub",
"down_image" : ROOT + "TaskBar/Chat_Button_03.sub",
},
{
"name" : "quick_slot_1",
"type" : "grid_table",
"start_index" : 0,
"x" : 0,
"y" : 3,
"x_count" : 4,
"y_count" : 1,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/Public/Slot_Base.sub",
"image_r" : 1.0,
"image_g" : 1.0,
"image_b" : 1.0,
"image_a" : 1.0,
"children" :
(
{ "name" : "slot_1", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/1.sub", },
{ "name" : "slot_2", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/2.sub", },
{ "name" : "slot_3", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/3.sub", },
{ "name" : "slot_4", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/4.sub", },
),
},
{
"name" : "quick_slot_2",
"type" : "grid_table",
"start_index" : 4,
"x" : 128 + 14,
"y" : 3,
"x_count" : 4,
"y_count" : 1,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/Public/Slot_Base.sub",
"image_r" : 1.0,
"image_g" : 1.0,
"image_b" : 1.0,
"image_a" : 1.0,
"children" :
(
{ "name" : "slot_5", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f1.sub", },
{ "name" : "slot_6", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f2.sub", },
{ "name" : "slot_7", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f3.sub", },
{ "name" : "slot_8", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f4.sub", },
),
},
{
"name" : "QuickSlotBoard",
"type" : "window",
"x" : 128+14+128+2,
"y" : 0,
"width" : 11,
"height" : 37,
"children" :
(
{
"name" : "QuickSlotNumberBox",
"type" : "image",
"x" : 1,
"y" : 15,
"image" : ROOT + "taskbar/QuickSlot_Button_Board.sub",
},
{
"name" : "QuickPageUpButton",
"type" : "button",
"tooltip_text" : uiScriptLocale.TASKBAR_PREV_QUICKSLOT,
"x" : 1,
"y" : 9,
"default_image" : ROOT + "TaskBar/QuickSlot_UpButton_01.sub",
"over_image" : ROOT + "TaskBar/QuickSlot_UpButton_02.sub",
"down_image" : ROOT + "TaskBar/QuickSlot_UpButton_03.sub",
},
{
"name" : "QuickPageNumber",
"type" : "image",
"x" : 3, "y" : 15, "image" : "d:/ymir work/ui/game/taskbar/1.sub",
},
{
"name" : "QuickPageDownButton",
"type" : "button",
"tooltip_text" : uiScriptLocale.TASKBAR_NEXT_QUICKSLOT,
"x" : 1,
"y" : 24,
"default_image" : ROOT + "TaskBar/QuickSlot_DownButton_01.sub",
"over_image" : ROOT + "TaskBar/QuickSlot_DownButton_02.sub",
"down_image" : ROOT + "TaskBar/QuickSlot_DownButton_03.sub",
},
),
},
),
},
),
}

View File

@@ -0,0 +1,499 @@
import uiScriptLocale
import app
ROOT = "d:/ymir work/ui/game/"
#Y_ADD_POSITION = -2
Y_ADD_POSITION = 0
window = {
"name" : "TaskBar",
"x" : 0,
"y" : SCREEN_HEIGHT - 37,
"width" : SCREEN_WIDTH,
"height" : 37,
"children" :
(
## Board
{
"name" : "Base_Board_01",
"type" : "expanded_image",
"x" : 263,
"y" : 0,
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 263 - 256) / 256.0, 0.0),
"image" : "d:/ymir work/ui/pattern/TaskBar_Base.tga"
},
## Gauge
{
"name" : "Gauge_Board",
"type" : "image",
"x" : 0,
"y" : -10 + Y_ADD_POSITION,
"image" : ROOT + "taskbar/gauge.sub",
"children" :
(
{
"name" : "RampageGauge",
"type" : "ani_image",
"x" : 8,
"y" : 4,
"width" : 40,
"height" : 40,
"delay" : 6,
"images" :
(
ROOT + "mall/shop_button_kuerbis0000.tga",
ROOT + "mall/shop_button_kuerbis0001.tga",
ROOT + "mall/shop_button_kuerbis0002.tga",
ROOT + "mall/shop_button_kuerbis0003.tga",
ROOT + "mall/shop_button_kuerbis0004.tga",
ROOT + "mall/shop_button_kuerbis0005.tga",
ROOT + "mall/shop_button_kuerbis0006.tga",
ROOT + "mall/shop_button_kuerbis0007.tga",
ROOT + "mall/shop_button_kuerbis0008.tga",
ROOT + "mall/shop_button_kuerbis0009.tga",
ROOT + "mall/shop_button_kuerbis0010.tga",
ROOT + "mall/shop_button_kuerbis0011.tga",
ROOT + "mall/shop_button_kuerbis0012.tga",
ROOT + "mall/shop_button_kuerbis0013.tga",
ROOT + "mall/shop_button_kuerbis0014.tga",
ROOT + "mall/shop_button_kuerbis0015.tga",
)
},
{
"name" : "RampageGauge2",
"type" : "ani_image",
"x" : 8,
"y" : 4,
"width" : 40,
"height" : 40,
"delay" : 6,
"images" :
(
ROOT + "mall/shop_button_kuerbis0000.tga",
ROOT + "mall/shop_button_kuerbis0001.tga",
ROOT + "mall/shop_button_kuerbis0002.tga",
ROOT + "mall/shop_button_kuerbis0003.tga",
ROOT + "mall/shop_button_kuerbis0004.tga",
ROOT + "mall/shop_button_kuerbis0005.tga",
ROOT + "mall/shop_button_kuerbis0006.tga",
ROOT + "mall/shop_button_kuerbis0007.tga",
ROOT + "mall/shop_button_kuerbis0008.tga",
ROOT + "mall/shop_button_kuerbis0009.tga",
ROOT + "mall/shop_button_kuerbis0010.tga",
ROOT + "mall/shop_button_kuerbis0011.tga",
ROOT + "mall/shop_button_kuerbis0012.tga",
ROOT + "mall/shop_button_kuerbis0013.tga",
ROOT + "mall/shop_button_kuerbis0014.tga",
ROOT + "mall/shop_button_kuerbis0015.tga",
)
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "HPGauge_Board",
"type" : "window",
"x" : 59,
"y" : 14,
"width" : 95,
"height" : 11,
"children" :
(
{
"name" : "HPRecoveryGaugeBar",
"type" : "bar",
"x" : 0,
"y" : 0,
"width" : 95,
"height" : 13,
"color" : 0x55ff0000,
},
{
"name" : "HPGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/02.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/03.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/04.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/05.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/06.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/07.tga",
),
},
),
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "SPGauge_Board",
"type" : "window",
"x" : 59,
"y" : 24,
"width" : 95,
"height" : 11,
"children" :
(
{
"name" : "SPRecoveryGaugeBar",
"type" : "bar",
"x" : 0,
"y" : 0,
"width" : 95,
"height" : 13,
"color" : 0x550000ff,
},
{
"name" : "SPGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/SPGauge/01.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/02.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/03.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/04.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/05.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/06.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/07.tga",
),
},
),
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "STGauge_Board",
"type" : "window",
"x" : 59,
"y" : 38,
"width" : 95,
"height" : 6,
"children" :
(
{
"name" : "STGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/STGauge/01.tga",
"D:/Ymir Work/UI/Pattern/STGauge/02.tga",
"D:/Ymir Work/UI/Pattern/STGauge/03.tga",
"D:/Ymir Work/UI/Pattern/STGauge/04.tga",
"D:/Ymir Work/UI/Pattern/STGauge/05.tga",
"D:/Ymir Work/UI/Pattern/STGauge/06.tga",
"D:/Ymir Work/UI/Pattern/STGauge/07.tga",
),
},
),
},
),
},
{
"name" : "EXP_Gauge_Board",
"type" : "image",
"x" : 158,
"y" : 0 + Y_ADD_POSITION,
"image" : ROOT + "taskbar/exp_gauge.sub",
"children" :
(
{
"name" : "EXPGauge_01",
"type" : "expanded_image",
"x" : 5,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_02",
"type" : "expanded_image",
"x" : 30,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_03",
"type" : "expanded_image",
"x" : 55,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_04",
"type" : "expanded_image",
"x" : 80,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
),
},
## Mouse Button
{
"name" : "LeftMouseButton",
"type" : "button",
"x" : SCREEN_WIDTH/2 - 128,
"y" : 3 + Y_ADD_POSITION,
"default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
"over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
"down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
},
{
"name" : "RightMouseButton",
"type" : "button",
"x" : SCREEN_WIDTH/2 + 128 + 66 + 11,
"y" : 3 + Y_ADD_POSITION,
"default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
"over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
"down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
},
## Button
{
"name" : "CharacterButton",
"type" : "button",
"x" : SCREEN_WIDTH - 144,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_CHARACTER,
"default_image" : ROOT + "TaskBar/Character_Button_01.sub",
"over_image" : ROOT + "TaskBar/Character_Button_02.sub",
"down_image" : ROOT + "TaskBar/Character_Button_03.sub",
},
{
"name" : "InventoryButton",
"type" : "button",
"x" : SCREEN_WIDTH - 110,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_INVENTORY,
"default_image" : ROOT + "TaskBar/Inventory_Button_01.sub",
"over_image" : ROOT + "TaskBar/Inventory_Button_02.sub",
"down_image" : ROOT + "TaskBar/Inventory_Button_03.sub",
},
{
"name" : "MessengerButton",
"type" : "button",
"x" : SCREEN_WIDTH - 76,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_MESSENGER,
"default_image" : ROOT + "TaskBar/Community_Button_01.sub",
"over_image" : ROOT + "TaskBar/Community_Button_02.sub",
"down_image" : ROOT + "TaskBar/Community_Button_03.sub",
},
{
"name" : "SystemButton",
"type" : "button",
"x" : SCREEN_WIDTH - 42,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_SYSTEM,
"default_image" : ROOT + "TaskBar/System_Button_01.sub",
"over_image" : ROOT + "TaskBar/System_Button_02.sub",
"down_image" : ROOT + "TaskBar/System_Button_03.sub",
},
## QuickBar
{
"name" : "quickslot_board",
"type" : "window",
"x" : SCREEN_WIDTH/2 - 128 + 32 + 10,
"y" : 0 + Y_ADD_POSITION,
"width" : 256 + 14 + 2 + 11,
"height" : 37,
"children" :
(
{
# ExpandButtonŔş ±âÁ¸żˇ ChatButtonŔĚľúŔ¸łŞ, ChatButtonŔÇ ČżżëĽşŔĚ Ŕű´Ů ĆÇ´ÜÇĎż©
# ExpandButtonŔ¸·Î ąŮ˛ď °ÍŔĚ´Ů.
"name" : "ExpandButton",
"type" : "button",
"x" : 128,
"y" : 1,
"tooltip_text" : uiScriptLocale.TASKBAR_EXPAND,
"default_image" : ROOT + "TaskBar/Chat_Button_01.sub",
"over_image" : ROOT + "TaskBar/Chat_Button_02.sub",
"down_image" : ROOT + "TaskBar/Chat_Button_03.sub",
},
{
"name" : "quick_slot_1",
"type" : "grid_table",
"start_index" : 0,
"x" : 0,
"y" : 3,
"x_count" : 4,
"y_count" : 1,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/Public/Slot_Base.sub",
"image_r" : 1.0,
"image_g" : 1.0,
"image_b" : 1.0,
"image_a" : 1.0,
"children" :
(
{ "name" : "slot_1", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/1.sub", },
{ "name" : "slot_2", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/2.sub", },
{ "name" : "slot_3", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/3.sub", },
{ "name" : "slot_4", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/4.sub", },
),
},
{
"name" : "quick_slot_2",
"type" : "grid_table",
"start_index" : 4,
"x" : 128 + 14,
"y" : 3,
"x_count" : 4,
"y_count" : 1,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/Public/Slot_Base.sub",
"image_r" : 1.0,
"image_g" : 1.0,
"image_b" : 1.0,
"image_a" : 1.0,
"children" :
(
{ "name" : "slot_5", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f1.sub", },
{ "name" : "slot_6", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f2.sub", },
{ "name" : "slot_7", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f3.sub", },
{ "name" : "slot_8", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f4.sub", },
),
},
{
"name" : "QuickSlotBoard",
"type" : "window",
"x" : 128+14+128+2,
"y" : 0,
"width" : 11,
"height" : 37,
"children" :
(
{
"name" : "QuickSlotNumberBox",
"type" : "image",
"x" : 1,
"y" : 15,
"image" : ROOT + "taskbar/QuickSlot_Button_Board.sub",
},
{
"name" : "QuickPageUpButton",
"type" : "button",
"tooltip_text" : uiScriptLocale.TASKBAR_PREV_QUICKSLOT,
"x" : 1,
"y" : 9,
"default_image" : ROOT + "TaskBar/QuickSlot_UpButton_01.sub",
"over_image" : ROOT + "TaskBar/QuickSlot_UpButton_02.sub",
"down_image" : ROOT + "TaskBar/QuickSlot_UpButton_03.sub",
},
{
"name" : "QuickPageNumber",
"type" : "image",
"x" : 3, "y" : 15, "image" : "d:/ymir work/ui/game/taskbar/1.sub",
},
{
"name" : "QuickPageDownButton",
"type" : "button",
"tooltip_text" : uiScriptLocale.TASKBAR_NEXT_QUICKSLOT,
"x" : 1,
"y" : 24,
"default_image" : ROOT + "TaskBar/QuickSlot_DownButton_01.sub",
"over_image" : ROOT + "TaskBar/QuickSlot_DownButton_02.sub",
"down_image" : ROOT + "TaskBar/QuickSlot_DownButton_03.sub",
},
),
},
),
},
),
}

View File

@@ -0,0 +1,499 @@
import uiScriptLocale
import app
ROOT = "d:/ymir work/ui/game/"
#Y_ADD_POSITION = -2
Y_ADD_POSITION = 0
window = {
"name" : "TaskBar",
"x" : 0,
"y" : SCREEN_HEIGHT - 37,
"width" : SCREEN_WIDTH,
"height" : 37,
"children" :
(
## Board
{
"name" : "Base_Board_01",
"type" : "expanded_image",
"x" : 263,
"y" : 0,
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 263 - 256) / 256.0, 0.0),
"image" : "d:/ymir work/ui/pattern/TaskBar_Base.tga"
},
## Gauge
{
"name" : "Gauge_Board",
"type" : "image",
"x" : 0,
"y" : -10 + Y_ADD_POSITION,
"image" : ROOT + "taskbar/gauge.sub",
"children" :
(
{
"name" : "RampageGauge",
"type" : "ani_image",
"x" : 8,
"y" : 4,
"width" : 40,
"height" : 40,
"delay" : 6,
"images" :
(
ROOT + "mall/herz0000.tga",
ROOT + "mall/herz0001.tga",
ROOT + "mall/herz0002.tga",
ROOT + "mall/herz0003.tga",
ROOT + "mall/herz0004.tga",
ROOT + "mall/herz0005.tga",
ROOT + "mall/herz0006.tga",
ROOT + "mall/herz0007.tga",
ROOT + "mall/herz0008.tga",
ROOT + "mall/herz0009.tga",
ROOT + "mall/herz0010.tga",
ROOT + "mall/herz0011.tga",
ROOT + "mall/herz0012.tga",
ROOT + "mall/herz0013.tga",
ROOT + "mall/herz0014.tga",
ROOT + "mall/herz0015.tga",
)
},
{
"name" : "RampageGauge2",
"type" : "ani_image",
"x" : 8,
"y" : 4,
"width" : 40,
"height" : 40,
"delay" : 6,
"images" :
(
ROOT + "mall/herz0000.tga",
ROOT + "mall/herz0001.tga",
ROOT + "mall/herz0002.tga",
ROOT + "mall/herz0003.tga",
ROOT + "mall/herz0004.tga",
ROOT + "mall/herz0005.tga",
ROOT + "mall/herz0006.tga",
ROOT + "mall/herz0007.tga",
ROOT + "mall/herz0008.tga",
ROOT + "mall/herz0009.tga",
ROOT + "mall/herz0010.tga",
ROOT + "mall/herz0011.tga",
ROOT + "mall/herz0012.tga",
ROOT + "mall/herz0013.tga",
ROOT + "mall/herz0014.tga",
ROOT + "mall/herz0015.tga",
)
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "HPGauge_Board",
"type" : "window",
"x" : 59,
"y" : 14,
"width" : 95,
"height" : 11,
"children" :
(
{
"name" : "HPRecoveryGaugeBar",
"type" : "bar",
"x" : 0,
"y" : 0,
"width" : 95,
"height" : 13,
"color" : 0x55ff0000,
},
{
"name" : "HPGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/02.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/03.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/04.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/05.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/06.tga",
"D:/Ymir Work/UI/Pattern/HPGauge/07.tga",
),
},
),
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "SPGauge_Board",
"type" : "window",
"x" : 59,
"y" : 24,
"width" : 95,
"height" : 11,
"children" :
(
{
"name" : "SPRecoveryGaugeBar",
"type" : "bar",
"x" : 0,
"y" : 0,
"width" : 95,
"height" : 13,
"color" : 0x550000ff,
},
{
"name" : "SPGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/SPGauge/01.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/02.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/03.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/04.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/05.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/06.tga",
"D:/Ymir Work/UI/Pattern/SPGauge/07.tga",
),
},
),
},
{
## ĹřĆÁŔ» ¶çżě±â Ŕ§ÇŃ Ŕ©µµżě
"name" : "STGauge_Board",
"type" : "window",
"x" : 59,
"y" : 38,
"width" : 95,
"height" : 6,
"children" :
(
{
"name" : "STGauge",
"type" : "ani_image",
"x" : 0,
"y" : 0,
"delay" : 6,
"images" :
(
"D:/Ymir Work/UI/Pattern/STGauge/01.tga",
"D:/Ymir Work/UI/Pattern/STGauge/02.tga",
"D:/Ymir Work/UI/Pattern/STGauge/03.tga",
"D:/Ymir Work/UI/Pattern/STGauge/04.tga",
"D:/Ymir Work/UI/Pattern/STGauge/05.tga",
"D:/Ymir Work/UI/Pattern/STGauge/06.tga",
"D:/Ymir Work/UI/Pattern/STGauge/07.tga",
),
},
),
},
),
},
{
"name" : "EXP_Gauge_Board",
"type" : "image",
"x" : 158,
"y" : 0 + Y_ADD_POSITION,
"image" : ROOT + "taskbar/exp_gauge.sub",
"children" :
(
{
"name" : "EXPGauge_01",
"type" : "expanded_image",
"x" : 5,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_02",
"type" : "expanded_image",
"x" : 30,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_03",
"type" : "expanded_image",
"x" : 55,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
{
"name" : "EXPGauge_04",
"type" : "expanded_image",
"x" : 80,
"y" : 9,
"image" : ROOT + "TaskBar/EXP_Gauge_Point.sub",
},
),
},
## Mouse Button
{
"name" : "LeftMouseButton",
"type" : "button",
"x" : SCREEN_WIDTH/2 - 128,
"y" : 3 + Y_ADD_POSITION,
"default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
"over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
"down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
},
{
"name" : "RightMouseButton",
"type" : "button",
"x" : SCREEN_WIDTH/2 + 128 + 66 + 11,
"y" : 3 + Y_ADD_POSITION,
"default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
"over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
"down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
},
## Button
{
"name" : "CharacterButton",
"type" : "button",
"x" : SCREEN_WIDTH - 144,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_CHARACTER,
"default_image" : ROOT + "TaskBar/Character_Button_01.sub",
"over_image" : ROOT + "TaskBar/Character_Button_02.sub",
"down_image" : ROOT + "TaskBar/Character_Button_03.sub",
},
{
"name" : "InventoryButton",
"type" : "button",
"x" : SCREEN_WIDTH - 110,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_INVENTORY,
"default_image" : ROOT + "TaskBar/Inventory_Button_01.sub",
"over_image" : ROOT + "TaskBar/Inventory_Button_02.sub",
"down_image" : ROOT + "TaskBar/Inventory_Button_03.sub",
},
{
"name" : "MessengerButton",
"type" : "button",
"x" : SCREEN_WIDTH - 76,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_MESSENGER,
"default_image" : ROOT + "TaskBar/Community_Button_01.sub",
"over_image" : ROOT + "TaskBar/Community_Button_02.sub",
"down_image" : ROOT + "TaskBar/Community_Button_03.sub",
},
{
"name" : "SystemButton",
"type" : "button",
"x" : SCREEN_WIDTH - 42,
"y" : 3 + Y_ADD_POSITION,
"tooltip_text" : uiScriptLocale.TASKBAR_SYSTEM,
"default_image" : ROOT + "TaskBar/System_Button_01.sub",
"over_image" : ROOT + "TaskBar/System_Button_02.sub",
"down_image" : ROOT + "TaskBar/System_Button_03.sub",
},
## QuickBar
{
"name" : "quickslot_board",
"type" : "window",
"x" : SCREEN_WIDTH/2 - 128 + 32 + 10,
"y" : 0 + Y_ADD_POSITION,
"width" : 256 + 14 + 2 + 11,
"height" : 37,
"children" :
(
{
# ExpandButtonŔş ±âÁ¸żˇ ChatButtonŔĚľúŔ¸łŞ, ChatButtonŔÇ ČżżëĽşŔĚ Ŕű´Ů ĆÇ´ÜÇĎż©
# ExpandButtonŔ¸·Î ąŮ˛ď °ÍŔĚ´Ů.
"name" : "ExpandButton",
"type" : "button",
"x" : 128,
"y" : 1,
"tooltip_text" : uiScriptLocale.TASKBAR_EXPAND,
"default_image" : ROOT + "TaskBar/Chat_Button_01.sub",
"over_image" : ROOT + "TaskBar/Chat_Button_02.sub",
"down_image" : ROOT + "TaskBar/Chat_Button_03.sub",
},
{
"name" : "quick_slot_1",
"type" : "grid_table",
"start_index" : 0,
"x" : 0,
"y" : 3,
"x_count" : 4,
"y_count" : 1,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/Public/Slot_Base.sub",
"image_r" : 1.0,
"image_g" : 1.0,
"image_b" : 1.0,
"image_a" : 1.0,
"children" :
(
{ "name" : "slot_1", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/1.sub", },
{ "name" : "slot_2", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/2.sub", },
{ "name" : "slot_3", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/3.sub", },
{ "name" : "slot_4", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/4.sub", },
),
},
{
"name" : "quick_slot_2",
"type" : "grid_table",
"start_index" : 4,
"x" : 128 + 14,
"y" : 3,
"x_count" : 4,
"y_count" : 1,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/Public/Slot_Base.sub",
"image_r" : 1.0,
"image_g" : 1.0,
"image_b" : 1.0,
"image_a" : 1.0,
"children" :
(
{ "name" : "slot_5", "type" : "image", "x" : 3, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f1.sub", },
{ "name" : "slot_6", "type" : "image", "x" : 35, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f2.sub", },
{ "name" : "slot_7", "type" : "image", "x" : 67, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f3.sub", },
{ "name" : "slot_8", "type" : "image", "x" : 99, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f4.sub", },
),
},
{
"name" : "QuickSlotBoard",
"type" : "window",
"x" : 128+14+128+2,
"y" : 0,
"width" : 11,
"height" : 37,
"children" :
(
{
"name" : "QuickSlotNumberBox",
"type" : "image",
"x" : 1,
"y" : 15,
"image" : ROOT + "taskbar/QuickSlot_Button_Board.sub",
},
{
"name" : "QuickPageUpButton",
"type" : "button",
"tooltip_text" : uiScriptLocale.TASKBAR_PREV_QUICKSLOT,
"x" : 1,
"y" : 9,
"default_image" : ROOT + "TaskBar/QuickSlot_UpButton_01.sub",
"over_image" : ROOT + "TaskBar/QuickSlot_UpButton_02.sub",
"down_image" : ROOT + "TaskBar/QuickSlot_UpButton_03.sub",
},
{
"name" : "QuickPageNumber",
"type" : "image",
"x" : 3, "y" : 15, "image" : "d:/ymir work/ui/game/taskbar/1.sub",
},
{
"name" : "QuickPageDownButton",
"type" : "button",
"tooltip_text" : uiScriptLocale.TASKBAR_NEXT_QUICKSLOT,
"x" : 1,
"y" : 24,
"default_image" : ROOT + "TaskBar/QuickSlot_DownButton_01.sub",
"over_image" : ROOT + "TaskBar/QuickSlot_DownButton_02.sub",
"down_image" : ROOT + "TaskBar/QuickSlot_DownButton_03.sub",
},
),
},
),
},
),
}

View File

@@ -1,7 +1,7 @@
import uiScriptLocale
WEB_WIDTH = 640
WEB_HEIGHT = 480
WEB_WIDTH = 740
WEB_HEIGHT = 550
window = {
"name" : "MallWindow",