1. import uiScriptLocale
  2. # ROOT = "d:/ymir work/ui/game/"
  3. FACE_SLOT_FILE = "d:/ymir work/ui/game/windows/box_face.sub"
  4. Y_ADD_POSITION = 0
  5. window = {
  6. "name" : "CharBar",
  7. "x" : 1,
  8. "y" : 30,
  9. "width" : 228,
  10. "height" : 125,
  11. "children" :
  12. (
  13. {
  14. "name" : "CharBar_Board",
  15. "type" : "image",
  16. "x" : 5,
  17. "y" : 15 + Y_ADD_POSITION,
  18. "width" : 228,
  19. "height" : 125,
  20. "image" : "sidebar/tb.tga",
  21. "children" :
  22. (
  23. ## karakter adı
  24. {
  25. "name":"NameText",
  26. "type":"text",
  27. "x":67+52,
  28. "y":-3+10,
  29. # "fontsize":"ADEM",
  30. "fontname":"Tahoma:16",
  31. "text":"1",
  32. # "color":0xffCFB53B,
  33. #"color":0xffCC9900,
  34. "color":0xffFDD017,
  35. #"color":0xffF7D54D,
  36. "text_horizontal_align":"center",
  37. },
  38. {
  39. "name" : "bos_bar_1",
  40. "type" : "image",
  41. "x" : 83,
  42. "y" : 37,
  43. "image" :"sidebar/bos_bar.tga",
  44. },
  45. {
  46. "name" : "hp_bar",
  47. "type" : "ani_image",
  48. "x" : 83,
  49. "y" : 37,
  50. "images" : (
  51. "sidebar/hp.tga",
  52. ),
  53. "children":
  54. (
  55. {
  56. "name":"HPtext",
  57. "type":"text",
  58. "x":65,
  59. "y":-2,
  60. "text":"1",
  61. # "color":0xff25BEEC,
  62. "color":0xffE4E6E3,
  63. "text_horizontal_align":"center",
  64. },
  65. ),
  66. },
  67. {
  68. "name" : "bos_bar_2",
  69. "type" : "image",
  70. "x" : 83,
  71. "y" : 57,
  72. "image" :"sidebar/bos_bar.tga",
  73. },
  74. {
  75. "name" : "sp_bar",
  76. "type" : "ani_image",
  77. "x" : 83,
  78. "y" : 57,
  79. "images" : (
  80. "sidebar/sp.tga",
  81. ),
  82. "children":
  83. (
  84. {
  85. "name":"SPtext",
  86. "type":"text",
  87. "x":65,
  88. "y":-2,
  89. "text":"1",
  90. "color":0xffE4E6E3,
  91. "text_horizontal_align":"center",
  92. },
  93. ),
  94. },
  95. {
  96. "name" : "bos_bar_3",
  97. "type" : "image",
  98. "x" : 84,
  99. "y" : 80,
  100. "image" :"sidebar/exp_text_bar.tga",
  101. },
  102. {
  103. "name" : "bos_bar_3",
  104. "type" : "image",
  105. "x" : 84,
  106. "y" : 77,
  107. "image" :"sidebar/bos_bar.tga",
  108. },
  109. {
  110. "name" : "menu_back", "type" : "image",
  111. "x" : -7, "y" : 60-15,
  112. #"text" : "T",
  113. "image" : "sidebar/menu_back.tga",
  114. "children" :
  115. (
  116. {
  117. "name" : "bonus_button", "type" : "button",
  118. "x" : 4, "y" : 3,
  119. "tooltip_text" : "Bonuslar",
  120. "default_image" : "sidebar/bonus_button.tga",
  121. "over_image" : "sidebar/bonus_button.tga",
  122. "down_image" : "sidebar/bonus_button.tga",
  123. },
  124. {
  125. "name" : "market_button", "type" : "button",
  126. "x" : 15, "y" : 19,
  127. "tooltip_text" : "Alis-Veris",
  128. "default_image" : "sidebar/market_button.tga",
  129. "over_image" : "sidebar/market_button.tga",
  130. "down_image" : "sidebar/market_button.tga",
  131. },
  132. {
  133. "name" : "time_button", "type" : "button",
  134. "x" : 32, "y" : 30,
  135. "tooltip_text" : "Tarih Bilgisi",
  136. "default_image" : "sidebar/clock_button.tga",
  137. "over_image" : "sidebar/clock_button.tga",
  138. "down_image" : "sidebar/clock_button.tga",
  139. },
  140. )
  141. },
  142. {
  143. "name" : "Face_Image",
  144. "type" : "image",
  145. "x" : 1, "y" : -14,
  146. "width" : 22,
  147. "height" : 22,
  148. "image" : "d:/ymir work/ui/game/windows/face_warrior.sub",
  149. },
  150. ## Header
  151. {
  152. "name":"Levelim", "type":"window", "x":9, "y":30, "width":37, "height":42,
  153. "children" :
  154. (
  155. {
  156. "name" : "level_background", "type" : "image",
  157. "x" : 46, "y" : 30,
  158. "image" : "sidebar/level_round.tga",
  159. "children" :
  160. (
  161. {
  162. "name":"Level_Value",
  163. "type":"text",
  164. "x":0,
  165. "y":0,
  166. "text":"1",
  167. "color":0xffFDD017,
  168. "text_horizontal_align":"center",
  169. "all_align" : "center",
  170. },
  171. ),
  172. },
  173. ),
  174. },
  175. {
  176. "name":"Bilgiler", "type":"window", "x":9, "y":30, "width":37, "height":42,
  177. "children" :
  178. (
  179. {
  180. "name":"bilgi_head",
  181. "type":"image",
  182. "x":2, "y":83,
  183. "image":"sidebar/tablo.tga",
  184. "children" :
  185. (
  186. {
  187. "name":"time",
  188. "type":"text",
  189. "x":108,
  190. "y":5,
  191. "text":"1",
  192. "color":0xffFDD017,
  193. "text_horizontal_align":"center",
  194. },
  195. ),
  196. },
  197. ),
  198. },
  199. ),
  200. },
  201. {
  202. "name" : "ToolTipTest",
  203. "x" : 0,
  204. "y" : 0,
  205. "width" : 50,
  206. "height" : 10,
  207. "type" : "window",
  208. },
  209. #
  210. ),
  211. }