Initial commit: UI-Quellcode (root + uiscript)
Enthaelt die editierbaren Python-UI-Skripte (root/, uiscript/) des EterNexus-Clients, u.a. die Aenderungen fuer aktivierbare Items (constinfo.py: IS_ACTIVATABLE_ITEM/IS_MOUNT_SEAL, uiinventory.py: RefreshBagSlotWindow). Kompilierte Pack-Dateien (.epk/.eix) sowie Binaries/DLLs/Locale-Assets sind bewusst nicht Teil dieses Repos.
This commit is contained in:
@@ -0,0 +1,586 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_select/"
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (65) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (215) / 600
|
||||
|
||||
PLUS_BUTTON_WIDTH = 20
|
||||
TEMPORARY_HEIGHT = 5
|
||||
|
||||
window = {
|
||||
"name" : "CreateCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## 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),
|
||||
},
|
||||
|
||||
## 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 - 22*3) / 800,
|
||||
"y" : SCREEN_HEIGHT * (510) / 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 * (570 - 22) / 800,
|
||||
"y" : SCREEN_HEIGHT * (510) / 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",
|
||||
},
|
||||
|
||||
## Name
|
||||
{
|
||||
"name" : "name_warrior",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
## 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" : "hth_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 139,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "int_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 158,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "str_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 177,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "dex_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 196,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 217 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 241 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SHAPE,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 79,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 11,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_CREATE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 109,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
[DELAY value;10]
|
||||
刺客是以短剑和弓箭为主的专业[ENTER]
|
||||
杀手。高水准的刺客要经过残酷[ENTER]
|
||||
的训练过程,所以其数量不是很[ENTER]
|
||||
多,但是只要具备某种特定条件[ENTER]
|
||||
,他们超强的战斗能力足可以扭[ENTER]
|
||||
[WAIT]
|
||||
转战争的进程,为了保证敏捷和[ENTER]
|
||||
速度,所以只能使用轻便的防御[ENTER]
|
||||
盔甲,这是他们唯一的弱点。[ENTER]
|
||||
@@ -0,0 +1,15 @@
|
||||
[DELAY value;10]
|
||||
盛唐国[ENTER]
|
||||
[ENTER]
|
||||
繁荣的国度,有着辉煌的经济[ENTER]
|
||||
文化成就。这里人们大都贤明[ENTER]
|
||||
且具有很高的智力,在一个[ENTER]
|
||||
[WAIT]
|
||||
崇高而神圣的目标指引下,他[ENTER]
|
||||
们团结在一起,相互配合,[ENTER]
|
||||
亲密无间。他们都尊崇圣人之道[ENTER]
|
||||
,严以律己,从不崇尚武力,但[ENTER]
|
||||
这并不表示软弱。当他们热爱的[ENTER]
|
||||
[WAIT]
|
||||
家园受到威胁时,也会毫不犹豫的[ENTER]
|
||||
给对手以致命的一击。[ENTER]
|
||||
@@ -0,0 +1,11 @@
|
||||
[DELAY value;10]
|
||||
秦皇国[ENTER]
|
||||
[ENTER]
|
||||
极具野心的帝国,整个国家有着[ENTER]
|
||||
森严的等级制度,由于多年战乱,[ENTER]
|
||||
这里的军队都经常长期的训练,纪[ENTER]
|
||||
[WAIT]
|
||||
律严明,作战灵活,具有非同一[ENTER]
|
||||
般的忍耐力,超强的凝聚力和战[ENTER]
|
||||
斗力。[ENTER]
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[DELAY value;10]
|
||||
汉武国[ENTER]
|
||||
[ENTER]
|
||||
一个历经百年强盛的国度,有[ENTER]
|
||||
横扫八荒的野心。这里的人们[ENTER]
|
||||
都勇决果敢、爱憎分明,有胆识、[ENTER]
|
||||
[WAIT]
|
||||
有魄力,在激情背后始终保持一颗[ENTER]
|
||||
充满自信的心。他们注重自己的威[ENTER]
|
||||
严,虽然有时会显得刚愎自用,[ENTER]
|
||||
当这并不防碍他们成为万人敬[ENTER]
|
||||
仰的英雄。[ENTER]
|
||||
@@ -0,0 +1,10 @@
|
||||
[DELAY value;10]
|
||||
神女是领悟到自然流逝与阴阳照[ENTER]
|
||||
化的美丽化身。她们利用自然的[ENTER]
|
||||
力量发挥巨大的潜能,营造出绚[ENTER]
|
||||
丽的仙术世界。同时拥有渊源的[ENTER]
|
||||
知识,所以很想与别人沟通,[ENTER]
|
||||
[WAIT]
|
||||
但却很少有人能够见到她们真正[ENTER]
|
||||
的化身。精通仙术的神女将成为[ENTER]
|
||||
战场上至关重要的角色。
|
||||
@@ -0,0 +1,9 @@
|
||||
[DELAY value;10]
|
||||
修罗将恶魔的种子寄生在自己的[ENTER]
|
||||
手臂上,用来吸取魔法力量。他[ENTER]
|
||||
们与别人不同,更加不会相信别[ENTER]
|
||||
人,所以使得周围没有亲近的朋[ENTER]
|
||||
友。他们的目标只有一个,就是[ENTER]
|
||||
[WAIT]
|
||||
追求大陆上最强的力量,此外的[ENTER]
|
||||
事物都将视为阻碍。[ENTER]
|
||||
@@ -0,0 +1,8 @@
|
||||
[DELAY value;10]
|
||||
猛将拥有一把锋利的巨剑以及厚[ENTER]
|
||||
实的盔甲,从游戏一开始就成为[ENTER]
|
||||
关注的焦点,没有人敢蔑视他们[ENTER]
|
||||
他们追求钢铁般的肌肉和净水般[ENTER]
|
||||
宁静的精神世界。整个大陆上没[ENTER]
|
||||
[WAIT]
|
||||
有人能抵挡他们愤怒的脚步。[ENTER]
|
||||
@@ -0,0 +1,504 @@
|
||||
import uiScriptLocale
|
||||
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_login/"
|
||||
|
||||
window = {
|
||||
"name" : "LoginWindow",
|
||||
"sytle" : ("movable",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"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),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 128.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 96.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",
|
||||
},
|
||||
|
||||
## Metin2 Logo
|
||||
{
|
||||
"name" : "Metin2_Logo",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : float(SCREEN_WIDTH) / 800.0 * 20,
|
||||
"y" : float(SCREEN_HEIGHT) / 600.0 * 10,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/936_login/logo.sub",
|
||||
},
|
||||
|
||||
## Copyright
|
||||
{
|
||||
"name" : "Copyright",
|
||||
"type" : "image",
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 378/2,
|
||||
"y" : SCREEN_HEIGHT - 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/copyright.sub",
|
||||
},
|
||||
|
||||
## ConnectBoard
|
||||
{
|
||||
"name" : "ConnectBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH - 275,
|
||||
"y" : SCREEN_HEIGHT - 195,
|
||||
"width" : 208,
|
||||
"height" : 30,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ConnectName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 0,
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_DEFAULT_SERVERADDR,
|
||||
},
|
||||
{
|
||||
"name" : "SelectConnectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 155,
|
||||
"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,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Alert
|
||||
{
|
||||
"name" : "AlertBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 67,
|
||||
"y" : SCREEN_HEIGHT - 169,
|
||||
"width" : 228,
|
||||
"height" : 111,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "936_AlertImage",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/936_login/alert.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LoginBoard
|
||||
{
|
||||
"name" : "LoginBoard",
|
||||
"type" : "image",
|
||||
|
||||
"x" : SCREEN_WIDTH - 275,
|
||||
"y" : SCREEN_HEIGHT - 155,
|
||||
|
||||
"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" : 308,
|
||||
"width" : 375,
|
||||
"height" : 220,
|
||||
"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" : 175,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "VerticalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 247,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## ListBox
|
||||
{
|
||||
"name" : "ServerList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 40,
|
||||
"width" : 232,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "ChannelList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 255,
|
||||
"y" : 40,
|
||||
"width" : 109,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "ServerSelectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 170,
|
||||
|
||||
"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" : 192,
|
||||
|
||||
"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,
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
## SettlementBoard
|
||||
{
|
||||
"name" : "RegionBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 308,
|
||||
"width" : 375,
|
||||
"height" : 220,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "RegionTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 12,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.LOGIN_REGION_TITLE,
|
||||
},
|
||||
|
||||
## Horizontal
|
||||
{
|
||||
"name" : "RegionHorizontalLine1",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 34,
|
||||
"width" : 354,
|
||||
"height" : 0,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "RegionHorizontalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 35,
|
||||
"width" : 355,
|
||||
"height" : 0,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## Vertical
|
||||
{
|
||||
"name" : "RegionVerticalLine1",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 246,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "RegionVerticalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 247,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## ListBox
|
||||
{
|
||||
"name" : "RegionGroupList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 40,
|
||||
"width" : 232,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "ServerListOnRegionBoard",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 255,
|
||||
"y" : 40,
|
||||
"width" : 109,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "RegionSelectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 170,
|
||||
|
||||
"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" : "RegionExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 192,
|
||||
|
||||
"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,
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,580 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_select/"
|
||||
|
||||
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" : "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),
|
||||
},
|
||||
|
||||
## 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",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 363 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "EmpireNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 12,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "EmpireName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EMPIRE_NAME,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NO_GUILD,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 124 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_level",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 50 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_LEVEL,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_level_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_level_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 76 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_TITLE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_play_time_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_hth",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 102 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_HP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_hth",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 128 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_int",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 154 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_ATT_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_str",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 180 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DEX_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_dex",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : "start_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SELECT,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_CREATE,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "delete_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DELETE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## 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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,362 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_empire/"
|
||||
|
||||
ATALS_X = SCREEN_WIDTH * (282) / 800
|
||||
ATALS_Y = SCREEN_HEIGHT * (170) / 600
|
||||
|
||||
window = {
|
||||
"name" : "SelectCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"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),
|
||||
},
|
||||
|
||||
## 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),
|
||||
},
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "Title",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : SCREEN_WIDTH * (410 - 346/2) / 800,
|
||||
"y" : SCREEN_HEIGHT * (114 - 136/2) / 600,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : LOCALE_PATH+"title.sub"
|
||||
},
|
||||
|
||||
## Atlas
|
||||
{
|
||||
"name" : "Atlas",
|
||||
"type" : "image",
|
||||
|
||||
"x" : ATALS_X,
|
||||
"y" : ATALS_Y,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/atlas.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Image
|
||||
{
|
||||
"name" : "EmpireArea_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 201,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 16,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 314,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_c.sub"
|
||||
},
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireAreaFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 167,
|
||||
"y" : 235,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 357,
|
||||
"y" : 78,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_c.sub"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : ATALS_X + 80,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"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" : ATALS_X + 160 + 110,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "empire_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH * (40) / 800,
|
||||
"y" : SCREEN_HEIGHT * (211) / 600,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 314,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Bar
|
||||
{
|
||||
"name" : "flag_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 24,
|
||||
"y" : 17,
|
||||
"width" : 159,
|
||||
"height" : 119,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 146,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 122,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 95,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_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_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 140,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_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,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "select_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_SELECT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,586 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_select/"
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (65) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (215) / 600
|
||||
|
||||
PLUS_BUTTON_WIDTH = 20
|
||||
TEMPORARY_HEIGHT = 5
|
||||
|
||||
window = {
|
||||
"name" : "CreateCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## 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),
|
||||
},
|
||||
|
||||
## 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",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
## 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" : "hth_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 139,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "int_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 158,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "str_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 177,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "dex_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 196,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 217 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 241 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SHAPE,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 79,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 11,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_CREATE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 109,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
[DELAY value;10]
|
||||
자객은 단검과 활을 주무기로[ENTER]
|
||||
하는 전문적인 암살자 입니다.[ENTER]
|
||||
이들은 일정 수준에 도달하기[ENTER]
|
||||
까지의 가혹한 훈련과정 덕분[ENTER]
|
||||
에 대륙 전체에 그리 많지는[ENTER]
|
||||
[WAIT]
|
||||
않지만, 특정한 조건만 갖추어[ENTER]
|
||||
진다면 전장의 흐름을 뒤바꿔[ENTER]
|
||||
놓을 수 있을 정도의 파괴력을[ENTER]
|
||||
가집니다. 민첩함과 속도를[ENTER]
|
||||
유지하기 위해 가벼운 방어구[ENTER]
|
||||
[WAIT]
|
||||
만을 착용 한다는 것이 어떻게[ENTER]
|
||||
보면 이들의 유일한 약점[ENTER]
|
||||
입니다.
|
||||
@@ -0,0 +1,27 @@
|
||||
[DELAY value;10]
|
||||
신수국[ENTER]
|
||||
[ENTER]
|
||||
동방과의 교역의 부활을 이루[ENTER]
|
||||
려는 거대 상업국가. 제국의[ENTER]
|
||||
분열 이후 방치되다시피 한[ENTER]
|
||||
[WAIT]
|
||||
서쪽의 광야 지역을 근본으로[ENTER]
|
||||
한 상인들이 건설한 국가이다.[ENTER]
|
||||
주로 서역과의 무역 통로로[ENTER]
|
||||
사용되던 지역이지만 성마석[ENTER]
|
||||
(Metin Stone)의 출현 이후[ENTER]
|
||||
[WAIT]
|
||||
무역로가 차단됨으로 인해 가장[ENTER]
|
||||
빨리 성마석의 위협을 깨달았던[ENTER]
|
||||
이들이기도 하다. 생업을 위협[ENTER]
|
||||
당한 이들은 그들이 가진 모든[ENTER]
|
||||
재산을 처분해 구 제국 전체에서[ENTER]
|
||||
[WAIT]
|
||||
전사들을 모아 들여 서쪽에서의[ENTER]
|
||||
위협을 방비 하려고 준비 중에[ENTER]
|
||||
있다. 이들이 원하는 것은[ENTER]
|
||||
통일된 하나의 국가의 힘으로[ENTER]
|
||||
있을지도 모르는 서역에서의[ENTER]
|
||||
[WAIT]
|
||||
침공을 막아내고 다시 무역로를[ENTER]
|
||||
개척하는 것이다.
|
||||
@@ -0,0 +1,24 @@
|
||||
[DELAY value;10]
|
||||
천조국[ENTER]
|
||||
[ENTER]
|
||||
성마석의 잔류사념의 존재를[ENTER]
|
||||
부르짖으며 이를 제거하려는[ENTER]
|
||||
성종교국가. 황제의 사촌동생[ENTER]
|
||||
[WAIT]
|
||||
절도사 윤영에 의해 세워진[ENTER]
|
||||
서방의 국가이다. 주술과 점에[ENTER]
|
||||
능한 아내를 통해 성마석(Metin[ENTER]
|
||||
Stone)의 위험을 직접적으로[ENTER]
|
||||
깨닫고 그에 대한 대비책을[ENTER]
|
||||
[WAIT]
|
||||
세울 것을 여러 차례에 걸쳐[ENTER]
|
||||
건의하였지만 이를 무시당하고[ENTER]
|
||||
일족을 이끌고 제국에 대해[ENTER]
|
||||
반기를 들었다. 현재 진노국과[ENTER]
|
||||
오랜 혈전을 거듭하고 있으며[ENTER]
|
||||
[WAIT]
|
||||
이들의 목적은 단지 하나, 전[ENTER]
|
||||
대륙을 통일해 서쪽에서부터[ENTER]
|
||||
조금씩 침식해 들어 오는 성마[ENTER]
|
||||
석의 힘을 차단 하는 것이다.[ENTER]
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
[DELAY value;10]
|
||||
진노국[ENTER]
|
||||
[ENTER]
|
||||
구 제국의 부활을 꿈꾸며 정통[ENTER]
|
||||
성을 주장하는 군사대국. 황제[ENTER]
|
||||
의 적자인 이륭이 이끌고 있는[ENTER]
|
||||
[WAIT]
|
||||
본국이다. 북방에 위치하고[ENTER]
|
||||
있기 때문에 신수국에 비해[ENTER]
|
||||
혹독한 자연환경을 가지고[ENTER]
|
||||
있으며 그 때문인지 상당히[ENTER]
|
||||
공격적이고 패도적인 문화를[ENTER]
|
||||
유지하고 있다. 신수국을[ENTER]
|
||||
[WAIT]
|
||||
건설한 윤영의 성마석에 대한[ENTER]
|
||||
주장에 대해서는 완전히 무시[ENTER]
|
||||
하는듯한 대외적인 태도를[ENTER]
|
||||
취하고 있지만 이미 황실의[ENTER]
|
||||
현자들을 동원해 그에 대한[ENTER]
|
||||
[WAIT]
|
||||
자세한 조사에 착수해 있는 듯[ENTER]
|
||||
하다. 이들이 표면적으로 성마[ENTER]
|
||||
석에 대해 무관심한 것은[ENTER]
|
||||
분열된 제국을 다시 통일하기[ENTER]
|
||||
위한 이륭의 야망이 바탕에[ENTER]
|
||||
[WAIT]
|
||||
깔려있기 때문이다.[ENTER]
|
||||
@@ -0,0 +1,17 @@
|
||||
[DELAY value;10]
|
||||
무당은 자연과 음양의 힘의[ENTER]
|
||||
흐름과 조화를 깨달은 현자들[ENTER]
|
||||
입니다. 그들은 이러한 법칙을[ENTER]
|
||||
특정한 매개체를 통해 구체화[ENTER]
|
||||
시킬 수 있는 방법 또한 알고[ENTER]
|
||||
[WAIT]
|
||||
있습니다. 이러한 그들만의[ENTER]
|
||||
매개체를 일반 사람들은 부적,[ENTER]
|
||||
혹은 진법이라고 부릅니다.[ENTER]
|
||||
너무나 방대한 지식을 가지고[ENTER]
|
||||
있기 때문에 끊임없이 다른[ENTER]
|
||||
[WAIT]
|
||||
사람과 대화 하기를 원하지만,[ENTER]
|
||||
그들의 심오하고 난해한 이야[ENTER]
|
||||
기들어줄 사람들은 그리 많지[ENTER]
|
||||
않습니다.
|
||||
@@ -0,0 +1,17 @@
|
||||
[DELAY value;10]
|
||||
수라는 자신의 팔에 악마의[ENTER]
|
||||
씨앗을 기생시켜 마법의 힘을[ENTER]
|
||||
흡수한 전사 입니다.[ENTER]
|
||||
이들은 다른 자들과는 달리 주[ENTER]
|
||||
변에 가까운 인간관계를 형성[ENTER]
|
||||
[WAIT]
|
||||
하지 않는 특징이 있습니다.[ENTER]
|
||||
이들의 목표는 지상 최강의 힘[ENTER]
|
||||
을 갖추는 것이며, 그 외의 것[ENTER]
|
||||
들은 단지 거추장스러운 방해[ENTER]
|
||||
물이라고 생각 합니다.[ENTER]
|
||||
[WAIT]
|
||||
자신의 힘을 과시하는 것 조차[ENTER]
|
||||
불필요하다고 여길 정도로 그[ENTER]
|
||||
들은 오직 순수한 힘 자체만[ENTER]
|
||||
갈망 합니다.
|
||||
@@ -0,0 +1,17 @@
|
||||
[DELAY value;10]
|
||||
무사는 한 자루 검과 튼튼한[ENTER]
|
||||
갑옷으로 무장하고 처음부터[ENTER]
|
||||
끝까지 전장의 주역으로 활약[ENTER]
|
||||
합니다. 잔재주와 사람을 현혹[ENTER]
|
||||
시키는 수단을 경멸하며 오직[ENTER]
|
||||
[WAIT]
|
||||
강철같이 수련된 자신의 근육[ENTER]
|
||||
과 맑은 물처럼 고요한 정신[ENTER]
|
||||
세계 만을 추구 합니다.[ENTER]
|
||||
분노한 이들을 막을 수 있는[ENTER]
|
||||
자들은 대륙 전체에 존재 하지[ENTER]
|
||||
[WAIT]
|
||||
않는 다고 생각 하는 것이[ENTER]
|
||||
옳을 것 입니다.
|
||||
|
||||
|
||||
@@ -0,0 +1,363 @@
|
||||
import uiScriptLocale
|
||||
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_login/"
|
||||
|
||||
window = {
|
||||
"name" : "LoginWindow",
|
||||
"sytle" : ("movable",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"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),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 128.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 96.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",
|
||||
},
|
||||
|
||||
## Logo
|
||||
{
|
||||
"name" : "Metin2_Logo_1",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : float(SCREEN_WIDTH) / 27,
|
||||
"y" : float(SCREEN_HEIGHT) / 8,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/metin2_logo_1.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Metin2_Logo_2",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : float(SCREEN_WIDTH) / 27 + float(429 - 27) / 800 * SCREEN_WIDTH,
|
||||
"y" : float(SCREEN_HEIGHT) / 8,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/metin2_logo_2.sub",
|
||||
},
|
||||
|
||||
## Copyright
|
||||
{
|
||||
"name" : "Copyright",
|
||||
"type" : "image",
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 378/2,
|
||||
"y" : SCREEN_HEIGHT - 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/copyright.sub",
|
||||
},
|
||||
|
||||
## ConnectBoard
|
||||
{
|
||||
"name" : "ConnectBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH - 275,
|
||||
"y" : SCREEN_HEIGHT - 195,
|
||||
"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 - 275,
|
||||
"y" : SCREEN_HEIGHT - 155,
|
||||
|
||||
"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" : 308,
|
||||
"width" : 375,
|
||||
"height" : 220,
|
||||
"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" : 175,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "VerticalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 247,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## ListBox
|
||||
{
|
||||
"name" : "ServerList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 40,
|
||||
"width" : 232,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "ChannelList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 255,
|
||||
"y" : 40,
|
||||
"width" : 109,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "ServerSelectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 170,
|
||||
|
||||
"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" : 192,
|
||||
|
||||
"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,
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,580 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_select/"
|
||||
|
||||
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" : "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),
|
||||
},
|
||||
|
||||
## 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",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 363 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "EmpireNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 12,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "EmpireName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EMPIRE_NAME,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NO_GUILD,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 124 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_level",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 50 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_LEVEL,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_level_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_level_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 76 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_PLAYTIME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_play_time_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 83,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 83 + 91/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_hth",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 102 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_HP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_hth",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 128 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_int",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 154 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_ATT_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_str",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 180 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DEX_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_dex",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : "start_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SELECT,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_CREATE,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "delete_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DELETE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (450) / 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",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (580) / 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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,362 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_empire/"
|
||||
|
||||
ATALS_X = SCREEN_WIDTH * (282) / 800
|
||||
ATALS_Y = SCREEN_HEIGHT * (170) / 600
|
||||
|
||||
window = {
|
||||
"name" : "SelectCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"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),
|
||||
},
|
||||
|
||||
## 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),
|
||||
},
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "Title",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : SCREEN_WIDTH * (410 - 346/2) / 800,
|
||||
"y" : SCREEN_HEIGHT * (114 - 136/2) / 600,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : LOCALE_PATH+"title.sub"
|
||||
},
|
||||
|
||||
## Atlas
|
||||
{
|
||||
"name" : "Atlas",
|
||||
"type" : "image",
|
||||
|
||||
"x" : ATALS_X,
|
||||
"y" : ATALS_Y,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/atlas.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Image
|
||||
{
|
||||
"name" : "EmpireArea_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 201,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 16,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 314,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_c.sub"
|
||||
},
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireAreaFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 167,
|
||||
"y" : 235,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 357,
|
||||
"y" : 78,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_c.sub"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : ATALS_X + 160,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"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" : ATALS_X + 160 + 130,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "empire_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH * (40) / 800,
|
||||
"y" : SCREEN_HEIGHT * (211) / 600,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 314,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Bar
|
||||
{
|
||||
"name" : "flag_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 24,
|
||||
"y" : 17,
|
||||
"width" : 159,
|
||||
"height" : 119,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 146,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 122,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 95,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_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_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 140,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_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,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "select_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_SELECT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 230,
|
||||
"height" : 130,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 230,
|
||||
"height" : 130,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_WAR_ACCEPT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_ENEMY,
|
||||
},
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 80,
|
||||
"y" : 37,
|
||||
"width" : 130,
|
||||
"height" : 18,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
},
|
||||
),
|
||||
},
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "GameType", "x" : 15, "y" : 65, "width" : 65+45*4, "height" : 20,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GameTypeLabel", "type" : "text", "x" : 0, "y" : 3, "text" : uiScriptLocale.GUILD_WAR_BATTLE_TYPE,},
|
||||
{
|
||||
"name" : "NormalButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_NORMAL,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "WarpButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65+45*1,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_WARP,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "CTFButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65+45*2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_CTF,
|
||||
|
||||
"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",
|
||||
},
|
||||
),
|
||||
},
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 95,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 95,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/minimap/"
|
||||
|
||||
window = {
|
||||
"name" : "AtlasWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : SCREEN_WIDTH - 136 - 256 - 10,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 256 + 15,
|
||||
"height" : 256 + 38,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## BOARD
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 256 + 15,
|
||||
"height" : 256 + 38,
|
||||
|
||||
"title" : uiScriptLocale.ZONE_MAP,
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "AttachStoneDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 0,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TitleName",
|
||||
"type" : "text",
|
||||
"text" : uiScriptLocale.ATTACH_METIN_TITLE,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 3,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "AttachMetinArrow",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : -33,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
"image" : "d:/ymir work/ui/game/windows/attach_metin_arrow.sub",
|
||||
},
|
||||
{
|
||||
"name" : "MetinSlot",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : 5,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
"image" : "d:/ymir work/ui/game/windows/metin_slot_silver.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "MetinImage",
|
||||
"type" : "image",
|
||||
"x" : 1,
|
||||
"y" : 1,
|
||||
"horizontal_align" : "center",
|
||||
"image" : "d:/ymir work/ui/game/windows/metin_slot_silver.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Question",
|
||||
"type" : "text",
|
||||
"text" : uiScriptLocale.ATTACH_METIN_INFO,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 54,
|
||||
},
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : -35,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.YES,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/Middle_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/Middle_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 35,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.NO,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/Middle_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/Middle_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/Middle_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
ROOT_PATH = "d:/ymir work/ui/game/guild/"
|
||||
|
||||
window = {
|
||||
"name" : "AuctionWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 370,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 370,
|
||||
|
||||
"title" : "¸Å¸Å µî·Ï",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab Area
|
||||
{
|
||||
"name" : "TabControl",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 37,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab
|
||||
{
|
||||
"name" : "Tab_01",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : ROOT_PATH+"tab_1.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_02",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : ROOT_PATH+"tab_2.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_03",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : ROOT_PATH+"tab_3.sub",
|
||||
},
|
||||
## RadioButton
|
||||
{
|
||||
"name" : "Tab_Button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 6,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 53,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 61,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 67,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 130,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 27,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
SEARCHING_AREA_X_POS = 15
|
||||
SEARCHING_AREA_Y_POS = 235
|
||||
|
||||
window = {
|
||||
"name" : "AuctionWindow_RegisterPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "NumberPrint",
|
||||
"type" : "text",
|
||||
"x" : 18,
|
||||
"y" : 7,
|
||||
"text" : "번호",
|
||||
},
|
||||
{
|
||||
"name" : "NamePrint",
|
||||
"type" : "text",
|
||||
"x" : 79,
|
||||
"y" : 7,
|
||||
"text" : "아이템 이름",
|
||||
},
|
||||
{
|
||||
"name" : "NamePrint",
|
||||
"type" : "text",
|
||||
"x" : 228,
|
||||
"y" : 7,
|
||||
"text" : "가격",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ItemSearchAreaBar",
|
||||
"type" : "horizontalbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 235,
|
||||
"width" : 330,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "ItemSearchAreaBarPrint",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : "아이템 검색하기",
|
||||
"all_align" : "center",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SearchingNamePrint",
|
||||
"type" : "text",
|
||||
"x" : SEARCHING_AREA_X_POS + 5,
|
||||
"y" : SEARCHING_AREA_Y_POS + 24,
|
||||
"text" : "아이템이름",
|
||||
},
|
||||
{
|
||||
"name" : "SearchingNameSlot",
|
||||
"type" : "image",
|
||||
"x" : SEARCHING_AREA_X_POS + 68,
|
||||
"y" : SEARCHING_AREA_Y_POS + 22,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SearchingIDPrint",
|
||||
"type" : "text",
|
||||
"x" : SEARCHING_AREA_X_POS + 5,
|
||||
"y" : SEARCHING_AREA_Y_POS + 44,
|
||||
"text" : "번호로찾기",
|
||||
},
|
||||
{
|
||||
"name" : "SearchingIDSlot",
|
||||
"type" : "image",
|
||||
"x" : SEARCHING_AREA_X_POS + 68,
|
||||
"y" : SEARCHING_AREA_Y_POS + 42,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SearchingIDPrint",
|
||||
"type" : "text",
|
||||
"x" : SEARCHING_AREA_X_POS + 205,
|
||||
"y" : SEARCHING_AREA_Y_POS + 24,
|
||||
"text" : "소켓여부",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SearchingButtonByName",
|
||||
"type" : "button",
|
||||
"x" : SEARCHING_AREA_X_POS + 295,
|
||||
"y" : SEARCHING_AREA_Y_POS + 20,
|
||||
"text" : "찾기",
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "SearchingButtonByID",
|
||||
"type" : "button",
|
||||
"x" : SEARCHING_AREA_X_POS + 295,
|
||||
"y" : SEARCHING_AREA_Y_POS + 40,
|
||||
"text" : "찾기",
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
window = {
|
||||
"name" : "AuctionWindow_RegisterPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 0,
|
||||
"y" : 30,
|
||||
"width" : 97,
|
||||
"height" : 97,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TemporaryImage",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
"image" : "d:/ymir work/ui/items/weapon/03100.sub",
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ItemName",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 150,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text" : "아이템을 이곳에 드래그하여 넣어주세요",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "LowerSellingPriceName",
|
||||
"type" : "text",
|
||||
"x" : 70,
|
||||
"y" : 185,
|
||||
"text" : "매매 최저가",
|
||||
},
|
||||
{
|
||||
"name" : "LowerSellingPriceSlot",
|
||||
"type" : "image",
|
||||
"x" : 150,
|
||||
"y" : 185 - 3,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LowerSellingPriceValue",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : "123456789123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "AverageSellingPriceName",
|
||||
"type" : "text",
|
||||
"x" : 70,
|
||||
"y" : 205,
|
||||
"text" : "매매 평균가",
|
||||
},
|
||||
{
|
||||
"name" : "AverageSellingPriceSlot",
|
||||
"type" : "image",
|
||||
"x" : 150,
|
||||
"y" : 205 - 3,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "AverageSellingPriceValue",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : "123456789123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "InputPriceSlot",
|
||||
"type" : "image",
|
||||
"x" : 90,
|
||||
"y" : 250 - 3,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputPriceValue",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
"text" : "123456789123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "RegisterButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 230,
|
||||
"y" : 250 - 3,
|
||||
|
||||
"text" : "등록",
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
window = {
|
||||
"name" : "AuctionWindow_UniqueAuctionPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
import uiScriptLocale
|
||||
import item
|
||||
|
||||
EQUIPMENT_START_INDEX = 90
|
||||
|
||||
window = {
|
||||
"name" : "BeltInventoryWindow",
|
||||
|
||||
## 600 - (width + ¿À¸¥ÂÊÀ¸·Î ºÎÅÍ ¶ç¿ì±â 24 px)
|
||||
"x" : SCREEN_WIDTH - 176 - 148,
|
||||
"y" : SCREEN_HEIGHT - 37 - 565 + 209 + 32,
|
||||
# "x" : -148,
|
||||
# "y" : 241,
|
||||
"width" : 148,
|
||||
"height" : 139,
|
||||
|
||||
"type" : "image",
|
||||
"image" : "d:/ymir work/ui/game/belt_inventory/bg.tga",
|
||||
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Expand Buttons
|
||||
{
|
||||
"name" : "ExpandBtn",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 2,
|
||||
"y" : 15,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_normal.tga",
|
||||
"over_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_over.tga",
|
||||
"down_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_down.tga",
|
||||
"disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_disabled.tga",
|
||||
},
|
||||
|
||||
|
||||
## Belt Inventory Layer (include minimize button)
|
||||
{
|
||||
"name" : "BeltInventoryLayer",
|
||||
# "type" : "board",
|
||||
# "style" : ("attach", "float"),
|
||||
|
||||
"x" : 5,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 148,
|
||||
"height" : 139,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Minimize Button
|
||||
{
|
||||
"name" : "MinimizeBtn",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 2,
|
||||
"y" : 15,
|
||||
|
||||
"width" : 10,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_normal.tga",
|
||||
"over_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_over.tga",
|
||||
"down_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_down.tga",
|
||||
"disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_disabled.tga",
|
||||
},
|
||||
|
||||
## Real Belt Inventory Board
|
||||
{
|
||||
"name" : "BeltInventoryBoard",
|
||||
"type" : "board",
|
||||
"style" : ("attach", "float"),
|
||||
|
||||
"x" : 10,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 138,
|
||||
"height" : 139,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Belt Inventory Slots
|
||||
{
|
||||
"name" : "BeltInventorySlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 5,
|
||||
"y" : 5,
|
||||
|
||||
"start_index" : item.BELT_INVENTORY_SLOT_START,
|
||||
"x_count" : 4,
|
||||
"y_count" : 4,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
),
|
||||
},
|
||||
)
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,343 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_02.sub"
|
||||
MIDDLE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
|
||||
TEMP_X = 110
|
||||
|
||||
window = {
|
||||
"name" : "BuildGuildBuildingWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 10,
|
||||
"y" : SCREEN_HEIGHT - 240 - 50,
|
||||
|
||||
"width" : 355+TEMP_X,
|
||||
"height" : 240,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 355+TEMP_X,
|
||||
"height" : 240,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_BUILDING_TITLE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "BuildingCategoryTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15 + 50,
|
||||
"y" : 33,
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_CATEGORY_TITLE,
|
||||
},
|
||||
{
|
||||
"name" : "BuildingCategoryBar",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 50,
|
||||
|
||||
"width" : 100,
|
||||
"height" : 80,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CategoryList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
|
||||
"width" : 100,
|
||||
"height" : 80,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingPriceTitle",
|
||||
"type" : "text", "x" : 30, "y" : 143, "text" : uiScriptLocale.GUILD_BUILDING_PRICE,
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingPriceSlot",
|
||||
"type":"slotbar", "x":25, "y":-4, "width":60, "height":17,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingPriceValue", "type" : "text", "x" : 0, "y" : 1, "all_align" : "center", "text" : "50000000", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingMaterialStoneTitle",
|
||||
"type" : "text", "x" : 30, "y" : 163, "text" : uiScriptLocale.GUILD_BUILDING_STONE,
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingMaterialStoneSlot",
|
||||
"type":"slotbar", "x":25, "y":-4, "width":60, "height":17,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingMaterialStoneValue", "type" : "text", "x" : 0, "y" : 1, "all_align" : "center", "text" : "50000000", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingMaterialLogTitle",
|
||||
"type" : "text", "x" : 30, "y" : 183, "text" : uiScriptLocale.GUILD_BUILDING_LOG,
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingMaterialLogSlot",
|
||||
"type":"slotbar", "x":25, "y":-4, "width":60, "height":17,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingMaterialLogValue", "type" : "text", "x" : 0, "y" : 1, "all_align" : "center", "text" : "50000000", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingMaterialPlywoodTitle",
|
||||
"type" : "text", "x" : 30, "y" : 203, "text" : uiScriptLocale.GUILD_BUILDING_PLY,
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingMaterialPlywoodSlot",
|
||||
"type":"slotbar", "x":25, "y":-4, "width":60, "height":17,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingMaterialPlywoodValue", "type" : "text", "x" : 0, "y" : 1, "all_align" : "center", "text" : "50000000", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "temp_window",
|
||||
"type" : "window",
|
||||
"style" : ("not_pick",),
|
||||
|
||||
"x" : TEMP_X,
|
||||
"y" : 0,
|
||||
"width" : 355,
|
||||
"height" : 240,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
### START_TEMP
|
||||
{
|
||||
"name" : "BuildingListTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15 + 60,
|
||||
"y" : 33,
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_LIST_TITLE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingListBar",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 50,
|
||||
|
||||
"width" : 120,
|
||||
"height" : 172,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "BuildingList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
|
||||
"width" : 105,
|
||||
"height" : 172,
|
||||
},
|
||||
{
|
||||
"name" : "ListScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 2,
|
||||
"size" : 172-2,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingPositionTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 250,
|
||||
"y" : 33,
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_POSITION,
|
||||
},
|
||||
{
|
||||
"name" : "PositionButton",
|
||||
"type" : "radio_button", "x" : 280, "y" : 50, "text" : uiScriptLocale.GUILD_BUILDING_CHANGE,
|
||||
"default_image" : ROOT_PATH + "Big_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Big_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Big_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "BuildingPositionXTitle",
|
||||
"type" : "text", "x" : 150, "y" : 53, "text" : "X",
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingPositionXSlot",
|
||||
"type":"image", "x":23, "y":-3, "image":MIDDLE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingPositionXValue", "type" : "text", "x" : 0, "y" : 0, "all_align" : "center", "text" : "999", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "BuildingPositionY",
|
||||
"type" : "text", "x" : 150, "y" : 73, "text" : "Y",
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingPositionYSlot",
|
||||
"type":"image", "x":23, "y":-3, "image":MIDDLE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingPositionYValue", "type" : "text", "x" : 0, "y" : 0, "all_align" : "center", "text" : "999", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingRotationTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 250,
|
||||
"y" : 95,
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_DIRECTION,
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationXTitle",
|
||||
"type" : "text", "x" : 150, "y" : 115, "text" : "X",
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationX",
|
||||
"type" : "sliderbar",
|
||||
"x" : 158, "y" : 115,
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationYTitle",
|
||||
"type" : "text", "x" : 150, "y" : 135, "text" : "Y",
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationY",
|
||||
"type" : "sliderbar",
|
||||
"x" : 158, "y" : 135,
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationZTitle",
|
||||
"type" : "text", "x" : 150, "y" : 155, "text" : "Z",
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationZ",
|
||||
"type" : "sliderbar",
|
||||
"x" : 158, "y" : 155,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "PreviewButton",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 200,
|
||||
"y" : 60,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_PREVIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 200,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.ACCEPT,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"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" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 245,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
### END_TEMP
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "ChangeGradeNameDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_GRADE_CHANGE_GRADE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## GradeName Slot
|
||||
{
|
||||
"name" : "GradeNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GradeNameValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 8,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 170/2 - 61 - 5,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 170/2 + 5,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "ChangePasswordDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 220,
|
||||
"height" : 137,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 220,
|
||||
"height" : 137,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 204,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
|
||||
"name" : "TitleName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 3,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CHANGE_PASSWORD_TITLE,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Password Slot
|
||||
{
|
||||
"name" : "old_password_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 135,
|
||||
"y" : 34,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "old_password_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : -110,
|
||||
"y" : 3,
|
||||
"text" : uiScriptLocale.CHANGE_PASSWORD_OLD,
|
||||
},
|
||||
{
|
||||
"name" : "old_password_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 6,
|
||||
"secret_flag" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "new_password_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 135,
|
||||
"y" : 59,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "new_password_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : -110,
|
||||
"y" : 3,
|
||||
"text" : uiScriptLocale.CHANGE_PASSWORD_NEW,
|
||||
},
|
||||
{
|
||||
"name" : "new_password_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 6,
|
||||
"secret_flag" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "new_password_check_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 135,
|
||||
"y" : 79,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "new_password_check_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : -110,
|
||||
"y" : 3,
|
||||
"text" : uiScriptLocale.CHANGE_PASSWORD_CONFIRM,
|
||||
},
|
||||
{
|
||||
"name" : "new_password_check_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 6,
|
||||
"secret_flag" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "accept_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : -35,
|
||||
"y" : 103,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 35,
|
||||
"y" : 103,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,788 @@
|
||||
import uiScriptLocale
|
||||
|
||||
QUEST_ICON_BACKGROUND = 'd:/ymir work/ui/game/quest/slot_base.sub'
|
||||
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_00.sub"
|
||||
MIDDLE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
|
||||
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
ICON_SLOT_FILE = "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
FACE_SLOT_FILE = "d:/ymir work/ui/game/windows/box_face.sub"
|
||||
ROOT_PATH = "d:/ymir work/ui/game/windows/"
|
||||
|
||||
LOCALE_PATH = uiScriptLocale.WINDOWS_PATH
|
||||
|
||||
window = {
|
||||
"name" : "CharacterWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 24,
|
||||
"y" : (SCREEN_HEIGHT - 37 - 361) / 2,
|
||||
|
||||
"width" : 253,
|
||||
"height" : 361,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 253,
|
||||
"height" : 361,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Skill_TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 238,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":0, "y":-1, "text":uiScriptLocale.CHARACTER_SKILL, "all_align":"center" },
|
||||
#{ "name":"TitleName", "type":"image", "style" : ("attach",), "x":101, "y" : 1, "image" : LOCALE_PATH+"title_skill.sub", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Emoticon_TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 238,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":0, "y":-1, "text":uiScriptLocale.CHARACTER_ACTION, "all_align":"center" },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Quest_TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 238,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":0, "y":-1, "text":uiScriptLocale.CHARACTER_QUEST, "all_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Tab Area
|
||||
{
|
||||
"name" : "TabControl",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 328,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab
|
||||
{
|
||||
"name" : "Tab_01",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_1.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_02",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_2.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_03",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_3.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_04",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_4.sub",
|
||||
},
|
||||
## RadioButton
|
||||
{
|
||||
"name" : "Tab_Button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 6,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 53,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 61,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 67,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 130,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_04",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 192,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 55,
|
||||
"height" : 27,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Page Area
|
||||
{
|
||||
"name" : "Character_Page",
|
||||
"type" : "window",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 304,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Title Area
|
||||
{
|
||||
"name" : "Character_TitleBar", "type" : "titlebar", "style" : ("attach",), "x" : 61, "y" : 7, "width" : 185, "color" : "red",
|
||||
"children" :
|
||||
(
|
||||
#{ "name" : "TitleName", "type" : "image", "style" : ("attach",), "x" : 70, "y" : 1, "image" : LOCALE_PATH+"title_status.sub", },
|
||||
{ "name" : "TitleName", "type":"text", "x":0, "y":-1, "text":uiScriptLocale.CHARACTER_MAIN, "all_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Guild Name Slot
|
||||
{
|
||||
"name" : "Guild_Name_Slot",
|
||||
"type" : "image",
|
||||
"x" : 60,
|
||||
"y" :27+7,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Guild_Name",
|
||||
"type":"text",
|
||||
"text":"길드 이름",
|
||||
"x":0,
|
||||
"y":0,
|
||||
"r":1.0,
|
||||
"g":1.0,
|
||||
"b":1.0,
|
||||
"a":1.0,
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Character Name Slot
|
||||
{
|
||||
"name" : "Character_Name_Slot",
|
||||
"type" : "image",
|
||||
"x" : 153,
|
||||
"y" :27+7,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Character_Name",
|
||||
"type":"text",
|
||||
"text":"캐릭터 이름",
|
||||
"x":0,
|
||||
"y":0,
|
||||
"r":1.0,
|
||||
"g":1.0,
|
||||
"b":1.0,
|
||||
"a":1.0,
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Header
|
||||
{
|
||||
"name":"Status_Header", "type":"window", "x":3, "y":31, "width":0, "height":0,
|
||||
"children" :
|
||||
(
|
||||
## Lv
|
||||
{
|
||||
"name":"Status_Lv", "type":"window", "x":9, "y":30, "width":37, "height":42,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Level_Header", "type":"image", "x":0, "y":0, "image":LOCALE_PATH+"label_level.sub" },
|
||||
{ "name":"Level_Value", "type":"text", "x":19, "y":19, "fontsize":"LARGE", "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## EXP
|
||||
{
|
||||
"name":"Status_CurExp", "type":"window", "x":53, "y":30, "width":87, "height":42,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Exp_Slot", "type":"image", "x":0, "y":0, "image":LOCALE_PATH+"label_cur_exp.sub" },
|
||||
{ "name":"Exp_Value", "type":"text", "x":46, "y":19, "fontsize":"LARGE", "text":"12345678901", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" }, ),
|
||||
},
|
||||
|
||||
## REXP
|
||||
{
|
||||
"name":"Status_RestExp", "type":"window", "x":150, "y":30, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"RestExp_Slot", "type":"image", "x":0, "y":0, "image":LOCALE_PATH+"label_last_exp.sub" },
|
||||
{ "name":"RestExp_Value", "type":"text", "x":46, "y":19, "fontsize":"LARGE", "text":"12345678901", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Face Slot
|
||||
{ "name" : "Face_Image", "type" : "image", "x" : 11, "y" : 11, "image" : "d:/ymir work/ui/game/windows/face_warrior.sub" },
|
||||
{ "name" : "Face_Slot", "type" : "image", "x" : 7, "y" : 7, "image" : FACE_SLOT_FILE, },
|
||||
|
||||
## 기본 능력
|
||||
{
|
||||
"name":"Status_Standard", "type":"window", "x":3, "y":100, "width":200, "height":250,
|
||||
"children" :
|
||||
(
|
||||
## 기본 능력 제목
|
||||
{ "name":"Character_Bar_01", "type":"horizontalbar", "x":12, "y":8, "width":223, },
|
||||
{ "name":"Character_Bar_01_Text", "type" : "image", "x" : 13, "y" : 9, "image" : LOCALE_PATH+"label_std.sub", },
|
||||
|
||||
## 능력 수련 수치
|
||||
{
|
||||
"name":"Status_Plus_Label",
|
||||
"type":"image",
|
||||
"x":150, "y":11,
|
||||
"image":LOCALE_PATH+"label_uppt.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Status_Plus_Value", "type":"text", "x":62, "y":0, "text":"99", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## 기본 능력 아이템 리스트
|
||||
{"name":"Status_Standard_ItemList1", "type" : "image", "x":17, "y":31, "image" : LOCALE_PATH+"label_std_item1.sub", },
|
||||
{"name":"Status_Standard_ItemList2", "type" : "image", "x":100, "y":30, "image" : LOCALE_PATH+"label_std_item2.sub", },
|
||||
|
||||
## HTH
|
||||
{
|
||||
"name":"HTH_Label", "type":"window", "x":50, "y":32, "width":60, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"HTH_Slot", "type":"image", "x":0, "y":0, "image":SMALL_VALUE_FILE },
|
||||
{ "name":"HTH_Value", "type":"text", "x":20, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
{ "name":"HTH_Plus", "type" : "button", "x":41, "y":3, "default_image" : ROOT_PATH+"btn_plus_up.sub", "over_image" : ROOT_PATH+"btn_plus_over.sub", "down_image" : ROOT_PATH+"btn_plus_down.sub", },
|
||||
),
|
||||
},
|
||||
## INT
|
||||
{
|
||||
"name":"INT_Label", "type":"window", "x":50, "y":32+23, "width":60, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"INT_Slot", "type":"image", "x":0, "y":0, "image":SMALL_VALUE_FILE },
|
||||
{ "name":"INT_Value", "type":"text", "x":20, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
{ "name":"INT_Plus", "type" : "button", "x" : 41, "y" : 3, "default_image" : ROOT_PATH+"btn_plus_up.sub", "over_image" : ROOT_PATH+"btn_plus_over.sub", "down_image" : ROOT_PATH+"btn_plus_down.sub", },
|
||||
)
|
||||
},
|
||||
## STR
|
||||
{
|
||||
"name":"STR_Label", "type":"window", "x":50, "y":32+23*2, "width":60, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"STR_Slot", "type":"image", "x":0, "y":0, "image":SMALL_VALUE_FILE },
|
||||
{ "name":"STR_Value", "type":"text", "x":20, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
{ "name":"STR_Plus", "type" : "button", "x" : 41, "y" : 3, "default_image" : ROOT_PATH+"btn_plus_up.sub", "over_image" : ROOT_PATH+"btn_plus_over.sub", "down_image" : ROOT_PATH+"btn_plus_down.sub", },
|
||||
)
|
||||
},
|
||||
## DEX
|
||||
{
|
||||
"name":"DEX_Label", "type":"window", "x":50, "y":32+23*3, "width":60, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"DEX_Slot", "type":"image", "x":0, "y":0, "image":SMALL_VALUE_FILE },
|
||||
{ "name":"DEX_Value", "type":"text", "x":20, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
{ "name":"DEX_Plus", "type" : "button", "x" : 41, "y" : 3, "default_image" : ROOT_PATH+"btn_plus_up.sub", "over_image" : ROOT_PATH+"btn_plus_over.sub", "down_image" : ROOT_PATH+"btn_plus_down.sub", },
|
||||
)
|
||||
},
|
||||
|
||||
{ "name":"HTH_Minus", "type" : "button", "x":9, "y":35, "default_image" : ROOT_PATH+"btn_minus_up.sub", "over_image" : ROOT_PATH+"btn_minus_over.sub", "down_image" : ROOT_PATH+"btn_minus_down.sub", },
|
||||
{ "name":"INT_Minus", "type" : "button", "x":9, "y":35+23, "default_image" : ROOT_PATH+"btn_minus_up.sub", "over_image" : ROOT_PATH+"btn_minus_over.sub", "down_image" : ROOT_PATH+"btn_minus_down.sub", },
|
||||
{ "name":"STR_Minus", "type" : "button", "x":9, "y":35+23*2, "default_image" : ROOT_PATH+"btn_minus_up.sub", "over_image" : ROOT_PATH+"btn_minus_over.sub", "down_image" : ROOT_PATH+"btn_minus_down.sub", },
|
||||
{ "name":"DEX_Minus", "type" : "button", "x":9, "y":35+23*3, "default_image" : ROOT_PATH+"btn_minus_up.sub", "over_image" : ROOT_PATH+"btn_minus_over.sub", "down_image" : ROOT_PATH+"btn_minus_down.sub", },
|
||||
|
||||
####
|
||||
|
||||
## HP
|
||||
{
|
||||
"name":"HEL_Label", "type":"window", "x":145, "y":32, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"HP_Slot", "type":"image", "x":0, "y":0, "image":LARGE_VALUE_FILE },
|
||||
{ "name":"HP_Value", "type":"text", "x":45, "y":3, "text":"9999/9999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
## SP
|
||||
{
|
||||
"name":"SP_Label", "type":"window", "x":145, "y":32+23, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"SP_Slot", "type":"image", "x":0, "y":0, "image":LARGE_VALUE_FILE },
|
||||
{ "name":"SP_Value", "type":"text", "x":45, "y":3, "text":"9999/9999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
## ATT
|
||||
{
|
||||
"name":"ATT_Label", "type":"window", "x":145, "y":32+23*2, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"ATT_Slot", "type":"image", "x":0, "y":0, "image":LARGE_VALUE_FILE },
|
||||
{ "name":"ATT_Value", "type":"text", "x":45, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
## DEF
|
||||
{
|
||||
"name":"DEF_Label", "type":"window", "x":145, "y":32+23*3, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"DEF_Slot", "type":"image", "x":0, "y":0, "image":LARGE_VALUE_FILE },
|
||||
{ "name":"DEF_Value", "type":"text", "x":45, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## 부가 능력
|
||||
{
|
||||
"name":"Status_Extent", "type":"window", "x":3, "y":221, "width":200, "height":50,
|
||||
"children" :
|
||||
(
|
||||
|
||||
## 부가 능력 제목
|
||||
{ "name":"Status_Extent_Bar", "type":"horizontalbar", "x":12, "y":6, "width":223, },
|
||||
{ "name":"Status_Extent_Label", "type" : "image", "x" : 13, "y" : 8, "image" : LOCALE_PATH+"label_ext.sub", },
|
||||
|
||||
## 기본 능력 아이템 리스트
|
||||
{"name":"Status_Extent_ItemList1", "type" : "image", "x":11, "y":31, "image" : LOCALE_PATH+"label_ext_item1.sub", },
|
||||
{"name":"Status_Extent_ItemList2", "type" : "image", "x":128, "y":32, "image" : LOCALE_PATH+"label_ext_item2.sub", },
|
||||
|
||||
## MSPD - 이동 속도
|
||||
{
|
||||
"name":"MOV_Label", "type":"window", "x":66, "y":33, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"MSPD_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"MSPD_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## ASPD - 공격 속도
|
||||
{
|
||||
"name":"ASPD_Label", "type":"window", "x":66, "y":33+23, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"ASPD_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"ASPD_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## CSPD - 주문 속도
|
||||
{
|
||||
"name":"CSPD_Label", "type":"window", "x":66, "y":33+23*2, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"CSPD_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"CSPD_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## MATT - 마법 공격력
|
||||
{
|
||||
"name":"MATT_Label", "type":"window", "x":183, "y":33, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"MATT_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"MATT_Value", "type":"text", "x":26, "y":3, "text":"999-999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## MDEF - 마법 방어력
|
||||
{
|
||||
"name":"MDEF_Label", "type":"window", "x":183, "y":33+23, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"MDEF_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"MDEF_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## 회피율
|
||||
{
|
||||
"name":"ER_Label", "type":"window", "x":183, "y":33+23*2, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"ER_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"ER_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Skill_Page",
|
||||
"type" : "window",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 24,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 304,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Skill_Active_Title_Bar", "type":"horizontalbar", "x":15, "y":17, "width":223,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"Active_Skill_Point_Label", "type":"image", "x":145, "y":3, "image":LOCALE_PATH+"label_uppt.sub",
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Active_Skill_Point_Value", "type":"text", "x":62, "y":0, "text":"99", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Group Button
|
||||
{
|
||||
"name" : "Skill_Group_Button_1",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 5,
|
||||
"y" : 2,
|
||||
|
||||
"text" : "Group1",
|
||||
"text_color" : 0xFFFFE3AD,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/skill_tab_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/skill_tab_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/skill_tab_button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Skill_Group_Button_2",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 50,
|
||||
"y" : 2,
|
||||
|
||||
"text" : "Group2",
|
||||
"text_color" : 0xFFFFE3AD,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/skill_tab_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/skill_tab_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/skill_tab_button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Active_Skill_Group_Name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 7,
|
||||
"y" : 1,
|
||||
"text" : "Active",
|
||||
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
"color" : 0xFFFFE3AD,
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Skill_ETC_Title_Bar", "type":"horizontalbar", "x":15, "y":200, "width":223,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Support_Skill_Group_Name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 7,
|
||||
"y" : 1,
|
||||
"text" : uiScriptLocale.SKILL_SUPPORT_TITLE,
|
||||
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
"color" : 0xFFFFE3AD,
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Support_Skill_Point_Label", "type":"image", "x":145, "y":3, "image":LOCALE_PATH+"label_uppt.sub",
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Support_Skill_Point_Value", "type":"text", "x":62, "y":0, "text":"99", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{ "name":"Skill_Board", "type":"image", "x":13, "y":38, "image":"d:/ymir work/ui/game/windows/skill_board.sub", },
|
||||
|
||||
## Active Slot
|
||||
{
|
||||
"name" : "Skill_Active_Slot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 0 + 16,
|
||||
"y" : 0 + 15 + 23,
|
||||
|
||||
"width" : 223,
|
||||
"height" : 223,
|
||||
"image" : ICON_SLOT_FILE,
|
||||
|
||||
"slot" : (
|
||||
{"index": 1, "x": 1, "y": 4, "width":32, "height":32},
|
||||
{"index":21, "x":38, "y": 4, "width":32, "height":32},
|
||||
{"index":41, "x":75, "y": 4, "width":32, "height":32},
|
||||
|
||||
{"index": 3, "x": 1, "y": 40, "width":32, "height":32},
|
||||
{"index":23, "x":38, "y": 40, "width":32, "height":32},
|
||||
{"index":43, "x":75, "y": 40, "width":32, "height":32},
|
||||
|
||||
{"index": 5, "x": 1, "y": 76, "width":32, "height":32},
|
||||
{"index":25, "x":38, "y": 76, "width":32, "height":32},
|
||||
{"index":45, "x":75, "y": 76, "width":32, "height":32},
|
||||
|
||||
{"index": 7, "x": 1, "y":112, "width":32, "height":32},
|
||||
{"index":27, "x":38, "y":112, "width":32, "height":32},
|
||||
{"index":47, "x":75, "y":112, "width":32, "height":32},
|
||||
|
||||
####
|
||||
|
||||
{"index": 2, "x":113, "y": 4, "width":32, "height":32},
|
||||
{"index":22, "x":150, "y": 4, "width":32, "height":32},
|
||||
{"index":42, "x":187, "y": 4, "width":32, "height":32},
|
||||
|
||||
{"index": 4, "x":113, "y": 40, "width":32, "height":32},
|
||||
{"index":24, "x":150, "y": 40, "width":32, "height":32},
|
||||
{"index":44, "x":187, "y": 40, "width":32, "height":32},
|
||||
|
||||
{"index": 6, "x":113, "y": 76, "width":32, "height":32},
|
||||
{"index":26, "x":150, "y": 76, "width":32, "height":32},
|
||||
{"index":46, "x":187, "y": 76, "width":32, "height":32},
|
||||
|
||||
{"index": 8, "x":113, "y":112, "width":32, "height":32},
|
||||
{"index":28, "x":150, "y":112, "width":32, "height":32},
|
||||
{"index":48, "x":187, "y":112, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
|
||||
## ETC Slot
|
||||
{
|
||||
"name" : "Skill_ETC_Slot",
|
||||
"type" : "grid_table",
|
||||
"x" : 18,
|
||||
"y" : 221,
|
||||
"start_index" : 101,
|
||||
"x_count" : 6,
|
||||
"y_count" : 2,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 5,
|
||||
"y_blank" : 4,
|
||||
"image" : ICON_SLOT_FILE,
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Emoticon_Page",
|
||||
"type" : "window",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 24,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 304,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## 기본 액션 제목
|
||||
{ "name":"Action_Bar", "type":"horizontalbar", "x":12, "y":11, "width":223, },
|
||||
{ "name":"Action_Bar_Text", "type":"text", "x":15, "y":13, "text":uiScriptLocale.CHARACTER_NORMAL_ACTION },
|
||||
|
||||
## Basis Action Slot
|
||||
{
|
||||
"name" : "SoloEmotionSlot",
|
||||
"type" : "grid_table",
|
||||
"x" : 30,
|
||||
"y" : 33,
|
||||
"horizontal_align" : "center",
|
||||
"start_index" : 1,
|
||||
"x_count" : 6,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 0,
|
||||
"y_blank" : 0,
|
||||
"image" : ICON_SLOT_FILE,
|
||||
},
|
||||
|
||||
## 상호 액션 제목
|
||||
{ "name":"Reaction_Bar", "type":"horizontalbar", "x":12, "y":8+150, "width":223, },
|
||||
{ "name":"Reaction_Bar_Text", "type":"text", "x":15, "y":10+150, "text":uiScriptLocale.CHARACTER_MUTUAL_ACTION },
|
||||
|
||||
## Reaction Slot
|
||||
{
|
||||
"name" : "DualEmotionSlot",
|
||||
"type" : "grid_table",
|
||||
"x" : 30,
|
||||
"y" : 180,
|
||||
"start_index" : 51,
|
||||
"x_count" : 6,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 0,
|
||||
"y_blank" : 0,
|
||||
"image" : ICON_SLOT_FILE,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Quest_Page",
|
||||
"type" : "window",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 24,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 304,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Quest_Slot",
|
||||
"type" : "grid_table",
|
||||
"x" : 18,
|
||||
"y" : 20,
|
||||
"start_index" : 0,
|
||||
"x_count" : 1,
|
||||
"y_count" : 5,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"y_blank" : 28,
|
||||
"image" : QUEST_ICON_BACKGROUND,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Quest_ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 25,
|
||||
"y" : 12,
|
||||
"size" : 290,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
|
||||
{ "name" : "Quest_Name_00", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 14 },
|
||||
{ "name" : "Quest_LastTime_00", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 30 },
|
||||
{ "name" : "Quest_LastCount_00", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 46 },
|
||||
|
||||
{ "name" : "Quest_Name_01", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 74 },
|
||||
{ "name" : "Quest_LastTime_01", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 90 },
|
||||
{ "name" : "Quest_LastCount_01", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 106 },
|
||||
|
||||
{ "name" : "Quest_Name_02", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 134 },
|
||||
{ "name" : "Quest_LastTime_02", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 150 },
|
||||
{ "name" : "Quest_LastCount_02", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 166 },
|
||||
|
||||
{ "name" : "Quest_Name_03", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 194 },
|
||||
{ "name" : "Quest_LastTime_03", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 210 },
|
||||
{ "name" : "Quest_LastCount_03", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 226 },
|
||||
|
||||
{ "name" : "Quest_Name_04", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 254 },
|
||||
{ "name" : "Quest_LastTime_04", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 270 },
|
||||
{ "name" : "Quest_LastCount_04", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 286 },
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "QuestionDialog",
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 125,
|
||||
"y" : SCREEN_HEIGHT/2 - 52,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 75,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 75,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "message",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 25,
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_CONNECTING,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "countdown_message",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 50,
|
||||
|
||||
"text" : uiScriptLocale.MESSAGE,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
import uiScriptLocale
|
||||
import item
|
||||
|
||||
COSTUME_START_INDEX = item.COSTUME_SLOT_START
|
||||
|
||||
window = {
|
||||
"name" : "CostumeWindow",
|
||||
|
||||
"x" : SCREEN_WIDTH - 175 - 140,
|
||||
"y" : SCREEN_HEIGHT - 37 - 565,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 140,
|
||||
"height" : 180,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 140,
|
||||
"height" : 180,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 6,
|
||||
"y" : 6,
|
||||
|
||||
"width" : 130,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":60, "y":3, "text":uiScriptLocale.COSTUME_WINDOW_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Equipment Slot
|
||||
{
|
||||
"name" : "Costume_Base",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 13,
|
||||
"y" : 38,
|
||||
|
||||
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "costume/costume_bg.jpg",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "CostumeSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 127,
|
||||
"height" : 145,
|
||||
|
||||
"slot" : (
|
||||
{"index":COSTUME_START_INDEX+0, "x":61, "y":45, "width":32, "height":64},
|
||||
{"index":COSTUME_START_INDEX+1, "x":61, "y": 8, "width":32, "height":32},
|
||||
{"index":COSTUME_START_INDEX+2, "x":5, "y":145, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,586 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = uiScriptLocale.SELECT_PATH
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (65) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (215) / 600
|
||||
|
||||
PLUS_BUTTON_WIDTH = 20
|
||||
TEMPORARY_HEIGHT = 5
|
||||
|
||||
window = {
|
||||
"name" : "CreateCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## 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),
|
||||
},
|
||||
|
||||
## 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",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
## 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" : "hth_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 139,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "int_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 158,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "str_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 177,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "dex_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 196,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 217 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 241 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SHAPE,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 79,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 11,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_CREATE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 109,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "CubeWindow",
|
||||
|
||||
"x" : 430,
|
||||
"y" : 230,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 176,
|
||||
"height" : 175,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 176,
|
||||
"height" : 175,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 161,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":"합성 결과", "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Cube Slot
|
||||
{
|
||||
"name" : "CubeSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 176/2 - 32,
|
||||
"y" : 40 - 2,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 2,
|
||||
"y_count" : 2,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## Text
|
||||
{
|
||||
"name":"label",
|
||||
"type":"text",
|
||||
|
||||
"x":0,
|
||||
"y":60,
|
||||
|
||||
"vertical_align" : "bottom",
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text":"합성에 성공 했습니다",
|
||||
"text_horizontal_align":"center",
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "CloseButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 35,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,411 @@
|
||||
import localeInfo
|
||||
import uiScriptLocale
|
||||
|
||||
LOCALE_PATH = uiScriptLocale.WINDOWS_PATH
|
||||
ICON_SLOT_FILE = "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
|
||||
window = {
|
||||
"name" : "CubeWindow",
|
||||
|
||||
# "x" : 430,
|
||||
# "y" : 130,
|
||||
"x" : SCREEN_WIDTH - 176 - 200 - 80,
|
||||
"y" : SCREEN_HEIGHT - 37 - 563,
|
||||
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 285,
|
||||
"height" : 521,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "expanded_image",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 285,
|
||||
"height" : 521,
|
||||
|
||||
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "new_cube_bg.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 5,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 273,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.CUBE_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Cube Slot
|
||||
{
|
||||
"name" : "CubeSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 364,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 8,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
## Print
|
||||
{
|
||||
"name" : "NeedMoney",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 20,
|
||||
"y" : 468,
|
||||
|
||||
"width" : 200,
|
||||
|
||||
"horizontal_align" : "right",
|
||||
"text_horizontal_align" : "right",
|
||||
|
||||
"text" : localeInfo.NumberToMoneyString(0),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "contentScrollbar",
|
||||
"type" : "thin_scrollbar",
|
||||
|
||||
"x" : 253,
|
||||
"y" : 38,
|
||||
|
||||
"size" : 315,
|
||||
},
|
||||
|
||||
# Cube Result List. 1 ~ 3
|
||||
{
|
||||
"name" : "result1board",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 25,
|
||||
"y" : 41,
|
||||
|
||||
"width" : 216,
|
||||
"height" : 64,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "result1",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material11",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 57,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material12",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 90,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material13",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 123,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material14",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 156,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material15",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 189,
|
||||
"y" : 0,
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "result2board",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 25,
|
||||
"y" : 147,
|
||||
|
||||
"width" : 216,
|
||||
"height" : 64,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "result2",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material21",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 57,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material22",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 90,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material23",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 123,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material24",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 156,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material25",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 189,
|
||||
"y" : 0,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "result3board",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 25,
|
||||
"y" : 253,
|
||||
|
||||
"width" : 216,
|
||||
"height" : 64,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "result3",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material31",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 57,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material32",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 90,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material33",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 123,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material34",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 156,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material35",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 189,
|
||||
"y" : 0,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 148,
|
||||
"y" : 32,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 211,
|
||||
"y" : 32,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,145 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 230,
|
||||
"height" : 130,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 230,
|
||||
"height" : 130,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_WAR_DECLARE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_ENEMY,
|
||||
},
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 80,
|
||||
"y" : 37,
|
||||
"width" : 130,
|
||||
"height" : 18,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "GameType", "x" : 15, "y" : 65, "width" : 65+45*4, "height" : 20,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GameTypeLabel", "type" : "text", "x" : 0, "y" : 3, "text" : uiScriptLocale.GUILD_WAR_BATTLE_TYPE,},
|
||||
{
|
||||
"name" : "NormalButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_NORMAL,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "WarpButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65+45*1,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_WARP,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "CTFButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65+45*2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_CTF,
|
||||
|
||||
"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",
|
||||
},
|
||||
),
|
||||
},
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 95,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 95,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "EquipmentDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 180,
|
||||
"height" : 230,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 180,
|
||||
"height" : 230,
|
||||
|
||||
"title" : "Character Name",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"EquipmentBaseImage",
|
||||
"type":"image",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 9,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "EquipmentSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 150,
|
||||
"height" : 182,
|
||||
|
||||
"slot" : (
|
||||
{"index":0, "x":39, "y":37, "width":32, "height":64},
|
||||
{"index":1, "x":39, "y":2, "width":32, "height":32},
|
||||
{"index":2, "x":39, "y":145, "width":32, "height":32},
|
||||
{"index":3, "x":75, "y":67, "width":32, "height":32},
|
||||
{"index":4, "x":3, "y":3, "width":32, "height":96},
|
||||
{"index":5, "x":114, "y":67, "width":32, "height":32},
|
||||
{"index":6, "x":114, "y":35, "width":32, "height":32},
|
||||
{"index":7, "x":2, "y":145, "width":32, "height":32},
|
||||
{"index":8, "x":75, "y":145, "width":32, "height":32},
|
||||
{"index":9, "x":114, "y":2, "width":32, "height":32},
|
||||
{"index":10, "x":75, "y":35, "width":32, "height":32},
|
||||
## »õ ¹ÝÁö1
|
||||
##{"index":21, "x":2, "y":106, "width":32, "height":32},
|
||||
## »õ ¹ÝÁö2
|
||||
##{"index":22, "x":75, "y":106, "width":32, "height":32},
|
||||
## »õ º§Æ®
|
||||
{"index":23, "x":39, "y":106, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,217 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/game/"
|
||||
|
||||
window = {
|
||||
"name" : "ExchangeDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 282,
|
||||
"height" : 167,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 282,
|
||||
"height" : 167,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 266,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":133, "y":3, "text":uiScriptLocale.EXCHANGE_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## MiddleBar
|
||||
{
|
||||
"name" : "Middle_Bar",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 139,
|
||||
"y" : 31,
|
||||
|
||||
"image" : ROOT + "windows/middlebar.sub",
|
||||
},
|
||||
|
||||
## Owner
|
||||
{
|
||||
"name" : "Owner",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 144,
|
||||
"y" : 33,
|
||||
|
||||
"width" : 130,
|
||||
"height" : 130,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Owner_Slot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"start_index" : 0,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"x_count" : 4,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 0,
|
||||
"y_blank" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/slot_base.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Owner_Money",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 102,
|
||||
|
||||
#"image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Owner_Money_Value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 59,
|
||||
"y" : 2,
|
||||
|
||||
"text" : "1234567",
|
||||
|
||||
"text_horizontal_align" : "right",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Owner_Accept_Light",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 62,
|
||||
"y" : 101,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/accept_button_off.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/accept_button_off.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/accept_button_on.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Owner_Accept_Button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 85,
|
||||
"y" : 101,
|
||||
|
||||
"text" : uiScriptLocale.EXCHANGE_ACCEPT,
|
||||
|
||||
"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",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Target
|
||||
{
|
||||
"name" : "Target",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 33,
|
||||
|
||||
"width" : 130,
|
||||
"height" : 130,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Target_Slot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"start_index" : 0,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"x_count" : 4,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 0,
|
||||
"y_blank" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/slot_base.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Target_Money",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 102,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Target_Money_Value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 59,
|
||||
"y" : 2,
|
||||
|
||||
"text" : "1234567",
|
||||
|
||||
"text_horizontal_align" : "right",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Target_Accept_Light",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 62,
|
||||
"y" : 101,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/accept_button_off.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/accept_button_off.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/accept_button_on.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,230 @@
|
||||
FISHING_PATH = "d:/ymir work/ui/game/fishing/"
|
||||
|
||||
window = {
|
||||
"name" : "FishingWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 100,
|
||||
"y" : 100,
|
||||
|
||||
"width" : 150,
|
||||
"height" : 195,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 150,
|
||||
"height" : 195,
|
||||
"title" : "³¬½Ã",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "FishingBox1",
|
||||
"type" : "box",
|
||||
|
||||
"x" : 9,
|
||||
"y" : 31,
|
||||
"width" : 131,
|
||||
"height" : 131,
|
||||
|
||||
"color" : 0xFF6C6359,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "FishingBox2",
|
||||
"type" : "box",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 32,
|
||||
"width" : 129,
|
||||
"height" : 129,
|
||||
|
||||
"color" : 0xFF35302D,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Water",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 33,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 7,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "water/00.dds",
|
||||
FISHING_PATH + "water/01.dds",
|
||||
FISHING_PATH + "water/02.dds",
|
||||
FISHING_PATH + "water/03.dds",
|
||||
FISHING_PATH + "water/04.dds",
|
||||
FISHING_PATH + "water/05.dds",
|
||||
FISHING_PATH + "water/06.dds",
|
||||
),
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "FishName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 10,
|
||||
|
||||
"text" : "¹°°í±â À̸§",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Float_Wait",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 32,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 5,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "float_wait/fh_wait00.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait01.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait02.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait03.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait04.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait05.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait06.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait07.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait08.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait09.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait10.tga",
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Float_Throw",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 5,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "float_throw/fh_fall00.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall01.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall02.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall03.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall04.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall05.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall06.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall07.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall08.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall09.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall10.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall11.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall12.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall13.tga",
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Float_React",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 64,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 5,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "float_react/fh_bite00.tga",
|
||||
FISHING_PATH + "float_react/fh_bite01.tga",
|
||||
FISHING_PATH + "float_react/fh_bite02.tga",
|
||||
FISHING_PATH + "float_react/fh_bite03.tga",
|
||||
FISHING_PATH + "float_react/fh_bite04.tga",
|
||||
FISHING_PATH + "float_react/fh_bite05.tga",
|
||||
FISHING_PATH + "float_react/fh_bite06.tga",
|
||||
FISHING_PATH + "float_react/fh_bite07.tga",
|
||||
FISHING_PATH + "float_react/fh_bite08.tga",
|
||||
FISHING_PATH + "float_react/fh_bite09.tga",
|
||||
FISHING_PATH + "float_react/fh_bite10.tga",
|
||||
FISHING_PATH + "float_react/fh_bite11.tga",
|
||||
FISHING_PATH + "float_react/fh_bite12.tga",
|
||||
FISHING_PATH + "float_react/fh_bite13.tga",
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Float_Catch",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 5,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "float_catch/fh_catch00.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch01.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch02.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch03.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch04.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch05.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch06.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch07.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch08.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch09.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch10.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch11.tga",
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "FishingButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 30,
|
||||
|
||||
"text" : "³¬½Ã",
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,440 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
|
||||
TEMPORARY_X = +13
|
||||
BUTTON_TEMPORARY_X = 5
|
||||
PVP_X = -10
|
||||
|
||||
LINE_LABEL_X = 30
|
||||
LINE_DATA_X = 90
|
||||
LINE_STEP = 0
|
||||
SMALL_BUTTON_WIDTH = 45
|
||||
MIDDLE_BUTTON_WIDTH = 65
|
||||
|
||||
window = {
|
||||
"name" : "GameOptionDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : 25*11+8,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : 25*11+8,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 284,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"titlename", "type":"text", "x":0, "y":3,
|
||||
"text" : uiScriptLocale.GAMEOPTION_TITLE,
|
||||
"horizontal_align":"center", "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## À̸§»ö
|
||||
{
|
||||
"name" : "name_color",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 40+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR,
|
||||
},
|
||||
{
|
||||
"name" : "name_color_normal",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_NORMAL,
|
||||
|
||||
"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" : "name_color_empire",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_EMPIRE,
|
||||
|
||||
"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" : "target_board",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 65+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD,
|
||||
},
|
||||
{
|
||||
"name" : "target_board_no_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_NO_VIEW,
|
||||
|
||||
"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" : "target_board_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_VIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
|
||||
|
||||
## PvP Mode
|
||||
{
|
||||
"name" : "pvp_mode",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 90+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE,
|
||||
},
|
||||
{
|
||||
"name" : "pvp_peace",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*0,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_PEACE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_PEACE_TOOLTIP,
|
||||
|
||||
"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" : "pvp_revenge",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*1,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_REVENGE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_REVENGE_TOOLTIP,
|
||||
|
||||
"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" : "pvp_guild",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*2,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_GUILD,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_GUILD_TOOLTIP,
|
||||
|
||||
"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" : "pvp_free",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*3,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_FREE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_FREE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
|
||||
## Block
|
||||
{
|
||||
"name" : "block",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 115+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK,
|
||||
},
|
||||
{
|
||||
"name" : "block_exchange_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_EXCHANGE,
|
||||
|
||||
"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" : "block_party_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY,
|
||||
|
||||
"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" : "block_guild_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_GUILD,
|
||||
|
||||
"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" : "block_whisper_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_WHISPER,
|
||||
|
||||
"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" : "block_friend_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_FRIEND,
|
||||
|
||||
"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" : "block_party_request_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY_REQUEST,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Chat
|
||||
{
|
||||
"name" : "chat",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 165+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "view_chat_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"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" : "view_chat_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Always Show Name
|
||||
{
|
||||
"name" : "always_show_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 190+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "always_show_name_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_ON,
|
||||
|
||||
"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" : "always_show_name_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Effect On/Off
|
||||
{
|
||||
"name" : "effect_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 215+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_EFFECT,
|
||||
},
|
||||
{
|
||||
"name" : "show_damage_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"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" : "show_damage_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"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" : "salestext_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 240+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT,
|
||||
},
|
||||
{
|
||||
"name" : "salestext_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_ON,
|
||||
|
||||
"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" : "salestext_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,479 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
|
||||
TEMPORARY_X = +13
|
||||
BUTTON_TEMPORARY_X = 5
|
||||
PVP_X = -10
|
||||
|
||||
LINE_LABEL_X = 30
|
||||
LINE_DATA_X = 90
|
||||
LINE_STEP = 0
|
||||
SMALL_BUTTON_WIDTH = 45
|
||||
MIDDLE_BUTTON_WIDTH = 65
|
||||
|
||||
window = {
|
||||
"name" : "GameOptionDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : (258+25),
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : 25*12+8,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 284,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"titlename", "type":"text", "x":0, "y":3,
|
||||
"text" : uiScriptLocale.GAMEOPTION_TITLE,
|
||||
"horizontal_align":"center", "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## À̸§»ö
|
||||
{
|
||||
"name" : "name_color",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 40+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR,
|
||||
},
|
||||
{
|
||||
"name" : "name_color_normal",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_NORMAL,
|
||||
|
||||
"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" : "name_color_empire",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_EMPIRE,
|
||||
|
||||
"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" : "target_board",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 65+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD,
|
||||
},
|
||||
{
|
||||
"name" : "target_board_no_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_NO_VIEW,
|
||||
|
||||
"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" : "target_board_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_VIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
|
||||
|
||||
## PvP Mode
|
||||
{
|
||||
"name" : "pvp_mode",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 90+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE,
|
||||
},
|
||||
{
|
||||
"name" : "pvp_peace",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*0,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_PEACE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_PEACE_TOOLTIP,
|
||||
|
||||
"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" : "pvp_revenge",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*1,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_REVENGE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_REVENGE_TOOLTIP,
|
||||
|
||||
"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" : "pvp_guild",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*2,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_GUILD,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_GUILD_TOOLTIP,
|
||||
|
||||
"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" : "pvp_free",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*3,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_FREE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_FREE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
|
||||
## Block
|
||||
{
|
||||
"name" : "block",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 115+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK,
|
||||
},
|
||||
{
|
||||
"name" : "block_exchange_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_EXCHANGE,
|
||||
|
||||
"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" : "block_party_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY,
|
||||
|
||||
"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" : "block_guild_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_GUILD,
|
||||
|
||||
"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" : "block_whisper_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_WHISPER,
|
||||
|
||||
"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" : "block_friend_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_FRIEND,
|
||||
|
||||
"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" : "block_party_request_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY_REQUEST,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Chat
|
||||
{
|
||||
"name" : "chat",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 165+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "view_chat_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"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" : "view_chat_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Always Show Name
|
||||
{
|
||||
"name" : "always_show_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 190+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "always_show_name_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_ON,
|
||||
|
||||
"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" : "always_show_name_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Mobile
|
||||
{
|
||||
"name" : "mobile",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 215+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_MOBILE,
|
||||
},
|
||||
{
|
||||
"name" : "input_mobile_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_INPUT_MOBILE_BUTTON,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "delete_mobile_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 90,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_DELETE_MOBILE_BUTTON,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
## Effect On/Off
|
||||
{
|
||||
"name" : "effect_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 240+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_EFFECT,
|
||||
},
|
||||
{
|
||||
"name" : "show_damage_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"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" : "show_damage_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"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" : "salestext_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 265+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT,
|
||||
},
|
||||
{
|
||||
"name" : "salestext_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 265,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_ON,
|
||||
|
||||
"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" : "salestext_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 265,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "GameWindow",
|
||||
"style" : ("not_pick",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"HelpButton",
|
||||
"type":"button",
|
||||
"x" : 50,
|
||||
"y" : SCREEN_HEIGHT-170,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"HelpButtonLabel",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text":uiScriptLocale.GAME_HELP,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"QuestButton",
|
||||
"type":"button",
|
||||
"x" : SCREEN_WIDTH-50-32,
|
||||
"y" : SCREEN_HEIGHT-170,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"QuestButtonLabel",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text":uiScriptLocale.GAME_QUEST,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"StatusPlusButton",
|
||||
"type" : "button",
|
||||
"x" : 68,
|
||||
"y" : SCREEN_HEIGHT-100,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"StatusPlusLabel",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text":uiScriptLocale.GAME_STAT_UP,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"SkillPlusButton",
|
||||
"type" : "button",
|
||||
"x" : SCREEN_WIDTH-50-32,
|
||||
"y" : SCREEN_HEIGHT-100,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"SkillPlusLabel",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text":uiScriptLocale.GAME_SKILL_UP,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"ExitObserver",
|
||||
"type" : "button",
|
||||
"x" : SCREEN_WIDTH-50-32,
|
||||
"y" : SCREEN_HEIGHT-170,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"ExitObserverButtonName",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text": uiScriptLocale.GAME_EXIT_OBSERVER,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"BuildGuildBuilding",
|
||||
"type" : "button",
|
||||
"x" : SCREEN_WIDTH-50-32,
|
||||
"y" : SCREEN_HEIGHT-170,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildGuildBuildingButtonName",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text": uiScriptLocale.GUILD_BUILDING_TITLE,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,185 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/game/guild/"
|
||||
LOCALE_PATH = uiScriptLocale.GUILD_PATH
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 356,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 356,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab Area
|
||||
{
|
||||
"name" : "TabControl",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 328,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab
|
||||
{
|
||||
"name" : "Tab_01",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_1.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_02",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_2.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_03",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_3.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_04",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_4.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_05",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_5.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_06",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_6.sub",
|
||||
},
|
||||
## RadioButton
|
||||
{
|
||||
"name" : "Tab_Button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 6,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 53,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 61,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 67,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 130,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_04",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 192,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_05",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 254,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_06",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 316,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 55,
|
||||
"height" : 27,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
import uiScriptLocale
|
||||
|
||||
RESOURCE_NAME_POS = 132
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_BaseInfoPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Name
|
||||
{
|
||||
"name" : "BaseName",
|
||||
"type" : "text",
|
||||
"x" : 90,
|
||||
"y" : 10,
|
||||
"text" : uiScriptLocale.GUILD_BASENAME,
|
||||
},
|
||||
{
|
||||
"name" : "BaseNameSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 180,
|
||||
"y" : 3,
|
||||
"width" : 105,
|
||||
"height" : 24,
|
||||
"text" : uiScriptLocale.GUILD_BASENAME,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "BaseNameValue",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.GUILD_BASENAME,
|
||||
"fontsize" : "LARGE",
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Resource Information
|
||||
{
|
||||
"name" : "HorizontalBar1",
|
||||
"type" : "horizontalbar",
|
||||
"x" : 0,
|
||||
"y" : 32,
|
||||
"width" : 337,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "ResourceInformationName",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.GUILD_RESOURCE_INFO,
|
||||
"all_align" : "center",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ResourceSlot1", "type" : "slotbar", "x" : 5 + 31*0, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName1", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_WATER_STONE, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue1", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot2", "type" : "slotbar", "x" : 5 + 31*1, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName2", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_METIN_STONE, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue2", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot3", "type" : "slotbar", "x" : 5 + 31*2, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName3", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_WATER, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue3", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot4", "type" : "slotbar", "x" : 5 + 31*3, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName4", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_CRYSTAL, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue4", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot5", "type" : "slotbar", "x" : 5 + 31*4, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName5", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_MINENAL, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue5", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot6", "type" : "slotbar", "x" : 5 + 31*5, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName6", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_GEM, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue6", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ResourceBasket", "type" : "bar", "x" : 195, "y" : 21, "width" : 142, "height" : 39,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ResourceBasketDescription1", "type" : "text", "x" : 0, "y" : 5, "text" : uiScriptLocale.GUILD_DROP_RESOURCE1, "horizontal_align" : "center", "text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "ResourceBasketDescription2", "type" : "text", "x" : 0, "y" : 21, "text" : uiScriptLocale.GUILD_DROP_RESOURCE2, "horizontal_align" : "center", "text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## Resource Information
|
||||
{
|
||||
"name" : "HorizontalBar1",
|
||||
"type" : "horizontalbar",
|
||||
"x" : 0,
|
||||
"y" : 95,
|
||||
"width" : 337,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "ResourceInformationName",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_INFO,
|
||||
"all_align" : "center",
|
||||
},
|
||||
|
||||
## BuildingName
|
||||
{
|
||||
"name" : "BuildingName", "type" : "text", "x" : 16, "y" : 20, "text" : uiScriptLocale.GUILD_BUILDING_NAME,
|
||||
},
|
||||
## Grade
|
||||
{
|
||||
"name" : "Grade", "type" : "text", "x" : 89, "y" : 20, "text" : uiScriptLocale.GUILD_BUILDING_GRADE,
|
||||
},
|
||||
|
||||
## Resources
|
||||
{ "name" : "ResourceName1", "type" : "text", "x" : RESOURCE_NAME_POS + 29*0, "y" : 20, "text" : uiScriptLocale.GUILD_WATER_STONE, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName2", "type" : "text", "x" : RESOURCE_NAME_POS + 29*1, "y" : 20, "text" : uiScriptLocale.GUILD_METIN_STONE, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName3", "type" : "text", "x" : RESOURCE_NAME_POS + 29*2, "y" : 20, "text" : uiScriptLocale.GUILD_WATER, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName4", "type" : "text", "x" : RESOURCE_NAME_POS + 29*3, "y" : 20, "text" : uiScriptLocale.GUILD_CRYSTAL, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName5", "type" : "text", "x" : RESOURCE_NAME_POS + 29*4, "y" : 20, "text" : uiScriptLocale.GUILD_MINENAL, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName6", "type" : "text", "x" : RESOURCE_NAME_POS + 29*5, "y" : 20, "text" : uiScriptLocale.GUILD_GEM, "text_horizontal_align" : "center", },
|
||||
|
||||
## Power
|
||||
{
|
||||
"name" : "Power", "type" : "text", "x" : 303, "y" : 20, "text" : uiScriptLocale.GUILD_BUILDING_OPERATE,
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "RefreshButton",
|
||||
"type" : "button",
|
||||
"x" : 337,
|
||||
"y" : 5,
|
||||
"default_image" : "d:/ymir work/ui/game/guild/Refresh_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/guild/Refresh_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/guild/Refresh_Button_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.GUILD_BUILDING_REFRESH,
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
import uiScriptLocale
|
||||
|
||||
BOARD_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_06.sub"
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_BoardPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## ID
|
||||
{
|
||||
"name" : "IndexID", "type" : "text", "x" : 42, "y" : 8, "text" : uiScriptLocale.GUILD_BOARD_ID,
|
||||
},
|
||||
## Messages
|
||||
{
|
||||
"name" : "IndexMessages", "type" : "text", "x" : 212, "y" : 8, "text" : uiScriptLocale.GUILD_BOARD_TEXT,
|
||||
},
|
||||
|
||||
## Refresh Button
|
||||
{
|
||||
"name" : "RefreshButton",
|
||||
"type" : "button",
|
||||
"x" : 337,
|
||||
"y" : 5,
|
||||
"default_image" : "d:/ymir work/ui/game/guild/Refresh_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/guild/Refresh_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/guild/Refresh_Button_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.GUILD_BOARD_REFRESH,
|
||||
},
|
||||
|
||||
## Post Comment Button
|
||||
{
|
||||
"name" : "PostCommentButton",
|
||||
"type" : "button",
|
||||
"x" : 337,
|
||||
"y" : 273,
|
||||
"default_image" : "d:/ymir work/ui/game/taskbar/Send_Chat_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/taskbar/Send_Chat_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/taskbar/Send_Chat_Button_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.GUILD_GRADE_WRITE,
|
||||
},
|
||||
|
||||
## EditLine
|
||||
{
|
||||
"name" : "CommentSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 15,
|
||||
"y" : 272,
|
||||
"width" : 315,
|
||||
"height" : 18,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CommentValue",
|
||||
"type" : "editline",
|
||||
"x" : 2,
|
||||
"y" : 3,
|
||||
"width" : 317,
|
||||
"height" : 15,
|
||||
"input_limit" : 49,
|
||||
"text" : "",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_BoardPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## GradeNumber
|
||||
{
|
||||
"name" : "GradeNumber", "type" : "text", "x" : 21, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_NUM,
|
||||
},
|
||||
## GradeName
|
||||
{
|
||||
"name" : "GradeName", "type" : "text", "x" : 76, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_RANK,
|
||||
},
|
||||
## InviteAuthority
|
||||
{
|
||||
"name" : "InviteAuthority", "type" : "text", "x" : 126, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_PERMISSION_JOIN,
|
||||
},
|
||||
## DriveOutAuthority
|
||||
{
|
||||
"name" : "DriveOutAuthority", "type" : "text", "x" : 183, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_PERMISSION_DELETE,
|
||||
},
|
||||
## NoticeAuthority
|
||||
{
|
||||
"name" : "NoticeAuthority", "type" : "text", "x" : 240, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_PERMISSION_NOTICE,
|
||||
},
|
||||
## GeneralAuthority
|
||||
{
|
||||
"name" : "SkillAuthority", "type" : "text", "x" : 297, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_PERMISSION_SKILL,
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,382 @@
|
||||
import uiScriptLocale
|
||||
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
|
||||
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
XLARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_04.sub"
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_GuildInfoPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Guild Info Title
|
||||
{
|
||||
"name":"Guild_Info_Title_Bar", "type":"horizontalbar", "x":5, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Guild_Info_Point_Value", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO, },
|
||||
|
||||
## GuildName
|
||||
{
|
||||
"name" : "GuildName", "type" : "text", "x" : 3, "y" : 31, "text" : uiScriptLocale.GUILD_INFO_NAME,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_NAME_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMaster
|
||||
{
|
||||
"name" : "GuildMaster", "type" : "text", "x" : 3, "y" : 57, "text" : uiScriptLocale.GUILD_INFO_MASTER,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMasterNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMasterNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_MASTER_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildLevel
|
||||
{
|
||||
"name" : "GuildLevel", "type" : "text", "x" : 3, "y" : 93, "text" : uiScriptLocale.GUILD_INFO_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildLevelSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"width" : 45,
|
||||
"height" : 17,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildLevelValue", "type":"text", "text":"30", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## CurrentExperience
|
||||
{
|
||||
"name" : "CurrentExperience", "type" : "text", "x" : 3, "y" : 119, "text" : uiScriptLocale.GUILD_INFO_CUR_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CurrentExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "CurrentExperienceValue", "type":"text", "text":"10000000", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LastExperience
|
||||
{
|
||||
"name" : "LastExperience", "type" : "text", "x" : 3, "y" : 145, "text" : uiScriptLocale.GUILD_INFO_REST_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LastExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "LastExperienceValue", "type":"text", "text":"123123123123", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberCount
|
||||
{
|
||||
"name" : "GuildMemberCount", "type" : "text", "x" : 3, "y" : 171, "text" : uiScriptLocale.GUILD_INFO_MEMBER_NUM,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberCountSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberCountValue", "type":"text", "text":"30 / 32", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberLevelAverage
|
||||
{
|
||||
"name" : "GuildMemberLevelAverage", "type" : "text", "x" : 3, "y" : 197, "text" : uiScriptLocale.GUILD_INFO_MEMBER_AVG_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberLevelAverageSlot",
|
||||
"type" : "image",
|
||||
"x" : 108,
|
||||
"y" : -2,
|
||||
"image" : SMALL_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberLevelAverageValue", "type":"text", "text":"53", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "OfferButton",
|
||||
"type" : "button",
|
||||
"x" : 127,
|
||||
"y" : 100,
|
||||
"text" : uiScriptLocale.GUILD_INFO_OFFER_EXP,
|
||||
"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",
|
||||
},
|
||||
|
||||
###############################################################################################################
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_MARK, },
|
||||
|
||||
## LargeGuildMark
|
||||
{
|
||||
"name" : "LargeGuildMarkSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 5,
|
||||
"y" : 24,
|
||||
"width" : 48+1,
|
||||
"height" : 36+1,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LargeGuildMark",
|
||||
"type" : "mark",
|
||||
"x" : 1,
|
||||
"y" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## UploadButton
|
||||
{
|
||||
"name" : "UploadGuildMarkButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_MARK,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "UploadGuildSymbolButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33 + 23,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_SYMBOL,
|
||||
"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",
|
||||
},
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":85, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD, },
|
||||
|
||||
{
|
||||
"name" : "EnemyGuildSlot1",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*0,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName1", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot2",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*1,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName2", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot3",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*2,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName3", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot4",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*3,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName4", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot5",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*4,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName5", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot6",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*5,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName6", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## CancelButtons
|
||||
{
|
||||
"name" : "EnemyGuildCancel1",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*0,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel2",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*1,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel3",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*2,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel4",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*3,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel5",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*4,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel6",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*5,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
|
||||
## DeclareWar
|
||||
{
|
||||
"name" : "DeclareWarButton",
|
||||
"type" : "button",
|
||||
"x" : 250 + 15,
|
||||
"y" : 264,
|
||||
"text" : uiScriptLocale.GUILD_INFO_DECALRE_WAR,
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,400 @@
|
||||
import uiScriptLocale
|
||||
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
|
||||
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
XLARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_04.sub"
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_GuildInfoPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Guild Info Title
|
||||
{
|
||||
"name":"Guild_Info_Title_Bar", "type":"horizontalbar", "x":5, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Guild_Info_Point_Value", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO, },
|
||||
|
||||
## GuildName
|
||||
{
|
||||
"name" : "GuildName", "type" : "text", "x" : 3, "y" : 31, "text" : uiScriptLocale.GUILD_INFO_NAME,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_NAME_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMaster
|
||||
{
|
||||
"name" : "GuildMaster", "type" : "text", "x" : 3, "y" : 57, "text" : uiScriptLocale.GUILD_INFO_MASTER,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMasterNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMasterNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_MASTER_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildLevel
|
||||
{
|
||||
"name" : "GuildLevel", "type" : "text", "x" : 3, "y" : 93, "text" : uiScriptLocale.GUILD_INFO_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildLevelSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"width" : 45,
|
||||
"height" : 17,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildLevelValue", "type":"text", "text":"30", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## CurrentExperience
|
||||
{
|
||||
"name" : "CurrentExperience", "type" : "text", "x" : 3, "y" : 119, "text" : uiScriptLocale.GUILD_INFO_CUR_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CurrentExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "CurrentExperienceValue", "type":"text", "text":"10000000", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LastExperience
|
||||
{
|
||||
"name" : "LastExperience", "type" : "text", "x" : 3, "y" : 145, "text" : uiScriptLocale.GUILD_INFO_REST_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LastExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "LastExperienceValue", "type":"text", "text":"123123123123", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberCount
|
||||
{
|
||||
"name" : "GuildMemberCount", "type" : "text", "x" : 3, "y" : 171, "text" : uiScriptLocale.GUILD_INFO_MEMBER_NUM,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberCountSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberCountValue", "type":"text", "text":"30 / 32", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberLevelAverage
|
||||
{
|
||||
"name" : "GuildMemberLevelAverage", "type" : "text", "x" : 3, "y" : 197, "text" : uiScriptLocale.GUILD_INFO_MEMBER_AVG_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberLevelAverageSlot",
|
||||
"type" : "image",
|
||||
"x" : 108,
|
||||
"y" : -2,
|
||||
"image" : SMALL_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberLevelAverageValue", "type":"text", "text":"53", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMoney
|
||||
{
|
||||
"name" : "GuildMoney", "type" : "text", "x" : 3, "y" : 233, "text" : uiScriptLocale.GUILD_MONEY,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMoneySlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMoneyValue", "type":"text", "text":"9999999", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "OfferButton",
|
||||
"type" : "button",
|
||||
"x" : 127,
|
||||
"y" : 100,
|
||||
"text" : uiScriptLocale.GUILD_INFO_OFFER_EXP,
|
||||
"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",
|
||||
},
|
||||
|
||||
###############################################################################################################
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_MARK, },
|
||||
|
||||
## LargeGuildMark
|
||||
{
|
||||
"name" : "LargeGuildMarkSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 5,
|
||||
"y" : 24,
|
||||
"width" : 48+1,
|
||||
"height" : 36+1,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LargeGuildMark",
|
||||
"type" : "mark",
|
||||
"x" : 1,
|
||||
"y" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## UploadButton
|
||||
{
|
||||
"name" : "UploadGuildMarkButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_MARK,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "UploadGuildSymbolButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33 + 23,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_SYMBOL,
|
||||
"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",
|
||||
},
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":85, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD, },
|
||||
|
||||
{
|
||||
"name" : "EnemyGuildSlot1",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*0,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName1", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot2",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*1,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName2", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot3",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*2,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName3", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot4",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*3,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName4", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot5",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*4,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName5", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot6",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*5,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName6", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## CancelButtons
|
||||
{
|
||||
"name" : "EnemyGuildCancel1",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*0,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel2",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*1,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel3",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*2,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel4",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*3,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel5",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*4,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel6",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*5,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
|
||||
## DeclareWar
|
||||
{
|
||||
"name" : "DeclareWarButton",
|
||||
"type" : "button",
|
||||
"x" : 250 + 15,
|
||||
"y" : 264,
|
||||
"text" : uiScriptLocale.GUILD_INFO_DECALRE_WAR,
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,420 @@
|
||||
import uiScriptLocale
|
||||
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
|
||||
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
XLARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_04.sub"
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_GuildInfoPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Guild Info Title
|
||||
{
|
||||
"name":"Guild_Info_Title_Bar", "type":"horizontalbar", "x":5, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Guild_Info_Point_Value", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO, },
|
||||
|
||||
## GuildName
|
||||
{
|
||||
"name" : "GuildName", "type" : "text", "x" : 3, "y" : 31, "text" : uiScriptLocale.GUILD_INFO_NAME,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_NAME_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMaster
|
||||
{
|
||||
"name" : "GuildMaster", "type" : "text", "x" : 3, "y" : 57, "text" : uiScriptLocale.GUILD_INFO_MASTER,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMasterNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMasterNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_MASTER_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildLevel
|
||||
{
|
||||
"name" : "GuildLevel", "type" : "text", "x" : 3, "y" : 93, "text" : uiScriptLocale.GUILD_INFO_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildLevelSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"width" : 45,
|
||||
"height" : 17,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildLevelValue", "type":"text", "text":"30", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## CurrentExperience
|
||||
{
|
||||
"name" : "CurrentExperience", "type" : "text", "x" : 3, "y" : 119, "text" : uiScriptLocale.GUILD_INFO_CUR_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CurrentExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "CurrentExperienceValue", "type":"text", "text":"10000000", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LastExperience
|
||||
{
|
||||
"name" : "LastExperience", "type" : "text", "x" : 3, "y" : 145, "text" : uiScriptLocale.GUILD_INFO_REST_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LastExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "LastExperienceValue", "type":"text", "text":"123123123123", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberCount
|
||||
{
|
||||
"name" : "GuildMemberCount", "type" : "text", "x" : 3, "y" : 171, "text" : uiScriptLocale.GUILD_INFO_MEMBER_NUM,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberCountSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberCountValue", "type":"text", "text":"30 / 32", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberLevelAverage
|
||||
{
|
||||
"name" : "GuildMemberLevelAverage", "type" : "text", "x" : 3, "y" : 197, "text" : uiScriptLocale.GUILD_INFO_MEMBER_AVG_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberLevelAverageSlot",
|
||||
"type" : "image",
|
||||
"x" : 108,
|
||||
"y" : -2,
|
||||
"image" : SMALL_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberLevelAverageValue", "type":"text", "text":"53", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMoney
|
||||
{
|
||||
"name" : "GuildMoney", "type" : "text", "x" : 3, "y" : 233, "text" : uiScriptLocale.GUILD_MONEY,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMoneySlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMoneyValue", "type":"text", "text":"9999999", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "OfferButton",
|
||||
"type" : "button",
|
||||
"x" : 127,
|
||||
"y" : 100,
|
||||
"text" : uiScriptLocale.GUILD_INFO_OFFER_EXP,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "DepositButton",
|
||||
"type" : "button",
|
||||
"x" : 78,
|
||||
"y" : 263,
|
||||
"text" : uiScriptLocale.GUILD_DEPOSIT,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "WithdrawButton",
|
||||
"type" : "button",
|
||||
"x" : 126,
|
||||
"y" : 263,
|
||||
"text" : uiScriptLocale.GUILD_WITHDRAW,
|
||||
"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",
|
||||
},
|
||||
|
||||
###############################################################################################################
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_MARK, },
|
||||
|
||||
## LargeGuildMark
|
||||
{
|
||||
"name" : "LargeGuildMarkSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 5,
|
||||
"y" : 24,
|
||||
"width" : 48+1,
|
||||
"height" : 36+1,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LargeGuildMark",
|
||||
"type" : "mark",
|
||||
"x" : 1,
|
||||
"y" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## UploadButton
|
||||
{
|
||||
"name" : "UploadGuildMarkButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_MARK,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "UploadGuildSymbolButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33 + 23,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_SYMBOL,
|
||||
"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",
|
||||
},
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":85, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD, },
|
||||
|
||||
{
|
||||
"name" : "EnemyGuildSlot1",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*0,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName1", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot2",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*1,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName2", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot3",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*2,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName3", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot4",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*3,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName4", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot5",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*4,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName5", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot6",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*5,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName6", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## CancelButtons
|
||||
{
|
||||
"name" : "EnemyGuildCancel1",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*0,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel2",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*1,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel3",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*2,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel4",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*3,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel5",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*4,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel6",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*5,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"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",
|
||||
},
|
||||
|
||||
## DeclareWar
|
||||
{
|
||||
"name" : "DeclareWarButton",
|
||||
"type" : "button",
|
||||
"x" : 250 + 15,
|
||||
"y" : 264,
|
||||
"text" : uiScriptLocale.GUILD_INFO_DECALRE_WAR,
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,224 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ADD_HEIGHT = 17
|
||||
LOCALE_PATH = uiScriptLocale.WINDOWS_PATH
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_GuildSkillPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## PassiveSkill
|
||||
{
|
||||
"name":"Passive_Skill_Bar",
|
||||
"type":"horizontalbar",
|
||||
"x":0,
|
||||
"y":3 + ADD_HEIGHT,
|
||||
"width":320,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Passive_Skill_Title",
|
||||
"type":"text",
|
||||
"x" : 7,
|
||||
"y" : 2,
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
"text" : uiScriptLocale.GUILD_SKILL_PASSIVE,
|
||||
},
|
||||
{
|
||||
"name":"Passive_Skill_Plus_Label",
|
||||
"type":"image",
|
||||
"x":240,
|
||||
"y":2,
|
||||
"image":LOCALE_PATH+"label_uppt.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"Skill_Plus_Value",
|
||||
"type":"text",
|
||||
"x":61,
|
||||
"y":0,
|
||||
"text":"99",
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
}, ## end of PassiveSkill's horizontal bar
|
||||
|
||||
{
|
||||
"name" : "Passive_Skill_Slot_Table",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 20 + 16,
|
||||
"y" : 6 + 23 + ADD_HEIGHT,
|
||||
|
||||
"start_index" : 200,
|
||||
"x_count" : 9,
|
||||
"y_count" : 1,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## ActiveSkill
|
||||
{
|
||||
"name":"Active_Skill_Bar",
|
||||
"type":"horizontalbar",
|
||||
"x":0,
|
||||
"y":70 + ADD_HEIGHT,
|
||||
"width":320,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Active_Skill_Title",
|
||||
"type":"text",
|
||||
"x" : 7,
|
||||
"y" : 2,
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
"text" : uiScriptLocale.GUILD_SKILL_ACTIVE,
|
||||
},
|
||||
|
||||
),
|
||||
}, ## end of PassiveSkill's horizontal bar
|
||||
|
||||
{
|
||||
"name" : "Active_Skill_Slot_Table",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 20 + 16,
|
||||
"y" : 73 + 23 + ADD_HEIGHT,
|
||||
|
||||
"start_index" : 210,
|
||||
"x_count" : 9,
|
||||
"y_count" : 1,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## Affect
|
||||
{
|
||||
"name":"Affect_Bar",
|
||||
"type":"horizontalbar",
|
||||
"x":0,
|
||||
"y":137 + ADD_HEIGHT,
|
||||
"width":320,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Affect_Title",
|
||||
"type":"text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : uiScriptLocale.GUILD_SKILL_STATE,
|
||||
},
|
||||
|
||||
),
|
||||
}, ## end of AffectedSkill's horizontal bar
|
||||
|
||||
{
|
||||
"name" : "Affect_Slot_Table",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 20 + 16,
|
||||
"y" : 137 + 30 + ADD_HEIGHT,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 9,
|
||||
"y_count" : 2,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
###########################################################################################
|
||||
|
||||
{
|
||||
"name":"Dragon_God_Power_Title",
|
||||
"type":"text",
|
||||
"x" : 20,
|
||||
"y" : 243 + ADD_HEIGHT + 5,
|
||||
"text" : uiScriptLocale.GUILD_SKILL_POWER,
|
||||
},
|
||||
{
|
||||
"name":"Dragon_God_Power_Gauge_Slot",
|
||||
"type":"image",
|
||||
"x" : 65,
|
||||
"y" : 243 + ADD_HEIGHT + 5,
|
||||
"image" : "d:/ymir work/ui/game/guild/gauge.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Dragon_God_Power_Gauge",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 69,
|
||||
"y" : 243 + ADD_HEIGHT + 5,
|
||||
|
||||
"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" : "Dragon_God_Power_Slot",
|
||||
"type" : "image",
|
||||
"x" : 255,
|
||||
"y" : 241 + ADD_HEIGHT - 4,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Dragon_God_Power_Value",
|
||||
"type":"text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : "3000 / 3000",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
## OfferButton
|
||||
{
|
||||
"name" : "Heal_GSP_Button",
|
||||
"type" : "button",
|
||||
"x" : 257,
|
||||
"y" : 241 + ADD_HEIGHT + 17,
|
||||
"text" : uiScriptLocale.GUILD_SKIlL_HEAL_GSP,
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_MemberPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## ScrollBar
|
||||
{
|
||||
"name" : "ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 341,
|
||||
"y" : 20,
|
||||
"scrollbar_type" : "normal",
|
||||
"size" : 270,
|
||||
},
|
||||
|
||||
## Grade
|
||||
{
|
||||
"name" : "IndexName", "type" : "text", "x" : 43, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "IndexGrade", "type" : "text", "x" : 119, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_RANK,
|
||||
},
|
||||
{
|
||||
"name" : "IndexJob", "type" : "text", "x" : 177, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_JOB,
|
||||
},
|
||||
{
|
||||
"name" : "IndexLevel", "type" : "text", "x" : 217, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_LEVEL,
|
||||
},
|
||||
{
|
||||
"name" : "IndexOffer", "type" : "text", "x" : 251, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_SPECIFIC_GRAVITY,
|
||||
},
|
||||
{
|
||||
"name" : "IndexGeneral", "type" : "text", "x" : 304, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_KNIGHT,
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,277 @@
|
||||
import uiScriptLocale
|
||||
|
||||
HELP_STICK_IMAGE_FILE_NAME = "d:/ymir work/ui/pattern/help_stick.tga"
|
||||
|
||||
START_HEIGHT = 50
|
||||
HEIGHT_STEP = 20
|
||||
|
||||
window = {
|
||||
"name" : "HelpWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Float Text
|
||||
{
|
||||
"name" : "help_01", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*0) / 600,
|
||||
"text" : uiScriptLocale.HELP_MOVE_KEY,
|
||||
},
|
||||
{
|
||||
"name" : "help_02", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*1) / 600,
|
||||
"text" : uiScriptLocale.HELP_CONTROL_CAMERA_BY_RIGHTBUTTON,
|
||||
},
|
||||
{
|
||||
"name" : "help_02", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*2) / 600,
|
||||
"text" : uiScriptLocale.HELP_CONTROL_CAMERA_BY_MIDDLEBUTTON,
|
||||
},
|
||||
{
|
||||
"name" : "help_03", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*3) / 600,
|
||||
"text" : uiScriptLocale.HELP_SHOW_ALL_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "help_04", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*4) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "help_05", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*5) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_WHISPER,
|
||||
},
|
||||
{
|
||||
"name" : "help_06", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*6) / 600,
|
||||
"text" : uiScriptLocale.HELP_ATTACK_KEY,
|
||||
},
|
||||
{
|
||||
"name" : "help_07", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*7) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_CHARACTER,
|
||||
},
|
||||
{
|
||||
"name" : "help_08", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*8) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_SKILL,
|
||||
},
|
||||
{
|
||||
"name" : "help_09", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*9) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_QUEST,
|
||||
},
|
||||
{
|
||||
"name" : "help_10", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*10) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_INVENTORY,
|
||||
},
|
||||
{
|
||||
"name" : "help_11", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*11) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_LOG,
|
||||
},
|
||||
{
|
||||
"name" : "help_12", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*12) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_ZONEMAP,
|
||||
},
|
||||
{
|
||||
"name" : "help_13", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*13) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_MINIMAP,
|
||||
},
|
||||
{
|
||||
"name" : "help_14", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*14) / 600,
|
||||
"text" : uiScriptLocale.HELP_CHANGE_PK_MODE,
|
||||
},
|
||||
{
|
||||
"name" : "help_15", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*15) / 600,
|
||||
"text" : uiScriptLocale.HELP_PICK_ITEM,
|
||||
},
|
||||
{
|
||||
"name" : "help_16", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*16) / 600,
|
||||
"text" : uiScriptLocale.HELP_SCREEN_CAPTURE,
|
||||
},
|
||||
{
|
||||
"name" : "help_17", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*17) / 600,
|
||||
"text" : uiScriptLocale.HELP_GUILD_WINDOW,
|
||||
},
|
||||
{
|
||||
"name" : "help_18", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*18) / 600,
|
||||
"text" : uiScriptLocale.HELP_MESSENGER_WINDOW,
|
||||
},
|
||||
{
|
||||
"name" : "help_19", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*19) / 600,
|
||||
"text" : uiScriptLocale.HELP_HELP,
|
||||
},
|
||||
|
||||
## TaskBar
|
||||
{
|
||||
"name" : "taskbar_help_stick_01", "type" : "expanded_image",
|
||||
"x" : 22, "y" : SCREEN_HEIGHT - 120,
|
||||
"rect" : (0.0, 0.0, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_01", "type" : "text",
|
||||
"x" : -20, "y" : -20,
|
||||
"text" : uiScriptLocale.HELP_FURY,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_02", "type" : "expanded_image",
|
||||
"x" : 80, "y" : SCREEN_HEIGHT - 122,
|
||||
"rect" : (0.0, -0.3, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_02", "type" : "text",
|
||||
"x" : 4, "y" : 12,
|
||||
"text" : uiScriptLocale.HELP_HP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_03", "type" : "expanded_image",
|
||||
"x" : 120, "y" : SCREEN_HEIGHT - 107,
|
||||
"rect" : (0.0, -0.4, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_03", "type" : "text",
|
||||
"x" : 4, "y" : 23,
|
||||
"text" : uiScriptLocale.HELP_SP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_04", "type" : "expanded_image",
|
||||
"x" : 206, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.7, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_04", "type" : "text",
|
||||
"x" : 4, "y" : 51,
|
||||
"text" : uiScriptLocale.HELP_EXP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_05", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 - 128 + 12, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.5, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_05", "type" : "text",
|
||||
"x" : 4, "y" : 32,
|
||||
"text" : uiScriptLocale.HELP_MOUSE_LEFT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_06", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 + 128 + 66 + 12, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.5, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_06", "type" : "text",
|
||||
"x" : 4, "y" : 32,
|
||||
"text" : uiScriptLocale.HELP_MOUSE_RIGHT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_07", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH * (400 - 4) / 800, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.7, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_07", "type" : "text",
|
||||
"x" : 4, "y" : 51,
|
||||
"text" : uiScriptLocale.HELP_QUICKSLOT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_08", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH - 77 - 4, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.28, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_08a", "type" : "text",
|
||||
"x" : 4, "y" : -20,
|
||||
"text" : uiScriptLocale.HELP_SYSTEM_BUTTON,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_08b", "type" : "text",
|
||||
"x" : 4, "y" : -5,
|
||||
"text" : uiScriptLocale.HELP_CHARACTER_BUTTON1,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_08c", "type" : "text",
|
||||
"x" : 4, "y" : 10,
|
||||
"text" : uiScriptLocale.HELP_CHARACTER_BUTTON2,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "close_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (55) / 800,
|
||||
"y" : SCREEN_HEIGHT * (55) / 600,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,342 @@
|
||||
import uiScriptLocale
|
||||
|
||||
HELP_STICK_IMAGE_FILE_NAME = "d:/ymir work/ui/pattern/help_stick.tga"
|
||||
|
||||
START_HEIGHT = 50
|
||||
HEIGHT_STEP = 20
|
||||
|
||||
window = {
|
||||
"name" : "HelpWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Float Text
|
||||
{
|
||||
"name" : "page_1",
|
||||
"type" : "window",
|
||||
|
||||
"x" : SCREEN_WIDTH * 150 / 800,
|
||||
"y" : SCREEN_HEIGHT * START_HEIGHT / 600,
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "help_01", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*0,
|
||||
"text" : uiScriptLocale.HELP_MOVE_KEY,
|
||||
},
|
||||
{
|
||||
"name" : "help_02", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*1,
|
||||
"text" : uiScriptLocale.HELP_CONTROL_CAMERA_BY_RIGHTBUTTON,
|
||||
},
|
||||
{
|
||||
"name" : "help_02", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*2,
|
||||
"text" : uiScriptLocale.HELP_CONTROL_CAMERA_BY_MIDDLEBUTTON,
|
||||
},
|
||||
{
|
||||
"name" : "help_03", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*3,
|
||||
"text" : uiScriptLocale.HELP_SHOW_ALL_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "help_04", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*4,
|
||||
"text" : uiScriptLocale.HELP_OPEN_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "help_05", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*5,
|
||||
"text" : uiScriptLocale.HELP_OPEN_WHISPER,
|
||||
},
|
||||
{
|
||||
"name" : "help_06", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*6,
|
||||
"text" : uiScriptLocale.HELP_ATTACK_KEY,
|
||||
},
|
||||
{
|
||||
"name" : "help_07", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*7,
|
||||
"text" : uiScriptLocale.HELP_OPEN_CHARACTER,
|
||||
},
|
||||
{
|
||||
"name" : "help_08", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*8,
|
||||
"text" : uiScriptLocale.HELP_OPEN_SKILL,
|
||||
},
|
||||
{
|
||||
"name" : "help_09", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*9,
|
||||
"text" : uiScriptLocale.HELP_OPEN_QUEST,
|
||||
},
|
||||
{
|
||||
"name" : "help_10", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*10,
|
||||
"text" : uiScriptLocale.HELP_OPEN_INVENTORY,
|
||||
},
|
||||
{
|
||||
"name" : "help_11", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*11,
|
||||
"text" : uiScriptLocale.HELP_OPEN_LOG,
|
||||
},
|
||||
{
|
||||
"name" : "help_12", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*12,
|
||||
"text" : uiScriptLocale.HELP_OPEN_ZONEMAP,
|
||||
},
|
||||
{
|
||||
"name" : "help_13", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*13,
|
||||
"text" : uiScriptLocale.HELP_OPEN_MINIMAP,
|
||||
},
|
||||
{
|
||||
"name" : "help_14", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*14,
|
||||
"text" : uiScriptLocale.HELP_CHANGE_PK_MODE,
|
||||
},
|
||||
{
|
||||
"name" : "help_15", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*15,
|
||||
"text" : uiScriptLocale.HELP_PICK_ITEM,
|
||||
},
|
||||
{
|
||||
"name" : "help_16", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*16,
|
||||
"text" : uiScriptLocale.HELP_SCREEN_CAPTURE,
|
||||
},
|
||||
{
|
||||
"name" : "help_17", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*17,
|
||||
"text" : uiScriptLocale.HELP_GUILD_WINDOW,
|
||||
},
|
||||
{
|
||||
"name" : "help_18", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*18,
|
||||
"text" : uiScriptLocale.HELP_MESSENGER_WINDOW,
|
||||
},
|
||||
{
|
||||
"name" : "help_19", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*19,
|
||||
"text" : uiScriptLocale.HELP_HELP,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "page_2",
|
||||
"type" : "window",
|
||||
|
||||
"x" : SCREEN_WIDTH * 150 / 800,
|
||||
"y" : SCREEN_HEIGHT * START_HEIGHT / 600,
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "help_02_01", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : SCREEN_HEIGHT * HEIGHT_STEP*0,
|
||||
"text" : "- 가나다라마바사 01",
|
||||
},
|
||||
{
|
||||
"name" : "help_02_02", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*1,
|
||||
"text" : "- 가나다라마바사 02",
|
||||
},
|
||||
|
||||
## 이 밑으로 텍스트를 추가 하시면 됩니다.
|
||||
),
|
||||
},
|
||||
|
||||
## TaskBar
|
||||
{
|
||||
"name" : "taskbar_help_stick_01", "type" : "expanded_image",
|
||||
"x" : 22, "y" : SCREEN_HEIGHT - 120,
|
||||
"rect" : (0.0, 0.0, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_01", "type" : "text",
|
||||
"x" : -20, "y" : -20,
|
||||
"text" : uiScriptLocale.HELP_FURY,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_02", "type" : "expanded_image",
|
||||
"x" : 80, "y" : SCREEN_HEIGHT - 122,
|
||||
"rect" : (0.0, -0.3, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_02", "type" : "text",
|
||||
"x" : 4, "y" : 12,
|
||||
"text" : uiScriptLocale.HELP_HP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_03", "type" : "expanded_image",
|
||||
"x" : 120, "y" : SCREEN_HEIGHT - 107,
|
||||
"rect" : (0.0, -0.4, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_03", "type" : "text",
|
||||
"x" : 4, "y" : 23,
|
||||
"text" : uiScriptLocale.HELP_SP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_04", "type" : "expanded_image",
|
||||
"x" : 206, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.7, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_04", "type" : "text",
|
||||
"x" : 4, "y" : 51,
|
||||
"text" : uiScriptLocale.HELP_EXP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_05", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 - 128 + 12, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.5, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_05", "type" : "text",
|
||||
"x" : 4, "y" : 32,
|
||||
"text" : uiScriptLocale.HELP_MOUSE_LEFT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_06", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 + 128 + 66 + 12, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.5, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_06", "type" : "text",
|
||||
"x" : 4, "y" : 32,
|
||||
"text" : uiScriptLocale.HELP_MOUSE_RIGHT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_07", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH * (400 - 4) / 800, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.7, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_07", "type" : "text",
|
||||
"x" : 4, "y" : 51,
|
||||
"text" : uiScriptLocale.HELP_QUICKSLOT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_08", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH - 77 - 4, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.28, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_08a", "type" : "text",
|
||||
"x" : 4, "y" : -20,
|
||||
"text" : uiScriptLocale.HELP_SYSTEM_BUTTON,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_08b", "type" : "text",
|
||||
"x" : 4, "y" : -5,
|
||||
"text" : uiScriptLocale.HELP_CHARACTER_BUTTON1,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_08c", "type" : "text",
|
||||
"x" : 4, "y" : 10,
|
||||
"text" : uiScriptLocale.HELP_CHARACTER_BUTTON2,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "page_1_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (55) / 800,
|
||||
"y" : SCREEN_HEIGHT * (50) / 600,
|
||||
|
||||
"text" : "1 Page",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "page_2_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (55) / 800,
|
||||
"y" : SCREEN_HEIGHT * (35 + 50) / 600,
|
||||
|
||||
"text" : "2 Page",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "close_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (55) / 800,
|
||||
"y" : SCREEN_HEIGHT * (100 + 50) / 600,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
ROOT = "d:/ymir work/ui/game/"
|
||||
|
||||
window = {
|
||||
"name" : "IME",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 300,
|
||||
|
||||
"width" : 155,
|
||||
"height" : 25,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "Base_Board_01",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/HorizontalCandidateBoard.sub"
|
||||
},
|
||||
{
|
||||
"name" : "CandidateList",
|
||||
"type" : "candidate_list",
|
||||
|
||||
"x" : 5 + 2,
|
||||
"y" : 10,
|
||||
|
||||
"item_xsize" : 16,
|
||||
"item_ysize" : 16,
|
||||
|
||||
"item_step" : 16,
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"title" : "",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
#"type" : "image",
|
||||
#"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 58,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 58,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog_WithDescription",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 106,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 106,
|
||||
|
||||
"title" : "",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Text
|
||||
{
|
||||
"name" : "Description",
|
||||
"type" : "text",
|
||||
"text" : "",
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
},
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 51,
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 74,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 74,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
import uiScriptLocale
|
||||
|
||||
TEMPORARY_HEIGHT = 16
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog_WithDescription",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 106 + TEMPORARY_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 106 + TEMPORARY_HEIGHT,
|
||||
|
||||
"title" : "",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Text
|
||||
{
|
||||
"name" : "Description1",
|
||||
"type" : "text",
|
||||
"text" : "",
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
},
|
||||
{
|
||||
"name" : "Description2",
|
||||
"type" : "text",
|
||||
"text" : "",
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 34 + TEMPORARY_HEIGHT,
|
||||
},
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 51 + TEMPORARY_HEIGHT,
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 74 + TEMPORARY_HEIGHT,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 74 + TEMPORARY_HEIGHT,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,261 @@
|
||||
import uiScriptLocale
|
||||
|
||||
EQUIPMENT_START_INDEX = 90
|
||||
|
||||
window = {
|
||||
"name" : "InventoryWindow",
|
||||
|
||||
## 600 - (width + ¿À¸¥ÂÊÀ¸·Î ºÎÅÍ ¶ç¿ì±â 24 px)
|
||||
"x" : SCREEN_WIDTH - 176 - 200,
|
||||
"y" : SCREEN_HEIGHT - 37 - 565,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 176,
|
||||
"height" : 565,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 176,
|
||||
"height" : 565,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 161,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Equipment Slot
|
||||
{
|
||||
"name" : "Equipment_Base",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/equipment_base.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "EquipmentSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 150,
|
||||
"height" : 182,
|
||||
|
||||
"slot" : (
|
||||
{"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
|
||||
{"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
|
||||
{"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+10, "x":75, "y":35, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Equipment_Tab_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 86,
|
||||
"y" : 161,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Equipment_Tab_01_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "I",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Equipment_Tab_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 86 + 32,
|
||||
"y" : 161,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Equipment_Tab_02_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "II",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Inventory_Tab_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 33 + 191,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_01_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "I",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 10 + 78,
|
||||
"y" : 33 + 191,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_02_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "II",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Item Slot
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 246,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 5,
|
||||
"y_count" : 9,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## Print
|
||||
{
|
||||
"name":"Money_Slot",
|
||||
"type":"button",
|
||||
|
||||
"x":8,
|
||||
"y":28,
|
||||
|
||||
"horizontal_align":"center",
|
||||
"vertical_align":"bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"Money_Icon",
|
||||
"type":"image",
|
||||
|
||||
"x":-18,
|
||||
"y":20,
|
||||
|
||||
"image":"d:/ymir work/ui/game/windows/money_icon.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Money",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"horizontal_align" : "right",
|
||||
"text_horizontal_align" : "right",
|
||||
|
||||
"text" : "123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "LoginWindow",
|
||||
"sytle" : ("movable",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/Line_Pattern.tga",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
},
|
||||
{
|
||||
"name":"ErrorMessage",
|
||||
"type":"text", "x":10, "y":10,
|
||||
"text": uiScriptLocale.LOAD_ERROR,
|
||||
},
|
||||
{
|
||||
"name" : "GageBoard",
|
||||
"type" : "window",
|
||||
"x" : float(SCREEN_WIDTH) * 400 / 800.0 - 200,
|
||||
"y" : float(SCREEN_HEIGHT) * 500 / 600.0 ,
|
||||
"width" : 400,
|
||||
"height": 80,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "BackGage",
|
||||
"type" : "ani_image",
|
||||
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"delay" : 1,
|
||||
|
||||
"images" :
|
||||
(
|
||||
"d:/ymir work/ui/intro/loading/00.sub",
|
||||
"d:/ymir work/ui/intro/loading/01.sub",
|
||||
"d:/ymir work/ui/intro/loading/02.sub",
|
||||
"d:/ymir work/ui/intro/loading/03.sub",
|
||||
"d:/ymir work/ui/intro/loading/04.sub",
|
||||
"d:/ymir work/ui/intro/loading/05.sub",
|
||||
"d:/ymir work/ui/intro/loading/06.sub",
|
||||
"d:/ymir work/ui/intro/loading/07.sub",
|
||||
"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/12.sub",
|
||||
"d:/ymir work/ui/intro/loading/13.sub",
|
||||
"d:/ymir work/ui/intro/loading/14.sub",
|
||||
"d:/ymir work/ui/intro/loading/15.sub",
|
||||
"d:/ymir work/ui/intro/loading/16.sub",
|
||||
"d:/ymir work/ui/intro/loading/17.sub",
|
||||
"d:/ymir work/ui/intro/loading/18.sub",
|
||||
"d:/ymir work/ui/intro/loading/19.sub",
|
||||
"d:/ymir work/ui/intro/loading/20.sub",
|
||||
"d:/ymir work/ui/intro/loading/21.sub",
|
||||
"d:/ymir work/ui/intro/loading/22.sub",
|
||||
"d:/ymir work/ui/intro/loading/23.sub",
|
||||
)
|
||||
},
|
||||
{
|
||||
"name" : "BackGage",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 25,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/loading/gauge_empty.sub",
|
||||
},
|
||||
{
|
||||
"name" : "FullGage",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 25,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/loading/gauge_full.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "SafeboxWindow",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 20,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 176,
|
||||
"height" : 327,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 176,
|
||||
"height" : 327,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 161,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.MALL_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "ExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 37,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "MarkListWindow",
|
||||
|
||||
"x" : SCREEN_WIDTH - 170,
|
||||
"y" : SCREEN_HEIGHT - 400 - 50,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
"title" : uiScriptLocale.MARKLIST_TITLE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 27,
|
||||
"y" : 40,
|
||||
"size" : 220,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ok",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "cancel",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 60,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 41,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "refresh",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 115,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 41,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.MARKLIST_REFRESH,
|
||||
|
||||
"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",
|
||||
},
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
import uiScriptLocale
|
||||
|
||||
BUTTON_START_X_POS = -60
|
||||
BUTTON_X_STEP = 30
|
||||
|
||||
window = {
|
||||
"name" : "MessengerWindow",
|
||||
|
||||
"x" : SCREEN_WIDTH - 200,
|
||||
"y" : SCREEN_HEIGHT - 400 - 50,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
"title" : uiScriptLocale.MESSENGER_TITLE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 27,
|
||||
"y" : 40,
|
||||
"size" : 100,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "AddFriendButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*0,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_ADD_FRIEND,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_add_friend_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_add_friend_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_add_friend_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_add_friend_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "WhisperButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*1,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_WHISPER,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_whisper_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_whisper_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_whisper_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_whisper_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "MobileButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*2,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_MOBILE,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_mobile_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_mobile_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_mobile_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_mobile_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "RemoveButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*3,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_DELETE_FRIEND,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_delete_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_delete_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_delete_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_delete_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "GuildButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*4,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_OPEN_GUILD,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_guild_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_guild_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_guild_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_guild_04.sub",
|
||||
},
|
||||
|
||||
), ## end of main window
|
||||
}
|
||||
@@ -0,0 +1,164 @@
|
||||
ROOT = "d:/ymir work/ui/minimap/"
|
||||
|
||||
window = {
|
||||
"name" : "MiniMap",
|
||||
|
||||
"x" : SCREEN_WIDTH - 136,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 136,
|
||||
"height" : 137,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## OpenWindow
|
||||
{
|
||||
"name" : "OpenWindow",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 136,
|
||||
"height" : 137,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "OpenWindowBGI",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"image" : ROOT + "minimap.sub",
|
||||
},
|
||||
## MiniMapWindow
|
||||
{
|
||||
"name" : "MiniMapWindow",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 4,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
},
|
||||
## ScaleUpButton
|
||||
{
|
||||
"name" : "ScaleUpButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 101,
|
||||
"y" : 116,
|
||||
|
||||
"default_image" : ROOT + "minimap_scaleup_default.sub",
|
||||
"over_image" : ROOT + "minimap_scaleup_over.sub",
|
||||
"down_image" : ROOT + "minimap_scaleup_down.sub",
|
||||
},
|
||||
## ScaleDownButton
|
||||
{
|
||||
"name" : "ScaleDownButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 115,
|
||||
"y" : 103,
|
||||
|
||||
"default_image" : ROOT + "minimap_scaledown_default.sub",
|
||||
"over_image" : ROOT + "minimap_scaledown_over.sub",
|
||||
"down_image" : ROOT + "minimap_scaledown_down.sub",
|
||||
},
|
||||
## MiniMapHideButton
|
||||
{
|
||||
"name" : "MiniMapHideButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 111,
|
||||
"y" : 6,
|
||||
|
||||
"default_image" : ROOT + "minimap_close_default.sub",
|
||||
"over_image" : ROOT + "minimap_close_over.sub",
|
||||
"down_image" : ROOT + "minimap_close_down.sub",
|
||||
},
|
||||
## AtlasShowButton
|
||||
{
|
||||
"name" : "AtlasShowButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 12,
|
||||
"y" : 12,
|
||||
|
||||
"default_image" : ROOT + "atlas_open_default.sub",
|
||||
"over_image" : ROOT + "atlas_open_over.sub",
|
||||
"down_image" : ROOT + "atlas_open_down.sub",
|
||||
},
|
||||
## ServerInfo
|
||||
{
|
||||
"name" : "ServerInfo",
|
||||
"type" : "text",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"outline" : 1,
|
||||
|
||||
"x" : 70,
|
||||
"y" : 140,
|
||||
|
||||
"text" : "",
|
||||
},
|
||||
## PositionInfo
|
||||
{
|
||||
"name" : "PositionInfo",
|
||||
"type" : "text",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"outline" : 1,
|
||||
|
||||
"x" : 70,
|
||||
"y" : 160,
|
||||
|
||||
"text" : "",
|
||||
},
|
||||
## ObserverCount
|
||||
{
|
||||
"name" : "ObserverCount",
|
||||
"type" : "text",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"outline" : 1,
|
||||
|
||||
"x" : 70,
|
||||
"y" : 180,
|
||||
|
||||
"text" : "",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "CloseWindow",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 132,
|
||||
"height" : 48,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## ShowButton
|
||||
{
|
||||
"name" : "MiniMapShowButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 4,
|
||||
|
||||
"default_image" : ROOT + "minimap_open_default.sub",
|
||||
"over_image" : ROOT + "minimap_open_default.sub",
|
||||
"down_image" : ROOT + "minimap_open_default.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 200,
|
||||
"height" : 110,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 110,
|
||||
|
||||
"title" : "",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "MoneyValue",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 59,
|
||||
"text" : "999999999",
|
||||
"text_horizontal_align" : "center",
|
||||
"horizontal_align" : "center",
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 78,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 78,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/game/taskbar/"
|
||||
|
||||
window = {
|
||||
"name" : "ButtonWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 32,
|
||||
"height" : 32 * 3,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "button_move_and_attack",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_ATTACK,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Attack_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Attack_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Attack_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "button_auto_attack",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 32,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_AUTO_ATTACK,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Auto_Attack_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Auto_Attack_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Auto_Attack_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "button_camera",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 64,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_CAMERA,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Camera_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Camera_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Camera_03.sub",
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "MusicListWindow",
|
||||
|
||||
"x" : SCREEN_WIDTH - 170,
|
||||
"y" : SCREEN_HEIGHT - 400 - 50,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
"title" : uiScriptLocale.MUSICLIST_TITLE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 27,
|
||||
"y" : 40,
|
||||
"size" : 220,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ok",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "cancel",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 60,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 41,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "refresh",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 115,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 41,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.MARKLIST_REFRESH,
|
||||
|
||||
"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",
|
||||
},
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/public/"
|
||||
|
||||
window = {
|
||||
"name" : "PartyMemeberInfoBoard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 106,
|
||||
"height" : 36,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "StateButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/party_state_normal_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/party_state_normal_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/party_state_normal_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "NameSlot",
|
||||
"type" : "bar",
|
||||
"style" : ("not_pick",),
|
||||
|
||||
"x" : 22,
|
||||
"y" : 0,
|
||||
"width" : 84,
|
||||
"height" : 17,
|
||||
"color" : 0x99000000,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "NamePrint",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 2,
|
||||
|
||||
"text" : uiScriptLocale.PARTY_MEMBER_INFO_NAME,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Gauge",
|
||||
"type" : "gauge",
|
||||
"style" : ("not_pick",),
|
||||
|
||||
"x" : 22,
|
||||
"y" : 17,
|
||||
"width" : 84,
|
||||
"color" : "red",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ExperienceImage",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 22,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_experience.sub",
|
||||
},
|
||||
{
|
||||
"name" : "AttackerImage",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 34,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_attackgrade.sub",
|
||||
},
|
||||
{
|
||||
"name" : "DefenderImage",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 46,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_defencegrade.sub",
|
||||
},
|
||||
{
|
||||
"name" : "BufferImage",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 34,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_attackgrade.sub",
|
||||
},
|
||||
{
|
||||
"name" : "SkillMasterImage",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 46,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_attackgrade.sub",
|
||||
},
|
||||
{
|
||||
"name" : "TimeBonusImage",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 58,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_timebonus.sub",
|
||||
},
|
||||
{
|
||||
"name" : "RegenBonus",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_regenbonus.sub",
|
||||
},
|
||||
{
|
||||
"name" : "IncreaseArea150",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 82,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_increasearea_150.sub",
|
||||
},
|
||||
{
|
||||
"name" : "IncreaseArea200",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 94,
|
||||
"y" : 24,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/party_affect_increasearea_200.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "PasswordDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 154,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TitleName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 154/2,
|
||||
"y" : 3,
|
||||
|
||||
"text" : uiScriptLocale.PASSWORD_TITLE,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Password Slot
|
||||
{
|
||||
"name" : "password_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "password_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 6,
|
||||
"secret_flag" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "accept_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 170/2 - 61 - 5,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 170/2 + 5,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "PickMoneyDialog",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 100,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
"title" : uiScriptLocale.PICK_MONEY_TITLE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Money Slot
|
||||
{
|
||||
"name" : "money_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 20,
|
||||
"y" : 34,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "money_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 6,
|
||||
"only_number" : 1,
|
||||
|
||||
"text" : "1",
|
||||
},
|
||||
{
|
||||
"name" : "max_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 63,
|
||||
"y" : 3,
|
||||
|
||||
"text" : "/ 999999",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "accept_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 170/2 - 61 - 5,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 170/2 + 5,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "PopupDialog",
|
||||
"style" : ("float",),
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 250,
|
||||
"y" : SCREEN_HEIGHT/2 - 40,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 105,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 105,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "message",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 38,
|
||||
|
||||
"text" : uiScriptLocale.MESSAGE,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "accept",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 63,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "PrivateShopBuilder",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 184,
|
||||
"height" : 328 + 26,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 184,
|
||||
"height" : 328 + 26,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 169,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":84, "y":4, "text":uiScriptLocale.PRIVATE_SHOP_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Name_Static
|
||||
#{
|
||||
# "name" : "Name_Static", "type" : "text", "x" : 15, "y" : 35 + 3, "text" : uiScriptLocale.PRIVATE_SHOP_NAME,
|
||||
#},
|
||||
## Name
|
||||
{
|
||||
"name" : "NameSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 13,
|
||||
"y" : 35,
|
||||
"width" : 90 + 67,
|
||||
"height" : 18,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "NameLine",
|
||||
"type" : "text",
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
"width" : 157,
|
||||
"height" : 15,
|
||||
"input_limit" : 25,
|
||||
"text" : "1234567890123456789012345",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Item Slot
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 12,
|
||||
"y" : 34 + 26,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 5,
|
||||
"y_count" : 8,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub",
|
||||
},
|
||||
|
||||
## Ok
|
||||
{
|
||||
"name" : "OkButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 295 + 26,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Close
|
||||
{
|
||||
"name" : "CloseButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 104,
|
||||
"y" : 295 + 26,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
ROOT = "d:/ymir work/ui/public/"
|
||||
|
||||
window = {
|
||||
"name" : "QuestDialog",
|
||||
"style" : ("float",),#"movable",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 800,
|
||||
"height" : 450,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "thinboard",
|
||||
"style" : ("attach", "ignore_size",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"width" : 350,
|
||||
"height" : 300,
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "QuestionDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 125,
|
||||
"y" : SCREEN_HEIGHT/2 - 52,
|
||||
|
||||
"width" : 340,
|
||||
"height" : 105,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 340,
|
||||
"height" : 105,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "message",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 38,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.MESSAGE,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "accept",
|
||||
"type" : "button",
|
||||
|
||||
"x" : -40,
|
||||
"y" : 63,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.YES,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 40,
|
||||
"y" : 63,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.NO,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "QuestionDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 125,
|
||||
"y" : SCREEN_HEIGHT/2 - 52,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 105,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 105,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "message1",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 25,
|
||||
|
||||
"text" : uiScriptLocale.MESSAGE,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "message2",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 50,
|
||||
|
||||
"text" : uiScriptLocale.MESSAGE,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "accept",
|
||||
"type" : "button",
|
||||
|
||||
"x" : -40,
|
||||
"y" : 68,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.YES,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel",
|
||||
"type" : "button",
|
||||
|
||||
"x" : +40,
|
||||
"y" : 68,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.NO,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "RefineDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : SCREEN_WIDTH - 400,
|
||||
"y" : 70 * 800 / SCREEN_HEIGHT,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 0,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TitleName",
|
||||
"type" : "text",
|
||||
"text" : uiScriptLocale.REFINE_TTILE,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 3,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "SuccessPercentage",
|
||||
"type" : "text",
|
||||
"text" : uiScriptLocale.REFINE_INFO,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 70,
|
||||
},
|
||||
{
|
||||
"name" : "Cost",
|
||||
"type" : "text",
|
||||
"text" : uiScriptLocale.REFINE_COST,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 54,
|
||||
},
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : -35,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/Middle_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/Middle_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 35,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/Middle_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/Middle_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/Middle_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/public/"
|
||||
|
||||
window = {
|
||||
"name" : "RestartDialog",
|
||||
"style" : ("float",),
|
||||
|
||||
"x" : 50,
|
||||
"y" : 50,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 88,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 88,
|
||||
|
||||
"r" : 0.3333,
|
||||
"g" : 0.2941,
|
||||
"b" : 0.2588,
|
||||
"a" : 1.0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "restart_here_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 17,
|
||||
|
||||
"text" : uiScriptLocale.RESTART_HERE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "restart_town_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 47,
|
||||
|
||||
"text" : uiScriptLocale.RESTART_TOWN,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/game/taskbar/"
|
||||
|
||||
window = {
|
||||
"name" : "RightButtonWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 32 * 2,
|
||||
"height" : 32,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "button_move_and_attack",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_ATTACK,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Attack_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Attack_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Attack_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "button_camera",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 32,
|
||||
"y" : 0,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_CAMERA,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Camera_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Camera_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Camera_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "button_skill",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 64,
|
||||
"y" : 0,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_SKILL,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Skill_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Skill_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Skill_03.sub",
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "SafeboxWindow",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 20,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 176,
|
||||
"height" : 250,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 176,
|
||||
"height" : 250,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 161,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.SAFE_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "ChangePasswordButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.SAFE_CHANGE_PASSWORD,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "ExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 37,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,580 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = uiScriptLocale.SELECT_PATH
|
||||
|
||||
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" : "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),
|
||||
},
|
||||
|
||||
## 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",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 363 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "EmpireNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 12,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "EmpireName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EMPIRE_NAME,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NO_GUILD,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 124 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_level",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 50 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_LEVEL,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_level_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_level_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 76 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_PLAYTIME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_play_time_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 83,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 83 + 91/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_hth",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 102 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_HP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_hth",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 128 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_int",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 154 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_ATT_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_str",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : 17,
|
||||
"y" : 180 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DEX_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_dex",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"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" : "start_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SELECT,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_CREATE,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "delete_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DELETE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (450) / 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",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (580) / 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",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,362 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = uiScriptLocale.EMPIRE_PATH
|
||||
|
||||
ATALS_X = SCREEN_WIDTH * (282) / 800
|
||||
ATALS_Y = SCREEN_HEIGHT * (170) / 600
|
||||
|
||||
window = {
|
||||
"name" : "SelectCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"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),
|
||||
},
|
||||
|
||||
## 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),
|
||||
},
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "Title",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : SCREEN_WIDTH * (410 - 346/2) / 800,
|
||||
"y" : SCREEN_HEIGHT * (114 - 136/2) / 600,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : LOCALE_PATH+"title.sub"
|
||||
},
|
||||
|
||||
## Atlas
|
||||
{
|
||||
"name" : "Atlas",
|
||||
"type" : "image",
|
||||
|
||||
"x" : ATALS_X,
|
||||
"y" : ATALS_Y,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/atlas.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Image
|
||||
{
|
||||
"name" : "EmpireArea_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 201,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 16,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 314,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_c.sub"
|
||||
},
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireAreaFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 167,
|
||||
"y" : 235,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 357,
|
||||
"y" : 78,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_c.sub"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : ATALS_X + 160,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"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" : ATALS_X + 160 + 130,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "empire_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH * (40) / 800,
|
||||
"y" : SCREEN_HEIGHT * (211) / 600,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 314,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Bar
|
||||
{
|
||||
"name" : "flag_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 24,
|
||||
"y" : 17,
|
||||
"width" : 159,
|
||||
"height" : 119,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 146,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 122,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 95,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_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_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 140,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_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,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "select_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_SELECT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "SelectItemWindow",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 20,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 184,
|
||||
"height" : 332,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 184,
|
||||
"height" : 332,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 169,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.SELECT_METIN_STONE_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Item Slot
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 12,
|
||||
"y" : 34,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 5,
|
||||
"y_count" : 8,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub",
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "ExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,199 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "ShopDialog",
|
||||
|
||||
"x" : SCREEN_WIDTH - 400,
|
||||
"y" : 10,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 184,
|
||||
"height" : 328,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 184,
|
||||
"height" : 328,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 169,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":84, "y":4, "text":uiScriptLocale.SHOP_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Item Slot
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 12,
|
||||
"y" : 34,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 5,
|
||||
"y_count" : 8,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub",
|
||||
},
|
||||
|
||||
## Buy
|
||||
{
|
||||
"name" : "BuyButton",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 295,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.SHOP_BUY,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Sell
|
||||
{
|
||||
"name" : "SellButton",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 104,
|
||||
"y" : 295,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.SHOP_SELL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Close
|
||||
{
|
||||
"name" : "CloseButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 295,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.PRIVATE_SHOP_CLOSE_BUTTON,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
## MiddleTab1
|
||||
{
|
||||
"name" : "MiddleTab1",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 295,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
## MiddleTab2
|
||||
{
|
||||
"name" : "MiddleTab2",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 104,
|
||||
"y" : 295,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
## SmallTab1
|
||||
{
|
||||
"name" : "SmallTab1",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 295,
|
||||
|
||||
"width" : 43,
|
||||
"height" : 21,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
## SmallTab2
|
||||
{
|
||||
"name" : "SmallTab2",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 71,
|
||||
"y" : 295,
|
||||
|
||||
"width" : 43,
|
||||
"height" : 21,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
## SmallTab3
|
||||
{
|
||||
"name" : "SmallTab3",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 120,
|
||||
"y" : 295,
|
||||
|
||||
"width" : 43,
|
||||
"height" : 21,
|
||||
|
||||
"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",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
ROOT = "d:/ymir work/ui/public/"
|
||||
|
||||
window = {
|
||||
"name" : "SkillResetDialog",
|
||||
"style" : ("float",),
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 100,
|
||||
"y" : SCREEN_HEIGHT/2 - 114,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 228,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 98,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "reset_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 17,
|
||||
|
||||
"text" : "½ºÅ³Æ÷ÀÎÆ® ¸®¼Â",
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 57,
|
||||
|
||||
"text" : "Ãë¼Ò",
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/public/"
|
||||
|
||||
window = {
|
||||
"name" : "SystemDialog",
|
||||
"style" : ("float",),
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 100,
|
||||
"y" : SCREEN_HEIGHT/2 - 114,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 258,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 258,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "help_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 17,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_HELP,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "system_option_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 57,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEMOPTION_TITLE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "game_option_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 87,
|
||||
|
||||
"text" : uiScriptLocale.GAMEOPTION_TITLE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "change_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 117,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_CHANGE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "logout_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 147,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_LOGOUT,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 177,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_EXIT,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 217,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/public/"
|
||||
|
||||
window = {
|
||||
"name" : "SystemDialog",
|
||||
"style" : ("float",),
|
||||
|
||||
"x" : (SCREEN_WIDTH - 200) /2,
|
||||
"y" : (SCREEN_HEIGHT - 288) /2,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 288,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 288,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "help_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 17,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_HELP,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"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,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "system_option_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 87,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEMOPTION_TITLE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "game_option_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 117,
|
||||
|
||||
"text" : uiScriptLocale.GAMEOPTION_TITLE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "change_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 147,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_CHANGE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "logout_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 177,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_LOGOUT,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 217,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_EXIT,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 247,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/public/"
|
||||
|
||||
window = {
|
||||
"name" : "SystemDialog",
|
||||
"style" : ("float",),
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 100,
|
||||
"y" : SCREEN_HEIGHT/2 - 114,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 225,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 225,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "help_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 17,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_HELP,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "system_option_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 57,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEMOPTION_TITLE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "game_option_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 87,
|
||||
|
||||
"text" : uiScriptLocale.GAMEOPTION_TITLE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "change_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 117,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_CHANGE,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 147,
|
||||
|
||||
"text" : uiScriptLocale.SYSTEM_EXIT,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 177,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT + "XLarge_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,286 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
|
||||
TEMPORARY_X = +13
|
||||
TEXT_TEMPORARY_X = -10
|
||||
BUTTON_TEMPORARY_X = 5
|
||||
PVP_X = -10
|
||||
|
||||
window = {
|
||||
"name" : "SystemOptionDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 305,
|
||||
"height" : 255,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 305,
|
||||
"height" : 255,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 284,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"titlename", "type":"text", "x":0, "y":3,
|
||||
"horizontal_align":"center", "text_horizontal_align":"center",
|
||||
"text": uiScriptLocale.SYSTEMOPTION_TITLE,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
|
||||
## Music
|
||||
{
|
||||
"name" : "music_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 75,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_MUSIC,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "music_volume_controller",
|
||||
"type" : "sliderbar",
|
||||
|
||||
"x" : 110,
|
||||
"y" : 75,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "bgm_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 20,
|
||||
"y" : 100,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_MUSIC_CHANGE,
|
||||
|
||||
"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" : "bgm_file",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 102,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_MUSIC_DEFAULT_THEMA,
|
||||
},
|
||||
|
||||
## Sound
|
||||
{
|
||||
"name" : "sound_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 50,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SOUND,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "sound_volume_controller",
|
||||
"type" : "sliderbar",
|
||||
|
||||
"x" : 110,
|
||||
"y" : 50,
|
||||
},
|
||||
|
||||
## 카메라
|
||||
{
|
||||
"name" : "camera_mode",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 40 + TEXT_TEMPORARY_X,
|
||||
"y" : 135+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_CAMERA_DISTANCE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "camera_short",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 110,
|
||||
"y" : 135,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_CAMERA_DISTANCE_SHORT,
|
||||
|
||||
"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" : "camera_long",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 110+70,
|
||||
"y" : 135,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_CAMERA_DISTANCE_LONG,
|
||||
|
||||
"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" : "fog_mode",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 160+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_FOG,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "fog_level0",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 110,
|
||||
"y" : 160,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_FOG_DENSE,
|
||||
|
||||
"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" : "fog_level1",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 110+50,
|
||||
"y" : 160,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_FOG_MIDDLE,
|
||||
|
||||
"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" : "fog_level2",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 110 + 100,
|
||||
"y" : 160,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_FOG_LIGHT,
|
||||
|
||||
"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" : "tiling_mode",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 40 + TEXT_TEMPORARY_X,
|
||||
"y" : 185+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TILING,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "tiling_cpu",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 110,
|
||||
"y" : 185,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TILING_CPU,
|
||||
|
||||
"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" : "tiling_gpu",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 110+50,
|
||||
"y" : 185,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TILING_GPU,
|
||||
|
||||
"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" : "tiling_apply",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 110+100,
|
||||
"y" : 185,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TILING_APPLY,
|
||||
|
||||
"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" : "shadow_mode",
|
||||
# "type" : "text",
|
||||
|
||||
# "x" : 30,
|
||||
# "y" : 210,
|
||||
|
||||
# "text" : uiScriptLocale.OPTION_SHADOW,
|
||||
# },
|
||||
|
||||
# {
|
||||
# "name" : "shadow_bar",
|
||||
# "type" : "sliderbar",
|
||||
|
||||
# "x" : 110,
|
||||
# "y" : 210,
|
||||
# },
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,462 @@
|
||||
import uiScriptLocale
|
||||
|
||||
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,
|
||||
|
||||
"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",
|
||||
)
|
||||
},
|
||||
{
|
||||
## 툴팁을 띄우기 위한 윈도우
|
||||
"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" :
|
||||
(
|
||||
{
|
||||
"name" : "ChatButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 128,
|
||||
"y" : 1,
|
||||
"tooltip_text" : uiScriptLocale.TASKBAR_CHAT,
|
||||
|
||||
"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",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
import uiScriptLocale
|
||||
|
||||
WEB_WIDTH = 640
|
||||
WEB_HEIGHT = 480
|
||||
|
||||
window = {
|
||||
"name" : "MallWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : WEB_WIDTH + 20,
|
||||
"height" : WEB_HEIGHT + 40,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : WEB_WIDTH + 20,
|
||||
"height" : WEB_HEIGHT + 40,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : WEB_WIDTH + 10,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":50, "y":3, "text":uiScriptLocale.SYSTEM_MALL, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/public/"
|
||||
|
||||
window = {
|
||||
"name" : "WhisperDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 200,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "thinboard",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 200,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "name_slot",
|
||||
"type" : "image",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 10,
|
||||
"y" : 10,
|
||||
|
||||
"image":"d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "titlename",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"text" : uiScriptLocale.WHISPER_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "titlename_edit",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 120,
|
||||
"height" : 17,
|
||||
|
||||
"input_limit" : PLAYER_NAME_MAX_LEN,
|
||||
|
||||
"text" : uiScriptLocale.WHISPER_NAME,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "gamemastermark",
|
||||
"type" : "expanded_image",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 206,
|
||||
"y" : 6,
|
||||
|
||||
"x_scale" : 0.2,
|
||||
"y_scale" : 0.2,
|
||||
|
||||
"image" : LOCALE_PATH + "/effect/ymirred.tga",
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "ignorebutton",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 145,
|
||||
"y" : 10,
|
||||
|
||||
"text" : uiScriptLocale.WHISPER_BAN,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_thin_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "reportviolentwhisperbutton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 145,
|
||||
"y" : 10,
|
||||
|
||||
"text" : uiScriptLocale.WHISPER_REPORT,
|
||||
|
||||
"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",
|
||||
},
|
||||
{
|
||||
"name" : "acceptbutton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 145,
|
||||
"y" : 10,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_thin_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "minimizebutton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 280 - 41,
|
||||
"y" : 12,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MINIMIZE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/minimize_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/minimize_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/minimize_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "closebutton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 280 - 24,
|
||||
"y" : 12,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.CLOSE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/close_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/close_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/close_button_03.sub",
|
||||
},
|
||||
|
||||
## ScrollBar
|
||||
{
|
||||
"name" : "scrollbar",
|
||||
"type" : "thin_scrollbar",
|
||||
|
||||
"x" : 280 - 25,
|
||||
"y" : 35,
|
||||
|
||||
"size" : 280 - 160,
|
||||
},
|
||||
|
||||
## Edit Bar
|
||||
{
|
||||
"name" : "editbar",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 200 - 60,
|
||||
|
||||
"width" : 280 - 18,
|
||||
"height" : 50,
|
||||
|
||||
"color" : 0x77000000,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "chatline",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 5,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 280 - 70,
|
||||
"height" : 40,
|
||||
|
||||
"with_codepage" : 1,
|
||||
"input_limit" : 40,
|
||||
"limit_width" : 280 - 90,
|
||||
"multi_line" : 1,
|
||||
},
|
||||
{
|
||||
"name" : "sendbutton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 280 - 80,
|
||||
"y" : 10,
|
||||
|
||||
"text" : uiScriptLocale.WHISPER_SEND,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
Reference in New Issue
Block a user