common_stuff_tcw.hpp 4.6 KB

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