Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.23 KB | None | 0 0
  1. //Server-FPS-Script -> Script auf Server ausführen und per publicvariable anzeigen lassen
  2.  
  3. // A -> UAV - Management / Banner ab "sofort" X
  4. // Banner nicht im Hintergrund enthalten
  5.  
  6. #define Color_White {1, 1, 1, 1}
  7. #define Color_Black {0, 0, 0, 1}
  8. #define Color_Grey {0.5, 0.5, 0.5, 1}
  9.  
  10. ////////////////////////////////////////////////////////////////
  11. //Referenzpunkte für einzelne Felder des Dialoges zur vereinfachten Control-Positionierung (Bsp.: pos_x = A_X + 3 * 0.5 etc.)
  12.  
  13. #define ratio 1.5 // Skalierung des gesamten Dialoges
  14.  
  15. #define area_h (0.03 * ratio)
  16. #define area_w (0.10 * ratio)
  17.  
  18. #define Z_X (((-ratio + 1)/2 * 1.0) + ratio * 0) // Banner
  19. #define Z_Y (((-ratio + 1)/2 * 1.0) + ratio * 0)
  20. #define A_X (((-ratio + 1)/2 * 1.0) + ratio * 0) // UAV-Manager
  21. #define A_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.125)
  22. #define B_X (((-ratio + 1)/2 * 1.0) + ratio * 0.5) // Settings (Zeit, Lifetime etc.)
  23. #define B_Y (((-ratio + 1)/2 * 1.0) + ratio * 0)
  24. #define C_X (((-ratio + 1)/2 * 1.0) + ratio * 0.5) // Commandline, Executer
  25. #define C_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.125)
  26. #define D_X (((-ratio + 1)/2 * 1.0) + ratio * 0.75) // Seitenverhältniseinstellung + Clearer
  27. #define D_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.125)
  28. #define E_X (((-ratio + 1)/2 * 1.0) + ratio * 0) // CAS
  29. #define E_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.25)
  30. #define F_X (((-ratio + 1)/2 * 1.0) + ratio * 0) // Artillery
  31. #define F_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.375)
  32. #define G_X (((-ratio + 1)/2 * 1.0) + ratio * 0.25) // Medevac/Casevac
  33. #define G_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.25)
  34. #define H_X (((-ratio + 1)/2 * 1.0) + ratio * 0.25) // Airdrop
  35. #define H_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.375)
  36. #define I_X (((-ratio + 1)/2 * 1.0) + ratio * 0.5) // Unit Management
  37. #define I_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.25)
  38. #define J_X (((-ratio + 1)/2 * 1.0) + ratio * 0.75) // IED Management
  39. #define J_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.25)
  40. #define K_X (((-ratio + 1)/2 * 1.0) + ratio * 0) // Spawner - Auswahlfelder (Side, Faction etc.)
  41. #define K_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.5)
  42. #define L_X (((-ratio + 1)/2 * 1.0) + ratio * 0) // Spawner - Initfeldelder und andere Einstellungen
  43. #define L_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.75)
  44. #define M_X (((-ratio + 1)/2 * 1.0) + ratio * 0.25) // Spawner - Spawn/Patrol-Settings
  45. #define M_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.5)
  46. #define N_X (((-ratio + 1)/2 * 1.0) + ratio * 0.25) // Spawner - Buttons
  47. #define N_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.75)
  48. #define O_X (((-ratio + 1)/2 * 1.0) + ratio * 0.5) // Map
  49. #define O_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.5)
  50. #define P_X (((-ratio + 1)/2 * 1.0) + ratio * 0.5) // allgemeine Buttons
  51. #define P_Y (((-ratio + 1)/2 * 1.0) + ratio * 0.875)
  52.  
  53. ////////////////////////////////////////////////////////////////
  54. //Einstellungen für alle Buttons
  55.  
  56. class TempButton
  57. {
  58. idc = -1; // individuell
  59. moving = false;
  60. type = 1; // Typ ... jede nach Control-Klasse
  61. style = 0x00; // Auswirkungen testen! <---
  62. w = area_w;
  63. h = area_h;
  64. sizeEx = 0.02 * ratio; // Größe testen/anpassen <---
  65. font = Zeppelin33;
  66. colorText[] = {1, 1, 1, 1};
  67. colorBackground[] = {0.5, 0.5, 0.5, 1};
  68. text = ""; // individuell für jede Control
  69. shadow = 0; // 0,1,2 ... Test - anpassen? <---
  70.  
  71.  
  72. colorDisabled[] = {0.3,0.3,0.3,0};
  73. colorBackgroundDisabled[] = {0.6,0.6,0.6,0};
  74. colorBackgroundActive[] = {1,0.5,0,0};
  75. offsetX = 0.000;
  76. offsetY = 0.000;
  77. offsetPressedX = 0.000;
  78. offsetPressedY = 0.000;
  79. colorFocused[] = {0,0,0,1};
  80. colorShadow[] = {0,0,0,1};
  81. colorBorder[] = {0,0,0,1};
  82. borderSize = 0.000;
  83. soundEnter[] = {"",0.1,1};
  84. soundPush[] = {"",0.1,1};
  85. soundClick[] = {"",0.1,1};
  86. soundEscape[] = {"",0.1,1};
  87.  
  88. };
  89.  
  90. ////////////////////////////////////////////////////////////////
  91. //Einstellungen für Texteingabefelder
  92.  
  93. class TempEdit
  94. {
  95. idc = -1; // individuell
  96. moving = false;
  97. type = 2; // Typ ... jede nach Control-Klasse
  98. style = 0x00; // Auswirkungen testen! <---
  99. w = 0.21 * ratio;
  100. h = 0.03 * ratio;
  101. sizeEx = 0.025 * ratio; // Größe testen/anpassen <---
  102. font = Zeppelin33;
  103. colorText[] = {1, 1, 1, 1};
  104. colorBackground[] = {0.5, 0.5, 0.5, 1};
  105. text = ""; // individuell für jede Control
  106. shadow = 1; // 0,1,2 ... Test - anpassen? <---
  107.  
  108. colorSelection[] = {1,1,1,0.25};
  109. autocomplete = "scripting";
  110. size = 0.03 * ratio;
  111. };
  112.  
  113. ////////////////////////////////////////////////////////////////
  114. //Einstellungen für Textfelder
  115.  
  116. class TempText
  117. {
  118. idc = -1; // individuell
  119. moving = false;
  120. type = 0; // Typ ... jede nach Control-Klasse
  121. style = 0x00; // Auswirkungen testen! <---
  122. w = area_w;
  123. h = area_h;
  124. sizeEx = 0.02 * ratio; // Größe testen/anpassen <---
  125. font = Zeppelin33;
  126. colorText[] = {1, 1, 1, 1};
  127. colorBackground[] = {0.5, 0.5, 0.5, 1};
  128. text = ""; // individuell für jede Control
  129. shadow = 0; // 0,1,2 ... Test - anpassen? <---
  130.  
  131. fixedWidth = 0;
  132. };
  133.  
  134. ////////////////////////////////////////////////////////////////
  135. //Einstellungen für Dropdownkasten (Listbox)
  136.  
  137. class TempListbox
  138. {
  139. idc = -1; // individuell
  140. moving = false;
  141. type = 5; // Typ ... jede nach Control-Klasse
  142. style = 0; // Auswirkungen testen! <---
  143. w = 0;
  144. h = 0;
  145. sizeEx = 0.02 * ratio; // Größe testen/anpassen <---
  146. font = Zeppelin33;
  147. colorText[] = {1, 1, 1, 1};
  148. colorBackground[] = {0.5, 0.5, 0.5, 1};
  149. text = ""; // individuell für jede Control
  150. shadow = 1; // 0,1,2 ... Test - anpassen? <---
  151.  
  152. rowHeight = 0.03;
  153. colorScrollbar[] = {1,1,1,1};
  154. colorSelect[] = {0,0,0,1};
  155. colorSelect2[] = {1,0.5,0,1};
  156. colorSelectBackground[] = {0.6,0.6,0.6,1};
  157. colorSelectBackground2[] = {0.2,0.2,0.2,1};
  158. maxHistoryDelay = 1.0;
  159. soundSelect[] = {"",0.1,1};
  160. period = 1;
  161. autoScrollSpeed = -1;
  162. autoScrollDelay = 5;
  163. autoScrollRewind = 0;
  164. thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
  165. arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
  166. arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
  167. border = "\ca\ui\data\ui_border_scroll_ca.paa";
  168. class ScrollBar {
  169. color[] = {1,1,1,0.6};
  170. colorActive[] = {1,1,1,1};
  171. colorDisabled[] = {1,1,1,0.3};
  172. thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
  173. arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
  174. arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
  175. border = "\ca\ui\data\ui_border_scroll_ca.paa";
  176. shadow = 0;
  177. };
  178.  
  179.  
  180. };
  181.  
  182. ////////////////////////////////////////////////////////////////
  183. //Einstellungen für Dropdownbutton (Combobox)
  184.  
  185. class TempCombobox
  186. {
  187. idc = -1; // individuell
  188. moving = false;
  189. type = 4; // Typ ... jede nach Control-Klasse
  190. style = 0x00; // Auswirkungen testen! <---
  191. w = area_w;
  192. h = area_h;
  193. sizeEx = 0.02 * ratio; // Größe testen/anpassen <---
  194. font = Zeppelin33;
  195. colorText[] = {1, 1, 1, 1};
  196. colorBackground[] = {0.5, 0.5, 0.5, 1};
  197. text = ""; // individuell für jede Control
  198. shadow = 1; // 0,1,2 ... Test - anpassen? <---
  199.  
  200. rowHeight = 0.03 * ratio;
  201. wholeHeight = 8 * 0.03 * ratio;
  202. colorSelect[] = {0.6,0.6,0.6,1};
  203. colorScrollbar[] = {1,1,1,1};
  204. soundSelect[] = {"",0.1,1};
  205. soundExpand[] = {"",0.1,1};
  206. soundCollapse[] = {"",0.1,1};
  207. maxHistoryDelay = 1.0;
  208. thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
  209. arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
  210. arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
  211. border = "\ca\ui\data\ui_border_scroll_ca.paa";
  212.  
  213. class ScrollBar {
  214. color[] = {1,1,1,0.6};
  215. colorActive[] = {1,1,1,1};
  216. colorDisabled[] = {1,1,1,0.3};
  217. thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
  218. arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
  219. arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
  220. border = "\ca\ui\data\ui_border_scroll_ca.paa";
  221. shadow = 0;
  222. };
  223. };
  224.  
  225. ////////////////////////////////////////////////////////////////
  226. //Einstellungen für Banner
  227.  
  228. class TempBanner
  229. {
  230. moving = false;
  231. type = 0; // CT_STATIC
  232. style = 48; // ST_PICTURE
  233. sizeEx = 0;
  234. font = Zeppelin33;
  235. shadow = 0;
  236.  
  237. };
  238.  
  239. ////////////////////////////////////////////////////////////////
  240. //Einstellungen für Map
  241.  
  242. class TempMap
  243. {
  244. moving = true;
  245. type = 101; // CT_MAP_MAIN
  246. style = 48; // ST_PICTURE
  247. sizeEx = 0;
  248. font = Zeppelin33;
  249. shadow = 1; // 0,1,2 ... Test - anpassen? <---
  250.  
  251. maxSatelliteAlpha = 0;
  252. alphaFadeStartScale = 1;
  253. alphaFadeEndScale = 1.1;
  254.  
  255. colorOutside[] = {0, 0, 0, 1};
  256. colorRailWay[] = {0, 0, 0, 1};
  257. colorSea[] = {0.56, 0.80, 0.98, 0.50};
  258. colorForest[] = {0.60, 0.80, 0.20, 0.50};
  259. colorRocks[] = {0.50, 0.50, 0.50, 0.50};
  260. colorCountlines[] = {0.65, 0.45, 0.27, 0.50};
  261. colorMainCountlines[] = {0.65, 0.45, 0.27, 1.00};
  262. colorCountlinesWater[] = {0.00, 0.53, 1.00, 0.50};
  263. colorMainCountlinesWater[] = {0.00, 0.53, 1.00, 1.00};
  264. colorForestBorder[] = {0.40, 0.80, 0.00, 1.00};
  265. colorRocksBorder[] = {0.50, 0.50, 0.50, 1.00};
  266. colorPowerLines[] = {0.00, 0.00, 0.00, 1.00};
  267. colorNames[] = {0.00, 0.00, 0.00, 1.00};
  268. colorInactive[] = {1.00, 1.00, 1.00, 0.50};
  269. colorLevels[] = {0.00, 0.00, 0.00, 1.00};
  270.  
  271. fontLabel = "TahomaB";
  272. sizeExLabel = 0.02;
  273. fontGrid = "TahomaB";
  274. sizeExGrid = 0.02;
  275. fontUnits = "TahomaB";
  276. sizeExUnits = 0.02;
  277. fontNames = "TahomaB";
  278. sizeExNames = 0.02;
  279. fontInfo = "TahomaB";
  280. sizeExInfo = 0.02;
  281. fontLevel = "TahomaB";
  282. sizeExLevel = 0.02;
  283. //stickX = {0.20, {"Gamma", 1.00, 1.50} };
  284. //stickY = {0.20, {"Gamma", 1.00, 1.50} };
  285. ptsPerSquareSea = 6;
  286. ptsPerSquareTxt = 8;
  287. ptsPerSquareCLn = 8;
  288. ptsPerSquareExp = 8;
  289. ptsPerSquareCost = 8;
  290. ptsPerSquareFor = "4.0f";
  291. ptsPerSquareForEdge = "10.0f";
  292. ptsPerSquareRoad = 2;
  293. ptsPerSquareObj = 10;
  294. text = "\ca\ui\data\map_background2_co.paa";
  295. showCountourInterval = 2;
  296. scaleDefault = 0.1;
  297. onMouseButtonClick = "";
  298. onMouseButtonDblClick = "";
  299.  
  300. class ActiveMarker {
  301. color[] = {0.30, 0.10, 0.90, 1.00};
  302. size = 50;
  303. };
  304. class Bunker {
  305. icon = "\ca\ui\data\map_bunker_ca.paa";
  306. color[] = {0.00, 0.35, 0.70, 1.00};
  307. size = 14;
  308. importance = "1.5 * 14 * 0.05";
  309. coefMin = 0.25;
  310. coefMax = 4.00;
  311. };
  312. class Bush {
  313. icon = "\ca\ui\data\map_bush_ca.paa";
  314. color[] = {0.55, 0.64, 0.43, 1.00};
  315. size = 14;
  316. importance = "0.2 * 14 * 0.05";
  317. coefMin = 0.25; coefMax = 4.00;
  318. };
  319. class BusStop {
  320. icon = "\ca\ui\data\map_busstop_ca.paa";
  321. color[] = {0.00, 0.00, 1.00, 1.00};
  322. size = 10;
  323. importance = "1 * 10 * 0.05";
  324. coefMin = 0.25;
  325. coefMax = 4.00;
  326. };
  327. class Command {
  328. icon = "#(argb,8,8,3)color(1,1,1,1)";
  329. color[] = {0.00, 0.00, 0.00, 1.00};
  330. size = 18;
  331. importance = 1.00;
  332. coefMin = 1.00;
  333. coefMax = 1.00;
  334. };
  335. class Cross {
  336. icon = "\ca\ui\data\map_cross_ca.paa";
  337. color[] = {0.00, 0.35, 0.70, 1.00};
  338. size = 16;
  339. importance = "0.7 * 16 * 0.05";
  340. coefMin = 0.25;
  341. coefMax = 4.00;
  342. };
  343. class Fortress {
  344. icon = "\ca\ui\data\map_bunker_ca.paa";
  345. color[] = {0.00, 0.35, 0.70, 1.00};
  346. size = 16;
  347. importance = "2 * 16 * 0.05";
  348. coefMin = 0.25;
  349. coefMax = 4.00;
  350. };
  351. class Fuelstation {
  352. icon = "\ca\ui\data\map_fuelstation_ca.paa";
  353. color[] = {1.00, 0.35, 0.35, 1.00};
  354. size = 16;
  355. importance = "2 * 16 * 0.05";
  356. coefMin = 0.75;
  357. coefMax = 4.00;
  358. };
  359. class Fountain {
  360. icon = "\ca\ui\data\map_fountain_ca.paa";
  361. color[] = {0.00, 0.35, 0.70, 1.00};
  362. size = 12;
  363. importance = "1 * 12 * 0.05";
  364. coefMin = 0.25;
  365. coefMax = 4.00;
  366. };
  367. class Hospital {
  368. icon = "\ca\ui\data\map_hospital_ca.paa";
  369. color[] = {0.78, 0.00, 0.05, 1.00};
  370. size = 16;
  371. importance = "2 * 16 * 0.05";
  372. coefMin = 0.50;
  373. coefMax = 4;
  374. };
  375. class Chapel {
  376. icon = "\ca\ui\data\map_chapel_ca.paa";
  377. color[] = {0.00, 0.35, 0.70, 1.00};
  378. size = 16;
  379. importance = "1 * 16 * 0.05";
  380. coefMin = 0.90;
  381. coefMax = 4.00;
  382. };
  383. class Church {
  384. icon = "\ca\ui\data\map_church_ca.paa";
  385. color[] = {0.00, 0.35, 0.70, 1.00};
  386. size = 16;
  387. importance = "2 * 16 * 0.05";
  388. coefMin = 0.90;
  389. coefMax = 4.00;
  390. };
  391. class Lighthouse {
  392. icon = "\ca\ui\data\map_lighthouse_ca.paa";
  393. color[] = {0.78, 0.00, 0.05, 1.00};
  394. size = 20;
  395. importance = "3 * 16 * 0.05";
  396. coefMin = 0.90;
  397. coefMax = 4.00;
  398. };
  399. class Quay {
  400. icon = "\ca\ui\data\map_quay_ca.paa";
  401. color[] = {0.00, 0.35, 0.70, 1.00};
  402. size = 16;
  403. importance = "2 * 16 * 0.05";
  404. coefMin = 0.50;
  405. coefMax = 4.00;
  406. };
  407. class Rock {
  408. icon = "\ca\ui\data\map_rock_ca.paa";
  409. color[] = {0.35, 0.35, 0.35, 1.00};
  410. size = 12;
  411. importance = "0.5 * 12 * 0.05";
  412. coefMin = 0.25;
  413. coefMax = 4.00;
  414. };
  415. class Ruin {
  416. icon = "\ca\ui\data\map_ruin_ca.paa";
  417. color[] = {0.78, 0.00, 0.05, 1.00};
  418. size = 16;
  419. importance = "1.2 * 16 * 0.05";
  420. coefMin = 1.00;
  421. coefMax = 4.00;
  422. };
  423. class Stack {
  424. icon = "\ca\ui\data\map_stack_ca.paa";
  425. color[] = {0.00, 0.35, 0.70, 1.00};
  426. size = 20;
  427. importance = "2 * 16 * 0.05";
  428. coefMin = 0.90;
  429. coefMax = 4.00;
  430. };
  431. class Tree {
  432. icon = "\ca\ui\data\map_tree_ca.paa";
  433. color[] = {0.55, 0.64, 0.43, 1.00};
  434. size = 12;
  435. importance = "0.9 * 16 * 0.05";
  436. coefMin = 0.25;
  437. coefMax = 4.00;
  438. };
  439. class SmallTree {
  440. icon = "\ca\ui\data\map_smalltree_ca.paa";
  441. color[] = {0.55, 0.64, 0.43, 1.00};
  442. size = 12;
  443. importance = "0.6 * 12 * 0.05";
  444. coefMin = 0.25;
  445. coefMax = 4.00;
  446. };
  447. class Tourism {
  448. icon = "\ca\ui\data\map_tourism_ca.paa";
  449. color[] = {0.78, 0.00, 0.05, 1.00};
  450. size = 16;
  451. importance = "1 * 16 * 0.05";
  452. coefMin = 0.70;
  453. coefMax = 4.00;
  454. };
  455. class Transmitter {
  456. icon = "\ca\ui\data\map_transmitter_ca.paa";
  457. color[] = {0.00, 0.35, 0.70, 1.00};
  458. size = 20;
  459. importance = "2 * 16 * 0.05";
  460. coefMin = 0.90;
  461. coefMax = 4.00;
  462. };
  463. class ViewTower {
  464. icon = "\ca\ui\data\map_viewtower_ca.paa";
  465. color[] = {0.00, 0.35, 0.70, 1.00};
  466. size = 16;
  467. importance = "2.5 * 16 * 0.05";
  468. coefMin = 0.50;
  469. coefMax = 4.00;
  470. };
  471. class Watertower {
  472. icon = "\ca\ui\data\map_watertower_ca.paa";
  473. color[] = {0.00, 0.35, 0.70, 1.00};
  474. size = 32;
  475. importance = "1.2 * 16 * 0.05";
  476. coefMin = 0.90;
  477. coefMax = 4.00;
  478. };
  479. class Waypoint {
  480. icon = "\ca\ui\data\map_waypoint_ca.paa";
  481. color[] = {0.00, 0.00, 0.00, 1.00};
  482. size = 24;
  483. importance = 1.00;
  484. coefMin = 1.00;
  485. coefMax = 1.00;
  486. };
  487. class WaypointCompleted {
  488. icon = "\ca\ui\data\map_waypoint_completed_ca.paa";
  489. color[] = {0.00, 0.00, 0.00, 1.00};
  490. size = 24;
  491. importance = 1.00;
  492. coefMin = 1.00;
  493. coefMax = 1.00;
  494. };
  495. class Task {
  496. icon = "";
  497. color[] = {0, 0, 1, 1};
  498. size = 10;
  499. coefMin = 1;
  500. coefMax = 4;
  501. importance = 1;
  502. iconCreated = "#(argb,8,8,3)color(1,1,1,1)";
  503. iconCanceled = "#(argb,8,8,3)color(0,0,1,1)";
  504. iconDone = "#(argb,8,8,3)color(0,0,0,1)";
  505. iconFailed = "#(argb,8,8,3)color(1,0,0,1)";
  506. colorCreated[] = {1,1,1,1};
  507. colorCanceled[] = {1,1,1,1};
  508. colorDone[] = {1,1,1,1};
  509. colorFailed[] = {1,1,1,1};
  510. };
  511. class CustomMark {
  512. icon = "\ca\ui\data\map_waypoint_ca.paa";
  513. color[] = {0, 0, 1, 1};
  514. size = 18;
  515. importance = 1;
  516. coefMin = 1;
  517. coefMax = 1;
  518. };
  519. };
  520.  
  521. ////////////////////////////////////////////////////////////////
  522. //
  523. // Controlname: RGT_xxxx
  524. // |
  525. // Modname (RGT_....)
  526. // Layoutarea (RGT_xx..)
  527. // Zeile (RGT_..x.)
  528. // Spalte (RGT_...x)
  529. //
  530. // IDC: 4xxxx
  531. // |
  532. // Modnumber (4....) (just 4(!) fun - keine 0 am Anfang einer IDC-Nummer)
  533. // Layoutarea (4xx..)
  534. // Zeile (4..x.)
  535. // Spalte (4...x)
  536. //
  537. //////////////////////// Anfang des Dialoges ////////////////////////
  538.  
  539. class RGT
  540. {
  541. idd = 7966; // (ASCII - OB)
  542. movingEnable = true; // Bewegen des Dialoges erlauben
  543. enableSimulation = true; // Spiel läuft im Hintergrund weiter
  544. controlsBackground[] = {}; // -/-
  545. controls[] = {
  546. // RGT_0000, // Hintergrund (?)
  547.  
  548. RGT_0011, // Z Banner
  549.  
  550. RGT_0111, // A UAV-Manager
  551. RGT_0112,
  552. RGT_0113,
  553. RGT_0114,
  554. RGT_0121,
  555. RGT_0122,
  556. RGT_0123,
  557. RGT_0124,
  558. RGT_0131,
  559. RGT_0132,
  560. RGT_0133,
  561. RGT_0134,
  562.  
  563. RGT_0211, // B Settings (Zeit, Lifetime etc.)
  564. RGT_0212,
  565. RGT_0213,
  566. RGT_0214,
  567. RGT_0221,
  568. RGT_0222,
  569. RGT_0223,
  570. RGT_0224,
  571. RGT_0231,
  572. RGT_0232,
  573. RGT_0233,
  574. RGT_0234,
  575. RGT_0235,
  576. RGT_0236,
  577.  
  578. RGT_0311, // C Commandline, Executer
  579. RGT_0321,
  580. RGT_0322,
  581. RGT_0331,
  582. RGT_0332,
  583.  
  584. RGT_0411, // D Seitenverhältniseinstellung + Clearer
  585. RGT_0412,
  586. RGT_0421,
  587. RGT_0422,
  588. RGT_0431,
  589. RGT_0432,
  590.  
  591. RGT_0511, // E CAS
  592. RGT_0512,
  593. RGT_0521,
  594. RGT_0522,
  595. RGT_0531,
  596. RGT_0532,
  597.  
  598. RGT_0611, // F Artillery
  599. RGT_0612,
  600. RGT_0621,
  601. RGT_0622,
  602. RGT_0631,
  603. RGT_0632,
  604.  
  605. RGT_0711, // G Medevac/Casevac
  606. RGT_0712,
  607. RGT_0721,
  608. RGT_0722,
  609. RGT_0731,
  610. RGT_0732,
  611.  
  612. RGT_0811, // H Airdrop
  613. RGT_0812,
  614. RGT_0821,
  615. RGT_0822,
  616. RGT_0831,
  617. RGT_0832,
  618.  
  619. RGT_0911, // I Unit Management
  620. RGT_0912,
  621. RGT_0921,
  622. RGT_0922,
  623. RGT_0932,
  624. RGT_0942,
  625. RGT_0952,
  626. RGT_0962,
  627.  
  628. RGT_1011, // J IED Management
  629. RGT_1012,
  630. RGT_1021,
  631. RGT_1022,
  632. RGT_1031,
  633. RGT_1032,
  634. RGT_1041,
  635. RGT_1042,
  636. RGT_1051,
  637. RGT_1052,
  638. RGT_1062,
  639.  
  640. RGT_1111, // K Spawner - Auswahlfelder (Side, Faction etc.)
  641. RGT_1112,
  642. RGT_1121,
  643. RGT_1122,
  644. RGT_1131,
  645. RGT_1132,
  646. RGT_1141,
  647. RGT_1142,
  648. RGT_1151,
  649. RGT_1152,
  650. RGT_1161,
  651. RGT_1162,
  652.  
  653. RGT_1211, // L Spawner - Initfeldelder und andere Einstellungen
  654. RGT_1212,
  655. RGT_1221,
  656. RGT_1222,
  657. RGT_1231,
  658. RGT_1232,
  659. RGT_1241,
  660. RGT_1242,
  661. RGT_1251,
  662. RGT_1252,
  663. RGT_1261,
  664.  
  665. RGT_1311, // M Spawner - Spawn/Patrol-Settings
  666. RGT_1312,
  667. RGT_1321,
  668. RGT_1322,
  669. RGT_1331,
  670. RGT_1332,
  671. RGT_1341,
  672. RGT_1342,
  673. RGT_1351,
  674. RGT_1352,
  675. RGT_1361,
  676. RGT_1362,
  677.  
  678. RGT_1411, // N Spawner - Buttons
  679. RGT_1412,
  680. RGT_1421,
  681. RGT_1422,
  682. RGT_1431,
  683. RGT_1432,
  684. RGT_1441,
  685. RGT_1442,
  686. RGT_1451,
  687. RGT_1452,
  688. RGT_1461,
  689. RGT_1462,
  690.  
  691. RGT_1511, // O Map
  692. RGT_1521,
  693. RGT_1522,
  694. RGT_1523,
  695. RGT_1524,
  696.  
  697. RGT_1611, // P allgemeine Buttons
  698. RGT_1612,
  699. RGT_1613,
  700. RGT_1614,
  701. RGT_1621,
  702. RGT_1622,
  703. RGT_1623,
  704. RGT_1624,
  705. RGT_1631,
  706. RGT_1632,
  707. RGT_1633,
  708. RGT_1634
  709. };
  710.  
  711. /////////////////////////////////////////////////////////////////////
  712. //////////////////////// Anfang der Controls ////////////////////////
  713. /////////////////////////////////////////////////////////////////////
  714.  
  715.  
  716. //////////////////////// Z - 00 - Banner ////////////////////////
  717.  
  718. class RGT_0011 : TempBanner
  719. {
  720. idc = 40011;
  721. x = Z_X + ratio * (0.02);
  722. y = Z_Y + ratio * (0.01);
  723. w = 0.46 * ratio;
  724. h = 0.105 * ratio;
  725. colorText[] = {1, 1, 1, 1};
  726. colorBackground[] = {0, 0, 0, 0};
  727. text = "RGT\pics\banner.paa";
  728. };
  729.  
  730.  
  731. //////////////////////// A - 01 - UAV-Manager ////////////////////////
  732.  
  733. class RGT_0111 : TempText
  734. {
  735. idc = 40111;
  736. x = A_X + ratio * (0.02 + 0.11 * 0);
  737. y = A_Y + ratio * (0.01 + 0.0375 * 0);
  738. text = "Typ";
  739. };
  740.  
  741. class RGT_0112 : TempCombobox
  742. {
  743. idc = 40112;
  744. x = A_X + ratio * (0.02 + 0.11 * 1);
  745. y = A_Y + ratio * (0.01 + 0.0375 * 0);
  746. };
  747.  
  748. class RGT_0113 : TempCombobox
  749. {
  750. idc = 40113;
  751. x = A_X + ratio * (0.02 + 0.11 * 2 + 0.03);
  752. y = A_Y + ratio * (0.01 + 0.0375 * 0);
  753. };
  754.  
  755. class RGT_0114 : TempCombobox
  756. {
  757. idc = 40114;
  758. x = A_X + ratio * (0.02 + 0.11 * 3 + 0.03);
  759. y = A_Y + ratio * (0.01 + 0.0375 * 0);
  760. };
  761.  
  762. //__________________________________________________________
  763.  
  764. class RGT_0121 : TempText
  765. {
  766. idc = 40121;
  767. x = A_X + ratio * (0.02 + 0.11 * 0);
  768. y = A_Y + ratio * (0.01 + 0.0375 * 1);
  769. text = "St. Höhe";
  770. };
  771.  
  772. class RGT_0122 : TempCombobox
  773. {
  774. idc = 40122;
  775. x = A_X + ratio * (0.02 + 0.11 * 1);
  776. y = A_Y + ratio * (0.01 + 0.0375 * 1);
  777. };
  778.  
  779. class RGT_0123 : TempCombobox
  780. {
  781. idc = 40123;
  782. x = A_X + ratio * (0.02 + 0.11 * 2 + 0.03);
  783. y = A_Y + ratio * (0.01 + 0.0375 * 1);
  784. };
  785.  
  786. class RGT_0124 : TempCombobox
  787. {
  788. idc = 40124;
  789. x = A_X + ratio * (0.02 + 0.11 * 3 + 0.03);
  790. y = A_Y + ratio * (0.01 + 0.0375 * 1);
  791. };
  792.  
  793. //__________________________________________________________
  794.  
  795. class RGT_0131 : TempText
  796. {
  797. idc = 40131;
  798. x = A_X + ratio * (0.02 + 0.11 * 0);
  799. y = A_Y + ratio * (0.01 + 0.0375 * 2);
  800. text = "UAV";
  801. };
  802.  
  803. class RGT_0132 : TempButton
  804. {
  805. idc = 40132;
  806. x = A_X + ratio * (0.02 + 0.11 * 1);
  807. y = A_Y + ratio * (0.01 + 0.0375 * 2);
  808. text = "Create";
  809. action = "[40132] call fnc_ui_button";
  810. };
  811.  
  812. class RGT_0133 : TempButton
  813. {
  814. idc = 40133;
  815. x = A_X + ratio * (0.02 + 0.11 * 2 + 0.03);
  816. y = A_Y + ratio * (0.01 + 0.0375 * 2);
  817. text = "Apply";
  818. action = "[40133] call fnc_ui_button";
  819. };
  820.  
  821. class RGT_0134 : TempButton
  822. {
  823. idc = 40134;
  824. x = A_X + ratio * (0.02 + 0.11 * 3 + 0.03);
  825. y = A_Y + ratio * (0.01 + 0.0375 * 2);
  826. text = "Toggle Acc.";
  827. action = "[40134] call fnc_ui_button";
  828. };
  829.  
  830. //////////////////////// B - 02 - Settings ////////////////////////
  831.  
  832. class RGT_0211 : TempText
  833. {
  834. idc = 40211;
  835. x = B_X + ratio * (0.02 + 0.12 * 0);
  836. y = B_Y + ratio * (0.01 + 0.0375 * 0);
  837. text = "Wetter:";
  838. };
  839.  
  840. class RGT_0212 : TempCombobox
  841. {
  842. idc = 40212;
  843. x = B_X + ratio * (0.02 + 0.12 * 1);
  844. y = B_Y + ratio * (0.01 + 0.0375 * 0);
  845. };
  846.  
  847. class RGT_0213 : TempText
  848. {
  849. idc = 40213;
  850. x = B_X + ratio * (0.02 + 0.12 * 2);
  851. y = B_Y + ratio * (0.01 + 0.0375 * 0);
  852. text = "Lifetime:";
  853. };
  854.  
  855. class RGT_0214 : TempCombobox
  856. {
  857. idc = 40214;
  858. x = B_X + ratio * (0.02 + 0.12 * 3);
  859. y = B_Y + ratio * (0.01 + 0.0375 * 0);
  860. };
  861.  
  862. //__________________________________________________________
  863.  
  864. class RGT_0221 : TempText
  865. {
  866. idc = 40221;
  867. x = B_X + ratio * (0.02 + 0.12 * 0);
  868. y = B_Y + ratio * (0.01 + 0.0375 * 1);
  869. text = "Nebel:";
  870. };
  871.  
  872. class RGT_0222 : TempCombobox
  873. {
  874. idc = 40222;
  875. x = B_X + ratio * (0.02 + 0.12 * 1);
  876. y = B_Y + ratio * (0.01 + 0.0375 * 1);
  877. };
  878.  
  879. class RGT_0223 : TempText
  880. {
  881. idc = 40223;
  882. x = B_X + ratio * (0.02 + 0.12 * 2);
  883. y = B_Y + ratio * (0.01 + 0.0375 * 1);
  884. text = "Skill:";
  885. };
  886.  
  887. class RGT_0224 : TempCombobox
  888. {
  889. idc = 40224;
  890. x = B_X + ratio * (0.02 + 0.12 * 3);
  891. y = B_Y + ratio * (0.01 + 0.0375 * 1);
  892. };
  893.  
  894. //__________________________________________________________
  895.  
  896. class RGT_0231 : TempCombobox
  897. {
  898. idc = 40231;
  899. x = B_X + ratio * (0.02 + 0.07 * 0);
  900. y = B_Y + ratio * (0.01 + 0.0375 * 2);
  901. w = 0.06 * ratio;
  902. };
  903.  
  904. class RGT_0232 : TempCombobox
  905. {
  906. idc = 40232;
  907. x = B_X + ratio * (0.02 + 0.07 * 1);
  908. y = B_Y + ratio * (0.01 + 0.0375 * 2);
  909. w = 0.06 * ratio;
  910. };
  911.  
  912. class RGT_0233 : TempCombobox
  913. {
  914. idc = 40233;
  915. x = B_X + ratio * (0.02 + 0.07 * 2);
  916. y = B_Y + ratio * (0.01 + 0.0375 * 2);
  917. w = 0.06 * ratio;
  918. };
  919.  
  920. class RGT_0234 : TempCombobox
  921. {
  922. idc = 40234;
  923. x = B_X + ratio * (0.02 + 0.07 * 3);
  924. y = B_Y + ratio * (0.01 + 0.0375 * 2);
  925. w = 0.06 * ratio;
  926. };
  927.  
  928. class RGT_0235 : TempCombobox
  929. {
  930. idc = 40235;
  931. x = B_X + ratio * (0.02 + 0.07 * 4);
  932. y = B_Y + ratio * (0.01 + 0.0375 * 2);
  933. w = 0.06 * ratio;
  934. };
  935.  
  936. class RGT_0236 : TempButton
  937. {
  938. idc = 40236;
  939. x = B_X + ratio * (0.02 + 0.36);
  940. y = B_Y + ratio * (0.01 + 0.0375 * 2);
  941. text = "Set";
  942. action = "[40236] call fnc_ui_button";
  943. };
  944.  
  945. //////////////////////// C - 03 - Commandline + Executer ////////////////////////
  946.  
  947. class RGT_0311 : TempEdit
  948. {
  949. idc = 40311;
  950. x = C_X + ratio * (0.02 + 0.11 * 0);
  951. y = C_Y + ratio * (0.01 + 0.0375 * 0);
  952. };
  953.  
  954. class RGT_0321 : TempCombobox
  955. {
  956. idc = 40321;
  957. x = C_X + ratio * (0.02 + 0.11 * 0);
  958. y = C_Y + ratio * (0.01 + 0.0375 * 1);
  959. };
  960.  
  961. class RGT_0322 : TempButton
  962. {
  963. idc = 40322;
  964. x = C_X + ratio * (0.02 + 0.11 * 1);
  965. y = C_Y + ratio * (0.01 + 0.0375 * 1);
  966. text = "Message";
  967. action = "[40322] call fnc_ui_button";
  968. };
  969.  
  970. class RGT_0331 : TempCombobox
  971. {
  972. idc = 40331;
  973. x = C_X + ratio * (0.02 + 0.11 * 0);
  974. y = C_Y + ratio * (0.01 + 0.0375 * 2);
  975. };
  976.  
  977. class RGT_0332 : TempButton
  978. {
  979. idc = 40332;
  980. x = C_X + ratio * (0.02 + 0.11 * 1);
  981. y = C_Y + ratio * (0.01 + 0.0375 * 2);
  982. text = "Execute";
  983. action = "[40332] call fnc_ui_button";
  984. };
  985.  
  986. //////////////////////// D - 04 - Seitenverhältniseinstellung + Clearer ////////////////////////
  987.  
  988. class RGT_0411 : TempCombobox
  989. {
  990. idc = 40411;
  991. x = D_X + ratio * (0.02 + 0.11 * 0);
  992. y = D_Y + ratio * (0.01 + 0.0375 * 0);
  993. };
  994.  
  995. class RGT_0412 : TempCombobox
  996. {
  997. idc = 40412;
  998. x = D_X + ratio * (0.02 + 0.11 * 1);
  999. y = D_Y + ratio * (0.01 + 0.0375 * 0);
  1000. };
  1001.  
  1002. class RGT_0421 : TempCombobox
  1003. {
  1004. idc = 40421;
  1005. x = D_X + ratio * (0.02 + 0.11 * 0);
  1006. y = D_Y + ratio * (0.01 + 0.0375 * 1);
  1007. };
  1008.  
  1009. class RGT_0422 : TempButton
  1010. {
  1011. idc = 40422;
  1012. x = D_X + ratio * (0.02 + 0.11 * 1);
  1013. y = D_Y + ratio * (0.01 + 0.0375 * 1);
  1014. text = "Set";
  1015. action = "[40422] call fnc_ui_button";
  1016. };
  1017.  
  1018. class RGT_0431 : TempCombobox
  1019. {
  1020. idc = 40431;
  1021. x = D_X + ratio * (0.02 + 0.11 * 0);
  1022. y = D_Y + ratio * (0.01 + 0.0375 * 2);
  1023. };
  1024.  
  1025. class RGT_0432 : TempButton
  1026. {
  1027. idc = 40432;
  1028. x = D_X + ratio * (0.02 + 0.11 * 1);
  1029. y = D_Y + ratio * (0.01 + 0.0375 * 2);
  1030. text = "Clear";
  1031. action = "[40432] call fnc_ui_button";
  1032. };
  1033.  
  1034. //////////////////////// E - 05 - CAS ////////////////////////
  1035.  
  1036. class RGT_0511 : TempText
  1037. {
  1038. idc = 40511;
  1039. x = E_X + ratio * (0.02 + 0.11 * 0);
  1040. y = E_Y + ratio * (0.01 + 0.0375 * 0);
  1041. text = "Typ";
  1042. };
  1043.  
  1044. class RGT_0512 : TempCombobox
  1045. {
  1046. idc = 40512;
  1047. x = E_X + ratio * (0.02 + 0.11 * 1);
  1048. y = E_Y + ratio * (0.01 + 0.0375 * 0);
  1049. };
  1050.  
  1051. class RGT_0521 : TempText
  1052. {
  1053. idc = 40521;
  1054. x = E_X + ratio * (0.02 + 0.11 * 0);
  1055. y = E_Y + ratio * (0.01 + 0.0375 * 1);
  1056. text = "Typ";
  1057. };
  1058.  
  1059. class RGT_0522 : TempCombobox
  1060. {
  1061. idc = 40522;
  1062. x = E_X + ratio * (0.02 + 0.11 * 1);
  1063. y = E_Y + ratio * (0.01 + 0.0375 * 1);
  1064. };
  1065.  
  1066. class RGT_0531 : TempText
  1067. {
  1068. idc = 40531;
  1069. x = E_X + ratio * (0.02 + 0.11 * 0);
  1070. y = E_Y + ratio * (0.01 + 0.0375 * 2);
  1071. text = "CAS";
  1072. };
  1073.  
  1074. class RGT_0532 : TempButton
  1075. {
  1076. idc = 40532;
  1077. x = E_X + ratio * (0.02 + 0.11 * 1);
  1078. y = E_Y + ratio * (0.01 + 0.0375 * 2);
  1079. text = "Call";
  1080. action = "[40532] call fnc_ui_button";
  1081. };
  1082.  
  1083. //////////////////////// F - 06 - Artillery ////////////////////////
  1084.  
  1085. class RGT_0611 : TempText
  1086. {
  1087. idc = 40611;
  1088. x = F_X + ratio * (0.02 + 0.11 * 0);
  1089. y = F_Y + ratio * (0.01 + 0.0375 * 0);
  1090. text = "Typ";
  1091. };
  1092.  
  1093. class RGT_0612 : TempCombobox
  1094. {
  1095. idc = 40612;
  1096. x = F_X + ratio * (0.02 + 0.11 * 1);
  1097. y = F_Y + ratio * (0.01 + 0.0375 * 0);
  1098. };
  1099.  
  1100. class RGT_0621 : TempText
  1101. {
  1102. idc = 40621;
  1103. x = F_X + ratio * (0.02 + 0.11 * 0);
  1104. y = F_Y + ratio * (0.01 + 0.0375 * 1);
  1105. text = "Streuung";
  1106. };
  1107.  
  1108. class RGT_0622 : TempCombobox
  1109. {
  1110. idc = 40622;
  1111. x = F_X + ratio * (0.02 + 0.11 * 1);
  1112. y = F_Y + ratio * (0.01 + 0.0375 * 1);
  1113. };
  1114.  
  1115. class RGT_0631 : TempText
  1116. {
  1117. idc = 40631;
  1118. x = F_X + ratio * (0.02 + 0.11 * 0);
  1119. y = F_Y + ratio * (0.01 + 0.0375 * 2);
  1120. text = "Artillery";
  1121. };
  1122.  
  1123. class RGT_0632 : TempButton
  1124. {
  1125. idc = 40632;
  1126. x = F_X + ratio * (0.02 + 0.11 * 1);
  1127. y = F_Y + ratio * (0.01 + 0.0375 * 2);
  1128. text = "Call";
  1129. action = "[40632] call fnc_ui_button";
  1130. };
  1131.  
  1132. //////////////////////// G - 07 - Medevac ////////////////////////
  1133.  
  1134. class RGT_0711 : TempText
  1135. {
  1136. idc = 40711;
  1137. x = G_X + ratio * (0.02 + 0.11 * 0);
  1138. y = G_Y + ratio * (0.01 + 0.0375 * 0);
  1139. text = "Typ";
  1140. };
  1141.  
  1142. class RGT_0712 : TempCombobox
  1143. {
  1144. idc = 40712;
  1145. x = G_X + ratio * (0.02 + 0.11 * 1);
  1146. y = G_Y + ratio * (0.01 + 0.0375 * 0);
  1147. };
  1148.  
  1149. class RGT_0721 : TempText
  1150. {
  1151. idc = 40721;
  1152. x = G_X + ratio * (0.02 + 0.11 * 0);
  1153. y = G_Y + ratio * (0.01 + 0.0375 * 1);
  1154. text = "Trail?";
  1155. };
  1156.  
  1157. class RGT_0722 : TempCombobox
  1158. {
  1159. idc = 40722;
  1160. x = G_X + ratio * (0.02 + 0.11 * 1);
  1161. y = G_Y + ratio * (0.01 + 0.0375 * 1);
  1162. };
  1163.  
  1164. class RGT_0731 : TempText
  1165. {
  1166. idc = 40731;
  1167. x = G_X + ratio * (0.02 + 0.11 * 0);
  1168. y = G_Y + ratio * (0.01 + 0.0375 * 2);
  1169. text = "Evacuation";
  1170. };
  1171.  
  1172. class RGT_0732 : TempButton
  1173. {
  1174. idc = 40732;
  1175. x = G_X + ratio * (0.02 + 0.11 * 1);
  1176. y = G_Y + ratio * (0.01 + 0.0375 * 2);
  1177. text = "Call";
  1178. action = "[40732] call fnc_ui_button";
  1179. };
  1180.  
  1181. //////////////////////// H - 08 - Medevac ////////////////////////
  1182.  
  1183. class RGT_0811 : TempText
  1184. {
  1185. idc = 40811;
  1186. x = H_X + ratio * (0.02 + 0.11 * 0);
  1187. y = H_Y + ratio * (0.01 + 0.0375 * 0);
  1188. text = "Typ";
  1189. };
  1190.  
  1191. class RGT_0812 : TempCombobox
  1192. {
  1193. idc = 40812;
  1194. x = H_X + ratio * (0.02 + 0.11 * 1);
  1195. y = H_Y + ratio * (0.01 + 0.0375 * 0);
  1196. };
  1197.  
  1198. class RGT_0821 : TempText
  1199. {
  1200. idc = 40821;
  1201. x = H_X + ratio * (0.02 + 0.11 * 0);
  1202. y = H_Y + ratio * (0.01 + 0.0375 * 1);
  1203. text = "Typ";
  1204. };
  1205.  
  1206. class RGT_0822 : TempCombobox
  1207. {
  1208. idc = 40822;
  1209. x = H_X + ratio * (0.02 + 0.11 * 1);
  1210. y = H_Y + ratio * (0.01 + 0.0375 * 1);
  1211. };
  1212.  
  1213. class RGT_0831 : TempText
  1214. {
  1215. idc = 40831;
  1216. x = H_X + ratio * (0.02 + 0.11 * 0);
  1217. y = H_Y + ratio * (0.01 + 0.0375 * 2);
  1218. text = "Airdrop";
  1219. };
  1220.  
  1221. class RGT_0832 : TempButton
  1222. {
  1223. idc = 40832;
  1224. x = H_X + ratio * (0.02 + 0.11 * 1);
  1225. y = H_Y + ratio * (0.01 + 0.0375 * 2);
  1226. text = "Call";
  1227. action = "[40832] call fnc_ui_button";
  1228. };
  1229.  
  1230. //////////////////////// I - 09 - Unit Management ////////////////////////
  1231.  
  1232. class RGT_0911 : TempCombobox
  1233. {
  1234. idc = 40911;
  1235. x = I_X + ratio * (0.02 + 0.11 * 0);
  1236. y = I_Y + ratio * (0.01 + 0.04 * 0);
  1237. };
  1238.  
  1239. class RGT_0912 : TempButton
  1240. {
  1241. idc = 40912;
  1242. x = I_X + ratio * (0.02 + 0.11 * 1);
  1243. y = I_Y + ratio * (0.01 + 0.04 * 0);
  1244. text = "Teleport";
  1245. action = "[40912] call fnc_ui_button";
  1246. };
  1247.  
  1248. class RGT_0921 : TempListbox
  1249. {
  1250. idc = 40921;
  1251. x = I_X + ratio * (0.02 + 0.11 * 0);
  1252. y = I_Y + ratio * (0.01 + 0.04 * 1);
  1253. h = 0.19 * ratio;
  1254. w = 0.10 * ratio;
  1255. };
  1256.  
  1257. class RGT_0922 : TempButton
  1258. {
  1259. idc = 40922;
  1260. x = I_X + ratio * (0.02 + 0.11 * 1);
  1261. y = I_Y + ratio * (0.01 + 0.04 * 1);
  1262. text = "Hijack";
  1263. action = "[40922] call fnc_ui_button";
  1264. };
  1265.  
  1266. class RGT_0932 : TempButton
  1267. {
  1268. idc = 40932;
  1269. x = I_X + ratio * (0.02 + 0.11 * 1);
  1270. y = I_Y + ratio * (0.01 + 0.04 * 2);
  1271. text = "Heal";
  1272. action = "[40932] call fnc_ui_button";
  1273. };
  1274.  
  1275. class RGT_0942 : TempButton
  1276. {
  1277. idc = 40942;
  1278. x = I_X + ratio * (0.02 + 0.11 * 1);
  1279. y = I_Y + ratio * (0.01 + 0.04 * 3);
  1280. text = "Kill";
  1281. action = "[40942] call fnc_ui_button";
  1282. };
  1283.  
  1284. class RGT_0952 : TempButton
  1285. {
  1286. idc = 40952;
  1287. x = I_X + ratio * (0.02 + 0.11 * 1);
  1288. y = I_Y + ratio * (0.01 + 0.04 * 4);
  1289. text = "Tel. 2 U.";
  1290. action = "[40952] call fnc_ui_button";
  1291. };
  1292.  
  1293. class RGT_0962 : TempButton
  1294. {
  1295. idc = 40962;
  1296. x = I_X + ratio * (0.02 + 0.11 * 1);
  1297. y = I_Y + ratio * (0.01 + 0.04 * 5);
  1298. text = "Loadout";
  1299. action = "[40962] call fnc_ui_button";
  1300. };
  1301.  
  1302. //////////////////////// J - 10 - IED Management ////////////////////////
  1303.  
  1304. class RGT_1011 : TempText
  1305. {
  1306. idc = 41011;
  1307. x = J_X + ratio * (0.02 + 0.11 * 0);
  1308. y = J_Y + ratio * (0.01 + 0.04 * 0);
  1309. text = "Klasse";
  1310. };
  1311.  
  1312. class RGT_1021 : TempText
  1313. {
  1314. idc = 41021;
  1315. x = J_X + ratio * (0.02 + 0.11 * 0);
  1316. y = J_Y + ratio * (0.01 + 0.04 * 1);
  1317. text = "Objekt";
  1318. };
  1319.  
  1320. class RGT_1031 : TempText
  1321. {
  1322. idc = 41031;
  1323. x = J_X + ratio * (0.02 + 0.11 * 0);
  1324. y = J_Y + ratio * (0.01 + 0.04 * 2);
  1325. text = "Typ";
  1326. };
  1327.  
  1328. class RGT_1041 : TempText
  1329. {
  1330. idc = 41041;
  1331. x = J_X + ratio * (0.02 + 0.11 * 0);
  1332. y = J_Y + ratio * (0.01 + 0.04 * 3);
  1333. text = "IED";
  1334. };
  1335.  
  1336.  
  1337. class RGT_1051 : TempListbox
  1338. {
  1339. idc = 41051;
  1340. x = J_X + ratio * (0.02 + 0.11 * 0);
  1341. y = J_Y + ratio * (0.01 + 0.04 * 4);
  1342. h = 0.07 * ratio;
  1343. w = 0.10 * ratio;
  1344. };
  1345.  
  1346. //__________________________________________________________
  1347.  
  1348. class RGT_1012 : TempCombobox
  1349. {
  1350. idc = 41012;
  1351. x = J_X + ratio * (0.02 + 0.11 * 1);
  1352. y = J_Y + ratio * (0.01 + 0.04 * 0);
  1353. };
  1354.  
  1355. class RGT_1022 : TempCombobox
  1356. {
  1357. idc = 41022;
  1358. x = J_X + ratio * (0.02 + 0.11 * 1);
  1359. y = J_Y + ratio * (0.01 + 0.04 * 1);
  1360. };
  1361.  
  1362. class RGT_1032 : TempCombobox
  1363. {
  1364. idc = 41032;
  1365. x = J_X + ratio * (0.02 + 0.11 * 1);
  1366. y = J_Y + ratio * (0.01 + 0.04 * 2);
  1367. };
  1368.  
  1369. class RGT_1042 : TempButton
  1370. {
  1371. idc = 41042;
  1372. x = J_X + ratio * (0.02 + 0.11 * 1);
  1373. y = J_Y + ratio * (0.01 + 0.04 * 3);
  1374. text = "Create";
  1375. action = "[41042] call fnc_ui_button";
  1376. };
  1377.  
  1378. class RGT_1052 : TempCombobox
  1379. {
  1380. idc = 41052;
  1381. x = J_X + ratio * (0.02 + 0.11 * 1);
  1382. y = J_Y + ratio * (0.01 + 0.04 * 4);
  1383. };
  1384.  
  1385. class RGT_1062 : TempButton
  1386. {
  1387. idc = 41062;
  1388. x = J_X + ratio * (0.02 + 0.11 * 1);
  1389. y = J_Y + ratio * (0.01 + 0.04 * 5);
  1390. text = "Do";
  1391. action = "[41062] call fnc_ui_button";
  1392. };
  1393.  
  1394. //////////////////////// K - 11 - Spawner - Auswahlfelder (Side, Faction etc.) ////////////////////////
  1395.  
  1396. class RGT_1111 : TempText
  1397. {
  1398. idc = 41111;
  1399. x = K_X + ratio * (0.02 + 0.11 * 0);
  1400. y = K_Y + ratio * (0.01 + 0.04 * 0);
  1401. text = "Typ";
  1402. };
  1403.  
  1404. class RGT_1121 : TempText
  1405. {
  1406. idc = 41121;
  1407. x = K_X + ratio * (0.02 + 0.11 * 0);
  1408. y = K_Y + ratio * (0.01 + 0.04 * 1);
  1409. text = "Seite";
  1410. };
  1411.  
  1412. class RGT_1131 : TempText
  1413. {
  1414. idc = 41131;
  1415. x = K_X + ratio * (0.02 + 0.11 * 0);
  1416. y = K_Y + ratio * (0.01 + 0.04 * 2);
  1417. text = "Faction";
  1418. };
  1419.  
  1420. class RGT_1141 : TempText
  1421. {
  1422. idc = 41141;
  1423. x = K_X + ratio * (0.02 + 0.11 * 0);
  1424. y = K_Y + ratio * (0.01 + 0.04 * 3);
  1425. text = "Class";
  1426. };
  1427.  
  1428. class RGT_1151 : TempText
  1429. {
  1430. idc = 41151;
  1431. x = K_X + ratio * (0.02 + 0.11 * 0);
  1432. y = K_Y + ratio * (0.01 + 0.04 * 4);
  1433. text = "Unit";
  1434. };
  1435.  
  1436. class RGT_1161 : TempText
  1437. {
  1438. idc = 41161;
  1439. x = K_X + ratio * (0.02 + 0.11 * 0);
  1440. y = K_Y + ratio * (0.01 + 0.04 * 5);
  1441. text = "Empty?";
  1442. };
  1443.  
  1444. class RGT_1112 : TempCombobox
  1445. {
  1446. idc = 41112;
  1447. x = K_X + ratio * (0.02 + 0.11 * 1);
  1448. y = K_Y + ratio * (0.01 + 0.04 * 0);
  1449. onLBSelChanged = "[41112] call fnc_ui_listbox";
  1450. };
  1451.  
  1452. class RGT_1122 : TempCombobox
  1453. {
  1454. idc = 41122;
  1455. x = K_X + ratio * (0.02 + 0.11 * 1);
  1456. y = K_Y + ratio * (0.01 + 0.04 * 1);
  1457. onLBSelChanged = "[41122] call fnc_ui_listbox";
  1458. };
  1459.  
  1460. class RGT_1132 : TempCombobox
  1461. {
  1462. idc = 41132;
  1463. x = K_X + ratio * (0.02 + 0.11 * 1);
  1464. y = K_Y + ratio * (0.01 + 0.04 * 2);
  1465. onLBSelChanged = "[41132] call fnc_ui_listbox";
  1466. };
  1467.  
  1468. class RGT_1142 : TempCombobox
  1469. {
  1470. idc = 41142;
  1471. x = K_X + ratio * (0.02 + 0.11 * 1);
  1472. y = K_Y + ratio * (0.01 + 0.04 * 3);
  1473. onLBSelChanged = "[41142] call fnc_ui_listbox";
  1474. };
  1475.  
  1476. class RGT_1152 : TempCombobox
  1477. {
  1478. idc = 41152;
  1479. x = K_X + ratio * (0.02 + 0.11 * 1);
  1480. y = K_Y + ratio * (0.01 + 0.04 * 4);
  1481. onLBSelChanged = "[41152] call fnc_ui_listbox";
  1482. };
  1483.  
  1484. class RGT_1162 : TempCombobox
  1485. {
  1486. idc = 41162;
  1487. x = K_X + ratio * (0.02 + 0.11 * 1);
  1488. y = K_Y + ratio * (0.01 + 0.04 * 5);
  1489. };
  1490.  
  1491.  
  1492. //////////////////////// L - 12 - Spawner - Initfeldelder und andere Einstellungen ////////////////////////
  1493.  
  1494. class RGT_1211 : TempText
  1495. {
  1496. idc = 41211;
  1497. x = L_X + ratio * (0.02 + 0.11 * 0);
  1498. y = L_Y + ratio * (0.01 + 0.04 * 0);
  1499. text = "Typ";
  1500. };
  1501.  
  1502. class RGT_1221 : TempText
  1503. {
  1504. idc = 41221;
  1505. x = L_X + ratio * (0.02 + 0.11 * 0);
  1506. y = L_Y + ratio * (0.01 + 0.04 * 1);
  1507. text = "Direction";
  1508. };
  1509.  
  1510. class RGT_1231 : TempText
  1511. {
  1512. idc = 41231;
  1513. x = L_X + ratio * (0.02 + 0.11 * 0);
  1514. y = L_Y + ratio * (0.01 + 0.04 * 2);
  1515. text = "Dammage";
  1516. };
  1517.  
  1518. class RGT_1241 : TempText
  1519. {
  1520. idc = 41241;
  1521. x = L_X + ratio * (0.02 + 0.11 * 0);
  1522. y = L_Y + ratio * (0.01 + 0.04 * 3);
  1523. text = "Fuel";
  1524. };
  1525.  
  1526. class RGT_1251 : TempText
  1527. {
  1528. idc = 41251;
  1529. x = L_X + ratio * (0.02 + 0.11 * 0);
  1530. y = L_Y + ratio * (0.01 + 0.04 * 4);
  1531. text = "Ammo";
  1532. };
  1533.  
  1534. class RGT_1261 : TempEdit
  1535. {
  1536. idc = 41261;
  1537. x = L_X + ratio * (0.02 + 0.11 * 0);
  1538. y = L_Y + ratio * (0.01 + 0.04 * 5);
  1539. };
  1540.  
  1541. class RGT_1212 : TempCombobox
  1542. {
  1543. idc = 41212;
  1544. x = L_X + ratio * (0.02 + 0.11 * 1);
  1545. y = L_Y + ratio * (0.01 + 0.04 * 0);
  1546. };
  1547.  
  1548. class RGT_1222 : TempCombobox
  1549. {
  1550. idc = 41222;
  1551. x = L_X + ratio * (0.02 + 0.11 * 1);
  1552. y = L_Y + ratio * (0.01 + 0.04 * 1);
  1553. };
  1554.  
  1555. class RGT_1232 : TempCombobox
  1556. {
  1557. idc = 41232;
  1558. x = L_X + ratio * (0.02 + 0.11 * 1);
  1559. y = L_Y + ratio * (0.01 + 0.04 * 2);
  1560. };
  1561.  
  1562. class RGT_1242 : TempCombobox
  1563. {
  1564. idc = 41242;
  1565. x = L_X + ratio * (0.02 + 0.11 * 1);
  1566. y = L_Y + ratio * (0.01 + 0.04 * 3);
  1567. };
  1568.  
  1569. class RGT_1252 : TempCombobox
  1570. {
  1571. idc = 41252;
  1572. x = L_X + ratio * (0.02 + 0.11 * 1);
  1573. y = L_Y + ratio * (0.01 + 0.04 * 4);
  1574. };
  1575.  
  1576. //////////////////////// M - 13 - Spawner - Spawner - Buttons ////////////////////////
  1577.  
  1578. class RGT_1311 : TempText
  1579. {
  1580. idc = 41311;
  1581. x = M_X + ratio * (0.02 + 0.11 * 0);
  1582. y = M_Y + ratio * (0.01 + 0.04 * 0);
  1583. text = "WP-Zahl";
  1584. };
  1585.  
  1586. class RGT_1321 : TempText
  1587. {
  1588. idc = 41321;
  1589. x = M_X + ratio * (0.02 + 0.11 * 0);
  1590. y = M_Y + ratio * (0.01 + 0.04 * 1);
  1591. text = "Patrolarea";
  1592. };
  1593.  
  1594. class RGT_1331 : TempText
  1595. {
  1596. idc = 41331;
  1597. x = M_X + ratio * (0.02 + 0.11 * 0);
  1598. y = M_Y + ratio * (0.01 + 0.04 * 2);
  1599. text = "Verhalten";
  1600. };
  1601.  
  1602. class RGT_1341 : TempText
  1603. {
  1604. idc = 41341;
  1605. x = M_X + ratio * (0.02 + 0.11 * 0);
  1606. y = M_Y + ratio * (0.01 + 0.04 * 3);
  1607. text = "Speed";
  1608. };
  1609.  
  1610. class RGT_1351 : TempText
  1611. {
  1612. idc = 41351;
  1613. x = M_X + ratio * (0.02 + 0.11 * 0);
  1614. y = M_Y + ratio * (0.01 + 0.04 * 4);
  1615. text = "F.Status";
  1616. };
  1617.  
  1618. class RGT_1361 : TempText
  1619. {
  1620. idc = 41361;
  1621. x = M_X + ratio * (0.02 + 0.11 * 0);
  1622. y = M_Y + ratio * (0.01 + 0.04 * 5);
  1623. text = "Formation";
  1624. };
  1625.  
  1626. class RGT_1312 : TempCombobox
  1627. {
  1628. idc = 41312;
  1629. x = M_X + ratio * (0.02 + 0.11 * 1);
  1630. y = M_Y + ratio * (0.01 + 0.04 * 0);
  1631. };
  1632.  
  1633. class RGT_1322 : TempCombobox
  1634. {
  1635. idc = 41322;
  1636. x = M_X + ratio * (0.02 + 0.11 * 1);
  1637. y = M_Y + ratio * (0.01 + 0.04 * 1);
  1638. };
  1639.  
  1640. class RGT_1332 : TempCombobox
  1641. {
  1642. idc = 41332;
  1643. x = M_X + ratio * (0.02 + 0.11 * 1);
  1644. y = M_Y + ratio * (0.01 + 0.04 * 2);
  1645. };
  1646.  
  1647. class RGT_1342 : TempCombobox
  1648. {
  1649. idc = 41342;
  1650. x = M_X + ratio * (0.02 + 0.11 * 1);
  1651. y = M_Y + ratio * (0.01 + 0.04 * 3);
  1652. };
  1653.  
  1654. class RGT_1352 : TempCombobox
  1655. {
  1656. idc = 41352;
  1657. x = M_X + ratio * (0.02 + 0.11 * 1);
  1658. y = M_Y + ratio * (0.01 + 0.04 * 4);
  1659. };
  1660.  
  1661. class RGT_1362 : TempCombobox
  1662. {
  1663. idc = 41362;
  1664. x = M_X + ratio * (0.02 + 0.11 * 1);
  1665. y = M_Y + ratio * (0.01 + 0.04 * 5);
  1666. };
  1667.  
  1668. //////////////////////// N - 14 - Spawner - Spawner - Buttons ////////////////////////
  1669.  
  1670. class RGT_1411 : TempButton
  1671. {
  1672. idc = 41411;
  1673. x = N_X + ratio * (0.02 + 0.11 * 0);
  1674. y = N_Y + ratio * (0.01 + 0.04 * 0);
  1675. text = "Simple Sp.";
  1676. action = "[41411] call fnc_ui_button";
  1677. };
  1678.  
  1679. class RGT_1421 : TempButton
  1680. {
  1681. idc = 41421;
  1682. x = N_X + ratio * (0.02 + 0.11 * 0);
  1683. y = N_Y + ratio * (0.01 + 0.04 * 1);
  1684. text = "Patrolspawn";
  1685. action = "[41421] call fnc_ui_button";
  1686. };
  1687.  
  1688. class RGT_1412 : TempButton
  1689. {
  1690. idc = 41412;
  1691. x = N_X + ratio * (0.02 + 0.11 * 1);
  1692. y = N_Y + ratio * (0.01 + 0.04 * 0);
  1693. text = "3D-Editor";
  1694. action = "[41412] call fnc_ui_button";
  1695. };
  1696.  
  1697. class RGT_1422 : TempButton
  1698. {
  1699. idc = 41422;
  1700. x = N_X + ratio * (0.02 + 0.11 * 1);
  1701. y = N_Y + ratio * (0.01 + 0.04 * 1);
  1702. text = "WP-Spawn";
  1703. action = "[41422] call fnc_ui_button";
  1704. };
  1705.  
  1706. //__________________________________________________________
  1707.  
  1708. class RGT_1431 : TempText
  1709. {
  1710. idc = 41431;
  1711. x = N_X + ratio * (0.02 + 0.11 * 0);
  1712. y = N_Y + ratio * (0.01 + 0.04 * 2);
  1713. text = "Typ";
  1714. };
  1715.  
  1716. class RGT_1441 : TempText
  1717. {
  1718. idc = 41441;
  1719. x = N_X + ratio * (0.02 + 0.11 * 0);
  1720. y = N_Y + ratio * (0.01 + 0.04 * 3);
  1721. text = "Anzahl";
  1722. };
  1723.  
  1724. class RGT_1451 : TempText
  1725. {
  1726. idc = 41451;
  1727. x = N_X + ratio * (0.02 + 0.11 * 0);
  1728. y = N_Y + ratio * (0.01 + 0.04 * 4);
  1729. text = "Radius";
  1730. };
  1731.  
  1732. class RGT_1461 : TempText
  1733. {
  1734. idc = 41461;
  1735. x = N_X + ratio * (0.02 + 0.11 * 0);
  1736. y = N_Y + ratio * (0.01 + 0.04 * 5);
  1737. text = "Bevölkern";
  1738. };
  1739.  
  1740. class RGT_1432 : TempCombobox
  1741. {
  1742. idc = 41432;
  1743. x = N_X + ratio * (0.02 + 0.11 * 1);
  1744. y = N_Y + ratio * (0.01 + 0.04 * 2);
  1745. };
  1746.  
  1747. class RGT_1442 : TempCombobox
  1748. {
  1749. idc = 41442;
  1750. x = N_X + ratio * (0.02 + 0.11 * 1);
  1751. y = N_Y + ratio * (0.01 + 0.04 * 3);
  1752. };
  1753.  
  1754. class RGT_1452 : TempCombobox
  1755. {
  1756. idc = 41452;
  1757. x = N_X + ratio * (0.02 + 0.11 * 1);
  1758. y = N_Y + ratio * (0.01 + 0.04 * 4);
  1759. };
  1760.  
  1761. class RGT_1462 : TempButton
  1762. {
  1763. idc = 41462;
  1764. x = N_X + ratio * (0.02 + 0.11 * 1);
  1765. y = N_Y + ratio * (0.01 + 0.04 * 5);
  1766. text = "Bevölkern";
  1767. action = "[41462] call fnc_ui_button";
  1768. };
  1769.  
  1770. //////////////////////// O - 15 - Map ////////////////////////
  1771.  
  1772. class RGT_1511 : TempMap
  1773. {
  1774. idc = 41511;
  1775. x = O_X + ratio * (0.02);
  1776. y = O_Y + ratio * (0.01);
  1777. w = 0.46 * ratio;
  1778. h = 0.315 * ratio;
  1779. colorText[] = {1, 1, 1, 1};
  1780. colorBackground[] = {1, 1, 1, 1};
  1781. };
  1782.  
  1783. class RGT_1521 : TempButton
  1784. {
  1785. idc = 41521;
  1786. x = O_X + ratio * (0.02 + 0.12 * 0);
  1787. y = O_Y + ratio * (0.015 + 0.31 + 0.01);
  1788. text = "Show Units";
  1789. action = "[41521] call fnc_ui_button";
  1790. };
  1791.  
  1792. class RGT_1522 : TempButton
  1793. {
  1794. idc = 41522;
  1795. x = O_X + ratio * (0.02 + 0.12 * 1);
  1796. y = O_Y + ratio * (0.015 + 0.31 + 0.01);
  1797. text = "Show Player";
  1798. action = "[41522] call fnc_ui_button";
  1799. };
  1800.  
  1801. class RGT_1523 : TempButton
  1802. {
  1803. idc = 41523;
  1804. x = O_X + ratio * (0.02 + 0.12 * 2);
  1805. y = O_Y + ratio * (0.015 + 0.31 + 0.01);
  1806. text = "Show IEDs";
  1807. action = "[41523] call fnc_ui_button";
  1808. };
  1809.  
  1810. class RGT_1524 : TempButton
  1811. {
  1812. idc = 41524;
  1813. x = O_X + ratio * (0.02 + 0.12 * 3);
  1814. y = O_Y + ratio * (0.015 + 0.31 + 0.01);
  1815. text = "Open Map";
  1816. action = "[41524] call fnc_ui_button";
  1817. };
  1818.  
  1819. //////////////////////// P - 16 - allgemeine Buttons ////////////////////////
  1820.  
  1821. class RGT_1611 : TempButton
  1822. {
  1823. idc = 41611;
  1824. x = P_X + ratio * (0.02 + 0.12 * 0);
  1825. y = P_Y + ratio * (0.01 + 0.0375 * 0);
  1826. text = "3D-Editor";
  1827. action = "[41611] call fnc_ui_button";
  1828. };
  1829.  
  1830. class RGT_1612 : TempButton
  1831. {
  1832. idc = 41612;
  1833. x = P_X + ratio * (0.02 + 0.12 * 1);
  1834. y = P_Y + ratio * (0.01 + 0.0375 * 0);
  1835. text = "Godmode";
  1836. action = "[41612] call fnc_ui_button";
  1837. };
  1838.  
  1839. class RGT_1613 : TempText
  1840. {
  1841. idc = 41613;
  1842. x = P_X + ratio * (0.02 + 0.12 * 2);
  1843. y = P_Y + ratio * (0.01 + 0.0375 * 0);
  1844. text = "";
  1845. };
  1846.  
  1847. class RGT_1614 : TempButton
  1848. {
  1849. idc = 41614;
  1850. x = P_X + ratio * (0.02 + 0.12 * 3);
  1851. y = P_Y + ratio * (0.01 + 0.0375 * 0);
  1852. text = "About";
  1853. action = "[41614] call fnc_ui_button";
  1854. };
  1855.  
  1856. //__________________________________________________________
  1857.  
  1858. class RGT_1621 : TempButton
  1859. {
  1860. idc = 41621;
  1861. x = P_X + ratio * (0.02 + 0.12 * 0);
  1862. y = P_Y + ratio * (0.01 + 0.0375 * 1);
  1863. text = "Spectator";
  1864. action = "[41621] call fnc_ui_button";
  1865. };
  1866.  
  1867. class RGT_1622 : TempButton
  1868. {
  1869. idc = 41622;
  1870. x = P_X + ratio * (0.02 + 0.12 * 1);
  1871. y = P_Y + ratio * (0.01 + 0.0375 * 1);
  1872. text = "Teleport";
  1873. action = "[41622] call fnc_ui_button";
  1874. };
  1875.  
  1876. class RGT_1623 : TempText
  1877. {
  1878. idc = 41623;
  1879. x = P_X + ratio * (0.02 + 0.12 * 2);
  1880. y = P_Y + ratio * (0.01 + 0.0375 * 1);
  1881. text = "";
  1882. };
  1883.  
  1884. class RGT_1624 : TempButton
  1885. {
  1886. idc = 41624;
  1887. x = P_X + ratio * (0.02 + 0.12 * 3);
  1888. y = P_Y + ratio * (0.01 + 0.0375 * 1);
  1889. text = "Refresh";
  1890. action = "[41624] call fnc_ui_button";
  1891. };
  1892.  
  1893. //__________________________________________________________
  1894.  
  1895. class RGT_1631 : TempButton
  1896. {
  1897. idc = 41631;
  1898. x = P_X + ratio * (0.02 + 0.12 * 0);
  1899. y = P_Y + ratio * (0.01 + 0.0375 * 2);
  1900. text = "Save";
  1901. action = "[41631] call fnc_ui_button";
  1902. };
  1903.  
  1904. class RGT_1632 : TempButton
  1905. {
  1906. idc = 41632;
  1907. x = P_X + ratio * (0.02 + 0.12 * 1);
  1908. y = P_Y + ratio * (0.01 + 0.0375 * 2);
  1909. text = "Load";
  1910. action = "[41632] call fnc_ui_button";
  1911. };
  1912.  
  1913. class RGT_1633 : TempText
  1914. {
  1915. idc = 41633;
  1916. x = P_X + ratio * (0.02 + 0.12 * 2);
  1917. y = P_Y + ratio * (0.01 + 0.0375 * 2);
  1918. text = "";
  1919. };
  1920.  
  1921. class RGT_1634 : TempButton
  1922. {
  1923. idc = 41634;
  1924. x = P_X + ratio * (0.02 + 0.12 * 3);
  1925. y = P_Y + ratio * (0.01 + 0.0375 * 2);
  1926. text = "Close";
  1927. action = "[41634] call fnc_ui_button";
  1928. };
  1929.  
  1930. ////////////////////////////////////////////////////////////////////////////
  1931. //////////////////////// Ende des gesamten Dialoges ////////////////////////
  1932. };
  1933. //////////////////////// Ende des gesamten Dialoges ////////////////////////
  1934. ////////////////////////////////////////////////////////////////////////////
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940. //////////////////////// SOUND TEST ////////////////////////
  1941.  
  1942. class CfgSounds
  1943. {
  1944. sounds[] = {};
  1945. class boom
  1946. {
  1947. name = "boom";
  1948. sound[] = {"RGT\sound\boom.ogg", 12, 1};
  1949. titles[] = {0, ""};
  1950. };
  1951. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement