config.cpp 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689
  1. //Get this addons macro
  2. //get the macro for the air subaddon
  3. //get generlized macros
  4. #include "../../../RD501_main/config_macros.hpp"
  5. //General name of the vehicle
  6. // #define vehicle_addon ARC_170
  7. // #define patch_name MODNAME##vehicle_addon##_Patches
  8. // #define vehicle_classname MODNAME##_##vehicle_addon
  9. // #define new_arc170_class(name) vehicle_classname##_##name
  10. class CfgPatches
  11. {
  12. class macro_patch_name(ARC_170)
  13. {
  14. addonRootClass=macro_patch_name(vehicles)
  15. requiredAddons[]=
  16. {
  17. macro_patch_name(vehicles)
  18. };
  19. requiredVersion=0.1;
  20. units[]=
  21. {
  22. macro_new_vehicle(ARC_170,MKII)
  23. };
  24. weapons[]=
  25. {
  26. };
  27. };
  28. };
  29. #include "../../common/sensor_templates.hpp"
  30. class DefaultEventhandlers;
  31. class CfgVehicles
  32. {
  33. class Plane_Base_F;
  34. class Xarc: Plane_Base_F
  35. {
  36. //class AnimationSources;
  37. class Turrets;
  38. };
  39. class swop_arc_t: Xarc
  40. {
  41. class Eventhandlers: DefaultEventhandlers//remove the script that crashes server lol
  42. {
  43. killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');";
  44. fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";
  45. init = "[_this select 0] execVM '\arc\init.sqf';[_this select 0] execVM '\arc\initturbine.sqf';";
  46. };
  47. class Turrets:Turrets
  48. {
  49. class MainTurret;
  50. class CopilotTurret;
  51. };
  52. class Components;
  53. class ACE_SelfActions;
  54. };
  55. class macro_new_vehicle(ARC_170,MKII):swop_arc_t
  56. {
  57. scope=2;
  58. scopeCurator=2;
  59. side=1;
  60. displayName = "ARC-170";
  61. forceInGarage = 1;
  62. ballisticsComputer = 1+8;
  63. faction = macro_republic_faction
  64. editorSubcategory = macro_editor_cat_air(Republic_vtol)
  65. vehicleClass = macro_editor_vehicle_type_air(Republic)
  66. visualTarget = 1;
  67. visualTargetSize = 10;
  68. reportOwnPosition = true;
  69. radarTargetSize = 10;
  70. radarTarget = 1;
  71. nvTarget = 1;
  72. laserTarget = 1;
  73. laserScanner = 1;
  74. irTarget = 1;
  75. irTargetSize = 10;
  76. countermeasureActivationRadius = 2000;
  77. // model = "RD501_Vehicles\air\ARC_170\xt.p3d"
  78. // hiddenSelections[] = {"camo1"};
  79. // hiddenSelectionsTextures[] = {"ywing\Y-Wing_Body_co.paa"};
  80. armor = 500;
  81. vtol=4;
  82. scopeCurator=2;
  83. altFullForce = 16000;
  84. altNoForce = 19000;
  85. driverIsCommander = true;
  86. enableManualFire = 0;
  87. memoryPointGun[] = {"cannon1","cannon2",""};
  88. muzzleEnd[] = {"cannon1","cannon2",""};
  89. muzzlePos[] = {"cannon1","cannon2",""};
  90. draconicTorqueXCoef = 0;//
  91. memoryPointLRocket = "";
  92. memoryPointRRocket = "";
  93. memoryPointLMissile = "";
  94. memoryPointRMissile = "";
  95. weaponLockSystem = 31;
  96. maxSpeed = 2000;
  97. lightOnGear = 0;
  98. rudderInfluence = 0.1;//0.766
  99. rudderCoef[] = {0.2, 0.7, 1.5, 2, 2, 2.1, 2.4, 2.5, 2.6, 2.7, 2.7, 2.7, 2.7};//0.2, 0.7, 1.5, 2, 2, 2.1, 2.4, 2.5, 2.6, 2.7, 2.7, 2.7, 2.7
  100. rudderControlsSensitivityCoef = 4;
  101. aileronSensitivity = 1*2;
  102. gearsUpFrictionCoef = 0;
  103. elevatorSensitivity = 1*2;
  104. airBrakeFrictionCoef = 80.4;
  105. //draconicForceXCoef = 15*2;
  106. //draconicForceYCoef = 1*2;
  107. //draconicForceZCoef = 1*2;
  108. VTOLYawInfluence = 3*1.5*2;
  109. VTOLPitchInfluence = 2*1.5*1.0;
  110. VTOLRollInfluence = 3*2*1;
  111. weapons[] = {
  112. macro_basic_air_weapons,
  113. macro_new_weapon(generic,republic_aircraft_cannon),
  114. macro_new_weapon(generic,kannon),
  115. macro_new_weapon(wynd,a2a),
  116. macro_new_weapon(wynd,agm),
  117. macro_new_weapon(wynd,ugm)
  118. };
  119. magazines[] = {
  120. macro_new_mag(generic_aircraft_cannon_green,1000),
  121. macro_new_mag(a2a,4),
  122. macro_new_mag(agm,6),
  123. macro_new_mag(ugm,10),
  124. macro_basic_air_mags,
  125. macro_new_mag(Kannon,100)
  126. };
  127. gunnerUsesPilotView = 1;
  128. class Turrets:Turrets
  129. {
  130. //gumner
  131. class MainTurret:MainTurret
  132. {
  133. stabilizedInAxes = 4;
  134. weaponLockSystem = 31;
  135. allowTabLock = 1;
  136. showCrewAim = 4;
  137. canUseScanner = 1;
  138. weapons[] = {
  139. macro_basic_air_weapons,
  140. macro_new_weapon(generic,republic_aircraft_cannon)
  141. };
  142. magazines[] = {
  143. macro_basic_air_mags,
  144. macro_new_mag(generic_aircraft_cannon_green,1000)
  145. };
  146. memoryPointLRocket = "muzzle_tail";
  147. memoryPointRRocket = "muzzle_tail";
  148. memoryPointLMissile = "muzzle_tail";
  149. memoryPointRMissile = "muzzle_tail";
  150. class OpticsIn
  151. {
  152. class Wide
  153. {
  154. opticsDisplayName = "W";
  155. initAngleX = 0;
  156. minAngleX = -360;
  157. maxAngleX = 360;
  158. initAngleY = 0;
  159. minAngleY = -350;
  160. maxAngleY = 350;
  161. initFov = 0.7;
  162. minFov = 0.03;
  163. maxFov = 1.2;
  164. directionStabilized = 0;
  165. horizontallyStabilized = 0;
  166. stabilizedInAxes = 3;
  167. visionMode[] = {"Normal", "NVG", "Ti"};
  168. thermalMode[] = { 1,7};
  169. gunnerOpticsModel = "A3\drones_f\Weapons_F_Gamma\Reticle\UGV_01_Optics_Gunner_F.p3d";
  170. };
  171. class Medium: Wide
  172. {
  173. opticsDisplayName = "M";
  174. initFov = 0.093;
  175. minFov = 0.093;
  176. maxFov = 0.093;
  177. gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_medium_F";
  178. directionStabilized = 1;
  179. horizontallyStabilized = 1;
  180. stabilizedInAxes = 3;
  181. };
  182. class Narrow: Wide
  183. {
  184. opticsDisplayName = "N";
  185. gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_narrow_F";
  186. initFov = 0.029;
  187. minFov = 0.029;
  188. maxFov = 0.029;
  189. directionStabilized = 1;
  190. horizontallyStabilized = 1;
  191. stabilizedInAxes = 3;
  192. };
  193. };
  194. minElev = -15;//-10
  195. maxElev = 60;//45
  196. };
  197. //navigator
  198. class CopilotTurret:CopilotTurret
  199. {
  200. //stabilizedInAxes = 4;
  201. animationSourceHatch = "";
  202. // minElev = -5;
  203. // maxElev = 40;
  204. // initElev = -120;
  205. // minTurn = -360;
  206. // maxTurn = 360;
  207. // initTurn = 0;
  208. weaponLockSystem = 31;
  209. minElev = -90;
  210. maxElev = 5;
  211. initElev = 0//-45;
  212. minTurn = -300;
  213. maxTurn = 300;
  214. initTurn = 0;
  215. maxHorizontalRotSpeed = 1.2*2;
  216. maxVerticalRotSpeed = 1.2*2;
  217. ballisticsComputer = 1+8;
  218. allowTabLock = 1;
  219. showCrewAim = 4;
  220. canUseScanner = 1;
  221. stabilizedInAxes = 3;
  222. maxXRotSpeed=0.30000001;
  223. maxYRotSpeed=0.30000001;
  224. pilotOpticsShowCursor=1;
  225. controllable=1;
  226. memoryPointGunnerOptics = "PilotCamera_Pos";
  227. memoryPointDriverOptics = "PilotCamera_Pos";
  228. memoryPointGunnerOutOptics = "PilotCamera_Pos";
  229. weapons[] = {
  230. //macro_new_weapon(generic,republic_aircraft_cannon),
  231. //macro_new_weapon(bomb,SDB),
  232. //macro_new_weapon(bomb,cluster),
  233. //macro_new_weapon(bomb,LGB),
  234. //macro_basic_air_weapons
  235. };
  236. magazines[] = {
  237. //macro_new_mag(generic_aircraft_cannon_green,1000),
  238. //macro_basic_air_mags,
  239. //macro_new_mag(sdb_bomb,4),
  240. //macro_new_mag(cluster_bomb,4),
  241. //macro_new_mag(lgb_bomb,4)
  242. };
  243. memoryPointGun = "kulas";
  244. muzzleEnd[] = {"cannon1","cannon2"};
  245. muzzlePos[] = {"cannon1","cannon2"};
  246. controllable=0;
  247. gunBeg = "gun_begin";
  248. gunEnd = "gun_end";
  249. primary = 0;
  250. primaryGunner = 0;
  251. enableManualFire = 0;
  252. class Viewoptics
  253. {
  254. minAngleX = 0;
  255. maxAngleX = 0;
  256. initAngleX = 0;
  257. minAngleY = -15;
  258. maxAngleY = 15;
  259. initAngleY = 0;
  260. initFov = 0.75;
  261. minFov = 0.25;
  262. maxFov = 0.75;
  263. visionMode[]=
  264. {
  265. "Normal",
  266. "NVG",
  267. "Ti"
  268. };
  269. thermalMode[]={0,1,7};
  270. };
  271. class OpticsIn
  272. {
  273. class Wide
  274. {
  275. initAngleX = 0;
  276. minAngleX = 0;
  277. maxAngleX = 0;
  278. initAngleY = 0;
  279. minAngleY = -15;
  280. maxAngleY = 15;
  281. initFov = 0.466;
  282. minFov = 0.466;
  283. maxFov = 0.466;
  284. opticsDisplayName = "W";
  285. visionMode[]=
  286. {
  287. "Normal",
  288. "NVG",
  289. "Ti"
  290. };
  291. thermalMode[]={0,1,7};
  292. gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_wide_F";
  293. };
  294. class Medium: Wide
  295. {
  296. initFov = 0.093;
  297. minFov = 0.093;
  298. maxFov = 0.093;
  299. opticsDisplayName = "M";
  300. gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_medium_F";
  301. };
  302. class Narrow: Wide
  303. {
  304. initFov = 0.029;
  305. minFov = 0.029;
  306. maxFov = 0.029;
  307. opticsDisplayName = "N";
  308. gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_narrow_F";
  309. };
  310. };
  311. };
  312. };
  313. class pilotCamera
  314. {
  315. class OpticsIn
  316. {
  317. class Wide
  318. {
  319. opticsDisplayName = "WFOV";
  320. initAngleX = 0;
  321. minAngleX = 0;
  322. maxAngleX = 0;
  323. initAngleY = 0;
  324. minAngleY = 0;
  325. maxAngleY = 0;
  326. initFov=0.42;//"(30 / 120)";
  327. minFov=0.42;//"(30 / 120)";
  328. maxFov=0.42;//"(30 / 120)";
  329. directionStabilized = 1;
  330. visionMode[] = {"Normal","NVG", "Ti"};
  331. thermalMode[] = {0,1,2,3,4,5};
  332. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
  333. opticsPPEffects[] = {"OpticsCHAbera2", "OpticsBlur2"};
  334. };
  335. class Medium: Wide
  336. {
  337. opticsDisplayName = "MFOV";
  338. initFov="0.42/4";//"(30 / 120)";
  339. minFov="0.42/4";//"(30 / 120)";
  340. maxFov="0.42/4";//"(30 / 120)";
  341. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_medium_F.p3d";
  342. };
  343. class Narrow: Wide
  344. {
  345. opticsDisplayName = "NFOV";
  346. initFov="0.42/8";//"(30 / 120)";
  347. minFov="0.42/8";//"(30 / 120)";
  348. maxFov="0.42/8";//"(30 / 120)";
  349. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  350. };
  351. class NarrowX16: Wide
  352. {
  353. opticsDisplayName = "NFOV";
  354. initFov="0.42/16";//"(30 / 120)";
  355. minFov="0.42/16";//"(30 / 120)";
  356. maxFov="0.42/16";//"(30 / 120)";
  357. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  358. };
  359. class NarrowX24: Wide
  360. {
  361. opticsDisplayName = "NFOV";
  362. initFov="0.42/24";//"(30 / 120)";
  363. minFov="0.42/24";//"(30 / 120)";
  364. maxFov="0.42/24";//"(30 / 120)";
  365. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  366. };
  367. class NarrowX36: Wide
  368. {
  369. opticsDisplayName = "NFOV";
  370. initFov="0.42/36";//"(30 / 120)";
  371. minFov="0.42/36";//"(30 / 120)";
  372. maxFov="0.42/36";//"(30 / 120)";
  373. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  374. };
  375. class NarrowX48: Wide
  376. {
  377. opticsDisplayName = "NFOV";
  378. initFov="0.42/48";//"(30 / 120)";
  379. minFov="0.42/48";//"(30 / 120)";
  380. maxFov="0.42/48";//"(30 / 120)";
  381. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  382. };
  383. class NarrowX60: Wide
  384. {
  385. opticsDisplayName = "NFOV";
  386. initFov="0.42/60";//"(30 / 120)";
  387. minFov="0.42/60";//"(30 / 120)";
  388. maxFov="0.42/60";//"(30 / 120)";
  389. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  390. };
  391. class NarrowX80: Wide
  392. {
  393. opticsDisplayName = "NFOV";
  394. initFov="0.42/80";//"(30 / 120)";
  395. minFov="0.42/80";//"(30 / 120)";
  396. maxFov="0.42/80";//"(30 / 120)";
  397. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  398. };
  399. class NarrowX100: Wide
  400. {
  401. opticsDisplayName = "NFOV";
  402. initFov="0.42/100";//"(30 / 120)";
  403. minFov="0.42/100";//"(30 / 120)";
  404. maxFov="0.42/100";//"(30 / 120)";
  405. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  406. };
  407. showMiniMapInOptics = 1;
  408. showUAVViewInOptics = 0;
  409. showSlingLoadManagerInOptics = 0;
  410. };
  411. minTurn = -190;
  412. maxTurn = 180;
  413. initTurn = 0;
  414. minElev = -10;
  415. maxElev = 90;
  416. initElev = 0;
  417. maxXRotSpeed = 0.3;
  418. maxYRotSpeed = 0.3;
  419. pilotOpticsShowCursor = 1;
  420. controllable = 1;
  421. };
  422. class UserActions
  423. {
  424. class Wing_Close
  425. {
  426. condition = "this animationPhase ""wing_1_up_A"" == 1 and this animationPhase ""wing_2_up_A"" == 1 and this animationPhase ""wing_1_down_A"" == 1 and this animationPhase ""wing_2_down_A"" == 1";
  427. displayName = "<t color='#FF9933'>[Close S-foils]</t>";
  428. displayNameDefault = "";
  429. hideonuse = 1;
  430. onlyForPlayer = 1;
  431. position = "pilotview";
  432. priority = 1e+011;
  433. radius = 3;
  434. shortcut = "";
  435. statement = "this animate [""wing_1_up_A"",0];this animate [""wing_2_up_A"",0];this animate [""wing_1_down_A"",0];this animate [""wing_2_down_A"",0]; this say3d ""arcfoils""";
  436. textToolTip = "Close wing";
  437. };
  438. class Wing_Open
  439. {
  440. condition = "this animationPhase ""wing_1_up_A"" == 0 and this animationPhase ""wing_2_up_A"" == 0 and this animationPhase ""wing_1_down_A"" == 0 and this animationPhase ""wing_2_down_A"" == 0";
  441. displayName = "<t color='#4C9900'>[Open S-foils]</t>";
  442. displayNameDefault = "";
  443. hideonuse = 1;
  444. onlyForPlayer = 1;
  445. position = "pilotview";
  446. priority = 1e+011;
  447. radius = 3;
  448. shortcut = "";
  449. statement = "this animate [""wing_1_up_A"",1];this animate [""wing_2_up_A"",1];this animate [""wing_1_down_A"",1];this animate [""wing_2_down_A"",1]; this say3d ""arcfoils""";
  450. };
  451. #include "../../common/universal_dmg_report.hpp"
  452. };
  453. class ACE_SelfActions:ACE_SelfActions
  454. {
  455. #include "../../common/universal_hud_color_changer.hpp"
  456. };
  457. #include "../../common/universal_mfd.hpp"
  458. class Components: Components
  459. {
  460. class SensorsManagerComponent
  461. {
  462. class Components
  463. {
  464. class IRSensorComponent:SensorTemplateIR
  465. {
  466. class AirTarget
  467. {
  468. //minRange = 500;
  469. //maxRange = 3000;
  470. minRange = 5;
  471. maxRange = 8000;
  472. objectDistanceLimitCoef = -1;
  473. viewDistanceLimitCoef = 1;
  474. };
  475. class GroundTarget
  476. {
  477. //minRange = 500;
  478. //maxRange = 2000;
  479. minRange = 5;
  480. maxRange = 8000;
  481. objectDistanceLimitCoef = 1;
  482. viewDistanceLimitCoef = 1;
  483. };
  484. maxTrackableSpeed = 700;
  485. //maxTrackableSpeed = 70;
  486. animDirection = "mainGun";
  487. //angleRangeHorizontal = 46;
  488. //angleRangeVertical = 34;
  489. angleRangeHorizontal = 170;
  490. angleRangeVertical = 170;
  491. aimdown = -0.25;
  492. };
  493. class VisualSensorComponent:SensorTemplateVisual
  494. {
  495. class AirTarget
  496. {
  497. //minRange = 500;
  498. //maxRange = 2000;
  499. minRange = 5;
  500. maxRange = 8000;
  501. objectDistanceLimitCoef = -1;
  502. viewDistanceLimitCoef = 1;
  503. };
  504. class GroundTarget
  505. {
  506. //minRange = 500;
  507. maxRange = 1500;
  508. minRange = 5;
  509. //maxRange = 7000;
  510. objectDistanceLimitCoef = 1;
  511. viewDistanceLimitCoef = 1;
  512. };
  513. //maxTrackableSpeed = 70;
  514. maxTrackableSpeed = 700;
  515. animDirection = "mainGun";
  516. //angleRangeHorizontal = 46;
  517. //angleRangeVertical = 34;
  518. angleRangeHorizontal = 170;
  519. angleRangeVertical = 170;
  520. aimdown = -0.25;
  521. };
  522. class ActiveRadarSensorComponent:SensorTemplateActiveRadar
  523. {
  524. class AirTarget
  525. {
  526. //minRange = 5000;
  527. //maxRange = 5000;
  528. minRange = 5;
  529. maxRange = 7000;
  530. objectDistanceLimitCoef = -1;
  531. viewDistanceLimitCoef = -1;
  532. };
  533. class GroundTarget
  534. {
  535. //minRange = 4000;
  536. //maxRange = 4000;
  537. minRange = 4;
  538. maxRange = 4000;
  539. objectDistanceLimitCoef = -1;
  540. viewDistanceLimitCoef = -1;
  541. };
  542. maxTrackableSpeed = 1250;
  543. //maxTrackableSpeed = 125;
  544. angleRangeHorizontal = 180;
  545. //angleRangeVertical = 90;
  546. angleRangeVertical = 180;
  547. groundNoiseDistanceCoef = -1;
  548. maxGroundNoiseDistance = -1;
  549. minSpeedThreshold = 0;
  550. maxSpeedThreshold = 0;
  551. aimDown = 30;
  552. };
  553. class PassiveRadarSensorComponent:SensorTemplatePassiveRadar
  554. {
  555. };
  556. class LaserSensorComponent:SensorTemplateLaser
  557. {
  558. };
  559. class NVSensorComponent:SensorTemplateNV
  560. {
  561. };
  562. };
  563. };
  564. class VehicleSystemsDisplayManagerComponentLeft: DefaultVehicleSystemsDisplayManagerLeft
  565. {
  566. class Components: Components
  567. {
  568. class VehiclePrimaryGunnerDisplay
  569. {
  570. componentType = "TransportFeedDisplayComponent";
  571. source = "PrimaryGunner";
  572. };
  573. class VehicleMissileDisplay
  574. {
  575. componentType = "TransportFeedDisplayComponent";
  576. source = "Missile";
  577. };
  578. class SensorDisplay
  579. {
  580. componentType = "SensorsDisplayComponent";
  581. range[] = {4000, 2000, 16000, 8000};
  582. resource = "RscCustomInfoSensors";
  583. };
  584. };
  585. };
  586. class VehicleSystemsDisplayManagerComponentRight: DefaultVehicleSystemsDisplayManagerRight
  587. {
  588. defaultDisplay = "SensorDisplay";
  589. class Components: Components
  590. {
  591. class VehiclePrimaryGunnerDisplay
  592. {
  593. componentType = "TransportFeedDisplayComponent";
  594. source = "PrimaryGunner";
  595. };
  596. class VehicleMissileDisplay
  597. {
  598. componentType = "TransportFeedDisplayComponent";
  599. source = "Missile";
  600. };
  601. class SensorDisplay
  602. {
  603. componentType = "SensorsDisplayComponent";
  604. range[] = {4000, 2000, 16000, 8000};
  605. resource = "RscCustomInfoSensors";
  606. };
  607. };
  608. };
  609. };
  610. class EventHandlers : DefaultEventhandlers
  611. {
  612. killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');";
  613. init = "[_this select 0] execVM 'rd501_vehicles\air\arc_170\arc_mass.sqf';";
  614. fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";
  615. };
  616. };
  617. };