config.cpp 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(Z95)
  5. {
  6. addonRootClass=macro_patch_name(vehicles)
  7. requiredAddons[]=
  8. {
  9. macro_patch_name(vehicles)
  10. };
  11. requiredVersion=0.1;
  12. units[]=
  13. {
  14. macro_new_vehicle(z95,blue)
  15. };
  16. weapons[]=
  17. {
  18. };
  19. };
  20. };
  21. class CfgVehicles
  22. {
  23. /*class Plane_Base_F: Plane
  24. {
  25. class AnimationSources;
  26. class Components;
  27. };*/
  28. class Plane_Fighter_03_base_F;/*: Plane_Base_F
  29. {
  30. class Turrets
  31. {
  32. class MainTurret;
  33. };
  34. };*/
  35. class Plane_Fighter_03_dynamicLoadout_base_F:Plane_Fighter_03_base_F
  36. {
  37. class Components;
  38. /*class Turrets: Turrets
  39. {
  40. class MainTurret: MainTurret
  41. {
  42. };
  43. };*/
  44. };
  45. class 3as_Z95_base: Plane_Fighter_03_dynamicLoadout_base_F
  46. {
  47. class Components: Components
  48. {
  49. class TransportPylonsComponent;
  50. };
  51. class ACE_SelfActions;
  52. };
  53. class macro_new_vehicle(z95,blue):3as_Z95_base
  54. {
  55. scope=2;
  56. scopeCurator=2;
  57. forceInGarage = 1;
  58. side=1;
  59. stallSpeed=5;
  60. displayName = "Republic Z95 'Headhunter'"
  61. author = "RD501"
  62. faction = macro_republic_faction
  63. editorSubcategory = macro_editor_cat_air(Republic_vtol)
  64. vehicleClass = macro_editor_vehicle_type_air(Republic)
  65. RD501_magclamp_large_offset[]={0.0,0.0,-2.0};
  66. stallSpeed=5;
  67. draconicTorqueYCoef[]={1.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
  68. draconicForceYCoef=6;
  69. envelope[] = {0.5,2.11,2.43,1.97,1.72,2.69,3.87,5.27,6.89,8.72,9.7,9.6,9.2,8.5,8.2,8};
  70. aileronSensitivity=2.9;
  71. aileronControlsSensitivityCoef=4;
  72. #include "../../common/universal_mfd.hpp"
  73. class ACE_SelfActions: ACE_SelfActions
  74. {
  75. #include "../../common/universal_hud_color_changer.hpp"
  76. };
  77. #include "../../common/common_pilotCamera.hpp"
  78. weaponLockSystem = "2+4+8";
  79. weapons[]=
  80. {
  81. "CMFlareLauncher",
  82. "Laserdesignator_pilotCamera",
  83. //macro_new_weapon(generic,green_dual_aircraft_laser)
  84. };
  85. magazines[]=
  86. {
  87. "Laserbatteries",
  88. "120Rnd_CMFlare_Chaff_Magazine",
  89. "120Rnd_CMFlare_Chaff_Magazine",
  90. "120Rnd_CMFlare_Chaff_Magazine",
  91. "120Rnd_CMFlare_Chaff_Magazine",
  92. //macro_new_mag(pylon_generic_aircraft_gun_asg,3000)
  93. };
  94. hiddenselections[]=
  95. {
  96. "camo",
  97. "camo1",
  98. "camo2"
  99. };
  100. hiddenselectionstextures[]=
  101. {
  102. "3AS\3as_Z95\Data\blue_co.paa",
  103. "3AS\3as_Z95\Data\cockpit_co.paa",
  104. "3AS\3as_saber\data\glass\glass_ca"
  105. };
  106. class Components: Components
  107. {
  108. class TransportPylonsComponent:TransportPylonsComponent
  109. {
  110. class pylons
  111. {
  112. class pylons1
  113. {
  114. hardpoints[]=
  115. {
  116. "RD501_Universal_rail"
  117. };
  118. attachment=macro_new_mag(pylon_agm,6)
  119. priority=10;
  120. maxweight=300;
  121. UIposition[]={0.60000002,0.44999999};
  122. };
  123. class pylons2: pylons1
  124. {
  125. UIposition[]={0.050000001,0.44999999};
  126. mirroredMissilePos=1;
  127. };
  128. class pylons3: pylons1
  129. {
  130. hardpoints[]=
  131. {
  132. "RD501_Universal_rail"
  133. };
  134. attachment=macro_new_mag(pylon_agm,6)
  135. priority=9;
  136. maxweight=2500;
  137. UIposition[]={0.55000001,0.34999999};
  138. };
  139. class pylons4: pylons3
  140. {
  141. hardpoints[]=
  142. {
  143. "RD501_Universal_rail"
  144. };
  145. attachment=macro_new_mag(pylon_agm,6)
  146. priority=13;
  147. maxweight=5000;
  148. UIposition[]={0.1,0.34999999};
  149. mirroredMissilePos=3;
  150. };
  151. class pylons5: pylons1
  152. {
  153. hardpoints[]=
  154. {
  155. "RD501_Universal_rail"
  156. };
  157. attachment=macro_new_mag(pylon_agm,6)
  158. priority=7;
  159. maxweight=5000;
  160. UIposition[]={0.5,0.25};
  161. };
  162. class pylons6: pylons5
  163. {
  164. hardpoints[]=
  165. {
  166. "RD501_Universal_rail"
  167. };
  168. attachment=macro_new_mag(pylon_agm,6)
  169. priority=12;
  170. maxweight=5000;
  171. UIposition[]={0.15000001,0.25};
  172. mirroredMissilePos=5;
  173. };
  174. class Pylons7
  175. {
  176. hardpoints[]=
  177. {
  178. "RD501_Gun_rail"
  179. };
  180. priority=5;
  181. attachment=macro_new_mag(pylon_voltic,200)
  182. maxweight=4000;
  183. UIposition[]={0.32499999,0.15000001};
  184. };
  185. };
  186. }
  187. };
  188. };
  189. };