config.cpp 3.5 KB

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