config.cpp 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. #include "../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(zeus)
  5. {
  6. requiredAddons[] = {
  7. macro_lvl2_req
  8. };
  9. requiredVersion = 0.1;
  10. units[] = {
  11. macro_new_ordnance(IonBomb),
  12. macro_new_ordnance(AV7),
  13. macro_new_ordnance(AV7_Cluster),
  14. macro_new_ordnance(ModuleSquadShield),
  15. macro_new_ordnance(ModuleDioxis),
  16. macro_new_ordnance(ModuleShadow)
  17. };
  18. weapons[] = {};
  19. };
  20. };
  21. class CfgVehicles
  22. {
  23. class ModuleOrdnance_F;
  24. class ModuleChemlight_F;
  25. class macro_new_ordnance(ModuleSquadShield): ModuleChemlight_F
  26. {
  27. author = "RD501";
  28. _generalMacro = macro_new_ordnance(ModuleSquadShield)
  29. scope = 1;
  30. scopeCurator = 2;
  31. category = "Ordnance";
  32. displayName = "Squad Shield";
  33. portrait = "RD501_Zeus\icons\wide_kite_64.paa";
  34. ammo = "SW_SquadShield_ammoCARGA";
  35. delete Arguments;
  36. };
  37. class macro_new_ordnance(ModuleDioxis): ModuleChemlight_F
  38. {
  39. author = "RD501";
  40. _generalMacro = macro_new_ordnance(ModuleDioxis)
  41. scope = 1;
  42. scopeCurator = 2;
  43. category = "Ordnance";
  44. displayName = "Dioxis Cloud";
  45. portrait = "RD501_Zeus\icons\biohazard_64.paa";
  46. ammo = macro_new_ordnance_ammo(Dioxis_long)
  47. delete Arguments;
  48. };
  49. class macro_new_ordnance(ModuleShadow): ModuleChemlight_F
  50. {
  51. author = "RD501";
  52. _generalMacro = macro_new_ordnance(ModuleShadow)
  53. scope = 1;
  54. scopeCurator = 2;
  55. category = "Ordnance";
  56. displayName = "Shadow Virus";
  57. portrait = "RD501_Zeus\icons\biohazard_64.paa";
  58. ammo = macro_new_ordnance_ammo(Shadow_long)
  59. delete Arguments;
  60. };
  61. class macro_new_ordnance(IonBomb): ModuleOrdnance_F
  62. {
  63. author = "RD501";
  64. _generalMacro = macro_new_ordnance(IonBomb)
  65. isGlobal = 1;
  66. scope = 1;
  67. scopeCurator = 2;
  68. simulation = "house";
  69. category = "Ordnance";
  70. model = "\a3\Modules_F_Curator\Ordnance\surfacehowitzer.p3d";
  71. displayName = "Ion Mortar";
  72. portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
  73. ammo = macro_new_ordnance_ammo(IonBomb)
  74. delete Arguments;
  75. };
  76. class macro_new_ordnance(Orbit): macro_new_ordnance(IonBomb)
  77. {
  78. author = "RD501";
  79. _generalMacro = macro_new_ordnance(Orbit)
  80. displayName = "Orbital Strike";
  81. model = "\a3\Modules_F_Curator\Ordnance\surfaceRocket.p3d";
  82. isGlobal = 1;
  83. scope = 1;
  84. scopeCurator = 2;
  85. simulation = "house";
  86. category = "Ordnance";
  87. portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
  88. ammo = macro_new_ordnance_ammo(Orbit)
  89. delete Arguments;
  90. };
  91. class macro_new_ordnance(OrbitalCluster): macro_new_ordnance(IonBomb)
  92. {
  93. author = "RD501";
  94. _generalMacro = macro_new_ordnance(OrbitalCluster)
  95. model = "\a3\Modules_F_Curator\Ordnance\surfacehowitzer.p3d";
  96. simulation = "house";
  97. scope = 1;
  98. scopeCurator = 2;
  99. isGlobal = 1;
  100. category = "Ordnance";
  101. displayName = "AV-7 Cluster Strike";
  102. portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
  103. ammo = macro_new_ordnance_ammo(OrbitalCluster)
  104. delete Arguments;
  105. };
  106. };
  107. class CfgAmmo
  108. {
  109. class ModuleOrdnanceHowitzer_F_ammo;
  110. class ModuleOrdnanceMortar_F_ammo;
  111. class ModuleOrdnanceRocket_F_ammo;
  112. class SWOP_SCAR_Dioxis;
  113. class RD501_ShadowMag;
  114. class macro_new_ordnance_ammo(Dioxis_long): SWOP_SCAR_Dioxis
  115. {
  116. timeToLive = 300;
  117. };
  118. class macro_new_ordnance_ammo(Shadow_long): RD501_ShadowMag
  119. {
  120. timeToLive = 300;
  121. };
  122. class macro_new_ordnance_ammo(IonBomb): ModuleOrdnanceMortar_F_ammo
  123. {
  124. caliber = 1100;
  125. hit = 180;
  126. airFriction = 0;
  127. canLock = 0;
  128. deflecting = 0;
  129. explosive = 1;
  130. fuseDistance = 30;
  131. indirectHit = 70;
  132. indirectHitRange = 20;
  133. maxSpeed = 1100;
  134. typicalSpeed = 950;
  135. sideAirFriction = 0;
  136. simulation = "ShotShell";
  137. timeToLive = 180;
  138. model = "\ywing\pro_bomb.p3d";
  139. tracerStartTime = 0;
  140. supersonicCrackNear[] = {"A3\sounds_f\weapons\hits\sscrack1",1.0,1,40};
  141. supersonicCrackFar[] = {"A3\sounds_f\weapons\hits\sscrack2",1.0,1,100};
  142. CraterEffects = "HEShellCrater";
  143. effectFlare = "FlareShell";
  144. effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
  145. EffectFly = "ArtilleryTrailsBlue";
  146. CraterWaterEffects = "ImpactEffectsWaterHE";
  147. ExplosionEffects = "ProtonbombAmmoExplosion";
  148. };
  149. class macro_new_ordnance_ammo(DioxisCluster): ModuleOrdnanceRocket_F_ammo
  150. {
  151. caliber = 1100;
  152. hit = 1;
  153. allowAgainstInfantry = 1;
  154. canLock = 0;
  155. explosive = 1;
  156. fuseDistance = 35;
  157. model = "SW_AV7\ion.p3d";
  158. indirectHit = 3;
  159. indirectHitRange = 50;
  160. maxSpeed = 1100;
  161. typicalSpeed = 1050;
  162. sideAirFriction = 0;
  163. submunitionConeType[] = {"poissonDisc", 10};
  164. submunitionAmmo[] = {"SWOP_SCAR_Dioxis",1};
  165. submunitionConeAngle = 50;
  166. simulation = "shotSubmunitions";
  167. timeToLive = 120;
  168. tracerStartTime = 0;
  169. visibleFire = 100;
  170. visibleFireTime = 300;
  171. CraterEffects = "HEShellCrater";
  172. effectsSmoke = "Dioxis_Smoke";
  173. effectFlare = "FlareShell";
  174. effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
  175. EffectFly = "ArtilleryTrailsBlue";
  176. CraterWaterEffects = "ImpactEffectsWaterHE";
  177. ExplosionEffects = "ProtonbombAmmoExplosion";
  178. };
  179. class macro_new_ordnance_ammo(Orbital): ModuleOrdnanceHowitzer_F_ammo
  180. {
  181. caliber = 950;
  182. hit = 550;
  183. allowAgainstInfantry = 1;
  184. canLock = 0;
  185. explosive = 1;
  186. fuseDistance = 30;
  187. model = "SW_AV7\ion.p3d";
  188. indirectHit = 300;
  189. indirectHitRange = 30;
  190. maxSpeed = 1100;
  191. typicalSpeed = 1050;
  192. sideAirFriction = 0;
  193. submunitionAmmo = "";
  194. submunitionConeAngle = 30;
  195. simulation = "shotSubmunitions";
  196. timeToLive = 120;
  197. tracerStartTime = 0;
  198. visibleFire = 100;
  199. visibleFireTime = 300;
  200. CraterEffects = "HEShellCrater";
  201. effectFlare = "FlareShell";
  202. effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
  203. EffectFly = "ArtilleryTrailsBlue";
  204. CraterWaterEffects = "ImpactEffectsWaterHE";
  205. ExplosionEffects = "ProtonbombAmmoExplosion";
  206. };
  207. };