advancedOptionsTab.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "items":
  3. [
  4. {
  5. "name": "background",
  6. "type": "picture",
  7. "image": "ADVOPTBK",
  8. "position": {"x": 0, "y": 6}
  9. },
  10. {
  11. "name": "labelTitle",
  12. "type": "label",
  13. "font": "big",
  14. "alignment": "center",
  15. "color": "yellow",
  16. "text": "core.genrltxt.515",
  17. "position": {"x": 222, "y": 36}
  18. },
  19. {
  20. "name": "labelSubTitle",
  21. "type": "multiLineLabel",
  22. "font": "small",
  23. "alignment": "center",
  24. "color": "white",
  25. "text": "core.genrltxt.516",
  26. "rect": {"x": 60, "y": 50, "w": 320, "h": 0},
  27. "adoptHeight": true
  28. },
  29. {
  30. "name": "labelPlayerNameAndHandicap",
  31. "type": "multiLineLabel",
  32. "font": "small",
  33. "alignment": "center",
  34. "color": "yellow",
  35. "text": "core.genrltxt.517",
  36. "rect": {"x": 58, "y": 92, "w": 100, "h": 0},
  37. "adoptHeight": true
  38. },
  39. {
  40. "name": "labelStartingTown",
  41. "type": "multiLineLabel",
  42. "font": "small",
  43. "alignment": "center",
  44. "color": "yellow",
  45. "text": "core.genrltxt.518",
  46. "rect": {"x": 163, "y": 92, "w": 70, "h": 0},
  47. "adoptHeight": true
  48. },
  49. {
  50. "name": "labelStartingHero",
  51. "type": "multiLineLabel",
  52. "font": "small",
  53. "alignment": "center",
  54. "color": "yellow",
  55. "text": "core.genrltxt.519",
  56. "rect": {"x": 239, "y": 92, "w": 70, "h": 0},
  57. "adoptHeight": true
  58. },
  59. {
  60. "name": "labelStartingBonus",
  61. "type": "multiLineLabel",
  62. "font": "small",
  63. "alignment": "center",
  64. "color": "yellow",
  65. "text": "core.genrltxt.520",
  66. "rect": {"x": 315, "y": 92, "w": 70, "h": 0},
  67. "adoptHeight": true
  68. },
  69. // timer
  70. {
  71. "type": "label",
  72. "font": "small",
  73. "alignment": "center",
  74. "color": "yellow",
  75. "text": "core.genrltxt.521",
  76. "position": {"x": 222, "y": 544}
  77. },
  78. {
  79. "name": "labelTurnDurationValue",
  80. "type": "label",
  81. "font": "small",
  82. "alignment": "center",
  83. "color": "white",
  84. "text": "",
  85. "position": {"x": 319, "y": 565}
  86. },
  87. {
  88. "name": "sliderTurnDuration",
  89. "type": "slider",
  90. "orientation": "horizontal",
  91. "position": {"x": 55, "y": 557},
  92. "size": 194,
  93. "callback": "setTimerPreset",
  94. "itemsVisible": 1,
  95. "itemsTotal": 11,
  96. "selected": 11,
  97. "style": "blue",
  98. "scrollBounds": {"x": -3, "y": -25, "w": 337, "h": 43},
  99. "panningStep": 20
  100. },
  101. ],
  102. "variables":
  103. {
  104. "timerPresets" :
  105. [
  106. [0, 60, 0, 0, false, false],
  107. [0, 120, 0, 0, false, false],
  108. [0, 240, 0, 0, false, false],
  109. [0, 360, 0, 0, false, false],
  110. [0, 480, 0, 0, false, false],
  111. [0, 600, 0, 0, false, false],
  112. [0, 900, 0, 0, false, false],
  113. [0, 1200, 0, 0, false, false],
  114. [0, 1500, 0, 0, false, false],
  115. [0, 1800, 0, 0, false, false],
  116. [0, 0, 0, 0, false, false],
  117. ]
  118. }
  119. }