common_stuff_swop.hpp 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. class EventHandlers : DefaultEventhandlers
  2. {
  3. fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";
  4. init = "[_this select 0] execVM 'RD501_Main\functions\autocrate\autocrate.sqf';";
  5. };
  6. faction = macro_republic_faction
  7. editorSubcategory = macro_editor_cat_air(Republic_heli)
  8. vehicleClass = macro_editor_vehicle_type_air(Republic)
  9. maximumLoad = 5000000000;
  10. slingLoadMaxCargoMass = 5000000000;
  11. //dmg properties
  12. armor=500;
  13. crewCrashProtection=0;
  14. epeImpulseDamageCoef=0;
  15. //dust effects
  16. dustEffect = "";//helidust
  17. waterEffect = "";//HeliWater
  18. //Targeting stuff
  19. ballisticsComputer = 1+8;
  20. //show all crosshairs
  21. showCrewAim = 4;
  22. showAllTargets = 2;
  23. radarType = 12;
  24. weaponLockSystem = 31;//"1+2+4+8+16"
  25. //!!!!!
  26. incomingMissileDetectionSystem = 30;//16
  27. //Weapons
  28. weapons[] = {
  29. macro_new_weapon(generic,blue_dual_aircraft_laser),
  30. macro_new_weapon(wynd,lgm),
  31. macro_new_weapon(wynd,a2a),
  32. macro_new_weapon(wynd,agm),
  33. macro_basic_air_weapons,
  34. "SmokeLauncher"
  35. //macro_new_weapon(cannon,laat)
  36. };
  37. magazines[] = {
  38. macro_basic_air_mags,
  39. // macro_new_mag(laat_cannon,100),
  40. // macro_new_mag(laat_cannon,100),
  41. // macro_new_mag(laat_cannon,100),
  42. // macro_new_mag(laat_cannon,100),
  43. // macro_new_mag(laat_cannon,100),
  44. macro_new_mag(generic_aircraft_gun_dual_blue,1000),
  45. macro_new_mag(a2a,4),
  46. macro_new_mag(agm,6),
  47. macro_new_mag(agm,6),
  48. macro_new_mag(lgm,4),
  49. "SmokeLauncherMag",
  50. "SmokeLauncherMag",
  51. "SmokeLauncherMag",
  52. "SmokeLauncherMag",
  53. };
  54. smokeLauncherGrenadeCount = 48;
  55. smokeLauncherAngle = 360;
  56. //The sun
  57. class Reflectors
  58. {
  59. class Right
  60. {
  61. color[] = {700, 750, 1000};
  62. ambient[] = {7000, 7500, 10000};
  63. intensity = 100;//50
  64. size = 1;//1
  65. innerAngle = 0;//15
  66. outerAngle = 90;//65
  67. coneFadeCoef = 0;//10
  68. position = "Light_R_pos";
  69. direction = "Light_R_dir";
  70. hitpoint = "Light_R_hitpoint";
  71. selection = "Light_R";
  72. useFlare = 1;
  73. flareSize = 1;//10
  74. flareMaxDistance = 2000;//250
  75. dayLight = 0;
  76. brightness =200; //100;
  77. class Attenuation
  78. {
  79. start = 0;
  80. constant = 0;//0
  81. linear = 1;
  82. quadratic = 1;
  83. hardLimitStart = 200;//100
  84. hardLimitEnd = 400;//200
  85. };
  86. };
  87. class Left: Right
  88. {
  89. position = "Light_L_pos";
  90. direction = "Light_L_dir";
  91. hitpoint = "Light_L_hitpoint";
  92. selection = "Light_L";
  93. };
  94. class Center: Right
  95. {
  96. position = "Light_C_pos";
  97. direction = "Light_C_dir";
  98. hitpoint = "Light_C_hitpoint";
  99. selection = "Light_C";
  100. };
  101. };
  102. //Got peek
  103. class pilotCamera
  104. {
  105. class OpticsIn
  106. {
  107. class Wide
  108. {
  109. opticsDisplayName="WFOV";
  110. initAngleX=0;
  111. minAngleX=-10;
  112. maxAngleX=90;
  113. initAngleY=0;
  114. minAngleY=-90;
  115. maxAngleY=90;
  116. initFov=0.425;//"(30 / 120)";
  117. minFov=0.425;//"(30 / 120)";
  118. maxFov=0.425;//"(30 / 120)";
  119. directionStabilized=1;
  120. thermalMode[] = {0,1,2,3,4,5};
  121. visionMode[]=
  122. {
  123. "Normal",
  124. "NVG",
  125. "Ti"
  126. };
  127. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
  128. opticsPPEffects[]=
  129. {
  130. "OpticsCHAbera2",
  131. "OpticsBlur2"
  132. };
  133. };
  134. class zoomx4: Wide
  135. {
  136. opticsDisplayName="NFOV";
  137. initFov="(0.425/4)";//"(3.75 / 120)";
  138. minFov="(0.425/4)";//"(3.75 / 120)";
  139. maxFov="(0.425/4)";//"(3.75 / 120)";
  140. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  141. };
  142. class zoomX8: Wide
  143. {
  144. opticsDisplayName="NFOV";
  145. initFov="(0.42/8)";//"(.375 / 120)";
  146. minFov="(0.42/8)";//"(.375 / 120)";
  147. maxFov="(0.42/8)";//"(.375 / 120)";
  148. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  149. };
  150. class zoomX20: Wide
  151. {
  152. opticsDisplayName="NFOV";
  153. initFov="(0.42/20)";//"(.375 / 120)";
  154. minFov="(0.42/20)";//"(.375 / 120)";
  155. maxFov="(0.42/20)";//"(.375 / 120)";
  156. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  157. };
  158. class zoomX50: Wide
  159. {
  160. opticsDisplayName="NFOV";
  161. initFov="(0.42/50)";//"(.375 / 120)";
  162. minFov="(0.42/50)";//"(.375 / 120)";
  163. maxFov="(0.42/50)";//"(.375 / 120)";
  164. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  165. };
  166. class zoomX70: Wide
  167. {
  168. opticsDisplayName="NFOV";
  169. initFov="(0.42/70)";//"(.375 / 120)";
  170. minFov="(0.42/70)";//"(.375 / 120)";
  171. maxFov="(0.42/70)";//"(.375 / 120)";
  172. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  173. };
  174. showMiniMapInOptics=1;
  175. showUAVViewInOptics=0;
  176. showSlingLoadManagerInOptics=1;
  177. };
  178. minTurn=-180;
  179. maxTurn=180;
  180. initTurn=0;
  181. minElev=-10;
  182. maxElev=90;
  183. initElev=-10;
  184. maxXRotSpeed=0.30000001;
  185. maxYRotSpeed=0.30000001;
  186. pilotOpticsShowCursor=1;
  187. controllable=1;
  188. };
  189. #include "sounds.hpp"
  190. //for texture reskins
  191. hiddenSelections[]=
  192. {
  193. "Camo1",
  194. "Camo2"
  195. };
  196. //transport
  197. class TransportWeapons
  198. {
  199. class _transport_dc15a
  200. {
  201. weapon = macro_new_weapon(DC,15a)
  202. count = 5;
  203. };
  204. class _transport_dc15s
  205. {
  206. weapon = macro_new_weapon(DC,r15s)
  207. count = 5;
  208. };
  209. class _transport_dc15c
  210. {
  211. weapon = macro_new_weapon(DC,15c)
  212. count = 5;
  213. };
  214. class _transport_dc15l
  215. {
  216. weapon = macro_new_weapon(DC,15l)
  217. count = 2;
  218. };
  219. class _transport_z6
  220. {
  221. weapon = macro_new_weapon_nofam(rz6)
  222. count = 2;
  223. };
  224. class _transport_dc15gl
  225. {
  226. weapon = macro_new_weapon(DC,15gl)
  227. count = 2;
  228. };
  229. class _transport_valken38x
  230. {
  231. weapon = macro_new_weapon_nofam(valken38x)
  232. count = 2;
  233. };
  234. class _transport_rps6
  235. {
  236. weapon = macro_new_weapon(launcher,rps6)
  237. count = 2;
  238. };
  239. class _transport_rps1
  240. {
  241. weapon = macro_new_weapon(launcher,rps1)
  242. count = 2;
  243. };
  244. class _transport_plx
  245. {
  246. weapon = macro_new_weapon(Launcher,PLX1)
  247. count = 1;
  248. };
  249. class _transport_z1000
  250. {
  251. weapon = macro_new_weapon_nofam(z1000)
  252. count = 1;
  253. };
  254. class _transport_dc15x
  255. {
  256. weapon = macro_new_weapon(DC,r15x)
  257. count = 1;
  258. };
  259. class _transport_rgl6
  260. {
  261. weapon = macro_new_weapon_nofam(rgl6)
  262. count = 1;
  263. };
  264. };
  265. class TransportMagazines
  266. {
  267. class transport_2mw30
  268. {
  269. magazine = macro_new_mag(2mw,30);
  270. count = 15;
  271. };
  272. class transport_5mw15
  273. {
  274. magazine = macro_new_mag(5mw,10);
  275. count = 15;
  276. };
  277. class transport_5mw60
  278. {
  279. magazine = macro_new_mag(5mw,60)
  280. count = 60;
  281. };
  282. class transport_10mw30
  283. {
  284. magazine = macro_new_mag(10mw,30);
  285. count = 60;
  286. };
  287. class transport_10mw400
  288. {
  289. magazine = macro_new_mag(10mw,400);
  290. count = 15;
  291. };
  292. class _transport_20mw20
  293. {
  294. magazine = macro_new_mag(20mw,20);
  295. count = 20;
  296. };
  297. class _transport_20mwup20
  298. {
  299. magazine = macro_new_mag(20mwup,20);
  300. count = 40;
  301. };
  302. class _transport_20mwdp20
  303. {
  304. magazine = macro_new_mag(20mwdp,20);
  305. count = 40;
  306. };
  307. class _transport_20mw240
  308. {
  309. magazine = macro_new_mag(20mw,240);
  310. count = 20;
  311. };
  312. class _transport_30mw10
  313. {
  314. magazine = macro_new_mag(30mw,10);
  315. count = 15;
  316. }
  317. class _transport_30mw7
  318. {
  319. magazine = macro_new_mag(30mw,7)
  320. count = 15;
  321. };
  322. class _transport_40mw5
  323. {
  324. magazine = macro_new_mag(40mw,5)
  325. count = 10;
  326. };
  327. class _transport_stun5
  328. {
  329. magazine = macro_new_mag(stun,5)
  330. count = 20;
  331. };
  332. class _transport_launcher_AT_mags
  333. {
  334. magazine = macro_new_mag(RPS_AT,1)
  335. count = 20;
  336. };
  337. class _transport_launcher_AA_mags
  338. {
  339. magazine = macro_new_mag(RPS_AA,1)
  340. count = 20;
  341. };
  342. class _transport_he3
  343. {
  344. magazine = macro_new_mag(UGL_HE,3);
  345. count = 15;
  346. };
  347. class _transport_ap2
  348. {
  349. magazine = macro_new_mag(UGL_AP,2);
  350. count = 15;
  351. };
  352. class _transport_emp1
  353. {
  354. magazine = macro_new_mag(UGL_EMP,1);
  355. count = 3;
  356. };
  357. class _transport_HuntIR_M203
  358. {
  359. magazine = "ACE_HuntIR_M203";
  360. count = 15;
  361. };
  362. class _transport_C12_Remote_Mag
  363. {
  364. magazine = "C12_Remote_Mag";
  365. count = 2;
  366. };
  367. };
  368. class TransportItems
  369. {
  370. class _xx_SW_SquadShield_Mag
  371. {
  372. name = "SW_SquadShield_Mag";
  373. count = 2;
  374. };
  375. class _xx_ACE_HuntIR_monitor
  376. {
  377. name = "ACE_HuntIR_monitor";
  378. count = 1;
  379. };
  380. };