Advertisement
Guest User

rsctitles.hpp

a guest
May 3rd, 2013
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.58 KB | None | 0 0
  1. class RscPicture;
  2. class RscButton;
  3. class CA_IGUI_Title;
  4. class RscText;
  5. class RscControlsGroup;
  6. class RscLineBreak;
  7. class RscIGUIShortcutButton;
  8. class RscGearShortcutButton;
  9. class RscIGUIListNBox;
  10. class RscActiveText;
  11.  
  12. class RscPictureKeepAspect;
  13. class RscStandardDisplay;
  14. class RscProgress;
  15. class RscProgressNotFreeze;
  16. class RscButtonTextOnly;
  17.  
  18. class RscDisplayLoading
  19. {
  20. class Variants
  21. {
  22. class LoadingOne
  23. {
  24. class controls
  25. {
  26. class LoadingPic : RscPictureKeepAspect
  27. {
  28. text = "z\addons\dayz_code\gui\dayz_logo_ca.paa";
  29. };
  30. };
  31. };
  32. };
  33. };
  34.  
  35. class RscDisplayStart
  36. {
  37. class controls
  38. {
  39. class LoadingPic: RscPictureKeepAspect
  40. {
  41. text = "z\addons\dayz_code\gui\dayz_logo_ca.paa";
  42. };
  43. };
  44. };
  45.  
  46. class RscDisplayDebriefing: RscStandardDisplay
  47. {
  48. class controls
  49. {
  50. delete Debriefing_MissionTitle;
  51. delete CA_MissionTitle;
  52. delete CA_TextVotingTimeLeft;
  53. delete CA_MissionResult;
  54. delete CA_DebriefingInfo;
  55. delete CA_DebriefingTextGroup;
  56. delete CA_DebriefingObjectivesGroup;
  57. delete CA_DebriefingStatsGroup;
  58. delete ButtonStatistics;
  59. delete ButtonRetry;
  60. //delete ButtonContinue;
  61. };
  62. class ControlsBackground
  63. {
  64. delete Mainback;
  65. };
  66. };
  67. class RscDisplayMissionFail: RscStandardDisplay
  68. {
  69. class controls
  70. {
  71. delete Debriefing_MissionTitle;
  72. delete CA_MissionTitle;
  73. delete CA_TextVotingTimeLeft;
  74. delete CA_MissionResult;
  75. delete CA_DebriefingInfo;
  76. delete CA_DebriefingTextGroup;
  77. delete CA_DebriefingObjectivesGroup;
  78. delete CA_DebriefingStatsGroup;
  79. delete BRetry;
  80. //delete BAbort;
  81. };
  82. class ControlsBackground
  83. {
  84. delete Mainback;
  85. };
  86. };
  87.  
  88.  
  89. class CA_TextLanguage;
  90. class RscXListBox;
  91.  
  92. class RscDisplayGameOptions
  93. {
  94. //onLoad = "((_this select 0) displayCtrl 140) lbAdd 'Default';((_this select 0) displayCtrl 140) lbAdd 'Debug';((_this select 0) displayCtrl 140) lbAdd 'None';((_this select 0) displayCtrl 140) lbSetCurSel (uiNamespace getVariable ['DZ_displayUI', 0]);";
  95. onUnload = "call ui_changeDisplay;";
  96. class controls
  97. {
  98. class CA_TextUIDisplay: CA_TextLanguage
  99. {
  100. x = 0.159803;
  101. y = "(0.420549 + 4*0.069854)";
  102. text = "DayZ UI:";
  103. };
  104. class CA_ValueUIDisplay: RscXListBox
  105. {
  106. idc = 140;
  107. x = 0.400534;
  108. y = "(0.420549 + 4*0.069854)";
  109. w = 0.3;
  110. onLBSelChanged = "(uiNamespace setVariable ['DZ_displayUI', (_this select 1)]);";
  111. };
  112. };
  113. };
  114. class RscShortcutButton;
  115. class RscShortcutButtonMain;
  116. class RscDisplayMain : RscStandardDisplay
  117. {
  118. class controlsBackground
  119. {
  120. class Mainback : RscPicture {
  121. idc = 1104;
  122. x = "SafeZoneX + 0.04";
  123. y = "SafeZoneY + 0.03";
  124. w = 0.627451;
  125. h = 1.000000;
  126. text = "\ca\ui\data\ui_mainmenu_background_ca.paa";
  127. };
  128. class CA_ARMA2 : RscPicture
  129. {
  130. text = "z\addons\dayz_code\gui\dayz_logo_ca.paa";
  131. };
  132. };
  133.  
  134. class controls
  135. {
  136. class CA_Version;
  137. class DAYZ_Version : CA_Version
  138. {
  139. idc = -1;
  140. text = "Zoombies © 0.1.0";
  141. y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
  142. };
  143. delete CA_TitleMainMenu;
  144. delete CA_SinglePlayer;
  145. class CA_PlayerName : RscText {
  146. idc = 109;
  147. style = 256;
  148. colorbackground[] = {0.1, 0.1, 0.1, 0};
  149. x = "SafeZoneX + 0.15";
  150. y = "SafeZoneY + 0.06";
  151. w = 0.5;
  152. h = 0.05;
  153. };
  154. class CA_MP : RscShortcutButtonMain {
  155. idc = 105;
  156. x = "SafeZoneX + 0.05";
  157. y = "SafeZoneY + 0.15";
  158. toolTip = $STR_TOOLTIP_MAIN_MULTIPLAYER;
  159. text = $STR_CA_MAIN_MULTI;
  160.  
  161. class KeyHints {
  162. class A {
  163. key = 0x00050000 + 0;
  164. hint = "";
  165. };
  166. };
  167. };
  168. class CA_Options : RscShortcutButtonMain {
  169. x = "SafeZoneX + 0.05";
  170. y = "SafeZoneY + 0.30";
  171. };
  172. class CA_PlayerProfile : RscShortcutButtonMain {
  173. x = "SafeZoneX + 0.05";
  174. y = "SafeZoneY + 0.45";
  175. };
  176. class CA_Expansions : RscShortcutButtonMain {
  177. x = "SafeZoneX + 0.05";
  178. y = "SafeZoneY + 0.60";
  179. };
  180. class CA_Exit : RscShortcutButtonMain {
  181. x = "SafeZoneX + 0.05";
  182. y = "SafeZoneY + 0.75";
  183. };
  184. };
  185. };
  186. //Remove Diary
  187. class RscDisplayDiary {
  188. idd = 129;
  189. movingEnable = 0;
  190.  
  191. class Controls {
  192. delete Diary;
  193. delete DiaryIndex;
  194. delete B_Quit;
  195. delete B_Add;
  196. delete DiaryPage;
  197. delete DiaryTitle;
  198. delete DiaryBackground;
  199. };
  200. };
  201.  
  202. class RscButtonActionMenu: RscButton
  203. {
  204. SizeEx = 0.02674;
  205. colorBackground[] = {0.44,0.7,0.44,1};
  206. colorBackgroundActive[] = {0.24,0.5,0.24,1};
  207. colorBackgroundDisabled[] = {1,1,1,0};
  208. colorFocused[] = {0.2,0.5,0.2,1};
  209. colorShadow[] = {1,1,1,0};
  210. borderSize = 0;
  211. w = 0.095 * safezoneW;
  212. h = 0.025 * safezoneH;
  213. };
  214. class RscDisplayGenderSelect
  215. {
  216. idd = 6902;
  217. enableDisplay = 1;
  218. class controls
  219. {
  220. class GenderPic_Man : RscActiveText
  221. {
  222. idc = -1;
  223. style = 48;
  224. text = "z\addons\dayz_code\gui\gender_menu_man.paa";
  225. x = 0.28 * safezoneW + safezoneX;
  226. y = 0.24 * safezoneH + safezoneY;
  227. w = 0.117188 * safezoneW;
  228. h = 0.542373 * safezoneH;
  229. color[] = { 0.5, 0.5, 0.5, 1 };
  230. colorActive[] = { 1, 1, 1, 1 };
  231. action = "closeDialog 0;dayz_selectGender = 'Survivor2_DZ';";
  232. };
  233. class GenderPic_Woman : RscActiveText
  234. {
  235. idc = -1;
  236. style = 48;
  237. text = "z\addons\dayz_code\gui\gender_menu_woman.paa";
  238. x = 0.6 * safezoneW + safezoneX;
  239. y = 0.24 * safezoneH + safezoneY;
  240. w = 0.117188 * safezoneW;
  241. h = 0.542373 * safezoneH;
  242. color[] = { 0.5, 0.5, 0.5, 1 };
  243. colorActive[] = { 1, 1, 1, 1 };
  244. action = "closeDialog 0;dayz_selectGender = 'SurvivorW2_DZ';";
  245. };
  246. class Gender_Title: RscStructuredText
  247. {
  248. idc = -1;
  249. text = "$STR_UI_GENDER_TITLE";
  250. x = 0.4 * safezoneW + safezoneX;
  251. y = 0.221864 * safezoneH + safezoneY;
  252. w = 0.2 * safezoneW;
  253. h = 0.05 * safezoneH;
  254. colorBackground[] = {-1,-1,-1,0};
  255. };
  256. class Gender_Description: RscStructuredText
  257. {
  258. idc = -1;
  259. text = "$STR_UI_GENDER_DESC";
  260. x = 0.4 * safezoneW + safezoneX;
  261. y = 0.366134 * safezoneH + safezoneY;
  262. w = 0.2 * safezoneW;
  263. h = 0.3 * safezoneH;
  264. colorBackground[] = {-1,-1,-1,0};
  265. };
  266. };
  267. };
  268.  
  269. class RscDisplayGear
  270. {
  271. idd = 106;
  272. enableDisplay = 1;
  273. onUnload = "call player_gearSync; call dayz_forceSave;";
  274. class controls
  275. {
  276. class CA_Filter_Icon: RscPicture
  277. {
  278. idc = 148;
  279. style = "0x30 + 0x800";
  280. x = 0.04;
  281. y = 0.544098;
  282. w = 0.458;
  283. h = 0.075;
  284. text = "\ca\ui\data\igui_gear_filter_1_ca.paa";
  285. };
  286. class CA_Filter_Left_Icon: RscPicture
  287. {
  288. idc = 1301;
  289. style = "0x30 + 0x800";
  290. x = 0.05;
  291. y = 0.545098;
  292. w = 0.036;
  293. h = 0.075;
  294. text = "\ca\ui\data\arrow_left_ca.paa";
  295. };
  296. class CA_Filter_Right_Icon: RscPicture
  297. {
  298. idc = 1302;
  299. style = "0x30 + 0x800";
  300. x = 0.453;
  301. y = 0.545098;
  302. w = 0.036;
  303. h = 0.075;
  304. text = "\ca\ui\data\arrow_right_ca.paa";
  305. };
  306. class CA_Filter_Arrow_Left: RscButton
  307. {
  308. idc = 150;
  309. colorText[] = {1,1,1,0};
  310. colorDisabled[] = {1,1,1,0};
  311. colorBackground[] = {1,1,1,0};
  312. colorBackgroundDisabled[] = {1,1,1,0};
  313. colorBackgroundActive[] = {1,1,1,0};
  314. colorShadow[] = {1,1,1,0};
  315. colorFocused[] = {1,1,1,0};
  316. x = 0.041;
  317. y = 0.545098;
  318. w = 0.056;
  319. h = 0.075;
  320. text = "";
  321. };
  322. class CA_Filter_Arrow_Right: RscButton
  323. {
  324. idc = 151;
  325. colorText[] = {1,1,1,0};
  326. colorDisabled[] = {1,1,1,0};
  327. colorBackground[] = {1,1,1,0};
  328. colorBackgroundDisabled[] = {1,1,1,0};
  329. colorBackgroundActive[] = {1,1,1,0};
  330. colorShadow[] = {1,1,1,0};
  331. colorFocused[] = {1,1,1,0};
  332. x = 0.443;
  333. y = 0.545098;
  334. w = 0.056;
  335. h = 0.075;
  336. text = "";
  337. };
  338. class CA_Filter_Icon1: RscButton
  339. {
  340. idc = 149;
  341. colorText[] = {1,1,1,0};
  342. colorDisabled[] = {1,1,1,0};
  343. colorBackground[] = {1,1,1,0};
  344. colorBackgroundDisabled[] = {1,1,1,0};
  345. colorBackgroundActive[] = {1,1,1,0};
  346. colorShadow[] = {1,1,1,0};
  347. colorFocused[] = {1,1,1,0};
  348. x = 0.099;
  349. y = 0.545098;
  350. w = 0.341;
  351. h = 0.075;
  352. text = "";
  353. };
  354. class Gear_Title: CA_IGUI_Title
  355. {
  356. idc = 1001;
  357. x = 0.047634;
  358. y = -0.00102941;
  359. text = "Gear";
  360. };
  361. class Unit_Title: RscText
  362. {
  363. idc = 101;
  364. style = 2;
  365. x = 0.502419;
  366. y = 0.0492156;
  367. w = 0.456;
  368. };
  369. class Available_items_Text: RscText
  370. {
  371. idc = 156;
  372. x = 0.0433014;
  373. y = 0.0526966;
  374. w = 0.389709;
  375. h = 0.029412;
  376. };
  377. class CA_ItemName: Available_items_Text
  378. {
  379. idc = 1101;
  380. x = 0.0416704;
  381. y = 0.627451;
  382. text = "Gear of the unit:";
  383. };
  384. class CA_Money: RscText
  385. {
  386. idc = 1102;
  387. style = 1;
  388. show = 0;
  389. x = -2.50409;
  390. y = -2.85784;
  391. w = 0.228;
  392. text = "Money:";
  393. };
  394. class CA_Money_Value: RscText
  395. {
  396. idc = 1103;
  397. x = -2.72794;
  398. y = -2.85784;
  399. w = 0.228;
  400. text = "0";
  401. };
  402. class ListboxArrows: RscControlsGroup
  403. {
  404. x = 0.04;
  405. y = 0.0892447;
  406. w = 0.48;
  407. h = 0.449;
  408. idc = 155;
  409. class VScrollbar
  410. {
  411. autoScrollSpeed = -1;
  412. autoScrollDelay = 5;
  413. autoScrollRewind = 0;
  414. color[] = {1,1,1,0};
  415. width = 0.001;
  416. };
  417. class HScrollbar
  418. {
  419. color[] = {1,1,1,0};
  420. height = 0.001;
  421. };
  422. class Controls
  423. {
  424. class CA_B_Add: RscGearShortcutButton
  425. {
  426. idc = 146;
  427. x = -2;
  428. style = 2048;
  429. onSetFocus = "private [""_dummy""]; _dummy = [_this,""onFocus""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
  430. onButtonClick = "private [""_dummy""]; _dummy = [_this,""onLBListSelChanged""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
  431. text = "<";
  432. };
  433. class Available_items: RscIGUIListNBox
  434. {
  435. idc = 105;
  436. columns[] = {0.075,0.175,0.81,0.67};
  437. drawSideArrows = 1;
  438. idcRight = 147;
  439. idcLeft = 146;
  440. colorPlayerItem[] = {0.8784,0.8471,0.651,1};
  441. onKeyDown = "private [""_dummy""]; _dummy = [_this,""onKeyDown"",0,107,0,107] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
  442. onLBSelChanged = "private [""_dummy""]; _dummy = [_this,""onLBSelChanged""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
  443. onLBListSelChanged = "private [""_dummy""]; _dummy = [_this,""onLBListSelChanged""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
  444. onKillFocus = "private [""_dummy""]; _dummy = [_this,""onKillFocus""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
  445. x = 0;
  446. y = 0;
  447. w = 0.46;
  448. h = 0.449;
  449. canDrag = 1;
  450. };
  451. class CA_B_Remove: CA_B_Add
  452. {
  453. idc = 147;
  454. x = -2;
  455. onSetFocus = "private [""_dummy""]; _dummy = [_this,""onFocus""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
  456. onButtonClick = "private [""_dummy""]; _dummy = [_this,""onLBListSelChanged""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
  457. text = ">";
  458. };
  459. };
  460. };
  461. class CA_CustomDescription: RscStructuredText
  462. {
  463. idc = 1106;
  464. x = 0.0414969;
  465. y = 0.663641;
  466. w = 0.458;
  467. h = 0.152;
  468. colorText[] = {0.95,0.95,0.95,1};
  469. class Attributes
  470. {
  471. font = "Zeppelin32";
  472. color = "#F2F2F2";
  473. align = "left";
  474. shadow = 1;
  475. };
  476. };
  477. class CA_Item_Picture: RscPicture
  478. {
  479. idc = 1104;
  480. style = "0x30 + 0x800";
  481. x = 0.330883;
  482. y = 0.785541;
  483. w = 0.156863;
  484. h = 0.104575;
  485. text = "";
  486. };
  487. class G_Interaction: RscControlsGroup
  488. {
  489. idc = 6902;
  490. x = 0.502;
  491. y = 0.250 * safezoneH;
  492. w = 0.145 * safezoneW;
  493. h = 0; //0.250 * safezoneH;
  494. onMouseMoving = "_this call gear_ui_offMenu;";
  495. class VScrollbar
  496. {
  497. autoScrollSpeed = -1;
  498. autoScrollDelay = 5;
  499. autoScrollRewind = 0;
  500. color[] = {1,1,1,0};
  501. width = 0.001;
  502. };
  503. class HScrollbar
  504. {
  505. color[] = {1,1,1,0};
  506. height = 0.001;
  507. };
  508. class Controls
  509. {
  510. class RscButton_1600: RscButtonActionMenu
  511. {
  512. idc = 1600;
  513. text = "";
  514. x = 0;
  515. y = 0 * safezoneH;
  516. };
  517. class RscButton_1601: RscButtonActionMenu
  518. {
  519. idc = 1601;
  520. text = "";
  521. x = 0;
  522. y = 0.025 * safezoneH;
  523. };
  524. class RscButton_1602: RscButtonActionMenu
  525. {
  526. idc = 1602;
  527. text = "";
  528. x = 0;
  529. y = 0.05 * safezoneH;
  530. };
  531. class RscButton_1603: RscButtonActionMenu
  532. {
  533. idc = 1603;
  534. text = "";
  535. x = 0;
  536. y = 0.075 * safezoneH;
  537. };
  538. class RscButton_1604: RscButtonActionMenu
  539. {
  540. idc = 1604;
  541. text = "";
  542. x = 0;
  543. y = 0.1 * safezoneH;
  544. };
  545. class RscButton_1605: RscButtonActionMenu
  546. {
  547. idc = 1605;
  548. text = "";
  549. x = 0;
  550. y = 0.125 * safezoneH;
  551. };
  552. class RscButton_1606: RscButtonActionMenu
  553. {
  554. idc = 1606;
  555. text = "";
  556. x = 0;
  557. y = 0.15 * safezoneH;
  558. };
  559. class RscButton_1607: RscButtonActionMenu
  560. {
  561. idc = 1607;
  562. text = "";
  563. x = 0;
  564. y = 0.175 * safezoneH;
  565. };
  566. class RscButton_1608: RscButtonActionMenu
  567. {
  568. idc = 1608;
  569. text = "";
  570. x = 0;
  571. y = 0.2 * safezoneH;
  572. };
  573. class RscButton_1609: RscButtonActionMenu
  574. {
  575. idc = 1609;
  576. text = "";
  577. x = 0;
  578. y = 0.225 * safezoneH;
  579. };
  580. };
  581. };
  582. class G_GearItems: RscControlsGroup
  583. {
  584. idc = 160;
  585. x = 0.502;
  586. y = 0.09;
  587. w = 0.463;
  588. h = 0.776;
  589. class VScrollbar
  590. {
  591. autoScrollSpeed = -1;
  592. autoScrollDelay = 5;
  593. autoScrollRewind = 0;
  594. color[] = {1,1,1,0};
  595. width = 0.001;
  596. };
  597. class HScrollbar
  598. {
  599. color[] = {1,1,1,0};
  600. height = 0.001;
  601. };
  602. class Controls
  603. {
  604. class CA_Gear_slot_primary: RscActiveText
  605. {
  606. idc = 107;
  607. x = "0.502 - 0.502";
  608. y = "0.244 - 0.09";
  609. w = 0.286;
  610. h = 0.15;
  611. style = "0x30 + 0x800";
  612. onMouseButtonDown = "_this call player_selectSlot;";
  613. soundDoubleClick[] = {"",0.1,1};
  614. color[] = {1,1,1,1};
  615. colorBackground[] = {0.8784,0.8471,0.651,1};
  616. colorBackgroundSelected[] = {0.8784,0.8471,0.651,1};
  617. colorFocused[] = {0,0,0,0};
  618. canDrag = 1;
  619. };
  620. class CA_Gear_slot_secondary: CA_Gear_slot_primary
  621. {
  622. idc = 108;
  623. y = "0.398 -0.09";
  624. };
  625. class CA_Gear_slot_item1: CA_Gear_slot_primary
  626. {
  627. idc = 109;
  628. x = "0.790 - 0.502";
  629. y = "0.244 - 0.09";
  630. w = 0.055;
  631. h = 0.074;
  632. };
  633. class CA_Gear_slot_item2: CA_Gear_slot_item1
  634. {
  635. idc = 110;
  636. x = "0.847 - 0.502";
  637. y = "0.244 - 0.09";
  638. };
  639. class CA_Gear_slot_item3: CA_Gear_slot_item1
  640. {
  641. idc = 111;
  642. x = "0.904366 - 0.502";
  643. y = "0.244 - 0.09";
  644. };
  645. class CA_Gear_slot_item4: CA_Gear_slot_item1
  646. {
  647. idc = 112;
  648. x = "0.790 - 0.502";
  649. y = "0.321 - 0.09";
  650. };
  651. class CA_Gear_slot_item5: CA_Gear_slot_item1
  652. {
  653. idc = 113;
  654. x = "0.847 - 0.502";
  655. y = "0.321 - 0.09";
  656. };
  657. class CA_Gear_slot_item6: CA_Gear_slot_item1
  658. {
  659. idc = 114;
  660. x = "0.904366 - 0.502";
  661. y = "0.321 - 0.09";
  662. };
  663. class CA_Gear_slot_item7: CA_Gear_slot_item1
  664. {
  665. idc = 115;
  666. x = "0.790 - 0.502";
  667. y = "0.398 - 0.09";
  668. };
  669. class CA_Gear_slot_item8: CA_Gear_slot_item7
  670. {
  671. idc = 116;
  672. x = "0.847 - 0.502";
  673. y = "0.398 - 0.09";
  674. };
  675. class CA_Gear_slot_item9: CA_Gear_slot_item7
  676. {
  677. idc = 117;
  678. x = "0.904366 - 0.502";
  679. y = "0.398 - 0.09";
  680. };
  681. class CA_Gear_slot_item10: CA_Gear_slot_item7
  682. {
  683. idc = 118;
  684. x = "0.790 - 0.502";
  685. y = "0.474 - 0.09";
  686. };
  687. class CA_Gear_slot_item11: CA_Gear_slot_item7
  688. {
  689. idc = 119;
  690. x = "0.847 - 0.502";
  691. y = "0.474 - 0.09";
  692. };
  693. class CA_Gear_slot_item12: CA_Gear_slot_item7
  694. {
  695. idc = 120;
  696. x = "0.904366 - 0.502";
  697. y = "0.474 - 0.09";
  698. };
  699. class CA_Gear_slot_handgun: CA_Gear_slot_primary
  700. {
  701. idc = 121;
  702. x = "0.560 - 0.502";
  703. y = "0.551 - 0.09";
  704. w = 0.113;
  705. h = 0.15;
  706. };
  707. class CA_Gear_slot_handgun_item1: CA_Gear_slot_item1
  708. {
  709. idc = 122;
  710. x = "0.674 - 0.502";
  711. y = "0.551 - 0.09";
  712. w = 0.055;
  713. h = 0.074;
  714. };
  715. class CA_Gear_slot_handgun_item2: CA_Gear_slot_handgun_item1
  716. {
  717. idc = 123;
  718. x = "0.733 - 0.502";
  719. y = "0.551 - 0.09";
  720. };
  721. class CA_Gear_slot_handgun_item3: CA_Gear_slot_handgun_item1
  722. {
  723. idc = 124;
  724. x = "0.790 - 0.502";
  725. };
  726. class CA_Gear_slot_handgun_item4: CA_Gear_slot_handgun_item1
  727. {
  728. idc = 125;
  729. x = "0.847 - 0.502";
  730. };
  731. class CA_Gear_slot_handgun_item5: CA_Gear_slot_handgun_item1
  732. {
  733. idc = 126;
  734. x = "0.674 - 0.502";
  735. y = "0.628 - 0.09";
  736. };
  737. class CA_Gear_slot_handgun_item6: CA_Gear_slot_handgun_item5
  738. {
  739. idc = 127;
  740. x = "0.733 - 0.502";
  741. y = "0.628 - 0.09";
  742. };
  743. class CA_Gear_slot_handgun_item7: CA_Gear_slot_handgun_item5
  744. {
  745. idc = 128;
  746. x = "0.790 - 0.502";
  747. y = "0.628 - 0.09";
  748. };
  749. class CA_Gear_slot_handgun_item8: CA_Gear_slot_handgun_item5
  750. {
  751. idc = 129;
  752. x = "0.847 - 0.502";
  753. y = "0.628 - 0.09";
  754. };
  755. class CA_Gear_slot_special1: CA_Gear_slot_item1
  756. {
  757. idc = 130;
  758. x = "0.502 - 0.502";
  759. y = "0.09 - 0.09";
  760. w = 0.113;
  761. h = 0.15;
  762. };
  763. class CA_Gear_slot_special2: CA_Gear_slot_special1
  764. {
  765. idc = 131;
  766. x = "0.847 - 0.502";
  767. y = "0.09 - 0.09";
  768. w = 0.113;
  769. h = 0.15;
  770. };
  771. class CA_Gear_slot_inventory1: CA_Gear_slot_special1
  772. {
  773. idc = 134;
  774. x = "0.560 - 0.502";
  775. y = "0.705 - 0.09";
  776. w = 0.055;
  777. h = 0.074;
  778. };
  779. class CA_Gear_slot_inventory2: CA_Gear_slot_inventory1
  780. {
  781. idc = 135;
  782. x = "0.617 - 0.502";
  783. y = "0.705 - 0.09";
  784. };
  785. class CA_Gear_slot_inventory3: CA_Gear_slot_inventory1
  786. {
  787. idc = 136;
  788. x = "0.674 - 0.502";
  789. y = "0.705 - 0.09";
  790. };
  791. class CA_Gear_slot_inventory4: CA_Gear_slot_inventory1
  792. {
  793. idc = 137;
  794. x = "0.733 - 0.502";
  795. y = "0.705 - 0.09";
  796. };
  797. class CA_Gear_slot_inventory5: CA_Gear_slot_inventory1
  798. {
  799. idc = 138;
  800. x = "0.790 - 0.502";
  801. y = "0.705 - 0.09";
  802. };
  803. class CA_Gear_slot_inventory6: CA_Gear_slot_inventory1
  804. {
  805. idc = 139;
  806. x = "0.847 - 0.502";
  807. y = "0.705 - 0.09";
  808. };
  809. class CA_Gear_slot_inventory7: CA_Gear_slot_inventory1
  810. {
  811. idc = 140;
  812. x = "0.560 - 0.502";
  813. y = "0.782 - 0.09";
  814. };
  815. class CA_Gear_slot_inventory8: CA_Gear_slot_inventory7
  816. {
  817. idc = 141;
  818. x = "0.617 - 0.502";
  819. y = "0.782 - 0.09";
  820. };
  821. class CA_Gear_slot_inventory9: CA_Gear_slot_inventory7
  822. {
  823. idc = 142;
  824. x = "0.674 - 0.502";
  825. y = "0.782 - 0.09";
  826. };
  827. class CA_Gear_slot_inventory10: CA_Gear_slot_inventory7
  828. {
  829. idc = 143;
  830. x = "0.733 - 0.502";
  831. y = "0.782 - 0.09";
  832. };
  833. class CA_Gear_slot_inventory11: CA_Gear_slot_inventory7
  834. {
  835. idc = 144;
  836. x = "0.790 - 0.502";
  837. y = "0.782 - 0.09";
  838. };
  839. class CA_Gear_slot_inventory12: CA_Gear_slot_inventory7
  840. {
  841. idc = 145;
  842. x = "0.847 - 0.502";
  843. y = "0.782 - 0.09";
  844. };
  845. class CA_Gear_slot_inventory13: CA_Gear_slot_inventory7
  846. {
  847. idc = 1122;
  848. x = 10.1;
  849. y = 10.1;
  850. };
  851. };
  852. };
  853. class BagItemsGroup: RscControlsGroup
  854. {
  855. x = 0.502;
  856. y = 0.09;
  857. w = 0.463;
  858. h = 0.776;
  859. idc = 159;
  860. magW = 0.055;
  861. magH = 0.074;
  862. weaponW = 0.226;
  863. weaponH = 0.15;
  864. gunW = 0.113;
  865. gunH = 0.15;
  866. spacing = 0.002;
  867. text = "";
  868. color[] = {1,1,1,1};
  869. colorBackground[] = {1,1,1,1};
  870. colorBackgroundSelected[] = {1,1,1,1};
  871. colorFocused[] = {1,1,1,1};
  872. soundPush[] = {"",0.1,1};
  873. soundClick[] = {"",0.1,1};
  874. soundDoubleClick[] = {"",0.1,1};
  875. class VScrollbar
  876. {
  877. autoScrollSpeed = -1;
  878. autoScrollDelay = 5;
  879. autoScrollRewind = 0;
  880. color[] = {1,1,1,0};
  881. width = 0.001;
  882. };
  883. class HScrollbar
  884. {
  885. color[] = {1,1,1,0};
  886. height = 0.001;
  887. };
  888. class ScrollBar
  889. {
  890. color[] = {1,1,1,0.6};
  891. colorActive[] = {1,1,1,1};
  892. colorDisabled[] = {1,1,1,0.3};
  893. thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
  894. arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
  895. arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
  896. border = "\ca\ui\data\ui_border_scroll_ca.paa";
  897. };
  898. class Controls
  899. {
  900. };
  901. };
  902. class Break_7: RscLineBreak
  903. {
  904. };
  905. class ButtonFilters: RscIGUIShortcutButton
  906. {
  907. idc = 148;
  908. shortcuts[] = {"0x00050000 + 3"};
  909. x = 0.333336;
  910. y = 0.897067;
  911. text = "Filter";
  912. };
  913. class ButtonRearm: RscIGUIShortcutButton
  914. {
  915. idc = 132;
  916. shortcuts[] = {"0x00050000 + 2"};
  917. x = 0.554743;
  918. y = 0.897067;
  919. text = "Rearm";
  920. };
  921. class ButtonOpenBag: RscIGUIShortcutButton
  922. {
  923. idc = 157;
  924. shortcuts[] = {"0x00050000 + 2"};
  925. x = 0.554743;
  926. y = 0.897067;
  927. text = "Open bag";
  928. };
  929. class ButtonCloseBag: RscIGUIShortcutButton
  930. {
  931. idc = 158;
  932. shortcuts[] = {"0x00050000 + 2"};
  933. x = 0.554743;
  934. y = 0.897067;
  935. text = "Close bag";
  936. };
  937. class ButtonContinue: RscIGUIShortcutButton
  938. {
  939. idc = 1;
  940. shortcuts[] = {"0x00050000 + 0",28,57,156};
  941. x = 0.77615;
  942. y = 0.897066;
  943. default = 1;
  944. };
  945. class ButtonClose: RscIGUIShortcutButton
  946. {
  947. idc = 2;
  948. shortcuts[] = {"0x00050000 + 1"};
  949. x = 0.0392216;
  950. y = 0.897066;
  951. text = "Close";
  952. };
  953. };
  954. class Filters
  955. {
  956. class All
  957. {
  958. name = "All";
  959. mask = -1;
  960. image = "\ca\ui\data\igui_gear_filter_1_ca.paa";
  961. };
  962. class Primary
  963. {
  964. name = "Primary";
  965. mask = 769;
  966. image = "\ca\ui\data\igui_gear_filter_2_ca.paa";
  967. };
  968. class Secondary
  969. {
  970. name = "Secondary";
  971. mask = 516;
  972. image = "\ca\ui\data\igui_gear_filter_3_ca.paa";
  973. };
  974. class HandGun
  975. {
  976. name = "HandGun";
  977. mask = 18;
  978. image = "\ca\ui\data\igui_gear_filter_4_ca.paa";
  979. };
  980. class Items
  981. {
  982. name = "Items";
  983. mask = 135168;
  984. image = "\ca\ui\data\igui_gear_filter_5_ca.paa";
  985. };
  986. };
  987. movingEnable = 1;
  988. emptyGun = "\ca\ui\data\ui_gear_gun_gs.paa";
  989. emptySec = "\ca\ui\data\ui_gear_sec_gs.paa";
  990. emptyEq = "\ca\ui\data\ui_gear_eq_gs.paa";
  991. emptyMag = "\ca\ui\data\ui_gear_mag_gs.paa";
  992. emptyMag2 = "\ca\ui\data\ui_gear_mag2_gs.paa";
  993. emptyHGun = "\ca\ui\data\ui_gear_hgun_gs.paa";
  994. emptyHGunMag = "\ca\ui\data\ui_gear_hgunmag_gs.paa";
  995. onLoad = "call gear_ui_init;if (isNil('IGUI_GEAR_activeFilter')) then { IGUI_GEAR_activeFilter = 0;}; private ['_dummy']; _dummy = [_this,'initDialog'] call compile preprocessFile '\ca\ui\scripts\handleGear.sqf'; _dummy = [_this,'onLoad'] execVM '\ca\ui\scripts\handleGear.sqf'; _dummy;";
  996. class ControlsBackground
  997. {
  998. class Mainback: RscPicture
  999. {
  1000. idc = 1005;
  1001. x = 0.04;
  1002. y = 0.01;
  1003. w = 1.2549;
  1004. h = 1.6732;
  1005. moving = 1;
  1006. text = "\ca\ui\data\igui_background_gear_ca.paa";
  1007. };
  1008. };
  1009. };
  1010. class DZ_ItemInteraction {
  1011. idd = 6901;
  1012. movingEnable = 0;
  1013. class controlsBackground {
  1014. // define controls here
  1015. };
  1016. class objects {
  1017. // define controls here
  1018. };
  1019. class controls {
  1020. // define controls here
  1021.  
  1022. };
  1023. };
  1024.  
  1025. class RscTitles
  1026. {
  1027. class Default
  1028. {
  1029. idd = -1;
  1030. movingEnable = 0;
  1031. duration = 4;
  1032. };
  1033. class playerKillScore
  1034. {
  1035. idd = 6902;
  1036. movingEnable = 0;
  1037. duration = 5;
  1038. name = "playerKillScore";
  1039. onLoad = "uiNamespace setVariable ['DAYZ_GUI_kills', _this select 0];";
  1040. class ControlsBackground {
  1041. class RscPicture_1201: RscPictureGUI
  1042. {
  1043. idc = 1400;
  1044. text = "\z\addons\dayz_code\gui\stats_kills_human_ca.paa";
  1045. x = 0.044687 * safezoneW + safezoneX;
  1046. y = 0.934779 * safezoneH + safezoneY;
  1047. w = 0.06;
  1048. h = 0.08;
  1049. };
  1050. class RscPicture_1200: RscPictureGUI
  1051. {
  1052. idc = 1401;
  1053. text = "\z\addons\dayz_code\gui\stats_kills_zombie_ca.paa";
  1054. x = 0.044687 * safezoneW + safezoneX;
  1055. y = 0.876025 * safezoneH + safezoneY;
  1056. w = 0.06;
  1057. h = 0.08;
  1058. };
  1059. };
  1060. class Controls{
  1061. class RscText1: RscStructuredTextGUI
  1062. {
  1063. idc = 1410;
  1064. text = "10";
  1065. x = (0.044687 * safezoneW + safezoneX) - 0.01;
  1066. y = 0.934779 * safezoneH + safezoneY;
  1067. w = 0.08;
  1068. h = 0.08;
  1069. };
  1070. class RscText2: RscStructuredTextGUI
  1071. {
  1072. idc = 1411;
  1073. text = "1000";
  1074. x = (0.044687 * safezoneW + safezoneX) - 0.01;
  1075. y = 0.876025 * safezoneH + safezoneY;
  1076. w = 0.08;
  1077. h = 0.08;
  1078. };
  1079. };
  1080. };
  1081.  
  1082. class playerStatusWaiting
  1083. {
  1084. idd = 6901;
  1085. movingEnable = 0;
  1086. duration = 100000;
  1087. name = "playerStatusWaiting";
  1088. onLoad = "uiNamespace setVariable ['DAYZ_GUI_waiting', _this select 0];";
  1089. class ControlsBackground {
  1090. class RscText_1402: RscPictureGUI
  1091. {
  1092. idc = 1402;
  1093. text = "#(argb,8,8,3)color(1,1,1,1)";
  1094. x = 0.473572 * safezoneW + safezoneX;
  1095. y = 0.418158 * safezoneH + safezoneY;
  1096. w = 0.0634286 * safezoneW;
  1097. h = 0.136829 * safezoneH;
  1098. colorText[] = {1,1,1,1};
  1099. };
  1100. class RscText_1400: RscPictureGUI
  1101. {
  1102. idc = 1400;
  1103. text = "#(argb,8,8,3)color(1,1,1,1)";
  1104. x = 0.473572 * safezoneW + safezoneX;
  1105. y = 0.418158 * safezoneH + safezoneY;
  1106. w = 0.0634286 * safezoneW;
  1107. h = 0; //0.136829 * safezoneH;
  1108. colorText[] = {0,0,0,1};
  1109. };
  1110. };
  1111. class Controls {
  1112. class RscPicture_1401: RscPictureGUI
  1113. {
  1114. idc = 1401;
  1115. text = "\z\addons\dayz_code\gui\status_waiting_ca.paa";
  1116. x = 0.434999 * safezoneW + safezoneX;
  1117. y = 0.392207 * safezoneH + safezoneY;
  1118. w = 0.141 * safezoneW;
  1119. h = 0.188013 * safezoneH;
  1120. colorText[] = {0.38,0.63,0.26,1};
  1121. };
  1122. };
  1123. };
  1124.  
  1125. class playerStatusGUI
  1126. {
  1127. idd = 6900;
  1128. movingEnable = 0;
  1129. duration = 100000;
  1130. name = "statusBorder";
  1131. onLoad = "uiNamespace setVariable ['DAYZ_GUI_display', _this select 0];";
  1132. class ControlsBackground {
  1133. class RscPicture_1201: RscPictureGUI
  1134. {
  1135. idc = 1201;
  1136. text = "\z\addons\dayz_code\gui\status_food_border_ca.paa";
  1137. x = 0.955313 * safezoneW + safezoneX;
  1138. y = 0.93 * safezoneH + safezoneY; //1
  1139. w = 0.06;
  1140. h = 0.08;
  1141. };
  1142. class RscPicture_1200: RscPictureGUI
  1143. {
  1144. idc = 1200;
  1145. text = "\z\addons\dayz_code\gui\status_blood_border_ca.paa";
  1146. x = 0.955313 * safezoneW + safezoneX;
  1147. y = 0.86 * safezoneH + safezoneY;//2
  1148. w = 0.06;
  1149. h = 0.08;
  1150. };
  1151. class RscPicture_1202: RscPictureGUI
  1152. {
  1153. idc = 1202;
  1154. text = "\z\addons\dayz_code\gui\status_thirst_border_ca.paa";
  1155. x = 0.955313 * safezoneW + safezoneX;
  1156. y = 0.79 * safezoneH + safezoneY; //3
  1157. w = 0.06;
  1158. h = 0.08;
  1159. };
  1160. class RscPicture_1208: RscPictureGUI
  1161. {
  1162. idc = 1208;
  1163. text = "\z\addons\dayz_code\gui\status_temp_outside_ca.paa";
  1164. x = 0.955313 * safezoneW + safezoneX;
  1165. y = 0.72 * safezoneH + safezoneY; //3
  1166. w = 0.06;
  1167. h = 0.08;
  1168. };
  1169. class RscPicture_1207 : RscPictureGUI {
  1170. idc = 1207;
  1171. text = "\z\addons\dayz_code\gui\status_combat_border_ca.paa";
  1172. x = "0.955313 * safezoneW + safezoneX";
  1173. y = "0.65 * safezoneH + safezoneY";
  1174. w = 0.06;
  1175. h = 0.08;
  1176. };
  1177. class RscPicture_1203: RscPictureGUI
  1178. {
  1179. idc = 1203;
  1180. text = "\z\addons\dayz_code\gui\status_fracture_ca.paa";
  1181. x = 0.955313 * safezoneW + safezoneX;
  1182. y = 0.58 * safezoneH + safezoneY;
  1183. w = 0.06;
  1184. h = 0.08;
  1185. colorText[] = {1,1,1,1};
  1186. };
  1187. class RscPicture_1204: RscPictureGUI
  1188. {
  1189. idc = 1204;
  1190. text = "\z\addons\dayz_code\gui\status_connection_ca.paa";
  1191. x = 0.955313 * safezoneW + safezoneX;
  1192. y = 0.51 * safezoneH + safezoneY;
  1193. w = 0.06;
  1194. h = 0.08;
  1195. colorText[] = {1,1,1,1};
  1196. };
  1197. class RscPicture_1205: RscPictureGUI
  1198. {
  1199. idc = 1205;
  1200. text = "\z\addons\dayz_code\gui\status_ear_ca.paa";
  1201. x = 0.955313 * safezoneW + safezoneX;
  1202. y = 0.30 * safezoneH + safezoneY;
  1203. w = 0.06;
  1204. h = 0.08;
  1205. };
  1206. class RscPicture_1206: RscPictureGUI
  1207. {
  1208. idc = 1206;
  1209. text = "\z\addons\dayz_code\gui\status_eye_ca.paa";
  1210. x = 0.955313 * safezoneW + safezoneX;
  1211. y = 0.37 * safezoneH + safezoneY;
  1212. w = 0.06;
  1213. h = 0.08;
  1214. };
  1215. class RscPicture_1501: RscPictureGUI
  1216. {
  1217. idc = 1501;
  1218. text = "\z\addons\dayz_code\gui\status_food_border_ca.paa";
  1219. x = 0.945313 * safezoneW + safezoneX;
  1220. y = 0.95 * safezoneH + safezoneY; //1
  1221. w = 0.04;
  1222. h = 0.053333;
  1223. };
  1224. class RscPicture_1502: RscPictureGUI
  1225. {
  1226. idc = 1502;
  1227. text = "\z\addons\dayz_code\gui\status_thirst_border_ca.paa";
  1228. x = 0.945313 * safezoneW + safezoneX;
  1229. y = 0.816666 * safezoneH + safezoneY; //3
  1230. w = 0.04;
  1231. h = 0.053333;
  1232. };
  1233. };
  1234. class Controls{
  1235. class RscPicture_1301: RscPictureGUI
  1236. {
  1237. idc = 1301;
  1238. //text = "\z\addons\dayz_code\gui\status_food_inside_ca.paa";
  1239. x = 0.955313 * safezoneW + safezoneX;
  1240. y = 0.93 * safezoneH + safezoneY;
  1241. w = 0.06;
  1242. h = 0.08;
  1243. };
  1244. class RscPicture_1300: RscPictureGUI
  1245. {
  1246. idc = 1300;
  1247. //text = "\z\addons\dayz_code\gui\status_blood_inside_ca.paa";
  1248. x = 0.955313 * safezoneW + safezoneX;
  1249. y = 0.86 * safezoneH + safezoneY;
  1250. w = 0.06;
  1251. h = 0.08;
  1252. };
  1253. class RscPicture_1302: RscPictureGUI
  1254. {
  1255. idc = 1302;
  1256. //text = "\z\addons\dayz_code\gui\status_thirst_inside_ca.paa";
  1257. x = 0.955313 * safezoneW + safezoneX;
  1258. y = 0.79 * safezoneH + safezoneY;
  1259. w = 0.06;
  1260. h = 0.08;
  1261. };
  1262. class RscPicture_1306: RscPictureGUI
  1263. {
  1264. idc = 1306;
  1265. //text = "\z\addons\dayz_code\gui\status_temp_ca.paa";
  1266. x = 0.955313 * safezoneW + safezoneX;
  1267. y = 0.72 * safezoneH + safezoneY;
  1268. w = 0.06;
  1269. h = 0.08;
  1270. };
  1271. class RscPicture_1303: RscPictureGUI
  1272. {
  1273. idc = 1303;
  1274. text = "\z\addons\dayz_code\gui\status_bleeding_ca.paa";
  1275. x = 0.955313 * safezoneW + safezoneX;
  1276. y = 0.86 * safezoneH + safezoneY;
  1277. w = 0.06;
  1278. h = 0.08;
  1279. colorText[] = {1,1,1,0.5};
  1280. };
  1281. class RscPicture_1304: RscPictureGUI
  1282. {
  1283. idc = 1304;
  1284. text = "";
  1285. x = 0.935313 * safezoneW + safezoneX;
  1286. y = 0.3 * safezoneH + safezoneY;
  1287. w = 0.06;
  1288. h = 0.08;
  1289. };
  1290. class RscPicture_1305: RscPictureGUI
  1291. {
  1292. idc = 1305;
  1293. text = "";
  1294. x = 0.935313 * safezoneW + safezoneX;
  1295. y = 0.37 * safezoneH + safezoneY;
  1296. w = 0.06;
  1297. h = 0.08;
  1298. };
  1299. class RscPicture_1307 : RscPictureGUI {
  1300. idc = 1307;
  1301. text = "\z\addons\dayz_code\gui\status_combat_inside_ca.paa";
  1302. x = "0.955313 * safezoneW + safezoneX";
  1303. y = "0.65 * safezoneH + safezoneY";
  1304. w = 0.06;
  1305. h = 0.08;
  1306. };
  1307. class RscPicture_1701: RscPictureGUI
  1308.  
  1309. {
  1310. idc = 1701;
  1311. //text = "\z\addons\dayz_code\gui\status_food_inside_ca.paa";
  1312. x = 0.945313 * safezoneW + safezoneX;
  1313. y = 0.95 * safezoneH + safezoneY;
  1314. w = 0.04;
  1315. h = 0.053333;
  1316. };
  1317. class RscPicture_1702: RscPictureGUI
  1318. {
  1319. idc = 1702;
  1320. //text = "\z\addons\dayz_code\gui\status_thirst_inside_ca.paa";
  1321. x = 0.945313 * safezoneW + safezoneX;
  1322. y = 0.816666 * safezoneH + safezoneY;
  1323. w = 0.04;
  1324. h = 0.053333;
  1325. };
  1326. };
  1327. };
  1328. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement