common_stuff.hpp 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. class EventHandlers : DefaultEventhandlers
  2. {
  3. init = "_this execVM "RD501_Main\functions\autocrate\autocrate.sqf"; _this execVM "RD501_Main\functions\vehicle_lift\laat_lift_3.sqf";";
  4. fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";
  5. init = "[_this select 0] execVM 'RD501_Main\functions\autocrate\autocrate.sqf';";//[_this select 0] execVM 'RD501_Main\functions\vehicle_lift\laat_lift_3.sqf';";
  6. };
  7. faction = macro_republic_faction
  8. editorSubcategory = macro_editor_cat_air(Republic_heli)
  9. vehicleClass = macro_editor_vehicle_type_air(Republic)
  10. maximumLoad = 5000000000;
  11. slingLoadMaxCargoMass = 5000000000;
  12. //dmg properties
  13. armor=500;
  14. crewCrashProtection=0;
  15. epeImpulseDamageCoef=0;
  16. //dust effects
  17. dustEffect = "";//helidust
  18. waterEffect = "";//HeliWater
  19. //Targeting stuff
  20. ballisticsComputer = 1+8;
  21. //show all crosshairs
  22. showCrewAim = 4;
  23. showAllTargets = 2;
  24. radarType = 12;
  25. weaponLockSystem = 31;//"1+2+4+8+16"
  26. //!!!!!
  27. incomingMissileDetectionSystem = 30;//16
  28. //Weapons
  29. weapons[] = {
  30. macro_new_weapon(generic,blue_dual_aircraft_laser),
  31. macro_new_weapon(wynd,lgm),
  32. macro_new_weapon(wynd,a2a),
  33. macro_new_weapon(wynd,agm),
  34. macro_basic_air_weapons,
  35. "SmokeLauncher"
  36. //macro_new_weapon(cannon,laat)
  37. };
  38. magazines[] = {
  39. macro_basic_air_mags,
  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(laat_cannon,100),
  45. macro_new_mag(generic_aircraft_gun_dual_blue,1000),
  46. macro_new_mag(a2a,4),
  47. macro_new_mag(agm,6),
  48. macro_new_mag(agm,6),
  49. macro_new_mag(lgm,4),
  50. "SmokeLauncherMag",
  51. "SmokeLauncherMag",
  52. "SmokeLauncherMag",
  53. "SmokeLauncherMag",
  54. };
  55. smokeLauncherGrenadeCount = 48;
  56. smokeLauncherAngle = 360;
  57. //The sun
  58. class Reflectors
  59. {
  60. class Right
  61. {
  62. color[] = {700, 750, 1000};
  63. ambient[] = {7000, 7500, 10000};
  64. intensity = 100;//50
  65. size = 1;//1
  66. innerAngle = 0;//15
  67. outerAngle = 90;//65
  68. coneFadeCoef = 0;//10
  69. position = "Light_R_pos";
  70. direction = "Light_R_dir";
  71. hitpoint = "Light_R_hitpoint";
  72. selection = "Light_R";
  73. useFlare = 1;
  74. flareSize = 1;//10
  75. flareMaxDistance = 2000;//250
  76. dayLight = 0;
  77. brightness =200; //100;
  78. class Attenuation
  79. {
  80. start = 0;
  81. constant = 0;//0
  82. linear = 1;
  83. quadratic = 1;
  84. hardLimitStart = 200;//100
  85. hardLimitEnd = 400;//200
  86. };
  87. };
  88. class Left: Right
  89. {
  90. position = "Light_L_pos";
  91. direction = "Light_L_dir";
  92. hitpoint = "Light_L_hitpoint";
  93. selection = "Light_L";
  94. };
  95. class Center: Right
  96. {
  97. position = "Light_C_pos";
  98. direction = "Light_C_dir";
  99. hitpoint = "Light_C_hitpoint";
  100. selection = "Light_C";
  101. };
  102. };
  103. //Got peek
  104. class pilotCamera
  105. {
  106. class OpticsIn
  107. {
  108. class Wide
  109. {
  110. opticsDisplayName="WFOV";
  111. initAngleX=0;
  112. minAngleX=-10;
  113. maxAngleX=90;
  114. initAngleY=0;
  115. minAngleY=-90;
  116. maxAngleY=90;
  117. initFov=0.425;//"(30 / 120)";
  118. minFov=0.425;//"(30 / 120)";
  119. maxFov=0.425;//"(30 / 120)";
  120. directionStabilized=1;
  121. thermalMode[] = {0,1,2,3,4,5};
  122. visionMode[]=
  123. {
  124. "Normal",
  125. "NVG",
  126. "Ti"
  127. };
  128. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
  129. opticsPPEffects[]=
  130. {
  131. "OpticsCHAbera2",
  132. "OpticsBlur2"
  133. };
  134. };
  135. class zoomx4: Wide
  136. {
  137. opticsDisplayName="NFOV";
  138. initFov="(0.425/4)";//"(3.75 / 120)";
  139. minFov="(0.425/4)";//"(3.75 / 120)";
  140. maxFov="(0.425/4)";//"(3.75 / 120)";
  141. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  142. };
  143. class zoomX8: Wide
  144. {
  145. opticsDisplayName="NFOV";
  146. initFov="(0.42/8)";//"(.375 / 120)";
  147. minFov="(0.42/8)";//"(.375 / 120)";
  148. maxFov="(0.42/8)";//"(.375 / 120)";
  149. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  150. };
  151. class zoomX20: Wide
  152. {
  153. opticsDisplayName="NFOV";
  154. initFov="(0.42/20)";//"(.375 / 120)";
  155. minFov="(0.42/20)";//"(.375 / 120)";
  156. maxFov="(0.42/20)";//"(.375 / 120)";
  157. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  158. };
  159. class zoomX50: Wide
  160. {
  161. opticsDisplayName="NFOV";
  162. initFov="(0.42/50)";//"(.375 / 120)";
  163. minFov="(0.42/50)";//"(.375 / 120)";
  164. maxFov="(0.42/50)";//"(.375 / 120)";
  165. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  166. };
  167. class zoomX70: Wide
  168. {
  169. opticsDisplayName="NFOV";
  170. initFov="(0.42/70)";//"(.375 / 120)";
  171. minFov="(0.42/70)";//"(.375 / 120)";
  172. maxFov="(0.42/70)";//"(.375 / 120)";
  173. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  174. };
  175. showMiniMapInOptics=1;
  176. showUAVViewInOptics=0;
  177. showSlingLoadManagerInOptics=1;
  178. };
  179. minTurn=-180;
  180. maxTurn=180;
  181. initTurn=0;
  182. minElev=-10;
  183. maxElev=90;
  184. initElev=-10;
  185. maxXRotSpeed=0.30000001;
  186. maxYRotSpeed=0.30000001;
  187. pilotOpticsShowCursor=1;
  188. controllable=1;
  189. };
  190. #include "sounds.hpp"
  191. //for texture reskins
  192. hiddenSelections[]=
  193. {
  194. "Camo1",
  195. "Camo2"
  196. };
  197. //transport
  198. class TransportWeapons
  199. {
  200. class _xx_SWOP_DC15AGL_RD501
  201. {
  202. weapon = macro_new_weapon(DC,15a);
  203. count = 10;
  204. };
  205. class _xx_RD501_DC15_Carbine
  206. {
  207. weapon = macro_new_weapon(DC,15s);
  208. count = 10;
  209. };
  210. class _xx_SWOP_DC15ABlasterRifle_mod1_RD501
  211. {
  212. weapon = macro_new_weapon(DC,15a_LE);
  213. count = 10;
  214. };
  215. class _xx_SWOP_DC15ABlasterRifle_mod0_RD501
  216. {
  217. weapon = macro_new_weapon(DC,15a_mod_0_rifle)
  218. count = 10;
  219. };
  220. class _xx_SWOP_Z6Blaster
  221. {
  222. weapon = macro_new_weapon_nofam(Z6)
  223. count = 10;
  224. };
  225. class _xx_RocketHH15Clone_RD501
  226. {
  227. weapon = macro_new_weapon(hh,15)
  228. count = 10;
  229. };
  230. };
  231. class TransportMagazines
  232. {
  233. class _xx_SWOP_DC15ABlasterRifle_Full_Mag
  234. {
  235. magazine = macro_new_mag(DC15a_High,15)
  236. count = 15;
  237. };
  238. class _xx_SWOP_DC15ABlasterRifle_Mag
  239. {
  240. magazine = macro_new_mag(DC15a_Med,30)
  241. count = 20;
  242. };
  243. class _xx_SWOP_DC15ABlasterRifle_Low_Mag
  244. {
  245. magazine = macro_new_mag(DC15a_Low,60)
  246. count = 20;
  247. };
  248. class _xx_DC15s_Carbine
  249. {
  250. magazine = macro_new_mag(DC15s,60)
  251. count = 30;
  252. };
  253. class _xx_300Rnd_BlasterLaser_Belt
  254. {
  255. magazine = macro_new_mag(z6,400);
  256. count = 5;
  257. };
  258. class _xx_RD501_DC15ABlasterRifleLE_Full_Mag
  259. {
  260. magazine = macro_new_mag(DC15a_LE,15)
  261. count = 10;
  262. };
  263. class _xx_SWOP_DC15ABlasterRifle_Low_highcap_box_Mag
  264. {
  265. magazine = macro_new_mag(DC15a_box_mag,240);
  266. count = 10;
  267. };
  268. class _xx_DCStun_Mag
  269. {
  270. magazine = "DCStun_Mag";
  271. count = 15;
  272. };
  273. class _xx_ACE_HuntIR_M203
  274. {
  275. magazine = "ACE_HuntIR_M203";
  276. count = 10;
  277. };
  278. class _xx_5Rnd_HE_Grenade_DC15A
  279. {
  280. magazine = macro_new_mag(HE_GL,3)
  281. count = 10;
  282. };
  283. class _xx_1Rnd_AT_Grenade_DC15A
  284. {
  285. magazine = macro_new_mag(AT_GL,2)
  286. count = 10;
  287. };
  288. class _xx_RocketHH15CloneHEATFF_Mag_RD501
  289. {
  290. magazine = macro_new_mag(RPS_AT,1);
  291. count = 10;
  292. };
  293. class _xx_RocketHH15CloneHEATFF_Mag_RD5012
  294. {
  295. magazine = macro_new_mag(RPS_AA,1)
  296. count = 10;
  297. };
  298. class _xx_C12_Remote_Mag
  299. {
  300. magazine = "C12_Remote_Mag";
  301. count = 2;
  302. };
  303. };
  304. class TransportItems
  305. {
  306. class _xx_swop_dc15a_zoomholoscope_rd501
  307. {
  308. name = macro_new_weapon(scope,dc_15a_acog);
  309. count = 2;
  310. };
  311. class _xx_swop_dc15a_zoomscopex6range_rd501
  312. {
  313. name = macro_new_weapon(scope,dc_15a_x4_x8);
  314. count = 2;
  315. };
  316. class _xx_swop_dc15a_zoomscope_rd501
  317. {
  318. name = macro_new_weapon(scope,dc_15a_x4);
  319. count = 2;
  320. };
  321. class _xx_SW_SquadShield_Mag
  322. {
  323. name = "SW_SquadShield_Mag";
  324. count = 2;
  325. };
  326. class _xx_ACE_HuntIR_monitor
  327. {
  328. name = "ACE_HuntIR_monitor";
  329. count = 1;
  330. };
  331. };