config.cpp 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. #include "../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(staticturret)
  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(stat,reweb),
  15. macro_new_vehicle(stat,ragl40),
  16. macro_new_vehicle(stat,Striker),
  17. macro_new_vehicle(stat,Railgun)
  18. };
  19. weapons[]=
  20. {
  21. };
  22. };
  23. };
  24. class CfgVehicles
  25. {
  26. class B_static_AT_F;
  27. class StaticMGWeapon;
  28. class 3AS_HeavyRepeater_base:StaticMGWeapon
  29. {
  30. class Turrets;
  31. };
  32. class 3AS_HeavyRepeater_Unarmoured: 3AS_HeavyRepeater_base
  33. {
  34. class Turrets: Turrets
  35. {
  36. class MainTurret;
  37. };
  38. };
  39. class 3AS_HeavyRepeater_Armoured:3AS_HeavyRepeater_base
  40. {
  41. class Turrets: Turrets
  42. {
  43. class MainTurret;
  44. };
  45. };
  46. class StaticWeapon;
  47. class StaticAAWeapon:StaticWeapon
  48. {
  49. class Turrets;
  50. };
  51. class OPTRE_LAU65D_pod:StaticAAWeapon
  52. {
  53. class Turrets: Turrets
  54. {
  55. class MainTurret;
  56. };
  57. };
  58. class OPTRE_Static_Gauss;
  59. class macro_new_vehicle(stat,reweb): 3AS_HeavyRepeater_Unarmoured
  60. {
  61. scope = 2;
  62. author="501st Aux Mod";
  63. displayName = "Republic Heavy E-Web";
  64. faction = macro_republic_faction
  65. editorSubcategory = macro_editor_cat(turrets)
  66. vehicleClass = macro_editor_vehicle_type(turrets)
  67. class Turrets: Turrets
  68. {
  69. class MainTurret: MainTurret
  70. {
  71. weapons[]=
  72. {
  73. macro_new_weapon(stat,eweb)
  74. };
  75. magazines[]=
  76. {
  77. macro_new_mag(eweb,600)
  78. };
  79. };
  80. };
  81. };
  82. class macro_new_vehicle(stat,ragl40): 3AS_HeavyRepeater_Armoured
  83. {
  84. scope = 2;
  85. author="501st Aux Mod";
  86. displayName = "RAGL40 'Boomer'";
  87. faction = macro_republic_faction
  88. editorSubcategory = macro_editor_cat(turrets)
  89. vehicleClass = macro_editor_vehicle_type(turrets)
  90. class Turrets: Turrets
  91. {
  92. class MainTurret: MainTurret
  93. {
  94. weapons[]=
  95. {
  96. macro_new_weapon(stat,ragl40)
  97. };
  98. magazines[]=
  99. {
  100. macro_new_mag(ragl40he,40)
  101. };
  102. };
  103. };
  104. };
  105. class macro_new_vehicle(stat,Striker): OPTRE_LAU65D_pod
  106. {
  107. scope = 2;
  108. author="501st Aux Mod";
  109. displayName = "AAP4 'Striker'";
  110. faction = macro_republic_faction
  111. editorSubcategory = macro_editor_cat(turrets)
  112. vehicleClass = macro_editor_vehicle_type(turrets)
  113. _generalMacro = "B_static_AT_F";
  114. radarType = 0;
  115. class Turrets: Turrets
  116. {
  117. class MainTurret: MainTurret
  118. {
  119. gunnerForceOptics = 0;
  120. turretInfoType = "ACE_RscOptics_javelin"; // Inteface
  121. gunnerOpticsModel = "\z\ace\addons\javelin\data\reticle_titan.p3d"; // Optics model
  122. weapons[]=
  123. {
  124. macro_new_weapon(stat,aap4)
  125. };
  126. magazines[]=
  127. {
  128. macro_new_mag(aap,4)
  129. };
  130. };
  131. };
  132. };
  133. class macro_new_vehicle(stat,Railgun): OPTRE_Static_Gauss
  134. {
  135. scope = 2;
  136. author="501st Aux Mod";
  137. displayName = "MAR1 'Driver'";
  138. faction = macro_republic_faction
  139. editorSubcategory = macro_editor_cat(turrets)
  140. vehicleClass = macro_editor_vehicle_type(turrets)
  141. hiddenSelectionsTextures[]=
  142. {
  143. "RD501_Vehicles\textures\static\warthog_addons_grey_co.paa"
  144. };
  145. };
  146. };