Guest User

Untitled

a guest
Sep 29th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.63 KB | None | 0 0
  1. #CODE BY JOIN(ADI)
  2. import uiScriptLocale
  3.  
  4. window = {
  5. "name" : "TPWindow",
  6.  
  7. "x" : 0,
  8. "y" : 0,
  9.  
  10. "style" : ("movable", "float",),
  11.  
  12. "width" : 396,
  13. "height" : 283,
  14.  
  15. "children" :
  16. (
  17. {
  18. "name" : "board",
  19. "type" : "board",
  20. "style" : ("attach", "ignore_size",),
  21.  
  22. "x" : 0,
  23. "y" : 0,
  24.  
  25. "horizontal_align" : "center",
  26. "vertical_align" : "center",
  27.  
  28. "width" : 396,
  29. "height" : 283,
  30.  
  31. "children" :
  32. (
  33. ## Title
  34. {
  35. "name" : "TitleBar",
  36. "type" : "titlebar",
  37. "style" : ("attach",),
  38.  
  39. "x" : 6,
  40. "y" : 6,
  41.  
  42. "width" : 386,
  43. "color" : "yellow",
  44.  
  45. "children" :
  46. (
  47. {
  48. "name" : "TitleName",
  49. "type" : "text",
  50.  
  51. "x" : 0,
  52. "y" : 3,
  53.  
  54. "horizontal_align" : "center",
  55.  
  56. "text" : "Teleportacja",
  57.  
  58. "text_horizontal_align" : "center",
  59. },
  60. ),
  61. },
  62. ##poprzeczka
  63. {
  64. "name" : "miasta_poprzeczka",
  65. "type":"horizontalbar",
  66.  
  67. "x" : 15,
  68. "y" : 40,
  69. "width" : 366,
  70.  
  71. "children" :
  72. (
  73. {
  74. "name" : "miasta_text",
  75. "type" : "text",
  76. "x" : 20,
  77. "y" : 1,
  78. "text" : "Miasta",
  79. "r" : 1.0,
  80. "g" : 1.0,
  81. "b" : 1.0,
  82. "a" : 1.0,
  83. "text_horizontal_align" : "center"
  84. },
  85. ),
  86. },
  87. ## Jinno
  88. {
  89. "name" : "jinno",
  90. "type" : "button",
  91.  
  92. "x" : 15 - 155,
  93. "y" : 64,
  94.  
  95. "horizontal_align" : "center",
  96.  
  97. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  98. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  99. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  100.  
  101. "text" : "Jinno",
  102. },
  103. ## Shinsoo
  104. {
  105. "name" : "shinsoo",
  106. "type" : "button",
  107.  
  108. "x" : 108 - 155,
  109. "y" : 64,
  110.  
  111. "horizontal_align" : "center",
  112.  
  113. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  114. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  115. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  116.  
  117. "text" : "Shinsoo",
  118. },
  119. ## Jinno M2
  120. {
  121. "name" : "jinnom2",
  122. "type" : "button",
  123.  
  124. "x" : 200 - 155,
  125. "y" : 64,
  126.  
  127. "horizontal_align" : "center",
  128.  
  129. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  130. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  131. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  132.  
  133. "text" : "Jinno M2",
  134. },
  135. ## Shinsoo M2
  136. {
  137. "name" : "shinsoom2",
  138. "type" : "button",
  139.  
  140. "x" : 292 - 155,
  141. "y" : 64,
  142.  
  143. "horizontal_align" : "center",
  144.  
  145. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  146. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  147. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  148.  
  149. "text" : "Shinsoo M2",
  150. },
  151. ##poprzeczka 2
  152. {
  153. "name" : "exp_poprzeczka",
  154. "type":"horizontalbar",
  155.  
  156. "x" : 15,
  157. "y" : 40 + 53,
  158. "width" : 366,
  159.  
  160. "children" :
  161. (
  162. {
  163. "name" : "exp_text",
  164. "type" : "text",
  165. "x" : 30,
  166. "y" : 1,
  167. "text" : "Expowiska",
  168. "r" : 1.0,
  169. "g" : 1.0,
  170. "b" : 1.0,
  171. "a" : 1.0,
  172. "text_horizontal_align" : "center"
  173. },
  174. ),
  175. },
  176. ## exp1
  177. {
  178. "name" : "exp1",
  179. "type" : "button",
  180.  
  181. "x" : 15 - 155,
  182. "y" : 64 + 55,
  183.  
  184. "horizontal_align" : "center",
  185.  
  186. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  187. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  188. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  189.  
  190. "text" : "D. Seungryong",
  191. },
  192. ## exp2
  193. {
  194. "name" : "exp2",
  195. "type" : "button",
  196.  
  197. "x" : 108 - 155,
  198. "y" : 64 + 55,
  199.  
  200. "horizontal_align" : "center",
  201.  
  202. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  203. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  204. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  205.  
  206. "text" : "P. Yongbi",
  207. },
  208. ## exp3
  209. {
  210. "name" : "exp3",
  211. "type" : "button",
  212.  
  213. "x" : 200 - 155,
  214. "y" : 64 + 55,
  215.  
  216. "horizontal_align" : "center",
  217.  
  218. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  219. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  220. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  221.  
  222. "text" : "S. Hwang",
  223. },
  224. ## exp4
  225. {
  226. "name" : "exp4",
  227. "type" : "button",
  228.  
  229. "x" : 292 - 155,
  230. "y" : 64 + 55,
  231.  
  232. "horizontal_align" : "center",
  233.  
  234. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  235. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  236. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  237.  
  238. "text" : "G. Sohan",
  239. },
  240. ## exp5
  241. {
  242. "name" : "exp5",
  243. "type" : "button",
  244.  
  245. "x" : 15 - 155,
  246. "y" : 64 + 55 + 25,
  247.  
  248. "horizontal_align" : "center",
  249.  
  250. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  251. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  252. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  253.  
  254. "text" : "Pajaki V1",
  255. },
  256. ## exp6
  257. {
  258. "name" : "exp6",
  259. "type" : "button",
  260.  
  261. "x" : 108 - 155,
  262. "y" : 64 + 55 + 25,
  263.  
  264. "horizontal_align" : "center",
  265.  
  266. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  267. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  268. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  269.  
  270. "text" : "O. Ziemia",
  271. },
  272. ## exp7
  273. {
  274. "name" : "exp7",
  275. "type" : "button",
  276.  
  277. "x" : 200 - 155,
  278. "y" : 64 + 55 + 25,
  279.  
  280. "horizontal_align" : "center",
  281.  
  282. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  283. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  284. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  285.  
  286. "text" : "Pajaki V2",
  287. },
  288. ## exp8
  289. {
  290. "name" : "exp8",
  291. "type" : "button",
  292.  
  293. "x" : 292 - 155,
  294. "y" : 64 + 55 + 25,
  295.  
  296. "horizontal_align" : "center",
  297.  
  298. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  299. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  300. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  301.  
  302. "text" : "Czerw. Las",
  303. },
  304. ##poprzeczka 3
  305. {
  306. "name" : "zapis_poprzeczka",
  307. "type":"horizontalbar",
  308.  
  309. "x" : 15,
  310. "y" : 40 + 50 + 85,
  311. "width" : 366,
  312.  
  313. "children" :
  314. (
  315. {
  316. "name" : "zapis_text",
  317. "type" : "text",
  318. "x" : 42,
  319. "y" : 1,
  320. "text" : "Zapisane Pozycje",
  321. "r" : 1.0,
  322. "g" : 1.0,
  323. "b" : 1.0,
  324. "a" : 1.0,
  325. "text_horizontal_align" : "center"
  326. },
  327. ),
  328. },
  329. ## zapis1
  330. {
  331. "name" : "zapis1",
  332. "type" : "button",
  333.  
  334. "x" : 15 - 155,
  335. "y" : 64 + 55 + 31 + 48,
  336.  
  337. "horizontal_align" : "center",
  338.  
  339. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  340. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  341. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  342.  
  343. "text" : "Wolne",
  344. },
  345. ## zapis2
  346. {
  347. "name" : "zapis2",
  348. "type" : "button",
  349.  
  350. "x" : 108 - 155,
  351. "y" : 64 + 55 + 31 + 48,
  352.  
  353. "horizontal_align" : "center",
  354.  
  355. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  356. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  357. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  358.  
  359. "text" : "Wolne",
  360. },
  361. ## zapis3
  362. {
  363. "name" : "zapis3",
  364. "type" : "button",
  365.  
  366. "x" : 200 - 155,
  367. "y" : 64 + 55 + 31 + 48,
  368.  
  369. "horizontal_align" : "center",
  370.  
  371. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  372. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  373. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  374.  
  375. "text" : "Wolne",
  376. },
  377. ## zapis4
  378. {
  379. "name" : "zapis4",
  380. "type" : "button",
  381.  
  382. "x" : 292 - 155,
  383. "y" : 64 + 55 + 31 + 48,
  384.  
  385. "horizontal_align" : "center",
  386.  
  387. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  388. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  389. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  390.  
  391. "text" : "Wolne",
  392. },
  393. ## zapis5
  394. {
  395. "name" : "zapis5",
  396. "type" : "button",
  397.  
  398. "x" : 15 - 155,
  399. "y" : 64 + 55 + 25 + 31 + 48,
  400.  
  401. "horizontal_align" : "center",
  402.  
  403. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  404. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  405. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  406.  
  407. "text" : "Wolne",
  408. },
  409. ## zapis6
  410. {
  411. "name" : "zapis6",
  412. "type" : "button",
  413.  
  414. "x" : 108 - 155,
  415. "y" : 64 + 55 + 25 + 31 + 48,
  416.  
  417. "horizontal_align" : "center",
  418.  
  419. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  420. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  421. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  422.  
  423. "text" : "Wolne",
  424. },
  425. ## zapis7
  426. {
  427. "name" : "zapis7",
  428. "type" : "button",
  429.  
  430. "x" : 200 - 155,
  431. "y" : 64 + 55 + 25 + 31 + 48,
  432.  
  433. "horizontal_align" : "center",
  434.  
  435. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  436. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  437. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  438.  
  439. "text" : "Wolne",
  440. },
  441. ## zapis8
  442. {
  443. "name" : "zapis8",
  444. "type" : "button",
  445.  
  446. "x" : 292 - 155,
  447. "y" : 64 + 55 + 25 + 31 + 48,
  448.  
  449. "horizontal_align" : "center",
  450.  
  451. "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
  452. "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
  453. "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
  454.  
  455. "text" : "Wolne",
  456. },
  457. ##poprzeczka 4
  458. {
  459. "name" : "wykonal_poprzeczka",
  460. "type":"horizontalbar",
  461.  
  462. "x" : 15,
  463. "y" : 64 + 55 + 25 + 31 + 48 + 30,
  464. "width" : 366,
  465.  
  466. "children" :
  467. (
  468. {
  469. "name" : "wykonal_text",
  470. "type" : "text",
  471. "x" : 75,
  472. "y" : 1,
  473. "text" : "Wykonal: Join",
  474. "r" : 1.0,
  475. "g" : 1.0,
  476. "b" : 1.0,
  477. "a" : 1.0,
  478. "horizontal_align" : "right"
  479. },
  480. ),
  481. },
  482. ),
  483. },
  484. ),
  485. }
Add Comment
Please, Sign In to add comment