config.cpp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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. };
  52. class macro_new_vehicle(z95,blue):3as_Z95_base
  53. {
  54. scope=2;
  55. scopeCurator=2;
  56. forceInGarage = 1;
  57. side=1;
  58. stallSpeed=5;
  59. displayName = "Republic Z95 'Headhunter'"
  60. author = "RD501"
  61. faction = macro_republic_faction
  62. editorSubcategory = macro_editor_cat_air(Republic_vtol)
  63. vehicleClass = macro_editor_vehicle_type_air(Republic)
  64. /*aileronCoef[]={0.5,0.69999999,1,1,1.2,1.15,1.1};*/
  65. aileronSensitivity=2.9;
  66. aileronControlsSensitivityCoef=4;
  67. #include "../../common/universal_mfd.hpp"
  68. #include "../../common/common_pilotCamera.hpp"
  69. weapons[]=
  70. {
  71. "CMFlareLauncher",
  72. "Laserdesignator_pilotCamera"
  73. };
  74. magazines[]=
  75. {
  76. "Laserbatteries",
  77. "120Rnd_CMFlare_Chaff_Magazine",
  78. "120Rnd_CMFlare_Chaff_Magazine",
  79. "120Rnd_CMFlare_Chaff_Magazine",
  80. "120Rnd_CMFlare_Chaff_Magazine"
  81. };
  82. hiddenselections[]=
  83. {
  84. "camo",
  85. "camo1",
  86. "camo2"
  87. };
  88. hiddenselectionstextures[]=
  89. {
  90. "3AS\3as_Z95\Data\blue_co.paa",
  91. "3AS\3as_Z95\Data\cockpit_co.paa",
  92. "3AS\3as_saber\data\glass\glass_ca"
  93. };
  94. class Components: Components
  95. {
  96. class TransportPylonsComponent:TransportPylonsComponent
  97. {
  98. class pylons
  99. {
  100. class pylons1
  101. {
  102. hardpoints[]=
  103. {
  104. "RD501_Universal_rail"
  105. };
  106. attachment=macro_new_mag(pylon_agm,6)
  107. priority=10;
  108. maxweight=300;
  109. UIposition[]={0.60000002,0.44999999};
  110. };
  111. class pylons2: pylons1
  112. {
  113. UIposition[]={0.050000001,0.44999999};
  114. mirroredMissilePos=1;
  115. };
  116. class pylons3: pylons1
  117. {
  118. hardpoints[]=
  119. {
  120. "RD501_Universal_rail"
  121. };
  122. attachment=macro_new_mag(pylon_agm,6)
  123. priority=9;
  124. maxweight=2500;
  125. UIposition[]={0.55000001,0.34999999};
  126. };
  127. class pylons4: pylons3
  128. {
  129. hardpoints[]=
  130. {
  131. "RD501_Universal_rail"
  132. };
  133. attachment=macro_new_mag(pylon_agm,6)
  134. priority=13;
  135. maxweight=5000;
  136. UIposition[]={0.1,0.34999999};
  137. mirroredMissilePos=3;
  138. };
  139. class pylons5: pylons1
  140. {
  141. hardpoints[]=
  142. {
  143. "RD501_Universal_rail"
  144. };
  145. attachment=macro_new_mag(pylon_agm,6)
  146. priority=7;
  147. maxweight=5000;
  148. UIposition[]={0.5,0.25};
  149. };
  150. class pylons6: pylons5
  151. {
  152. hardpoints[]=
  153. {
  154. "RD501_Universal_rail"
  155. };
  156. attachment=macro_new_mag(pylon_agm,6)
  157. priority=12;
  158. maxweight=5000;
  159. UIposition[]={0.15000001,0.25};
  160. mirroredMissilePos=5;
  161. };
  162. class Pylons7
  163. {
  164. hardpoints[]=
  165. {
  166. "RD501_Gun_rail"
  167. };
  168. priority=5;
  169. attachment=macro_new_mag(pylon_voltic,200)
  170. maxweight=4000;
  171. UIposition[]={0.32499999,0.15000001};
  172. };
  173. };
  174. }
  175. };
  176. };
  177. };