liberation_titles.hpp 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. class CfgSounds
  2. {
  3. sounds[] = {};
  4. class parasound
  5. {
  6. name = "parasound";
  7. sound[] = {"res\c130.ogg"};
  8. titles[] = {};
  9. };
  10. class track2
  11. {
  12. name = "track2";
  13. sound[] = {"Sounds\scrambleren.ogg", db50, 1.0};
  14. titles[] = {0,""};
  15. };
  16. class track3
  17. {
  18. name = "track3";
  19. sound[] = {"Sounds\fireonflightdeck.ogg", db50, 1.0};
  20. titles[] = {0,""};
  21. };
  22. class track4
  23. {
  24. name = "track4";
  25. sound[] = {"Sounds\underattack.ogg", db50, 1.0};
  26. titles[] = {0,""};
  27. };
  28. class track5
  29. {
  30. name = "track5";
  31. sound[] = {"Sounds\takeoff.ogg", db50, 1.0};
  32. titles[] = {0,""};
  33. };
  34. class track6
  35. {
  36. name = "track6";
  37. sound[] = {"Sounds\allengineers.ogg", db50, 1.0};
  38. titles[] = {0,""};
  39. };
  40. };
  41. class RscTitles
  42. {
  43. class intro1
  44. {
  45. name = "intro1";
  46. duration = 4;
  47. idd = -1;
  48. movingEnable = false;
  49. controls[]=
  50. {
  51. GenericLabelShadow, GenericLabel2
  52. };
  53. class GenericLabel2 {
  54. idc = -1;
  55. type = CT_STATIC ;
  56. style = ST_CENTER;
  57. colorText[] = COLOR_WHITE;
  58. colorBackground[] = COLOR_NOALPHA;
  59. font = FontM;
  60. sizeEx = 0.035 * safezoneH;
  61. x = 0.3 * safezoneW + safezoneX;
  62. w = 0.4 * safezoneW;
  63. y = 0.65 * safezoneH + safezoneY;
  64. h = 0.1 * safezoneH;
  65. text = "The Irish Ace presents";
  66. shadow = 1;
  67. };
  68. class GenericLabelShadow : GenericLabel2{
  69. shadow = 2;
  70. };
  71. };
  72. class intro2
  73. {
  74. name = "intro2";
  75. duration = 7;
  76. idd = -1;
  77. movingEnable = false;
  78. controls[]=
  79. {
  80. VersionLabelShadow, Splash, VersionLabel
  81. };
  82. class Splash {
  83. idc = -1;
  84. type = CT_STATIC ;
  85. style = ST_PICTURE;
  86. colorText[] = COLOR_WHITE;
  87. colorBackground[] = COLOR_NOALPHA;
  88. font = FontM;
  89. sizeEx = 0.1 * safezoneH;
  90. x = 0.325 * safezoneW + safezoneX;
  91. w = 0.35 * safezoneW;
  92. y = 0.2 * safezoneH + safezoneY;
  93. h = 0.6 * safezoneH;
  94. text = "res\splash_libe2.paa";
  95. };
  96. class VersionLabel {
  97. idc = -1;
  98. type = CT_STATIC ;
  99. style = ST_CENTER;
  100. shadow = 1;
  101. colorText[] = COLOR_WHITE;
  102. colorBackground[] = COLOR_NOALPHA;
  103. font = FontM;
  104. sizeEx = 0.035 * safezoneH;
  105. x = 0.45 * safezoneW + safezoneX;
  106. w = 0.3 * safezoneW;
  107. y = 0.65 * safezoneH + safezoneY;
  108. h = 0.1 * safezoneH;
  109. text = $STR_MISSION_VERSION;
  110. };
  111. class VersionLabelShadow : VersionLabel {
  112. shadow = 2;
  113. font = FontM;
  114. };
  115. };
  116. class blank
  117. {
  118. name = "blank";
  119. duration = 999999;
  120. idd = 6666;
  121. movingEnable = true;
  122. onLoad = "";
  123. controls[]={};
  124. };
  125. class fasttravel
  126. {
  127. name = "fasttravel";
  128. duration = 4;
  129. idd = -1;
  130. movingEnable = true;
  131. controls[]=
  132. {
  133. OuterBackground,GenericLabel111
  134. };
  135. class OuterBackground {
  136. idc = -1;
  137. type = CT_STATIC ;
  138. style = ST_LEFT;
  139. colorText[] = COLOR_BLACK;
  140. colorBackground[] = COLOR_BLACK;
  141. font = FontM;
  142. sizeEx = 0.023;
  143. x = -3; y = -3;
  144. w = 9; h = 9;
  145. text = "";
  146. };
  147. class GenericLabel111 {
  148. idc = -1;
  149. type = CT_STATIC ;
  150. style = ST_CENTER;
  151. colorText[] = COLOR_WHITE;
  152. colorBackground[] = COLOR_NOALPHA;
  153. font = FontM;
  154. sizeEx = 0.03;
  155. x = 0; y = 0.75;
  156. w = 1.0; h = 0.1;
  157. text = $STR_DEPLOY_IN_PROGRESS;
  158. };
  159. };
  160. class statusoverlay
  161. {
  162. name = "statusoverlay";
  163. duration = 999999;
  164. idd = 6666;
  165. movingEnable = true;
  166. onLoad = "uiNamespace setVariable ['GUI_OVERLAY', _this select 0];";
  167. controls[]= { BGPicture,LabelManpower,LabelAmmo,LabelFuel,LabelCap,PictureManpowerShadow,PictureAmmoShadow, BGPictureActiveSectors,
  168. PictureFuelShadow,PictureCapShadow,PictureManpower,PictureAmmo,PictureFuel,PictureCap,PictureCombatReadinessShadow,PictureCombatReadiness,
  169. PictureIntelShadow, PictureIntel, LabelIntel, PictureHeliShadow, PictureHeli, LabelHeli, PicturePlaneShadow, PicturePlane, LabelPlane,
  170. PictureFOBShadow, PictureFOB, LabelFOB,
  171. BGPictureSector, CaptureFrame_OPFOR, CaptureFrame_BLUFOR, CaptureFrame, LabelPoint, LabelCombatReadiness, CentralShadow, CentralLabel, ActiveSectors,
  172. AlertBGPicture, AlertLabel, AlertTimer };
  173. class BGPicture {
  174. idc = 758012;
  175. type = CT_STATIC;
  176. style = ST_PICTURE;
  177. colorText[] = {0.8,0.8,0.8,0.9};
  178. colorBackground[] = COLOR_NOALPHA;
  179. font = FontM;
  180. sizeEx = 0.5;
  181. x = 0.95 * safezoneW + safezoneX;
  182. w = 0.075 * safezoneW;
  183. y = 0.395 * safezoneH + safezoneY;
  184. h = 0.230 * safezoneH;
  185. text = "res\gradient.paa";
  186. };
  187. class BGPictureSector : BGPicture {
  188. idc = 201;
  189. x = 0.9 * safezoneW + safezoneX;
  190. w = 0.15 * safezoneW;
  191. y = 0.33 * safezoneH + safezoneY;
  192. h = 0.05 * safezoneH;
  193. };
  194. class GenericLabel69 {
  195. idc = -1;
  196. type = CT_STATIC;
  197. style = ST_RIGHT;
  198. colorBackground[] = COLOR_NOALPHA;
  199. font = FontM;
  200. sizeEx = 0.022 * safezoneH;
  201. x = 0.905 * safezoneW + safezoneX;
  202. w = 0.08 * safezoneW;
  203. y = 0.5225 * safezoneH + safezoneY;
  204. h = 0.04 * safezoneH;
  205. text = "";
  206. shadow = 2;
  207. };
  208. class CentralLabel : GenericLabel69 {
  209. idc = 266;
  210. type = CT_STATIC;
  211. style = ST_CENTER;
  212. colorText[] = {1,1,0,1};
  213. sizeEx = 0.03 * safezoneH;
  214. x = 0 * safezoneW + safezoneX;
  215. w = 1 * safezoneW;
  216. y = 0.2 * safezoneH + safezoneY;
  217. h = 0.05 * safezoneH;
  218. text = "";
  219. };
  220. class CentralShadow : CentralLabel {
  221. idc = 267;
  222. shadow = 1;
  223. };
  224. class GenericPicture69 {
  225. idc = -1;
  226. type = CT_STATIC;
  227. style = ST_PICTURE;
  228. colorText[] = {0.9,0.9,0.9,1};
  229. colorBackground[] = COLOR_NOALPHA;
  230. font = FontM;
  231. sizeEx = 0.5;
  232. x = 0.985 * safezoneW + safezoneX;
  233. w = 0.012 * safezoneW;
  234. h = 0.0213333333 * safezoneH;
  235. };
  236. class PictureManpower : GenericPicture69 {
  237. idc = 758001;
  238. y = (0.4 + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
  239. text = "res\ui_manpo.paa";
  240. };
  241. class PictureAmmo : GenericPicture69 {
  242. idc = 758002;
  243. y = (0.4 + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
  244. text = "res\ui_ammo.paa";
  245. };
  246. class PictureFuel : GenericPicture69 {
  247. idc = 758003;
  248. y = (0.4 + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
  249. text = "res\ui_fuel.paa";
  250. };
  251. class PictureCap : GenericPicture69 {
  252. idc = 758004;
  253. y = (0.4 + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
  254. text = "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\modeGroups_ca.paa";
  255. };
  256. class PictureCombatReadiness : GenericPicture69 {
  257. idc = 135;
  258. y = (0.4 + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
  259. text = "\A3\ui_f\data\map\markers\handdrawn\warning_CA.paa";
  260. };
  261. class PictureIntel : GenericPicture69 {
  262. idc = 758005;
  263. colorText[] = {0,0.45,0.95,1};
  264. y = (0.4 + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
  265. text = "\A3\Ui_f\data\GUI\Cfg\Ranks\general_gs.paa";
  266. };
  267. class PictureManpowerShadow : PictureManpower {
  268. idc = 758006;
  269. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
  270. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  271. colorText[] = {0,0,0,0.7};
  272. };
  273. class PictureAmmoShadow : PictureAmmo {
  274. idc = 758007;
  275. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
  276. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  277. colorText[] = {0,0,0,0.7};
  278. };
  279. class PictureFuelShadow : PictureFuel {
  280. idc = 758008;
  281. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
  282. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  283. colorText[] = {0,0,0,0.7};
  284. };
  285. class PictureCapShadow : PictureCap {
  286. idc = 758009;
  287. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
  288. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  289. colorText[] = {0,0,0,0.7};
  290. };
  291. class PictureCombatReadinessShadow : PictureCombatReadiness {
  292. idc = 758010;
  293. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
  294. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  295. colorText[] = {0,0,0,0.7};
  296. };
  297. class PictureIntelShadow : PictureIntel {
  298. idc = 758011;
  299. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
  300. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  301. colorText[] = {0,0,0,0.7};
  302. };
  303. class PictureHeli : GenericPicture69 {
  304. idc = 758020;
  305. y = (0.4 + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
  306. text = "\A3\air_f_beta\Heli_Transport_01\Data\UI\Map_Heli_Transport_01_base_CA.paa";
  307. };
  308. class PictureHeliShadow : PictureHeli {
  309. idc = 758021;
  310. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
  311. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  312. colorText[] = {0,0,0,0.7};
  313. };
  314. class PicturePlane : GenericPicture69 {
  315. idc = 758022;
  316. y = (0.4 + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
  317. text = "\A3\Air_F_EPC\Plane_CAS_01\Data\UI\Map_Plane_CAS_01_CA.paa";
  318. };
  319. class PicturePlaneShadow : PictureHeli {
  320. idc = 758023;
  321. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
  322. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  323. colorText[] = {0,0,0,0.7};
  324. };
  325. class PictureFOB : GenericPicture69 {
  326. idc = 758024;
  327. y = (0.4 + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
  328. text = "\A3\ui_f\data\map\markers\handdrawn\flag_CA.paa";
  329. };
  330. class PictureFOBShadow : PictureHeli {
  331. idc = 758025;
  332. y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
  333. x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
  334. colorText[] = {0,0,0,0.7};
  335. };
  336. class LabelManpower : GenericLabel69 {
  337. idc = 101;
  338. text = "";
  339. y = (0.39 + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
  340. colorText[] = {0, 0.75, 0, 1};
  341. };
  342. class LabelAmmo : GenericLabel69 {
  343. idc = 102;
  344. text = "";
  345. y = (0.39 + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
  346. colorText[] = {0.75, 0, 0, 1};
  347. };
  348. class LabelFuel : GenericLabel69 {
  349. idc = 103;
  350. text = "";
  351. y = (0.39 + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
  352. colorText[] = {0.75, 0.75, 0, 1};
  353. };
  354. class LabelCap : GenericLabel69 {
  355. idc = 104;
  356. text = "";
  357. y = (0.39 + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
  358. colorText[] = {0.8, 0.8, 0.8, 1};
  359. };
  360. class LabelCombatReadiness : GenericLabel69 {
  361. idc = 105;
  362. text = "";
  363. y = (0.39 + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
  364. colorText[] = {0.8, 0.8, 0.8, 1};
  365. };
  366. class LabelIntel : GenericLabel69 {
  367. idc = 106;
  368. text = "";
  369. y = (0.39 + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
  370. colorText[] = {0, 0.45, 0.95, 1};
  371. };
  372. class LabelHeli : GenericLabel69 {
  373. idc = 107;
  374. text = "";
  375. y = (0.39 + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
  376. colorText[] = {0.8, 0.8, 0.8, 1};
  377. };
  378. class LabelPlane : GenericLabel69 {
  379. idc = 108;
  380. text = "";
  381. y = (0.39 + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
  382. colorText[] = {0.8, 0.8, 0.8, 1};
  383. };
  384. class LabelFOB : GenericLabel69 {
  385. idc = 109;
  386. text = "";
  387. y = (0.39 + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
  388. colorText[] = {0.8, 0.8, 0.8, 1};
  389. };
  390. class CaptureFrameStandard {
  391. idc = -1;
  392. type = CT_STATIC;
  393. font = FontM;
  394. sizeEx = 0.023;
  395. text = "";
  396. };
  397. class CaptureFrame : CaptureFrameStandard {
  398. idc = 202;
  399. style = ST_FRAME;
  400. colorText[] = COLOR_BLACK;
  401. colorBackground[] = COLOR_OPFOR_NOALPHA;
  402. x = 0.9125 * safezoneW + safezoneX;
  403. w = 0.085 * safezoneW;
  404. y = 0.358 * safezoneH + safezoneY;
  405. h = 0.012 * safezoneH;
  406. };
  407. class CaptureFrame_OPFOR : CaptureFrameStandard{
  408. idc = 203;
  409. style = ST_TYPE;
  410. colorText[] = {0.6, 0, 0, 1};
  411. colorBackground[] = {0.6, 0, 0, 1};
  412. x = 0.9125 * safezoneW + safezoneX;
  413. w = 0.084 * safezoneW;
  414. y = 0.358 * safezoneH + safezoneY;
  415. h = 0.011 * safezoneH;
  416. };
  417. class CaptureFrame_BLUFOR : CaptureFrameStandard{
  418. idc = 244;
  419. style = ST_TYPE;
  420. colorText[] = {0, 0.2, 0.6, 1};
  421. colorBackground[] = {0, 0.2, 0.6, 1};
  422. x = 0.9125 * safezoneW + safezoneX;
  423. w = 0.084 * safezoneW;
  424. y = 0.358 * safezoneH + safezoneY;
  425. h = 0.011 * safezoneH;
  426. };
  427. class LabelPoint : GenericLabel69 {
  428. idc = 205;
  429. text = "";
  430. style = ST_RIGHT;
  431. sizeEx = 0.024 * safezoneH;
  432. x = 0.8 * safezoneW + safezoneX;
  433. w = 0.2 * safezoneW;
  434. y = 0.33 * safezoneH + safezoneY;
  435. h = 0.03 * safezoneH;
  436. colorText[] = {0.7, 0, 0, 1};
  437. };
  438. class ActiveSectors {
  439. idc = 516;
  440. type = CT_STRUCTURED_TEXT;
  441. colorBackground[] = COLOR_NOALPHA;
  442. style = ST_RIGHT;
  443. x = 0.7 * safezoneW + safezoneX;
  444. w = 0.295 * safezoneW;
  445. y = 0.8 * safezoneH + safezoneY;
  446. h = 0.2 * safezoneH;
  447. text= "";
  448. size = 0.02 * safezoneH;
  449. sizeEx = 0.02 * safezoneH;
  450. shadow = 2;
  451. font = FontM;
  452. color = "#e0e000";
  453. align = "right";
  454. valign = "top";
  455. };
  456. class BGPictureActiveSectors : BGPicture {
  457. idc = 517;
  458. x = 0.93 * safezoneW + safezoneX;
  459. w = 0.1 * safezoneW;
  460. y = 0.8 * safezoneH + safezoneY;
  461. h = 0.2 * safezoneH;
  462. };
  463. class AlertBGPicture : BGPicture {
  464. idc = 401;
  465. x = 0.9 * safezoneW + safezoneX;
  466. w = 0.15 * safezoneW;
  467. y = 0.27 * safezoneH + safezoneY;
  468. h = 0.05 * safezoneH;
  469. };
  470. class AlertLabel : GenericLabel69 {
  471. idc = 402;
  472. text = "";
  473. style = ST_CENTER;
  474. sizeEx = 0.022 * safezoneH;
  475. x = 0.9 * safezoneW + safezoneX;
  476. w = 0.1 * safezoneW;
  477. y = 0.2675 * safezoneH + safezoneY;
  478. h = 0.03 * safezoneH;
  479. colorText[] = {0.85, 0, 0, 1};
  480. };
  481. class AlertTimer : GenericLabel69 {
  482. idc = 403;
  483. text = "";
  484. style = ST_CENTER;
  485. sizeEx = 0.026 * safezoneH;
  486. x = 0.9 * safezoneW + safezoneX;
  487. w = 0.1 * safezoneW;
  488. y = 0.29 * safezoneH + safezoneY;
  489. h = 0.03 * safezoneH;
  490. colorText[] = {0.85, 0, 0, 1};
  491. };
  492. };
  493. };