common_stuff_tcw.hpp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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. scope=2;
  7. author="RD501";
  8. forceInGarage = 1;
  9. faction = macro_republic_faction
  10. editorSubcategory = macro_editor_cat_air(Republic_heli)
  11. vehicleClass = macro_editor_vehicle_type_air(Republic)
  12. weaponLockSystem = "2+4+8";
  13. RD501_magclamp_small_forbidden=1;
  14. RD501_magclamp_large_offset[]={0.0,1.6,-7.3};
  15. ///Flight model
  16. liftForceCoef = 2;
  17. bodyFrictionCoef = 15;//25.5;//0.6777;
  18. cyclicAsideForceCoef = 4*1.2;
  19. cyclicForwardForceCoef = 2*1.2;
  20. maxSpeed=200;
  21. fuelCapacity = 700;
  22. fuelConsumptionRate = 0.2;
  23. ///
  24. ///dmg properties
  25. armor=500;
  26. crewCrashProtection=0;
  27. epeImpulseDamageCoef=0;
  28. ///
  29. weapons[] = {
  30. macro_basic_air_weapons,
  31. macro_new_weapon(generic,republic_aircraft_cannon),
  32. macro_new_weapon(cannon,laat),
  33. macro_new_weapon(wynd,lgm),
  34. macro_new_weapon(wynd,a2a),
  35. macro_new_weapon(wynd,agm),
  36. "SmokeLauncher",
  37. };
  38. magazines[] = {
  39. macro_basic_air_mags,
  40. macro_new_mag(generic_aircraft_gun_green,1000),
  41. macro_new_mag(laat_cannon,100),
  42. macro_new_mag(a2a,4),
  43. macro_new_mag(agm,6),
  44. macro_new_mag(agm,6),
  45. macro_new_mag(lgm,4),
  46. "SmokeLauncherMag",
  47. "SmokeLauncherMag",
  48. "SmokeLauncherMag",
  49. "SmokeLauncherMag",
  50. };
  51. smokeLauncherGrenadeCount=48;
  52. smokeLauncherAngle=360;
  53. smokeLauncherVelocity=14;
  54. #include "../../common/common_pilotCamera.hpp"
  55. class ViewPilot: ViewPilot
  56. {
  57. initAngleX = 0;
  58. };
  59. //transport
  60. class TransportWeapons
  61. {
  62. class _transport_dc15a
  63. {
  64. weapon = macro_new_weapon(DC,15a)
  65. count = 5;
  66. };
  67. class _transport_dc15s
  68. {
  69. weapon = macro_new_weapon(DC,r15s)
  70. count = 5;
  71. };
  72. class _transport_dc15c
  73. {
  74. weapon = macro_new_weapon(DC,15c)
  75. count = 5;
  76. };
  77. class _transport_dc15l
  78. {
  79. weapon = macro_new_weapon(DC,15l)
  80. count = 2;
  81. };
  82. class _transport_z6
  83. {
  84. weapon = macro_new_weapon_nofam(rz6)
  85. count = 2;
  86. };
  87. class _transport_dc15gl
  88. {
  89. weapon = macro_new_weapon(DC,15cgl)
  90. count = 2;
  91. };
  92. class _transport_valken38x
  93. {
  94. weapon = macro_new_weapon_nofam(valken38x)
  95. count = 2;
  96. };
  97. class _transport_rps6
  98. {
  99. weapon = macro_new_weapon(launcher,rps6)
  100. count = 2;
  101. };
  102. class _transport_rps1
  103. {
  104. weapon = macro_new_weapon(launcher,rps1)
  105. count = 2;
  106. };
  107. class _transport_plx
  108. {
  109. weapon = macro_new_weapon(Launcher,PLX1)
  110. count = 1;
  111. };
  112. class _transport_z1000
  113. {
  114. weapon = macro_new_weapon_nofam(z1000)
  115. count = 1;
  116. };
  117. class _transport_dc15x
  118. {
  119. weapon = macro_new_weapon(DC,r15x)
  120. count = 1;
  121. };
  122. class _transport_rgl6
  123. {
  124. weapon = macro_new_weapon_nofam(rgl6)
  125. count = 1;
  126. };
  127. };
  128. class TransportMagazines
  129. {
  130. class transport_2mw30
  131. {
  132. magazine = macro_new_mag(2mw,30);
  133. count = 15;
  134. };
  135. class transport_5mw15
  136. {
  137. magazine = macro_new_mag(5mw,10);
  138. count = 15;
  139. };
  140. class transport_5mw60
  141. {
  142. magazine = macro_new_mag(5mw,60)
  143. count = 60;
  144. };
  145. class transport_10mw30
  146. {
  147. magazine = macro_new_mag(10mw,30);
  148. count = 60;
  149. };
  150. class transport_10mw400
  151. {
  152. magazine = macro_new_mag(10mw,400);
  153. count = 15;
  154. };
  155. class _transport_20mw20
  156. {
  157. magazine = macro_new_mag(20mw,20);
  158. count = 20;
  159. };
  160. class _transport_20mwup20
  161. {
  162. magazine = macro_new_mag(20mwup,20);
  163. count = 40;
  164. };
  165. class _transport_20mwdp20
  166. {
  167. magazine = macro_new_mag(20mwdp,20);
  168. count = 40;
  169. };
  170. class _transport_20mw240
  171. {
  172. magazine = macro_new_mag(20mw,240);
  173. count = 20;
  174. };
  175. class _transport_30mw10
  176. {
  177. magazine = macro_new_mag(30mw,10);
  178. count = 15;
  179. }
  180. class _transport_30mw7
  181. {
  182. magazine = macro_new_mag(30mw,7)
  183. count = 15;
  184. };
  185. class _transport_40mw5
  186. {
  187. magazine = macro_new_mag(40mw,5)
  188. count = 10;
  189. };
  190. class _transport_stun5
  191. {
  192. magazine = macro_new_mag(stun,5)
  193. count = 20;
  194. };
  195. class _transport_launcher_AT_mags
  196. {
  197. magazine = macro_new_mag(RPS_AT,1)
  198. count = 20;
  199. };
  200. class _transport_launcher_AA_mags
  201. {
  202. magazine = macro_new_mag(RPS_AA,1)
  203. count = 20;
  204. };
  205. class _transport_he3
  206. {
  207. magazine = macro_new_mag(UGL_HE,3);
  208. count = 15;
  209. };
  210. class _transport_ap2
  211. {
  212. magazine = macro_new_mag(UGL_AP,2);
  213. count = 15;
  214. };
  215. class _transport_emp1
  216. {
  217. magazine = macro_new_mag(UGL_EMP,1);
  218. count = 3;
  219. };
  220. class _transport_HuntIR_M203
  221. {
  222. magazine = "ACE_HuntIR_M203";
  223. count = 15;
  224. };
  225. class _transport_C12_Remote_Mag
  226. {
  227. magazine = "C12_Remote_Mag";
  228. count = 2;
  229. };
  230. };
  231. class TransportItems
  232. {
  233. class _xx_RD_SquadShield_Mag
  234. {
  235. name = macro_new_mag(squad_shield_sigma,1)
  236. count = 2;
  237. };
  238. class _xx_ACE_HuntIR_monitor
  239. {
  240. name = "ACE_HuntIR_monitor";
  241. count = 1;
  242. };
  243. };