Advertisement
Guest User

Untitled

a guest
Mar 28th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.09 KB | None | 0 0
  1. // Control types
  2. #define CT_STATIC 0
  3. #define CT_BUTTON 1
  4. #define CT_EDIT 2
  5. #define CT_SLIDER 3
  6. #define CT_COMBO 4
  7. #define CT_LISTBOX 5
  8. #define CT_TOOLBOX 6
  9. #define CT_CHECKBOXES 7
  10. #define CT_PROGRESS 8
  11. #define CT_HTML 9
  12. #define CT_STATIC_SKEW 10
  13. #define CT_ACTIVETEXT 11
  14. #define CT_TREE 12
  15. #define CT_STRUCTURED_TEXT 13
  16. #define CT_CONTEXT_MENU 14
  17. #define CT_CONTROLS_GROUP 15
  18. #define CT_SHORTCUTBUTTON 16
  19. #define CT_XKEYDESC 40
  20. #define CT_XBUTTON 41
  21. #define CT_XLISTBOX 42
  22. #define CT_XSLIDER 43
  23. #define CT_XCOMBO 44
  24. #define CT_ANIMATED_TEXTURE 45
  25. #define CT_OBJECT 80
  26. #define CT_OBJECT_ZOOM 81
  27. #define CT_OBJECT_CONTAINER 82
  28. #define CT_OBJECT_CONT_ANIM 83
  29. #define CT_LINEBREAK 98
  30. #define CT_USER 99
  31. #define CT_MAP 100
  32. #define CT_MAP_MAIN 101
  33. #define CT_LISTNBOX 102
  34.  
  35. // Static styles
  36. #define ST_POS 0x0F
  37. #define ST_HPOS 0x03
  38. #define ST_VPOS 0x0C
  39. #define ST_LEFT 0x00
  40. #define ST_RIGHT 0x01
  41. #define ST_CENTER 0x02
  42. #define ST_DOWN 0x04
  43. #define ST_UP 0x08
  44. #define ST_VCENTER 0x0C
  45. #define ST_GROUP_BOX 96
  46. #define ST_GROUP_BOX2 112
  47. #define ST_ROUNDED_CORNER ST_GROUP_BOX + ST_CENTER
  48. #define ST_ROUNDED_CORNER2 ST_GROUP_BOX2 + ST_CENTER
  49.  
  50. #define ST_TYPE 0xF0
  51. #define ST_SINGLE 0x00
  52. #define ST_MULTI 0x10
  53. #define ST_TITLE_BAR 0x20
  54. #define ST_PICTURE 0x30
  55. #define ST_FRAME 0x40
  56. #define ST_BACKGROUND 0x50
  57. #define ST_GROUP_BOX 0x60
  58. #define ST_GROUP_BOX2 0x70
  59. #define ST_HUD_BACKGROUND 0x80
  60. #define ST_TILE_PICTURE 0x90
  61. #define ST_WITH_RECT 0xA0
  62. #define ST_LINE 0xB0
  63.  
  64. #define ST_SHADOW 0x100
  65. #define ST_NO_RECT 0x200
  66. #define ST_KEEP_ASPECT_RATIO 0x800
  67.  
  68. #define ST_TITLE ST_TITLE_BAR + ST_CENTER
  69.  
  70. // Slider styles
  71. #define SL_DIR 0x400
  72. #define SL_VERT 0
  73. #define SL_HORZ 0x400
  74.  
  75. #define SL_TEXTURES 0x10
  76.  
  77. // progress bar
  78. #define ST_VERTICAL 0x01
  79. #define ST_HORIZONTAL 0
  80.  
  81. // Listbox styles
  82. #define LB_TEXTURES 0x10
  83. #define LB_MULTI 0x20
  84.  
  85. // Tree styles
  86. #define TR_SHOWROOT 1
  87. #define TR_AUTOCOLLAPSE 2
  88.  
  89. // MessageBox styles
  90. #define MB_BUTTON_OK 1
  91. #define MB_BUTTON_CANCEL 2
  92. #define MB_BUTTON_USER 4
  93.  
  94.  
  95. ////////////////
  96. //Base Classes//
  97. ////////////////
  98.  
  99. class LeRebellion_RscListBox
  100. {
  101. style = 16;
  102. idc = -1;
  103. type = 5;
  104. w = 0.275;
  105. h = 0.04;
  106. font = "PuristaMedium";
  107. colorSelect[] = {1, 1, 1, 1};
  108. colorText[] = {1, 1, 1, 1};
  109. colorBackground[] = {0.28,0.28,0.28,0.28};
  110. colorSelect2[] = {1, 1, 1, 1};
  111. colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5};
  112. colorSelectBackground2[] = {1, 1, 1, 0.5};
  113. colorScrollbar[] = {0.2, 0.2, 0.2, 1};
  114. arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  115. arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  116. wholeHeight = 0.45;
  117. rowHeight = 0.04;
  118. color[] = {0.7, 0.7, 0.7, 1};
  119. colorActive[] = {0,0,0,1};
  120. colorDisabled[] = {0,0,0,0.3};
  121. sizeEx = 0.023;
  122. soundSelect[] = {"",0.1,1};
  123. soundExpand[] = {"",0.1,1};
  124. soundCollapse[] = {"",0.1,1};
  125. maxHistoryDelay = 1;
  126. autoScrollSpeed = -1;
  127. autoScrollDelay = 5;
  128. autoScrollRewind = 0;
  129. tooltipColorText[] = {1,1,1,1};
  130. tooltipColorBox[] = {1,1,1,1};
  131. tooltipColorShade[] = {0,0,0,0.65};
  132. class ListScrollBar: Life_RscScrollBar
  133. {
  134. color[] = {1,1,1,1};
  135. autoScrollEnabled = 1;
  136. };
  137. };
  138.  
  139. class LeRebellion_Edit {
  140. access = 0;
  141. type = CT_EDIT;
  142. style = ST_LEFT+ST_FRAME;
  143. x = 0;
  144. y = 0;
  145. h = 0.04;
  146. w = 0.2;
  147. colorBackground[] = {1,0,0,1};
  148. colorText[] = {0.804,0.773,0.749,1};
  149. colorSelection[] = {1,1,1,0.25};
  150. colorDisabled[] = {1, 1, 1, 0.500000};
  151. font = "TahomaB";
  152. sizeEx = 0.04;
  153. autocomplete = "";
  154. text = "";
  155. size = 0.2;
  156. shadow = 0;
  157. };
  158.  
  159. class RscText
  160. {
  161. access = 0;
  162. idc = -1;
  163. type = CT_STATIC;
  164. style = ST_MULTI;
  165. linespacing = 1;
  166. colorBackground[] = {0,0,0,0};
  167. colorText[] = {1,1,1,.5};
  168. text = "";
  169. shadow = 2;
  170. font = "PuristaLight";
  171. SizeEx = 0.02300;
  172. fixedWidth = 0;
  173. x = 0;
  174. y = 0;
  175. h = 0;
  176. w = 0;
  177.  
  178. };
  179.  
  180. class LeRebellionControlsGroup {
  181. type = 15;
  182. idc = -1;
  183. x = 0;
  184. y = 0;
  185. w = 1;
  186. h = 1;
  187. shadow = 0;
  188. style = 16;
  189.  
  190. class VScrollBar : Life_RscScrollBar
  191. {
  192. width = 0.021;
  193. autoScrollEnabled = 1;
  194. };
  195.  
  196. class HScrollBar : Life_RscScrollBar
  197. {
  198. height = 0.028;
  199. };
  200.  
  201. class Controls {};
  202. };
  203.  
  204. class LeRebellionControlsGroupnoScrollbars : LeRebellionControlsGroup {
  205. class VScrollbar : VScrollbar {
  206. width = 0;
  207. };
  208.  
  209. class HScrollbar : HScrollbar {
  210. height = 0;
  211. };
  212. };
  213.  
  214. class LeRebellion_RscText
  215. {
  216. access = 0;
  217. idc = -1;
  218. type = CT_STATIC;
  219. style = ST_MULTI;
  220. linespacing = 1;
  221. colorBackground[] = {0,0,0,0};
  222. colorText[] = {1,1,1,.5};
  223. text = "";
  224. shadow = 2;
  225. font = "PuristaLight";
  226. SizeEx = 0.02300;
  227. fixedWidth = 0;
  228. x = 0;
  229. y = 0;
  230. h = 0;
  231. w = 0;
  232.  
  233. };
  234.  
  235. class LeRebellion_RscStructuredText {
  236. type = 13;
  237. style = 0;
  238. x = 0;
  239. y = 0;
  240. h = 0.035;
  241. w = 0.1;
  242. text = "";
  243. size = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  244. colorText[] = {1, 1, 1, 1.0};
  245. shadow = 1;
  246.  
  247. class Attributes {
  248. font = "PuristaMedium";
  249. color = "#ffffff";
  250. align = "left";
  251. shadow = 1;
  252. };
  253. };
  254.  
  255.  
  256. class LeRebellionTabletBackground
  257. {
  258. access = 0;
  259. idc = -1;
  260. type = CT_STATIC;
  261. style = ST_PICTURE;
  262. colorBackground[] = {0,0,0,0};
  263. colorText[] = {1,1,1,1};
  264. font = "PuristaLight";
  265. sizeEx = 0;
  266. lineSpacing = 0;
  267. text = "";
  268. fixedWidth = 0;
  269. shadow = 0;
  270. x = 0;
  271. y = 0;
  272. w = 0.2;
  273. h = 0.15;
  274. };
  275.  
  276. class LeRebellionText
  277. {
  278. type = CT_ACTIVETEXT;
  279. idc = -1;
  280. style = ST_PICTURE;
  281. color[] = {1, 1, 1, 1};
  282. colorActive[] = {-1, 1, 1, 1};
  283. font = "PuristaLight";
  284. sizeEx = 0.04;
  285. soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1};
  286. soundPush[] = {"\ca\ui\data\sound\new1",0,0};
  287. soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1};
  288. soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1};
  289. default = false;
  290. };
  291.  
  292. class LeRebellion_RscCombo {
  293. style = 16;
  294. type = 4;
  295. x = 0;
  296. y = 0;
  297. w = 0.12;
  298. h = 0.035;
  299. shadow = 0;
  300. colorSelect[] = {0, 0, 0, 1};
  301. soundExpand[] = {"",0.1,1};
  302. colorText[] = {0.95, 0.95, 0.95, 1};
  303. soundCollapse[] = {"",0.1,1};
  304. maxHistoryDelay = 1;
  305. colorBackground[] = {0.4,0.4,0.4,0.4};
  306. colorSelectBackground[] = {1, 1, 1, 0.7};
  307. colow_Rscrollbar[] = {1, 0, 0, 1};
  308. soundSelect[] = {
  309. "", 0.000000, 1
  310. };
  311. arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  312. arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  313. wholeHeight = 0.45;
  314. color[] = {1, 1, 1, 1};
  315. colorActive[] = {1, 0, 0, 1};
  316. colorDisabled[] = {1, 1, 1, 0.25};
  317. font = "PuristaMedium";
  318. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  319.  
  320. class ComboScrollBar : Life_RscScrollBar {};
  321. };
  322.  
  323. class RscButton
  324. {
  325.  
  326. access = 0;
  327. type = CT_BUTTON;
  328. text = "";
  329. colorText[] = {1,1,1,.9};
  330. colorDisabled[] = {0.4,0.4,0.4,0};
  331. colorBackground[] = {0.75,0.75,0.75,0.8};
  332. colorBackgroundDisabled[] = {0,0.0,0};
  333. colorBackgroundActive[] = {0.75,0.75,0.75,1};
  334. colorFocused[] = {0.75,0.75,0.75,.5};
  335. colorShadow[] = {0.023529,0,0.0313725,1};
  336. colorBorder[] = {0.023529,0,0.0313725,1};
  337. soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1};
  338. soundPush[] = {"\ca\ui\data\sound\new1",0,0};
  339. soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1};
  340. soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1};
  341. style = 2;
  342. x = 0;
  343. y = 0;
  344. w = 0.055589;
  345. h = 0.039216;
  346. shadow = 2;
  347. font = "PuristaLight";
  348. sizeEx = 0.03921;
  349. offsetX = 0.003;
  350. offsetY = 0.003;
  351. offsetPressedX = 0.002;
  352. offsetPressedY = 0.002;
  353. borderSize = 0;
  354. };
  355.  
  356. class RscFrame
  357. {
  358. type = CT_STATIC;
  359. idc = -1;
  360. style = ST_FRAME;
  361. shadow = 2;
  362. colorBackground[] = {1,1,1,1};
  363. colorText[] = {1,1,1,0.9};
  364. font = "PuristaLight";
  365. sizeEx = 0.03;
  366. text = "";
  367. };
  368.  
  369. class BOX
  370. {
  371. type = CT_STATIC;
  372. idc = -1;
  373. style = ST_CENTER;
  374. shadow = 2;
  375. colorText[] = {1,1,1,1};
  376. font = "PuristaLight";
  377. sizeEx = 0.02;
  378. colorBackground[] = { 0.2,0.2,0.2, 0.9 };
  379. text = "";
  380.  
  381. };
  382.  
  383. class LeRebellionLizenzen
  384. {
  385. access = 0;
  386. idc = -1;
  387. type = CT_STRUCTURED_TEXT;
  388. style = ST_LEFT;
  389. colorBackground[] = {0,0,0,0.25};
  390. colorText[] = {1,1,1,0.8};
  391. size = 0.018;
  392. text = "";
  393. class Attributes {
  394. font = "puristaMedium";
  395. align = "left";
  396. valign = "top";
  397. shadow = 2;
  398. size = "2";
  399. };
  400. fixedWidth = 0;
  401. x = 0;
  402. y = 0;
  403. h = 0;
  404. w = 0;
  405. shadow = 2;
  406. font = "puristaMedium";
  407. };
  408.  
  409. #include "player_sys.sqf"
  410.  
  411. class playerSettings {
  412.  
  413. idd = playersys_DIALOG;
  414. movingEnable = true;
  415. enableSimulation = true;
  416.  
  417. class controlsBackground {
  418.  
  419. class bg: LeRebellionTabletBackground
  420. {
  421. idc = 1200;
  422. text = "so\Tabletciv.paa";
  423. x = 0.278282 * safezoneW + safezoneX;
  424. y = 0.137 * safezoneH + safezoneY;
  425. w = 0.433125 * safezoneW;
  426. h = 0.704 * safezoneH;
  427. };
  428.  
  429. };
  430.  
  431. class controls {
  432.  
  433. class close: LeRebellionText
  434. {
  435. idc = -1;
  436. text = "so\close.paa";
  437. x = 0.315378 * safezoneW + safezoneX;
  438. y = 0.6232 * safezoneH + safezoneY;
  439. w = 0.0257812 * safezoneW;
  440. h = 0.044 * safezoneH;
  441. onButtonClick = "closeDialog 0;";
  442. };
  443. class message: LeRebellionText
  444. {
  445. idc = -1;
  446. text = "so\Messages-icon.paa";
  447. x = 0.363875 * safezoneW + safezoneX;
  448. y = 0.6232 * safezoneH + safezoneY;
  449. w = 0.0257812 * safezoneW;
  450. h = 0.044 * safezoneH;
  451. onButtonClick = "createDialog ""Life_my_smartphone"";";
  452. };
  453. class key: LeRebellionText
  454. {
  455. idc = -1;
  456. text = "so\key.paa";
  457. x = 0.410229 * safezoneW + safezoneX;
  458. y = 0.6254 * safezoneH + safezoneY;
  459. w = 0.0257812 * safezoneW;
  460. h = 0.044 * safezoneH;
  461. onButtonClick = "createDialog ""Life_key_management"";";
  462. };
  463. class RscPicture_1204: LeRebellionText
  464. {
  465. idc = -1;
  466. text = "so\LaCie-Rugged-icon.paa";
  467. x = 0.457719 * safezoneW + safezoneX;
  468. y = 0.6232 * safezoneH + safezoneY;
  469. w = 0.0257812 * safezoneW;
  470. h = 0.044 * safezoneH;
  471. onButtonClick = "createDialog ""LeRebellion_Finanzen"";";
  472. };
  473. class gang: LeRebellionText
  474. {
  475. idc = -1;
  476. text = "so\finder-icon.paa";
  477. x = 0.505157 * safezoneW + safezoneX;
  478. y = 0.6232 * safezoneH + safezoneY;
  479. w = 0.0257812 * safezoneW;
  480. h = 0.044 * safezoneH;
  481. onButtonClick = "[] call life_fnc_wantedMenu";
  482. };
  483. class safari: LeRebellionText
  484. {
  485. idc = -1;
  486. text = "so\Safari-icon.paa";
  487. x = 0.552595 * safezoneW + safezoneX;
  488. y = 0.6232 * safezoneH + safezoneY;
  489. w = 0.0257812 * safezoneW;
  490. h = 0.044 * safezoneH;
  491. };
  492. class settings: LeRebellionText
  493. {
  494. idc = -1;
  495. text = "so\Settings-icon.paa";
  496. x = 0.599 * safezoneW + safezoneX;
  497. y = 0.6232 * safezoneH + safezoneY;
  498. w = 0.0257812 * safezoneW;
  499. h = 0.044 * safezoneH;
  500. onButtonClick = "createDialog ""LR_Settings"";";
  501. };
  502. class cloud: LeRebellionText
  503. {
  504. idc = -1;
  505. text = "so\CloudApp-icon.paa";
  506. x = 0.645406 * safezoneW + safezoneX;
  507. y = 0.6232 * safezoneH + safezoneY;
  508. w = 0.0257812 * safezoneW;
  509. h = 0.044 * safezoneH;
  510. onButtonClick = "[] call SOCK_fnc_syncData;";
  511. };
  512. class lizenzen: LeRebellionText
  513. {
  514. idc = -1;
  515. text = "so\Newsstand-icon.paa";
  516. x = 0.603125 * safezoneW + safezoneX;
  517. y = 0.3064 * safezoneH + safezoneY;
  518. w = 0.0257812 * safezoneW;
  519. h = 0.044 * safezoneH;
  520. onButtonClick = "createDialog ""LeRebellion_Licenses"";";
  521. };
  522. class markt: LeRebellionText
  523. {
  524. idc = -1;
  525. text = "so\App-Store-icon.paa";
  526. x = 0.644375 * safezoneW + safezoneX;
  527. y = 0.3064 * safezoneH + safezoneY;
  528. w = 0.0257812 * safezoneW;
  529. h = 0.044 * safezoneH;
  530. onButtonClick = "createDialog ""LeRebellion_Inventory"";";
  531. };
  532. };
  533. };
  534.  
  535. class LeRebellion_Licenses {
  536.  
  537. idd = playersys_DIALOG;
  538. movingEnable = true;
  539. enableSimulation = true;
  540.  
  541. class controlsBackground {
  542.  
  543. class bg: LeRebellionTabletBackground
  544. {
  545. idc = 1200;
  546. text = "so\tabletlizenzen.paa";
  547. x = 0.278282 * safezoneW + safezoneX;
  548. y = 0.137 * safezoneH + safezoneY;
  549. w = 0.433125 * safezoneW;
  550. h = 0.704 * safezoneH;
  551. };
  552.  
  553. };
  554.  
  555. class controls {
  556.  
  557. class close: LeRebellionText
  558. {
  559. idc = 1201;
  560. text = "so\close.paa";
  561. x = 0.315378 * safezoneW + safezoneX;
  562. y = 0.6232 * safezoneH + safezoneY;
  563. w = 0.0257812 * safezoneW;
  564. h = 0.044 * safezoneH;
  565. action = closeDialog 0;
  566. };
  567. class RscControlsGroup_2300: LeRebellionControlsGroup
  568. {
  569. idc = -1;
  570. x = 0.450501 * safezoneW + safezoneX;
  571. y = 0.357 * safezoneH + safezoneY;
  572. w = 0.0928125 * safezoneW;
  573. h = 0.22 * safezoneH;
  574. class controls
  575. {
  576. class Life_Licenses : LeRebellionLizenzen
  577. {
  578. idc = 2014;
  579. sizeEx = 0.020;
  580. text = "";
  581. x = 0;
  582. y = 0;
  583. w = 0.27; h = 0.65;
  584. };
  585. };
  586. };
  587. };
  588. };
  589.  
  590. class LeRebellion_Finanzen {
  591.  
  592. idd = playersys_DIALOG;
  593. movingEnable = true;
  594. enableSimulation = true;
  595.  
  596. class controlsBackground {
  597.  
  598. class bg: LeRebellionTabletBackground
  599. {
  600. idc = 1200;
  601. text = "so\tabletfinanzen.paa";
  602. x = 0.278282 * safezoneW + safezoneX;
  603. y = 0.137 * safezoneH + safezoneY;
  604. w = 0.433125 * safezoneW;
  605. h = 0.704 * safezoneH;
  606. };
  607. };
  608.  
  609. class controls {
  610.  
  611. class close: LeRebellionText
  612. {
  613. idc = 1201;
  614. text = "so\close.paa";
  615. x = 0.315378 * safezoneW + safezoneX;
  616. y = 0.6232 * safezoneH + safezoneY;
  617. w = 0.0257812 * safezoneW;
  618. h = 0.044 * safezoneH;
  619. action = closeDialog 0;
  620. };
  621. class money_edit: LeRebellion_Edit
  622. {
  623. idc = 1400;
  624. x = 0.340156 * safezoneW + safezoneX;
  625. y = 0.412 * safezoneH + safezoneY;
  626. w = 0.0721875 * safezoneW;
  627. h = 0.022 * safezoneH;
  628. };
  629. class nears_players: LeRebellion_RscCombo
  630. {
  631. idc = 2100;
  632. x = 0.572187 * safezoneW + safezoneX;
  633. y = 0.412 * safezoneH + safezoneY;
  634. w = 0.0721875 * safezoneW;
  635. h = 0.022 * safezoneH;
  636. };
  637. class moneyStatusInfo: LeRebellion_RscStructuredText
  638. {
  639. idc = 1100;
  640. x = 0.453594 * safezoneW + safezoneX;
  641. y = 0.313 * safezoneH + safezoneY;
  642. w = 0.0773437 * safezoneW;
  643. h = 0.154 * safezoneH;
  644. };
  645. class RscPicture_1202: LeRebellionText
  646. {
  647. idc = 1202;
  648. text = "so\button_transfer.paa";
  649. x = 0.453594 * safezoneW + safezoneX;
  650. y = 0.478 * safezoneH + safezoneY;
  651. w = 0.0773437 * safezoneW;
  652. h = 0.132 * safezoneH;
  653. };
  654. };
  655. };
  656.  
  657. class LR_Settings {
  658.  
  659. idd = playersys_settings;
  660. movingEnable = true;
  661. enableSimulation = true;
  662.  
  663. class controlsBackground {
  664.  
  665. class bg: LeRebellionTabletBackground
  666. {
  667. idc = 1200;
  668. text = "so\tabletoptions.paa";
  669. x = 0.278282 * safezoneW + safezoneX;
  670. y = 0.137 * safezoneH + safezoneY;
  671. w = 0.433125 * safezoneW;
  672. h = 0.704 * safezoneH;
  673. };
  674. class PlayerTagsHeader : Life_RscText
  675. {
  676. idc = -1;
  677. text = "$STR_SM_PlayerTags";
  678. colorBackground[] = {0,0.2,1,0.7};
  679.  
  680. x = 0.30;
  681. y = 0.43;
  682. w = 0.35;
  683. h = (1 / 25);
  684. };
  685.  
  686. class SideChatHeader : PlayerTagsHeader
  687. {
  688. idc = -1;
  689. text = "$STR_SM_SC";
  690. shadow = 0;
  691.  
  692. y = 0.48;
  693. };
  694.  
  695. class RevealNearestHeader : PlayerTagsHeader
  696. {
  697. idc = -1;
  698. text = "Reveal Nearest Objects";
  699.  
  700. y = 0.53;
  701. };
  702. };
  703.  
  704. class controls {
  705.  
  706. class close: LeRebellionText
  707. {
  708. idc = 1201;
  709. text = "so\close.paa";
  710. x = 0.315378 * safezoneW + safezoneX;
  711. y = 0.6232 * safezoneH + safezoneY;
  712. w = 0.0257812 * safezoneW;
  713. h = 0.044 * safezoneH;
  714. action = closeDialog 0;
  715. };
  716. class VDonFoot : life_RscText
  717. {
  718. idc = -1;
  719. text = "$STR_SM_onFoot";
  720.  
  721. x = 0.32; y = 0.258;
  722. w = 0.275; h = 0.04;
  723. };
  724.  
  725. class VDinCar : life_RscText
  726. {
  727. idc = -1;
  728. text = "$STR_SM_inCar";
  729.  
  730. x = 0.32; y = 0.305;
  731. w = 0.275; h = 0.04;
  732. };
  733.  
  734. class VDinAir : life_RscText
  735. {
  736. idc = -1;
  737. text = "$STR_SM_inAir";
  738.  
  739. x = 0.32; y = 0.355;
  740. w = 0.275; h = 0.04;
  741. };
  742.  
  743. class VD_onfoot_slider : life_RscXSliderH
  744. {
  745. idc = 2901;
  746. text = "";
  747. onSliderPosChanged = "[0,_this select 1] call life_fnc_s_onSliderChange;";
  748. tooltip = "$STR_SM_ToolTip1";
  749. x = 0.42;
  750. y = 0.30 - (1 / 25);
  751.  
  752. w = "9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
  753. h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  754. };
  755.  
  756. class VD_onfoot_value : life_RscText
  757. {
  758. idc = 2902;
  759. text = "";
  760.  
  761. x = 0.70; y = 0.258;
  762. w = 0.275; h = 0.04;
  763. };
  764.  
  765. class VD_car_slider : life_RscXSliderH
  766. {
  767. idc = 2911;
  768. text = "";
  769. onSliderPosChanged = "[1,_this select 1] call life_fnc_s_onSliderChange;";
  770. tooltip = "$STR_SM_ToolTip2";
  771. x = 0.42;
  772. y = 0.35 - (1 / 25);
  773.  
  774. w = "9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
  775. h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  776. };
  777.  
  778. class VD_car_value : life_RscText
  779. {
  780. idc = 2912;
  781. text = "";
  782.  
  783. x = 0.70; y = 0.31;
  784. w = 0.275; h = 0.04;
  785. };
  786.  
  787. class VD_air_slider : life_RscXSliderH
  788. {
  789. idc = 2921;
  790. text = "";
  791. onSliderPosChanged = "[2,_this select 1] call life_fnc_s_onSliderChange;";
  792. tooltip = "$STR_SM_ToolTip3";
  793. x = 0.42;
  794. y = 0.40 - (1 / 25);
  795.  
  796. w = "9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
  797. h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  798. };
  799.  
  800. class VD_air_value : life_RscText
  801. {
  802. idc = 2922;
  803. text = "";
  804.  
  805. x = 0.70; y = 0.36;
  806. w = 0.275; h = 0.04;
  807. };
  808.  
  809. class PlayerTagsONOFF : Life_RscActiveText
  810. {
  811. text = "ON";
  812. tooltip = "$STR_GUI_PlayTags";
  813. idc = 2970;
  814. sizeEx = 0.04;
  815. x = 0.65;
  816. y = 0.43;
  817. w = 0.275;
  818. };
  819.  
  820. class SideChatONOFF : PlayerTagsONOFF
  821. {
  822. idc = 2971;
  823. tooltip = "";
  824. action = "[] call life_fnc_sidechat;";
  825. y = 0.48;
  826. };
  827.  
  828. class RevealONOFF : PlayerTagsONOFF
  829. {
  830. tooltip = "$STR_GUI_PlayerReveal";
  831. idc = 2972;
  832. y = 0.53;
  833. };
  834. };
  835. };
  836.  
  837. class LeRebellion_Inventory {
  838.  
  839. idd = playersys_DIALOG;
  840. movingEnable = true;
  841. enableSimulation = true;
  842.  
  843. class controlsBackground {
  844.  
  845. class bg: LeRebellionTabletBackground
  846. {
  847. idc = 1200;
  848. text = "so\tabletmarkt.paa";
  849. x = 0.278281 * safezoneW + safezoneX;
  850. y = 0.137 * safezoneH + safezoneY;
  851. w = 0.433125 * safezoneW;
  852. h = 0.704 * safezoneH;
  853. };
  854. };
  855.  
  856. class controls {
  857.  
  858. class close: LeRebellionText
  859. {
  860. idc = 1201;
  861. text = "so\close.paa";
  862. x = 0.315378 * safezoneW + safezoneX;
  863. y = 0.6232 * safezoneH + safezoneY;
  864. w = 0.0257812 * safezoneW;
  865. h = 0.044 * safezoneH;
  866. action = "closeDialog 0;";
  867. };
  868. class geben: LeRebellionText
  869. {
  870. idc = 1202;
  871. text = "so\geben.paa";
  872. x = 0.469062 * safezoneW + safezoneX;
  873. y = 0.5308 * safezoneH + safezoneY;
  874. w = 0.0567187 * safezoneW;
  875. h = 0.088 * safezoneH;
  876. };
  877. class entf: LeRebellionText
  878. {
  879. idc = 1203;
  880. text = "so\entf.paa";
  881. x = 0.381406 * safezoneW + safezoneX;
  882. y = 0.5308 * safezoneH + safezoneY;
  883. w = 0.0567187 * safezoneW;
  884. h = 0.088 * safezoneH;
  885. };
  886. class use: LeRebellionText
  887. {
  888. idc = 1204;
  889. text = "so\benutzen.paa";
  890. x = 0.551562 * safezoneW + safezoneX;
  891. y = 0.5264 * safezoneH + safezoneY;
  892. w = 0.0567187 * safezoneW;
  893. h = 0.088 * safezoneH;
  894. };
  895. class item_weight: LeRebellion_RscText
  896. {
  897. idc = 1205;
  898. text = "#(argb,8,8,3)color(1,1,1,1)";
  899. x = 0.542281 * safezoneW + safezoneX;
  900. y = 0.357 * safezoneH + safezoneY;
  901. w = 0.061875 * safezoneW;
  902. h = 0.033 * safezoneH;
  903. };
  904. class RscListbox_1500: LeRebellion_RscListBox
  905. {
  906. idc = 1500;
  907. x = 0.456688 * safezoneW + safezoneX;
  908. y = 0.357 * safezoneH + safezoneY;
  909. w = 0.0721875 * safezoneW;
  910. h = 0.187 * safezoneH;
  911. };
  912. };
  913. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement