common_stuff_swop.hpp 7.9 KB

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