Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.18 KB | None | 0 0
  1. import uiScriptLocale, localeInfo
  2.  
  3. ELEMENTS_POS_X = 185
  4. ELEMENTS_POS_Y = 85
  5.  
  6. LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
  7.  
  8. window = {
  9. "name" : "PvpDialog2",
  10. "x" : 0,
  11. "y" : 0,
  12.  
  13. "style" : ("movable", "float",),
  14.  
  15. "width" : 560,
  16. "height" : 310,
  17.  
  18. "children" :
  19. (
  20. {
  21. "name" : "Background", "type" : "board", "style" : ("attach",), "x" : 175, "y" : 230, "width" : 200, "height" : 80,
  22. "children" :
  23. (
  24. { "name":"TitleBar", "type":"horizontalbar", "x": 7, "y": 30, "width": 185, "children" : ( { "name":"TitleBar_Block_Value", "type":"text", "x":8, "y":2, "text": localeInfo.DUEL_INFO_5, }, ), },
  25.  
  26. { "name" : "Money_Slot", "type" : "button", "x" : 6, "y" : 30, "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",
  27. "children" :
  28. (
  29. { "name":"Money_Icon", "type":"image", "x":-18, "y":2, "image":"d:/ymir work/ui/game/windows/money_icon.sub", },
  30. { "name" : "Money", "type" : "text","x" : 3, "y" : 3, "horizontal_align" : "right", "text_horizontal_align" : "right", "text" : "", },
  31. ),
  32. },
  33. ),
  34. },
  35. {
  36. "name" : "Board", "type" : "board_with_titlebar",
  37. "style" : ("attach",),
  38. "x" : 0, "y" : -15, "width" : 560, "height" : 280, "title" : "Duel with Go2Hell",
  39. "children" :
  40. (
  41. { "name" : "CharacterSlot", "type" : "image", "x" : ELEMENTS_POS_X+7, "y" : 65, "width" : 32, "height" : 32, "image" : "d:/ymir work/ui/game/windows/box_face.sub", },
  42. { "name" : "CharacterIcon", "type" : "image", "x" : ELEMENTS_POS_X+12, "y" : 70, "width" : 32, "height" : 32, "image" : "d:/ymir work/ui/game/windows/box_face.sub", },
  43. { "name" : "percent_hp", "type" : "gauge", "x" : ELEMENTS_POS_X+60, "y" : 75, "width" : 115, "color" : "red", },
  44. { "name" : "percent_sp", "type" : "gauge", "x" : ELEMENTS_POS_X+60, "y" : 95, "width" : 115, "color" : "blue", },
  45. { "name": "ValueHP", "type":"text", "x": ELEMENTS_POS_X+105, "y": 62, "text": "", },
  46. { "name": "ValueMP", "type":"text", "x": ELEMENTS_POS_X+105, "y": 82, "text": "", },
  47. { "name" : "line", "type" : "line", "x" : 180, "y" : 30, "width" : 0, "height" : 240, "color" : 0xffffffff, },
  48. { "name" : "line2", "type" : "line", "x" : 369, "y" : 30, "width" : 0, "height" : 240, "color" : 0xffffffff, },
  49. {
  50. "name":"TitleBar2", "type":"horizontalbar", "x":ELEMENTS_POS_X+5, "y":40, "width":167,
  51. "children" :
  52. (
  53. { "name":"Pvp_Info_Point_Value", "type":"text", "x": 8, "y":2, "text": localeInfo.DUEL_INFO_6, },
  54. {
  55. "name" : "NameCharacter", "type" : "text", "x" : ELEMENTS_POS_X-ELEMENTS_POS_X, "y" : ELEMENTS_POS_Y, "text" : localeInfo.DUEL_INFO_1, "children" : (
  56. { "name" : "NameCharacterSlot", "type" : "image", "x" : 70, "y" : -2, "image" : LARGE_VALUE_FILE, "children" : (
  57. { "name" : "NameCharacterValue", "type":"text", "text": "Go2Hell", "x":0, "y":0, "all_align":"center" }, ), }, ),
  58. },
  59. {
  60. "name" : "GuildCharacter", "type" : "text", "x" : ELEMENTS_POS_X-ELEMENTS_POS_X, "y" : ELEMENTS_POS_Y+30, "text" : localeInfo.DUEL_INFO_2, "children" : (
  61. { "name" : "GuildCharacterSlot", "type" : "image", "x" : 70, "y" : -2, "image" : LARGE_VALUE_FILE, "children" : (
  62. { "name" : "GuildCharacterValue", "type":"text", "text": "-", "x":0, "y":0, "all_align":"center" }, ), }, ),
  63. },
  64. {
  65. "name" : "LevelCharacter", "type" : "text", "x" : ELEMENTS_POS_X-ELEMENTS_POS_X, "y" : ELEMENTS_POS_Y+30+30, "text" : localeInfo.DUEL_INFO_3, "children" : (
  66. { "name" : "LevelCharacterSlot", "type" : "image", "x" : 70, "y" : -2, "image" : LARGE_VALUE_FILE, "children" : (
  67. { "name" : "LevelCharacterValue", "type":"text", "text": "103", "x":0, "y":0, "all_align":"center" }, ), }, ),
  68. },
  69. {
  70. "name" : "PlayTimeCharacter", "type" : "text", "x" : ELEMENTS_POS_X-ELEMENTS_POS_X, "y" : ELEMENTS_POS_Y+30+30+30, "text" : localeInfo.DUEL_INFO_4, "children" : (
  71. { "name" : "PlayTimeCharacterSlot", "type" : "image", "x" : 70, "y" : -2, "image" : LARGE_VALUE_FILE, "children" : (
  72. { "name" : "PlayTimeCharacterValue", "type":"text", "text": "-", "x":0, "y":0, "all_align":"center" }, ), }, ),
  73. },
  74. ),
  75. },
  76. { "name":"TitleBar4", "type":"horizontalbar", "x": 377, "y": 40, "width": 167, "children" : ( { "name":"TitleBar_Block_Value", "type":"text", "x":8, "y":2, "text": localeInfo.DUEL_CHOOSE_BLOCK, }, ), },
  77.  
  78. { "name" : "AcceptButton", "type" : "button", "x" : 200, "y" : 245, "text" : "", "default_image" : "d:/ymir work/ui/game/pvp_advanced/acceptbutton00.tga", "over_image" : "d:/ymir work/ui/game/pvp_advanced/acceptbutton01.tga", "down_image" : "d:/ymir work/ui/game/pvp_advanced/acceptbutton02.tga", },
  79. { "name" : "DenyButton", "type" : "button", "x" : 300, "y" : 245, "text" : "", "default_image" : "d:/ymir work/ui/game/pvp_advanced/canclebutton00.tga", "over_image" : "d:/ymir work/ui/game/pvp_advanced/canclebutton01.tga", "down_image" : "d:/ymir work/ui/game/pvp_advanced/canclebutton02.tga", },
  80. ),
  81. },
  82. ),
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement