config.cpp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class RD501_patch_Z95
  5. {
  6. addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
  7. requiredAddons[]=
  8. {
  9. RD501_patch_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_QUOTE(macro_faction(republic)));
  63. editorSubcategory = MACRO_QUOTE(macro_editor_cat_air(Republic_vtol));
  64. vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type_air(Republic));
  65. RD501_magclamp_large_offset[]={0.0,0.0,-2.0};
  66. 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};
  67. draconicForceYCoef=6;
  68. 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};
  69. aileronSensitivity=2.9;
  70. aileronControlsSensitivityCoef=4;
  71. #include "../../common/universal_mfd.hpp"
  72. class ACE_SelfActions: ACE_SelfActions
  73. {
  74. #include "../../common/universal_hud_color_changer.hpp"
  75. };
  76. #include "../../common/common_pilotCamera.hpp"
  77. weaponLockSystem = "2+4+8";
  78. weapons[]=
  79. {
  80. "CMFlareLauncher",
  81. "Laserdesignator_pilotCamera",
  82. //macro_new_weapon(generic,green_dual_aircraft_laser)
  83. };
  84. magazines[]=
  85. {
  86. "Laserbatteries",
  87. "120Rnd_CMFlare_Chaff_Magazine",
  88. "120Rnd_CMFlare_Chaff_Magazine",
  89. "120Rnd_CMFlare_Chaff_Magazine",
  90. "120Rnd_CMFlare_Chaff_Magazine",
  91. //macro_new_mag(pylon_generic_aircraft_gun_asg,3000)
  92. };
  93. hiddenselections[]=
  94. {
  95. "camo",
  96. "camo1",
  97. "camo2"
  98. };
  99. hiddenselectionstextures[]=
  100. {
  101. "3AS\3as_Z95\Data\blue_co.paa",
  102. "3AS\3as_Z95\Data\cockpit_co.paa",
  103. "3AS\3as_saber\data\glass\glass_ca"
  104. };
  105. class Components: Components
  106. {
  107. class TransportPylonsComponent:TransportPylonsComponent
  108. {
  109. class pylons
  110. {
  111. class pylons1
  112. {
  113. hardpoints[]=
  114. {
  115. "RD501_Universal_rail"
  116. };
  117. attachment=MACRO_QUOTE(macro_new_mag(pylon_agm,6));
  118. priority=10;
  119. maxweight=300;
  120. UIposition[]={0.60000002,0.44999999};
  121. };
  122. class pylons2: pylons1
  123. {
  124. UIposition[]={0.050000001,0.44999999};
  125. mirroredMissilePos=1;
  126. };
  127. class pylons3: pylons1
  128. {
  129. hardpoints[]=
  130. {
  131. "RD501_Universal_rail"
  132. };
  133. attachment=MACRO_QUOTE(macro_new_mag(pylon_agm,6));
  134. priority=9;
  135. maxweight=2500;
  136. UIposition[]={0.55000001,0.34999999};
  137. };
  138. class pylons4: pylons3
  139. {
  140. hardpoints[]=
  141. {
  142. "RD501_Universal_rail"
  143. };
  144. attachment=MACRO_QUOTE(macro_new_mag(pylon_agm,6));
  145. priority=13;
  146. maxweight=5000;
  147. UIposition[]={0.1,0.34999999};
  148. mirroredMissilePos=3;
  149. };
  150. class pylons5: pylons1
  151. {
  152. hardpoints[]=
  153. {
  154. "RD501_Universal_rail"
  155. };
  156. attachment=MACRO_QUOTE(macro_new_mag(pylon_agm,6));
  157. priority=7;
  158. maxweight=5000;
  159. UIposition[]={0.5,0.25};
  160. };
  161. class pylons6: pylons5
  162. {
  163. hardpoints[]=
  164. {
  165. "RD501_Universal_rail"
  166. };
  167. attachment=MACRO_QUOTE(macro_new_mag(pylon_agm,6));
  168. priority=12;
  169. maxweight=5000;
  170. UIposition[]={0.15000001,0.25};
  171. mirroredMissilePos=5;
  172. };
  173. class Pylons7
  174. {
  175. hardpoints[]=
  176. {
  177. "RD501_Gun_rail"
  178. };
  179. priority=5;
  180. attachment=MACRO_QUOTE(macro_new_mag(pylon_voltic,200));
  181. maxweight=4000;
  182. UIposition[]={0.32499999,0.15000001};
  183. };
  184. };
  185. };
  186. };
  187. };
  188. };