common_stuff_tcw.hpp 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. class EventHandlers : DefaultEventhandlers
  2. {
  3. fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');_this execVM '\RD501_Vehicles\air\LAAT\fired_laser.sqf';";
  4. init = "[_this select 0] execVM 'RD501_Main\functions\autocrate\autocrate.sqf';";
  5. };
  6. #include "../../common/helicopter_mfd.hpp"
  7. class ACE_SelfActions: ACE_SelfActions
  8. {
  9. class ACE_Passengers
  10. {
  11. condition = "alive _target";
  12. displayName = "Passengers";
  13. insertChildren = "_this call ace_interaction_fnc_addPassengersActions";
  14. statement = "";
  15. };
  16. #include "../../common/universal_hud_color_changer.hpp"
  17. };
  18. scope=2;
  19. author="RD501";
  20. forceInGarage = 1;
  21. faction = macro_republic_faction
  22. editorSubcategory = macro_editor_cat_air(Republic_heli)
  23. vehicleClass = macro_editor_vehicle_type_air(Republic)
  24. weaponLockSystem = "2+4+8";
  25. RD501_magclamp_small_forbidden=1;
  26. RD501_magclamp_large_offset[]={0.0,1.6,-7.3};
  27. ///Flight model
  28. liftForceCoef = 2;
  29. bodyFrictionCoef = 15;//25.5;//0.6777;
  30. cyclicAsideForceCoef = 4*1.2;
  31. cyclicForwardForceCoef = 2*1.2;
  32. maxSpeed=200;
  33. fuelCapacity = 2800;
  34. fuelConsumptionRate = 0.8;
  35. ///
  36. ///dmg properties
  37. armor=500;
  38. crewCrashProtection=0;
  39. epeImpulseDamageCoef=0;
  40. ///
  41. weapons[] = {
  42. macro_basic_air_weapons,
  43. macro_new_weapon(generic,republic_aircraft_cannon),
  44. macro_new_weapon(cannon,laat),
  45. macro_new_weapon(wynd,lgm),
  46. macro_new_weapon(wynd,a2a),
  47. macro_new_weapon(wynd,agm),
  48. "SmokeLauncher",
  49. };
  50. magazines[] = {
  51. macro_basic_air_mags,
  52. macro_new_mag(generic_aircraft_gun_green,1000),
  53. macro_new_mag(laat_cannon,100),
  54. macro_new_mag(a2a,4),
  55. macro_new_mag(agm,6),
  56. macro_new_mag(agm,6),
  57. macro_new_mag(lgm,4),
  58. "SmokeLauncherMag",
  59. "SmokeLauncherMag",
  60. "SmokeLauncherMag",
  61. "SmokeLauncherMag",
  62. };
  63. smokeLauncherGrenadeCount=48;
  64. smokeLauncherAngle=360;
  65. smokeLauncherVelocity=14;
  66. #include "../../common/common_pilotCamera.hpp"
  67. class ViewPilot: ViewPilot
  68. {
  69. initAngleX = 0;
  70. };
  71. class Components: Components
  72. {
  73. class SensorsManagerComponent
  74. {
  75. class Components
  76. {
  77. class IRSensorComponent: SensorTemplateIR
  78. {
  79. class AirTarget
  80. {
  81. minRange=500;
  82. maxRange=4000;
  83. objectDistanceLimitCoef=-1;
  84. viewDistanceLimitCoef=1;
  85. };
  86. class GroundTarget
  87. {
  88. minRange=500;
  89. maxRange=3500;
  90. objectDistanceLimitCoef=1;
  91. viewDistanceLimitCoef=1;
  92. };
  93. typeRecognitionDistance=7500;
  94. maxTrackableSpeed=600;
  95. angleRangeHorizontal=60;
  96. angleRangeVertical=40;
  97. animDirection="mainGun";
  98. aimDown=-0.5;
  99. };
  100. class ActiveRadarSensorComponent: SensorTemplateActiveRadar
  101. {
  102. class AirTarget
  103. {
  104. minRange=10000;
  105. maxRange=10000;
  106. objectDistanceLimitCoef=-1;
  107. viewDistanceLimitCoef=-1;
  108. };
  109. class GroundTarget
  110. {
  111. minRange=7000;
  112. maxRange=7000;
  113. objectDistanceLimitCoef=-1;
  114. viewDistanceLimitCoef=-1;
  115. };
  116. typeRecognitionDistance=16000;
  117. angleRangeHorizontal=360;
  118. angleRangeVertical=180;
  119. aimDown=0;
  120. maxTrackableSpeed=1388.89;
  121. };
  122. };
  123. };
  124. };
  125. //transport
  126. class TransportWeapons
  127. {
  128. class _transport_dc15a
  129. {
  130. weapon = macro_new_weapon(DC,15a)
  131. count = 5;
  132. };
  133. class _transport_dc15s
  134. {
  135. weapon = macro_new_weapon(DC,r15s)
  136. count = 5;
  137. };
  138. class _transport_dc15c
  139. {
  140. weapon = macro_new_weapon(DC,15c)
  141. count = 5;
  142. };
  143. class _transport_dc15l
  144. {
  145. weapon = macro_new_weapon(DC,15l)
  146. count = 2;
  147. };
  148. class _transport_z6
  149. {
  150. weapon = macro_new_weapon_nofam(rz6)
  151. count = 2;
  152. };
  153. class _transport_dc15gl
  154. {
  155. weapon = macro_new_weapon(DC,15cgl)
  156. count = 2;
  157. };
  158. class _transport_valken38x
  159. {
  160. weapon = macro_new_weapon_nofam(valken38x)
  161. count = 2;
  162. };
  163. class _transport_rps6
  164. {
  165. weapon = macro_new_weapon(launcher,rps6)
  166. count = 2;
  167. };
  168. class _transport_rps1
  169. {
  170. weapon = macro_new_weapon(launcher,rps1)
  171. count = 2;
  172. };
  173. class _transport_plx
  174. {
  175. weapon = macro_new_weapon(Launcher,PLX1)
  176. count = 1;
  177. };
  178. class _transport_z1000
  179. {
  180. weapon = macro_new_weapon_nofam(z1000)
  181. count = 1;
  182. };
  183. class _transport_dc15x
  184. {
  185. weapon = macro_new_weapon(DC,r15x)
  186. count = 1;
  187. };
  188. class _transport_rgl6
  189. {
  190. weapon = macro_new_weapon_nofam(rgl6)
  191. count = 1;
  192. };
  193. };
  194. class TransportMagazines
  195. {
  196. class transport_2mw30
  197. {
  198. magazine = macro_new_mag(2mw,30);
  199. count = 15;
  200. };
  201. class transport_5mw15
  202. {
  203. magazine = macro_new_mag(5mw,10);
  204. count = 15;
  205. };
  206. class transport_5mw60
  207. {
  208. magazine = macro_new_mag(5mw,60)
  209. count = 60;
  210. };
  211. class transport_10mw30
  212. {
  213. magazine = macro_new_mag(10mw,30);
  214. count = 60;
  215. };
  216. class transport_10mw400
  217. {
  218. magazine = macro_new_mag(10mw,400);
  219. count = 15;
  220. };
  221. class _transport_20mw20
  222. {
  223. magazine = macro_new_mag(20mw,20);
  224. count = 20;
  225. };
  226. class _transport_20mwup20
  227. {
  228. magazine = macro_new_mag(20mwup,20);
  229. count = 40;
  230. };
  231. class _transport_20mwdp20
  232. {
  233. magazine = macro_new_mag(20mwdp,20);
  234. count = 40;
  235. };
  236. class _transport_20mw240
  237. {
  238. magazine = macro_new_mag(20mw,240);
  239. count = 20;
  240. };
  241. class _transport_30mw10
  242. {
  243. magazine = macro_new_mag(30mw,10);
  244. count = 15;
  245. }
  246. class _transport_30mw7
  247. {
  248. magazine = macro_new_mag(30mw,7)
  249. count = 15;
  250. };
  251. class _transport_40mw5
  252. {
  253. magazine = macro_new_mag(40mw,5)
  254. count = 10;
  255. };
  256. class _transport_stun5
  257. {
  258. magazine = macro_new_mag(stun,5)
  259. count = 20;
  260. };
  261. class _transport_launcher_AT_mags
  262. {
  263. magazine = macro_new_mag(RPS_AT,1)
  264. count = 20;
  265. };
  266. class _transport_launcher_AA_mags
  267. {
  268. magazine = macro_new_mag(RPS_AA,1)
  269. count = 20;
  270. };
  271. class _transport_he3
  272. {
  273. magazine = macro_new_mag(UGL_HE,3);
  274. count = 15;
  275. };
  276. class _transport_ap2
  277. {
  278. magazine = macro_new_mag(UGL_AP,2);
  279. count = 15;
  280. };
  281. class _transport_emp1
  282. {
  283. magazine = macro_new_mag(UGL_EMP,1);
  284. count = 3;
  285. };
  286. class _transport_HuntIR_M203
  287. {
  288. magazine = "ACE_HuntIR_M203";
  289. count = 15;
  290. };
  291. class _transport_C12_Remote_Mag
  292. {
  293. magazine = "C12_Remote_Mag";
  294. count = 2;
  295. };
  296. };
  297. class TransportItems
  298. {
  299. class _xx_RD_SquadShield_Mag
  300. {
  301. name = macro_new_mag(squad_shield_sigma,1)
  302. count = 2;
  303. };
  304. class _xx_ACE_HuntIR_monitor
  305. {
  306. name = "ACE_HuntIR_monitor";
  307. count = 1;
  308. };
  309. };