Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import uiScriptLocale
- import localeInfo
- import dbg
- import name
- ROOT = "d:/ymir work/ui/game/"
- #Y_ADD_POSITION = -2
- Y_ADD_POSITION = 0
- window = {
- "name" : "TaskBar",
- "x" : 0,
- "y" : SCREEN_HEIGHT - 65,
- "width" : SCREEN_WIDTH,
- "height" : 68,
- "children" :
- (
- ## Board
- {
- "name" : "Base_Board_01",
- "type" : "expanded_image",
- "x" : 0,
- "horizontal_align":"center",
- # "x" : 263,
- "y" : 5,
- # "rect" : (0.0, 0.0, float(SCREEN_WIDTH - 263 - 256) / 256.0, 0.0),
- "image" : "d:/global/loong/barra2.dds",
- }
- ## Gauge
- {
- "name" : "Gauge_Board",
- "type" : "image",
- "x" : 0,
- "y" : -10*5 + Y_ADD_POSITION,
- "image" : ROOT + "taskbar/gauge.sub",
- "children" :
- (
- {
- "name" : "RampageGauge",
- "type" : "ani_image",
- "x" : 8,
- "y" : 4,
- "width" : 40,
- "height" : 40,
- "delay" : 6,
- "images" :
- (
- "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
- ),
- },
- {
- "name" : "RampageGauge2",
- "type" : "ani_image",
- "x" : 8,
- "y" : 4,
- "width" : 40,
- "height" : 40,
- "delay" : 6,
- "images" :
- (
- "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
- ),
- },
- {
- ## 툴팁을 띄우기 위한 윈도우
- "name" : "HPGauge_Board",
- "type" : "window",
- "x" : 59,
- "y" : 14,
- "width" : 95,
- "height" : 11,
- "children" :
- (
- {
- "name" : "HPRecoveryGaugeBar",
- "type" : "bar",
- "x" : 0,
- "y" : 0,
- "width" : 95,
- "height" : 13,
- "color" : 0x55ff0000,
- },
- {
- "name" : "HPGauge",
- "type" : "ani_image",
- "x" : 0,
- "y" : 0,
- "delay" : 6,
- "images" :
- (
- "D:/Ymir Work/UI/Pattern/HPGauge/01.tga",
- "D:/Ymir Work/UI/Pattern/HPGauge/02.tga",
- "D:/Ymir Work/UI/Pattern/HPGauge/03.tga",
- "D:/Ymir Work/UI/Pattern/HPGauge/04.tga",
- "D:/Ymir Work/UI/Pattern/HPGauge/05.tga",
- "D:/Ymir Work/UI/Pattern/HPGauge/06.tga",
- "D:/Ymir Work/UI/Pattern/HPGauge/07.tga",
- ),
- },
- ),
- },
- {
- ## 툴팁을 띄우기 위한 윈도우
- "name" : "SPGauge_Board",
- "type" : "window",
- "x" : 59,
- "y" : 24,
- "width" : 95,
- "height" : 11,
- "children" :
- (
- {
- "name" : "SPRecoveryGaugeBar",
- "type" : "bar",
- "x" : 0,
- "y" : 0,
- "width" : 95,
- "height" : 13,
- "color" : 0x550000ff,
- },
- {
- "name" : "SPGauge",
- "type" : "ani_image",
- "x" : 0,
- "y" : 0,
- "delay" : 6,
- "images" :
- (
- "D:/Ymir Work/UI/Pattern/SPGauge/01.tga",
- "D:/Ymir Work/UI/Pattern/SPGauge/02.tga",
- "D:/Ymir Work/UI/Pattern/SPGauge/03.tga",
- "D:/Ymir Work/UI/Pattern/SPGauge/04.tga",
- "D:/Ymir Work/UI/Pattern/SPGauge/05.tga",
- "D:/Ymir Work/UI/Pattern/SPGauge/06.tga",
- "D:/Ymir Work/UI/Pattern/SPGauge/07.tga",
- ),
- },
- ),
- },
- {
- ## 툴팁을 띄우기 위한 윈도우
- "name" : "STGauge_Board",
- "type" : "window",
- "x" : 59,
- "y" : 38,
- "width" : 95,
- "height" : 6,
- "children" :
- (
- {
- "name" : "STGauge",
- "type" : "ani_image",
- "x" : 0,
- "y" : 0,
- "delay" : 6,
- "images" :
- (
- "D:/Ymir Work/UI/Pattern/STGauge/01.tga",
- "D:/Ymir Work/UI/Pattern/STGauge/02.tga",
- "D:/Ymir Work/UI/Pattern/STGauge/03.tga",
- "D:/Ymir Work/UI/Pattern/STGauge/04.tga",
- "D:/Ymir Work/UI/Pattern/STGauge/05.tga",
- "D:/Ymir Work/UI/Pattern/STGauge/06.tga",
- "D:/Ymir Work/UI/Pattern/STGauge/07.tga",
- ),
- },
- ),
- },
- ),
- },
- {
- "name" : "Porciento",
- "type" : "text",
- "x" : 134,
- "y" : 3,
- "text" : "0.00%",
- },
- {
- "name" : "Progreso",
- "type" : "progreso",
- "x" : 155,
- "y" : 6,
- "width" : 712,
- "color" : "loong",
- },
- {
- "name" : "EXP_Gauge_Board",
- "type" : "image",
- "x" : 158,
- "y" : 15 + 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" : 154,
- "y" : 25,
- "default_image" : "d:/global/loong/i_1.sub",
- "over_image" : "d:/global/loong/i_2.sub",
- "down_image" : "d:/global/loong/i_3.sub",
- },
- {
- "name" : "RightMouseButton",
- "type" : "button",
- "x" : 429,
- "y" : 25,
- "horizontal_align":"right",
- "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",
- "horizontal_align":"right",
- "x" : 330,
- "y" : 28,
- "tooltip_text" : uiScriptlocaleInfo.TASKBAR_CHARACTER,
- "default_image" : "d:/global/loong/c_1.sub",
- "over_image" : "d:/global/loong/c_2.sub",
- "down_image" : "d:/global/loong/c_3.sub",
- },
- {
- "name" : "InventoryButton",
- "type" : "button",
- "x" : 286,
- "y" :25,
- "horizontal_align":"right",
- "tooltip_text" : uiScriptlocaleInfo.TASKBAR_INVENTORY,
- "default_image" : "d:/global/loong/i_1.sub",
- "over_image" : "d:/global/loong/i_2.sub",
- "down_image" : "d:/global/loong/i_3.sub",
- },
- {
- "name" : "MessengerButton",
- "type" : "button",
- "x" : 251,
- "y" : 30,
- "horizontal_align":"right",
- "tooltip_text" : uiScriptlocaleInfo.TASKBAR_MESSENGER,
- "default_image" : "d:/global/loong/a_1.sub",
- "over_image" : "d:/global/loong/a_2.sub",
- "down_image" : "d:/global/loong/a_3.sub",
- },
- {
- "name" : "SystemButton",
- "type" : "button",
- "horizontal_align":"right",
- "x" : 210,
- "y" : 25,
- "tooltip_text" : uiScriptlocaleInfo.TASKBAR_SYSTEM,
- "default_image" : "d:/global/loong/cf_1.sub",
- "over_image" : "d:/global/loong/cf_2.sub",
- "down_image" : "d:/global/loong/cf_3.sub",
- },
- {
- "name" : "TrollLocoText",
- "type" : "text",
- "horizontal_align":"right",
- "x" : 150,
- "y" : 47,
- "text":'SG',
- },
- ## QuickBar
- {
- "name" : "quickslot_board",
- "type" : "window",
- "x" :210,
- "y" : 21,
- # "horizontal_align":"center",
- "width" : 350,
- "height" : 37,
- "children" :
- (
- {
- "name" : "ChatButton",
- "type" : "button",
- "x" : 115,
- "y" : 1,
- "tooltip_text" : uiScriptlocaleInfo.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" : -11,
- "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" : 127,
- "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+55,
- "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" : uiScriptlocaleInfo.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" : uiScriptlocaleInfo.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",
- },
- ),
- },
- ),
- },
- ),
- }
Advertisement
Add Comment
Please, Sign In to add comment