Guest User

Untitled

a guest
Feb 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.05 KB | None | 0 0
  1. new GuiControlProfile (TextProfile_MainMenu : GuiTextProfile)
  2. {
  3. fontColorHL = "32 100 100";
  4. fontColor = "240 99 27";
  5. justify = "left";
  6. fontType = "Calibri";
  7. fontSize = "24";
  8. };
  9. //--- OBJECT WRITE BEGIN ---
  10.  
  11. new GuiChunkedBitmapCtrl(MainMenuGui) {
  12. profile = "GuiContentProfile";
  13. horizSizing = "width";
  14. vertSizing = "height";
  15. position = "0 0";
  16. extent = "8 8";
  17. minExtent = "8 8";
  18. visible = "1";
  19. helpTag = "0";
  20. bitmap = "./mainmenuImages/menubackground.png";
  21. useVariable = "0";
  22. tile = "1";
  23.  
  24. new GuiControl(MainMenuUI) {
  25. profile = "GuiDefaultProfile";
  26. horizSizing = "width";
  27. vertSizing = "height";
  28. position = "0 0";
  29. extent = "640 480";
  30. minExtent = "8 2";
  31. visible = "1";
  32. helpTag = "0";
  33.  
  34. new GuiBitmapCtrl() {
  35. profile = "GuiDefaultProfile";
  36. horizSizing = "width";
  37. vertSizing = "bottom";
  38. position = "0 783";
  39. extent = "640 300";
  40. minExtent = "8 2";
  41. visible = "1";
  42. helpTag = "0";
  43. bitmap = "./mainmenuImages/bg_peg.png";
  44. wrap = "1";
  45.  
  46. new GuiBitmapCtrl() {
  47. profile = "GuiDefaultProfile";
  48. horizSizing = "width";
  49. vertSizing = "bottom";
  50. position = "0 11";
  51. extent = "640 270";
  52. minExtent = "8 2";
  53. visible = "1";
  54. helpTag = "0";
  55. bitmap = "./mainmenuImages/bg_peg.png";
  56. wrap = "1";
  57. };
  58. };
  59. new GuiBitmapCtrl() {
  60. profile = "GuiDefaultProfile";
  61. horizSizing = "width";
  62. vertSizing = "bottom";
  63. position = "0 173";
  64. extent = "640 300";
  65. minExtent = "8 2";
  66. visible = "1";
  67. helpTag = "0";
  68. bitmap = "./mainmenuImages/bg_peg.png";
  69. wrap = "1";
  70. };
  71. new GuiBitmapCtrl() {
  72. profile = "GuiDefaultProfile";
  73. horizSizing = "width";
  74. vertSizing = "bottom";
  75. position = "0 481";
  76. extent = "640 140";
  77. minExtent = "8 2";
  78. visible = "1";
  79. helpTag = "0";
  80. bitmap = "./mainmenuImages/bg_peg.png";
  81. wrap = "1";
  82.  
  83. new GuiBitmapCtrl() {
  84. profile = "GuiDefaultProfile";
  85. horizSizing = "width";
  86. vertSizing = "bottom";
  87. position = "0 11";
  88. extent = "640 120";
  89. minExtent = "8 2";
  90. visible = "1";
  91. helpTag = "0";
  92. bitmap = "./mainmenuImages/bg_peg.png";
  93. wrap = "1";
  94. };
  95. };
  96. new GuiBitmapCtrl() {
  97. profile = "GuiDefaultProfile";
  98. horizSizing = "width";
  99. vertSizing = "bottom";
  100. position = "0 631";
  101. extent = "640 140";
  102. minExtent = "8 2";
  103. visible = "1";
  104. helpTag = "0";
  105. bitmap = "./mainmenuImages/bg_peg.png";
  106. wrap = "1";
  107.  
  108. new GuiBitmapCtrl() {
  109. profile = "GuiDefaultProfile";
  110. horizSizing = "width";
  111. vertSizing = "bottom";
  112. position = "0 11";
  113. extent = "640 120";
  114. minExtent = "8 2";
  115. visible = "1";
  116. helpTag = "0";
  117. bitmap = "./mainmenuImages/bg_peg.png";
  118. wrap = "1";
  119. };
  120. };
  121.  
  122. new GuiControl(Slideshow_holder) {
  123. profile = "GuiDefaultProfile";
  124. horizSizing = "right";
  125. vertSizing = "bottom";
  126. position = "0 248";
  127. extent = "1024 247";
  128. minExtent = "8 2";
  129. visible = "1";
  130. helpTag = "0";
  131.  
  132. new GuiControl(MainMenu_Frame1) {
  133. profile = "GuiDefaultProfile";
  134. horizSizing = "right";
  135. vertSizing = "bottom";
  136. position = "-340 0";
  137. extent = "340 248";
  138. minExtent = "8 2";
  139. visible = "1";
  140. helpTag = "0";
  141.  
  142. new GuiBitmapCtrl(Frame1) {
  143. profile = "GuiDefaultProfile";
  144. horizSizing = "right";
  145. vertSizing = "bottom";
  146. position = "10 5";
  147. extent = "320 228";
  148. minExtent = "8 2";
  149. visible = "1";
  150. helpTag = "0";
  151. bitmap = "~/screenshots/apoc_2.png";
  152. wrap = "0";
  153. };
  154. new GuiBitmapCtrl() {
  155. profile = "GuiDefaultProfile";
  156. horizSizing = "width";
  157. vertSizing = "bottom";
  158. position = "0 0";
  159. extent = "340 248";
  160. minExtent = "8 2";
  161. visible = "1";
  162. helpTag = "0";
  163. bitmap = "./mainmenuImages/frame.png";
  164. wrap = "1";
  165. };
  166. };
  167. new GuiControl(MainMenu_Frame2) {
  168. profile = "GuiDefaultProfile";
  169. horizSizing = "right";
  170. vertSizing = "bottom";
  171. position = "0 0";
  172. extent = "340 248";
  173. minExtent = "8 2";
  174. visible = "1";
  175. helpTag = "0";
  176.  
  177. new GuiBitmapCtrl(Frame2) {
  178. profile = "GuiDefaultProfile";
  179. horizSizing = "right";
  180. vertSizing = "bottom";
  181. position = "10 5";
  182. extent = "320 228";
  183. minExtent = "8 2";
  184. visible = "1";
  185. helpTag = "0";
  186. bitmap = "~/data/missions/sahara.png";
  187. wrap = "0";
  188. };
  189. new GuiBitmapCtrl() {
  190. profile = "GuiDefaultProfile";
  191. horizSizing = "width";
  192. vertSizing = "bottom";
  193. position = "0 0";
  194. extent = "340 248";
  195. minExtent = "8 2";
  196. visible = "1";
  197. helpTag = "0";
  198. bitmap = "./mainmenuImages/frame.png";
  199. wrap = "1";
  200. };
  201. };
  202. new GuiControl(MainMenu_Frame3) {
  203. profile = "GuiDefaultProfile";
  204. horizSizing = "right";
  205. vertSizing = "bottom";
  206. position = "340 0";
  207. extent = "340 248";
  208. minExtent = "8 2";
  209. visible = "1";
  210. helpTag = "0";
  211.  
  212. new GuiBitmapCtrl(Frame3) {
  213. profile = "GuiDefaultProfile";
  214. horizSizing = "right";
  215. vertSizing = "bottom";
  216. position = "10 5";
  217. extent = "320 228";
  218. minExtent = "8 2";
  219. visible = "1";
  220. helpTag = "0";
  221. bitmap = "~/screenshots/tropico_2.png";
  222. wrap = "0";
  223. };
  224. new GuiBitmapCtrl() {
  225. profile = "GuiDefaultProfile";
  226. horizSizing = "width";
  227. vertSizing = "bottom";
  228. position = "0 0";
  229. extent = "340 248";
  230. minExtent = "8 2";
  231. visible = "1";
  232. helpTag = "0";
  233. bitmap = "./mainmenuImages/frame.png";
  234. wrap = "1";
  235. };
  236. };
  237. new GuiControl(MainMenu_Frame4) {
  238. profile = "GuiDefaultProfile";
  239. horizSizing = "right";
  240. vertSizing = "bottom";
  241. position = "680 0";
  242. extent = "340 248";
  243. minExtent = "8 2";
  244. visible = "1";
  245. helpTag = "0";
  246.  
  247. new GuiBitmapCtrl(Frame4) {
  248. profile = "GuiDefaultProfile";
  249. horizSizing = "right";
  250. vertSizing = "bottom";
  251. position = "10 5";
  252. extent = "340 228";
  253. minExtent = "8 2";
  254. visible = "1";
  255. helpTag = "0";
  256. bitmap = "~/screenshots/pic_00081.png";
  257. wrap = "0";
  258. };
  259. new GuiBitmapCtrl() {
  260. profile = "GuiDefaultProfile";
  261. horizSizing = "width";
  262. vertSizing = "bottom";
  263. position = "0 0";
  264. extent = "340 248";
  265. minExtent = "8 2";
  266. visible = "1";
  267. helpTag = "0";
  268. bitmap = "./mainmenuImages/frame.png";
  269. wrap = "1";
  270. };
  271. };
  272. new GuiControl(MainMenu_Frame5) {
  273. profile = "GuiDefaultProfile";
  274. horizSizing = "right";
  275. vertSizing = "bottom";
  276. position = "1020 0";
  277. extent = "340 248";
  278. minExtent = "8 2";
  279. visible = "1";
  280. helpTag = "0";
  281.  
  282. new GuiBitmapCtrl(Frame5) {
  283. profile = "GuiDefaultProfile";
  284. horizSizing = "right";
  285. vertSizing = "bottom";
  286. position = "10 5";
  287. extent = "320 228";
  288. minExtent = "8 2";
  289. visible = "1";
  290. helpTag = "0";
  291. bitmap = "~/screenshots/tbmplane_1.png";
  292. wrap = "0";
  293. };
  294. new GuiBitmapCtrl() {
  295. profile = "GuiDefaultProfile";
  296. horizSizing = "width";
  297. vertSizing = "bottom";
  298. position = "0 0";
  299. extent = "340 248";
  300. minExtent = "8 2";
  301. visible = "1";
  302. helpTag = "0";
  303. bitmap = "./mainmenuImages/frame.png";
  304. wrap = "1";
  305. };
  306. };
  307. };
  308.  
  309.  
  310.  
  311. new GuiBitmapCtrl(Sidebar) {
  312. profile = "GuiDefaultProfile";
  313. horizSizing = "right";
  314. vertSizing = "bottom";
  315. position = "0 0";
  316. extent = "1280 1024";
  317. minExtent = "1280 1024";
  318. visible = "1";
  319. helpTag = "0";
  320. bitmap = "./mainmenuImages/sidebar_orange";
  321. wrap = "1";
  322.  
  323. new GuiControl(Button_Quit) {
  324. profile = "GuiDefaultProfile";
  325. horizSizing = "right";
  326. vertSizing = "top";
  327. position = "256 128";
  328. extent = "128 124";
  329. minExtent = "8 2";
  330. visible = "1";
  331. helpTag = "0";
  332.  
  333. new GuiBitmapCtrl(Button_Quit_Bitmap) {
  334. profile = "GuiDefaultProfile";
  335. horizSizing = "right";
  336. vertSizing = "top";
  337. position = "0 0";
  338. extent = "128 124";
  339. minExtent = "128 124";
  340. visible = "1";
  341. helpTag = "0";
  342. bitmap = "./mainmenuImages/button_o0";
  343. wrap = "0";
  344. };
  345. new GuiTextCtrl() {
  346. profile = "TextProfile_MainMenu";
  347. horizSizing = "right";
  348. vertSizing = "top";
  349. position = "47 45";
  350. extent = "38 27";
  351. minExtent = "8 2";
  352. visible = "1";
  353. helpTag = "0";
  354. text = "Quit";
  355. maxLength = "255";
  356. };
  357. };
  358. new GuiControl(Button_Help) {
  359. profile = "GuiDefaultProfile";
  360. horizSizing = "right";
  361. vertSizing = "top";
  362. position = "128 128";
  363. extent = "128 124";
  364. minExtent = "8 2";
  365. visible = "1";
  366. helpTag = "0";
  367.  
  368. new GuiBitmapCtrl(Button_Help_Bitmap) {
  369. profile = "GuiDefaultProfile";
  370. horizSizing = "right";
  371. vertSizing = "top";
  372. position = "0 0 ";
  373. extent = "128 124";
  374. minExtent = "8 2";
  375. visible = "1";
  376. helpTag = "1";
  377. bitmap = "./mainmenuImages/button_o0";
  378. wrap = "1";
  379. tile = "1";
  380. };
  381. new GuiTextCtrl() {
  382. profile = "TextProfile_MainMenu";
  383. horizSizing = "right";
  384. vertSizing = "top";
  385. position = "45 45";
  386. extent = "40 27";
  387. minExtent = "8 2";
  388. visible = "1";
  389. helpTag = "0";
  390. text = "Help";
  391. maxLength = "255";
  392. };
  393. };
  394. new GuiControl(Button_StartServer) {
  395. profile = "GuiDefaultProfile";
  396. horizSizing = "right";
  397. vertSizing = "top";
  398. position = "0 0";
  399. extent = "128 124";
  400. minExtent = "8 2";
  401. visible = "1";
  402. helpTag = "0";
  403.  
  404. new GuiBitmapCtrl(Button_StartServer_Bitmap) {
  405. profile = "GuiDefaultProfile";
  406. horizSizing = "right";
  407. vertSizing = "top";
  408. position = "0 0";
  409. extent = "128 124";
  410. minExtent = "8 2";
  411. visible = "1";
  412. helpTag = "0";
  413. bitmap = "./mainmenuImages/button_o0";
  414. wrap = "0";
  415. glow = "23289";
  416. };
  417. new GuiTextCtrl() {
  418. profile = "TextProfile_MainMenu";
  419. horizSizing = "right";
  420. vertSizing = "top";
  421. position = "15 45";
  422. extent = "97 27";
  423. minExtent = "8 2";
  424. visible = "1";
  425. helpTag = "0";
  426. text = "Start Server";
  427. maxLength = "255";
  428. };
  429. };
  430. new GuiControl(Button_JoinServer) {
  431. profile = "GuiDefaultProfile";
  432. horizSizing = "right";
  433. vertSizing = "top";
  434. position = "128 0";
  435. extent = "128 124";
  436. minExtent = "8 2";
  437. visible = "1";
  438. helpTag = "0";
  439.  
  440. new GuiBitmapCtrl(Button_JoinServer_Bitmap) {
  441. profile = "GuiDefaultProfile";
  442. horizSizing = "right";
  443. vertSizing = "top";
  444. position = "0 0";
  445. extent = "128 124";
  446. minExtent = "8 2";
  447. visible = "1";
  448. helpTag = "0";
  449. bitmap = "./mainmenuImages/button_o0";
  450. wrap = "0";
  451. glow = "23319";
  452. };
  453. new GuiTextCtrl() {
  454. profile = "TextProfile_MainMenu";
  455. horizSizing = "right";
  456. vertSizing = "top";
  457. position = "18 45";
  458. extent = "93 27";
  459. minExtent = "8 2";
  460. visible = "1";
  461. helpTag = "0";
  462. text = "Join Server";
  463. maxLength = "255";
  464. };
  465. };
  466. new GuiControl(Button_Options) {
  467. profile = "GuiDefaultProfile";
  468. horizSizing = "right";
  469. vertSizing = "top";
  470. position = "256 0";
  471. extent = "128 124";
  472. minExtent = "8 2";
  473. visible = "1";
  474. helpTag = "0";
  475.  
  476. new GuiBitmapCtrl(Button_Options_Bitmap) {
  477. profile = "GuiDefaultProfile";
  478. horizSizing = "right";
  479. vertSizing = "top";
  480. position = "0 0";
  481. extent = "128 124";
  482. minExtent = "8 2";
  483. visible = "1";
  484. helpTag = "0";
  485. bitmap = "./mainmenuImages/button_o0";
  486. wrap = "0";
  487. };
  488. new GuiTextCtrl() {
  489. profile = "TextProfile_MainMenu";
  490. horizSizing = "right";
  491. vertSizing = "top";
  492. position = "28 45";
  493. extent = "66 27";
  494. minExtent = "8 2";
  495. visible = "1";
  496. helpTag = "0";
  497. text = "Options";
  498. maxLength = "255";
  499. };
  500. };
  501.  
  502. new GuiControl(Button_News) {
  503. profile = "GuiDefaultProfile";
  504. horizSizing = "right";
  505. vertSizing = "top";
  506. position = "0 128";
  507. extent = "128 124";
  508. minExtent = "8 2";
  509. visible = "1";
  510. helpTag = "0";
  511.  
  512. new GuiBitmapCtrl(Button_News_Bitmap) {
  513. profile = "GuiDefaultProfile";
  514. horizSizing = "right";
  515. vertSizing = "top";
  516. position = "0 0";
  517. extent = "128 124";
  518. minExtent = "8 2";
  519. visible = "1";
  520. helpTag = "0";
  521. bitmap = "./mainmenuImages/button_o0";
  522. wrap = "0";
  523. };
  524. new GuiTextCtrl(Button_News_Text) {
  525. profile = "TextProfile_MainMenu";
  526. horizSizing = "right";
  527. vertSizing = "top";
  528. position = "40 45";
  529. extent = "66 27";
  530. minExtent = "8 2";
  531. visible = "1";
  532. helpTag = "0";
  533. text = "News";
  534. maxLength = "255";
  535. };
  536. };
  537. };
  538.  
  539.  
  540. new GuiBitmapCtrl(Tint) {
  541. profile = "GuiDefaultProfile";
  542. horizSizing = "width";
  543. vertSizing = "bottom";
  544. position = "0 248";
  545. extent = "1024 247";
  546. minExtent = "8 2";
  547. visible = "1";
  548. helpTag = "0";
  549. bitmap = "./mainmenuImages/metal_bar_small.png";
  550. wrap = "1";
  551.  
  552. new GuiBitmapCtrl() {
  553. profile = "GuiDefaultProfile";
  554. horizSizing = "width";
  555. vertSizing = "bottom";
  556. position = "0 11";
  557. extent = "640 120";
  558. minExtent = "8 2";
  559. visible = "1";
  560. helpTag = "0";
  561. bitmap = "./mainmenuImages/bg_peg.png";
  562. wrap = "1";
  563. };
  564. };
  565.  
  566. new GuiBitmapCtrl(Title) {
  567. profile = "GuiDefaultProfile";
  568. horizSizing = "right";
  569. vertSizing = "bottom";
  570. position = "217 270";
  571. extent = "600 192";
  572. minExtent = "8 2";
  573. visible = "1";
  574. helpTag = "0";
  575. bitmap = "./mainmenuImages/header.png";
  576. wrap = "0";
  577. };
  578. new GuiMouseEventCtrl(MainMenu_StartServer) {
  579. profile = "GuiDefaultProfile";
  580. horizSizing = "right";
  581. vertSizing = "bottom";
  582. position = "0 0";
  583. extent = "128 124";
  584. minExtent = "8 2";
  585. visible = "1";
  586. helpTag = "0";
  587. lockMouse = "0";
  588. };
  589. new GuiMouseEventCtrl(MainMenu_JoinServer) {
  590. profile = "GuiDefaultProfile";
  591. horizSizing = "right";
  592. vertSizing = "bottom";
  593. position = "128 0";
  594. extent = "128 124";
  595. minExtent = "8 2";
  596. visible = "1";
  597. helpTag = "0";
  598. lockMouse = "0";
  599. };
  600. new GuiMouseEventCtrl(MainMenu_Options) {
  601. profile = "GuiDefaultProfile";
  602. horizSizing = "right";
  603. vertSizing = "bottom";
  604. position = "256 0";
  605. extent = "128 124";
  606. minExtent = "8 2";
  607. visible = "1";
  608. helpTag = "0";
  609. lockMouse = "0";
  610. };
  611. new GuiMouseEventCtrl(MainMenu_News) {
  612. profile = "GuiDefaultProfile";
  613. horizSizing = "right";
  614. vertSizing = "bottom";
  615. position = "0 128";
  616. extent = "128 124";
  617. minExtent = "8 2";
  618. visible = "1";
  619. helpTag = "0";
  620. lockMouse = "0";
  621. };
  622. new GuiMouseEventCtrl(MainMenu_Help) {
  623. profile = "GuiDefaultProfile";
  624. horizSizing = "right";
  625. vertSizing = "bottom";
  626. position = "128 128";
  627. extent = "128 124";
  628. minExtent = "8 2";
  629. visible = "1";
  630. helpTag = "0";
  631. lockMouse = "0";
  632. };
  633. new GuiMouseEventCtrl(MainMenu_Quit) {
  634. profile = "GuiDefaultProfile";
  635. horizSizing = "right";
  636. vertSizing = "bottom";
  637. position = "256 128";
  638. extent = "128 124";
  639. minExtent = "8 2";
  640. visible = "1";
  641. helpTag = "0";
  642. lockMouse = "0";
  643. };
  644. };
  645. new GuiButtonCtrl() {
  646. profile = "TBM_ButtonProfile";
  647. horizSizing = "right";
  648. vertSizing = "top";
  649. position = "671 448";
  650. extent = "110 20";
  651. minExtent = "8 8";
  652. visible = "0";
  653. command = "Canvas.pushDialog(recordingsDlg);";
  654. helpTag = "1";
  655. text = "Demos...";
  656. groupNum = "-1";
  657. buttonType = "PushButton";
  658. };
  659. new GuiButtonCtrl() {
  660. profile = "TBM_ButtonProfile";
  661. horizSizing = "left";
  662. vertSizing = "top";
  663. position = "402 448";
  664. extent = "110 20";
  665. minExtent = "8 8";
  666. visible = "0";
  667. command = "Canvas.pushDialog(aboutDlg);";
  668. helpTag = "1";
  669. text = "About...";
  670. groupNum = "-1";
  671. buttonType = "PushButton";
  672. };
  673. new GuiButtonCtrl() {
  674. profile = "TBM_ButtonProfile";
  675. horizSizing = "left";
  676. vertSizing = "top";
  677. position = "517 448";
  678. extent = "110 20";
  679. minExtent = "8 8";
  680. visible = "1";
  681. command = "getHelp(\"1. Credits\");";
  682. helpTag = "0";
  683. text = "Credits...";
  684. groupNum = "-1";
  685. buttonType = "PushButton";
  686. };
  687. };
  688. //--- OBJECT WRITE END ---
Add Comment
Please, Sign In to add comment