Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import uiScriptLocaleMG
- ROOT = "d:/ymir work/ui/game/"
- #Y_ADD_POSITION = -2
- Y_ADD_POSITION = 0
- window = {
- "name" : "TaskBar",
- "x" : 0,
- "y" : SCREEN_HEIGHT - 51,
- "width" : SCREEN_WIDTH,
- "height" : 51,
- "children" :
- (
- ## Board
- {
- "name" : "Base_Board_01",
- "type" : "expanded_image",
- "x" : 0,
- "y" : 0,
- "horizontal_align":"center",
- "image" : "locale/pl/ui/illumina/srodek.tga"
- },
- ## Mouse Button
- {
- "name" : "LeftMouseButton",
- "type" : "button",
- "x" : SCREEN_WIDTH/2 - 128-85-4,
- "y" : 15,
- "default_image" : "illumina/controls/special/taskbar/btn_attacknormal_01_normal.tga",
- "over_image" : "illumina/controls/special/taskbar/btn_attacknormal_02_hover.tga",
- "down_image" : "illumina/controls/special/taskbar/btn_attacknormal_03_active.tga",
- },
- {
- "name" : "RightMouseButton",
- "type" : "button",
- "x" : SCREEN_WIDTH/2 + 128 + 66 + 11-2-9,
- "y" : 150,
- "default_image" : "illumina/controls/special/taskbar/btn_slotpageone_01_normal.tga",
- "over_image" : "illumina/controls/special/taskbar/btn_slotpageone_02_hover.tga",
- "down_image" : "illumina/controls/special/taskbar/btn_slotpageone_03_active.tga",
- },
- {
- "name":"ButtonsBackground",
- "type":"image",
- "x":210,
- "y":0,
- "horizontal_align":"right",
- "image":"locale/pl/ui/illumina/prawo.tga",
- },
- ## Button
- {
- "name" : "CharacterButton",
- "type" : "button",
- "x" : SCREEN_WIDTH - 144,
- "y" : 3 + Y_ADD_POSITION+8,
- "tooltip_text" : "|cfff8d090Postać [C/V/B/N]",
- "default_image" : "illumina/icon_button/icon_button_postac_1.tga",
- "over_image" : "illumina/icon_button/icon_button_postac_2.tga",
- "down_image" : "illumina/icon_button/icon_button_postac_3.tga",
- },
- {
- "name" : "InventoryButton",
- "type" : "button",
- "x" : SCREEN_WIDTH - 110,
- "y" : 3 + Y_ADD_POSITION+8,
- "tooltip_text" : "|cfff8d090Ekwipunek [I]",
- "default_image" : "illumina/icon_button/icon_button_ekwipunek_1.tga",
- "over_image" : "illumina/icon_button/icon_button_ekwipunek_2.tga",
- "down_image" : "illumina/icon_button/icon_button_ekwipunek_3.tga",
- },
- {
- "name" : "MessengerButton",
- "type" : "button",
- "x" : SCREEN_WIDTH - 76,
- "y" : 3 + Y_ADD_POSITION+8,
- "tooltip_text" : "|cfff8d090Przyjaciele [Alt+M]",
- "default_image" : "illumina/icon_button/icon_button_przyjaciele_1.tga",
- "over_image" : "illumina/icon_button/icon_button_przyjaciele_2.tga",
- "down_image" : "illumina/icon_button/icon_button_przyjaciele_3.tga",
- },
- {
- "name" : "SystemButton",
- "type" : "button",
- "x" : SCREEN_WIDTH - 42,
- "y" : 3 + Y_ADD_POSITION+8,
- "tooltip_text" : "|cfff8d090Opcje [ESC]",
- "default_image" : "illumina/icon_button/icon_button_opcje_1.tga",
- "over_image" : "illumina/icon_button/icon_button_opcje_2.tga",
- "down_image" : "illumina/icon_button/icon_button_opcje_3.tga",
- },
- ## QuickBar
- {
- "name" : "quickslot_board",
- "type" : "window",
- "x" : 0,
- "y" : 10,
- "horizontal_align":"center",
- "width" : 440,
- "height" : 37,
- "children" :
- (
- {
- "name" : "quick_slot_1",
- "type" : "grid_table",
- "start_index" : 0,
- "x" : 11+20,
- "y" : 1,
- "x_count" : 4,
- "y_count" : 1,
- "x_step" : 42,
- "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+10, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/2.sub", },
- { "name" : "slot_3", "type" : "image", "x" : 67+20, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/3.sub", },
- { "name" : "slot_4", "type" : "image", "x" : 99+30, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/4.sub", },
- ),
- },
- {
- "name" : "quick_slot_2",
- "type" : "grid_table",
- "start_index" : 4,
- "x" : 128+14+89+20,
- "y" : 1,
- "x_count" : 4,
- "y_count" : 1,
- "x_step" : 42,
- "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+10, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f2.sub", },
- { "name" : "slot_7", "type" : "image", "x" : 67+20, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f3.sub", },
- { "name" : "slot_8", "type" : "image", "x" : 99+30, "y" : 3, "image" : "d:/ymir work/ui/game/taskbar/f4.sub", },
- ),
- },
- {
- "name" : "QuickSlotBoard",
- "type" : "window",
- "x" : 128+14+128+2+122+20,
- "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" : uiScriptLocaleMG.TASKBAR_PREV_QUICKSLOT,
- "x" : 7,
- "y" : 0,
- "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" : "button",
- "x" : 0,
- "y" : 5,
- "default_image" : "illumina/controls/special/taskbar/btn_slotpageone_01_normal.tga",
- "over_image" : "illumina/controls/special/taskbar/btn_slotpageone_02_hover.tga",
- "down_image" : "illumina/controls/special/taskbar/btn_slotpageone_03_active.tga",
- #"image" : "illumina/controls/special/taskbar/btn_slotpageone_01_normal.tga",
- },
- {
- "name" : "QuickPageDownButton",
- "type" : "button",
- "tooltip_text" : uiScriptLocaleMG.TASKBAR_NEXT_QUICKSLOT,
- "x" : 7,
- "y" : 24+4,
- "default_image" : ROOT + "TaskBar/QuickSlot_DownButton_01.sub",
- "over_image" : ROOT + "TaskBar/QuickSlot_DownButton_02.sub",
- "down_image" : ROOT + "TaskBar/QuickSlot_DownButton_03.sub",
- },
- ),
- },
- ),
- },
- {
- "name":"ChatButton",
- "type" : "button",
- "x" : 0,
- "y" : 21,
- "horizontal_align":"center",
- "tooltip_text" : uiScriptLocaleMG.TASKBAR_CHAT,
- "default_image" : "illumina/controls/special/taskbar/btn_chat_01_normal.tga",
- "over_image" : "illumina/controls/special/taskbar/btn_chat_02_hover.tga",
- "down_image" : "illumina/controls/special/taskbar/btn_chat_03_active.tga",
- },
- ),
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement