common_stuff.hpp 7.7 KB

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