config.cpp 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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(ProtonBomb),
  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(Dioxis_Cluster),
  17. macro_new_ordnance(ModuleShadow)
  18. };
  19. weapons[] = {};
  20. };
  21. };
  22. class CfgVehicles
  23. {
  24. class ModuleOrdnance_F;
  25. class ModuleChemlight_F;
  26. class macro_new_ordnance(ModuleSquadShield): ModuleChemlight_F
  27. {
  28. author = "RD501";
  29. _generalMacro = macro_new_ordnance(ModuleSquadShield)
  30. scope = 1;
  31. scopeCurator = 2;
  32. category = "Ordnance";
  33. displayName = "Squad Shield";
  34. portrait = "RD501_Zeus\icons\wide_kite_64.paa";
  35. ammo = "SW_SquadShield_ammoCARGA";
  36. delete Arguments;
  37. };
  38. class macro_new_ordnance(ModuleDioxis): ModuleChemlight_F
  39. {
  40. author = "RD501";
  41. _generalMacro = macro_new_ordnance(ModuleDioxis)
  42. scope = 1;
  43. scopeCurator = 2;
  44. category = "Ordnance";
  45. displayName = "Dioxis Cloud";
  46. portrait = "RD501_Zeus\icons\biohazard_64.paa";
  47. ammo = macro_new_ordnance_ammo(Dioxis_long)
  48. delete Arguments;
  49. };
  50. class macro_new_ordnance(ModuleShadow): ModuleChemlight_F
  51. {
  52. author = "RD501";
  53. _generalMacro = macro_new_ordnance(ModuleShadow)
  54. scope = 1;
  55. scopeCurator = 2;
  56. category = "Ordnance";
  57. displayName = "Shadow Virus";
  58. portrait = "RD501_Zeus\icons\biohazard_64.paa";
  59. ammo = macro_new_ordnance_ammo(Shadow_long)
  60. delete Arguments;
  61. };
  62. class macro_new_ordnance(ProtonBomb): ModuleOrdnance_F
  63. {
  64. author = "RD501";
  65. _generalMacro = macro_new_ordnance(ProtonBomb)
  66. scope = 1;
  67. scopeCurator = 2;
  68. isGlobal = 1;
  69. category = "Ordnance";
  70. displayName = "Proton Mortar";
  71. portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
  72. ammo = macro_new_ordnance_ammo(ProtonBomb)
  73. delete Arguments;
  74. simulation = "house";
  75. // model = "\a3\Modules_F_Curator\Ordnance\surfaceMortar.p3d";
  76. model = "\a3\Modules_F_Curator\Ordnance\surfacehowitzer.p3d";
  77. curatorCost = 1;
  78. };
  79. class macro_new_ordnance(AV7): macro_new_ordnance(ProtonBomb)
  80. {
  81. author = "RD501";
  82. _generalMacro = macro_new_ordnance(AV7)
  83. scope = 1;
  84. scopeCurator = 2;
  85. isGlobal = 1;
  86. category = "Ordnance";
  87. displayName = "AV-7 Strike";
  88. portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
  89. ammo = macro_new_ordnance_ammo(AV7)
  90. delete Arguments;
  91. simulation = "house";
  92. model = "\a3\Modules_F_Curator\Ordnance\surfaceRocket.p3d";
  93. curatorCost = 1;
  94. };
  95. class macro_new_ordnance(AV7_Cluster): macro_new_ordnance(ProtonBomb)
  96. {
  97. author = "RD501";
  98. _generalMacro = macro_new_ordnance(AV7_Cluster)
  99. scope = 1;
  100. scopeCurator = 2;
  101. isGlobal = 1;
  102. category = "Ordnance";
  103. displayName = "AV-7 Cluster Strike";
  104. portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
  105. ammo = macro_new_ordnance_ammo(AV7Cluster)
  106. delete Arguments;
  107. simulation = "house";
  108. model = "\a3\Modules_F_Curator\Ordnance\surfacehowitzer.p3d";
  109. curatorCost = 1;
  110. };
  111. class macro_new_ordnance(Dioxis_Cluster): macro_new_ordnance(ProtonBomb)
  112. {
  113. author = "RD501";
  114. _generalMacro = macro_new_ordnance(Dioxis_Cluster)
  115. scope = 1;
  116. scopeCurator = 2;
  117. isGlobal = 1;
  118. category = "Ordnance";
  119. displayName = "AV-7 Dioxis Strike";
  120. portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
  121. ammo = macro_new_ordnance_ammo(DioxisCluster)
  122. delete Arguments;
  123. simulation = "house";
  124. model = "\a3\Modules_F_Curator\Ordnance\surfacehowitzer.p3d";
  125. curatorCost = 1;
  126. };
  127. };
  128. class CfgAmmo
  129. {
  130. class ModuleOrdnanceHowitzer_F_ammo;
  131. class ModuleOrdnanceMortar_F_ammo;
  132. class ModuleOrdnanceRocket_F_ammo;
  133. class SWOP_SCAR_Dioxis;
  134. class RD501_ShadowMag;
  135. class macro_new_ordnance_ammo(Dioxis_long): SWOP_SCAR_Dioxis
  136. {
  137. timeToLive = 300;
  138. };
  139. class macro_new_ordnance_ammo(Shadow_long): RD501_ShadowMag
  140. {
  141. timeToLive = 300;
  142. };
  143. class macro_new_ordnance_ammo(ProtonBomb): ModuleOrdnanceMortar_F_ammo
  144. {
  145. caliber = 1000;
  146. hit = 165;
  147. airFriction = 0;
  148. allowAgainstInfantry = 1;
  149. audibleFire = 100.0;
  150. canLock = 0;
  151. cost = 10000;
  152. deflecting = 0;
  153. explosive = 1;
  154. fuseDistance = 35;
  155. indirectHit = 52;
  156. indirectHitRange = 14;
  157. maxSpeed = 1000;
  158. typicalSpeed = 1000;
  159. sideAirFriction = 0;
  160. simulation = "ShotShell";
  161. suppressionRadiusBulletClose = 100;
  162. suppressionRadiusHit = 100;
  163. timeToLive = 180;
  164. model = "\ywing\pro_bomb.p3d";
  165. tracerStartTime = 0;
  166. supersonicCrackNear[] = {"A3\sounds_f\weapons\hits\sscrack1",1.0,1,40};
  167. supersonicCrackFar[] = {"A3\sounds_f\weapons\hits\sscrack2",1.0,1,100};
  168. visibleFire = 100;
  169. visibleFireTime = 300;
  170. CraterEffects = "HEShellCrater";
  171. effectFlare = "FlareShell";
  172. effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
  173. EffectFly = "ArtilleryTrailsBlue";
  174. CraterWaterEffects = "ImpactEffectsWaterHE";
  175. ExplosionEffects = "ProtonbombAmmoExplosion";
  176. };
  177. class macro_new_ordnance_ammo(AV7Cluster): ModuleOrdnanceRocket_F_ammo
  178. {
  179. submunitionConeType[] = {"poissonDisc", 10};
  180. caliber = 1000;
  181. hit = 500;
  182. airFriction = 0;
  183. artilleryCharge = 1;
  184. artillerydispersion = 1;
  185. allowAgainstInfantry = 1;
  186. audibleFire = 250.0;
  187. canLock = 0;
  188. cost = 10000;
  189. deflecting = 0;
  190. explosive = 1;
  191. fuseDistance = 25;
  192. model = "SW_AV7\ion.p3d";
  193. indirectHit = 300;
  194. indirectHitRange = 30;
  195. maxSpeed = 1000;
  196. typicalSpeed = 1000;
  197. sideAirFriction = 0;
  198. submunitionAmmo[] = {macro_new_ordnance_ammo(AV7),1};
  199. submunitionConeAngle = 25;
  200. simulation = "shotSubmunitions";
  201. suppressionRadiusBulletClose = 100;
  202. suppressionRadiusHit = 100;
  203. timeToLive = 120;
  204. tracerStartTime = 0;
  205. supersonicCrackNear[] = {"A3\sounds_f\weapons\hits\sscrack1",1.0,1,40};
  206. supersonicCrackFar[] = {"A3\sounds_f\weapons\hits\sscrack2",1.0,1,100};
  207. visibleFire = 100;
  208. visibleFireTime = 300;
  209. CraterEffects = "HEShellCrater";
  210. effectFlare = "FlareShell";
  211. effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
  212. EffectFly = "ArtilleryTrailsBlue";
  213. CraterWaterEffects = "ImpactEffectsWaterHE";
  214. ExplosionEffects = "ProtonbombAmmoExplosion";
  215. };
  216. class macro_new_ordnance_ammo(DioxisCluster): ModuleOrdnanceRocket_F_ammo
  217. {
  218. caliber = 1000;
  219. hit = 5;
  220. airFriction = 0;
  221. artilleryCharge = 1;
  222. artillerydispersion = 1;
  223. allowAgainstInfantry = 1;
  224. audibleFire = 250.0;
  225. canLock = 0;
  226. cost = 10000;
  227. deflecting = 0;
  228. explosive = 1;
  229. fuseDistance = 35;
  230. model = "SW_AV7\ion.p3d";
  231. indirectHit = 3;
  232. indirectHitRange = 10;
  233. maxSpeed = 1000;
  234. typicalSpeed = 1000;
  235. sideAirFriction = 0;
  236. submunitionConeType[] = {"poissonDisc", 10};
  237. submunitionAmmo[] = {"SWOP_SCAR_Dioxis",1};
  238. submunitionConeAngle = 60;
  239. simulation = "shotSubmunitions";
  240. suppressionRadiusBulletClose = 100;
  241. suppressionRadiusHit = 100;
  242. timeToLive = 120;
  243. tracerStartTime = 0;
  244. supersonicCrackNear[] = {"A3\sounds_f\weapons\hits\sscrack1",1.0,1,40};
  245. supersonicCrackFar[] = {"A3\sounds_f\weapons\hits\sscrack2",1.0,1,100};
  246. visibleFire = 100;
  247. visibleFireTime = 300;
  248. CraterEffects = "HEShellCrater";
  249. effectsSmoke = "Dioxis_Smoke";
  250. effectFlare = "FlareShell";
  251. effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
  252. EffectFly = "ArtilleryTrailsBlue";
  253. CraterWaterEffects = "ImpactEffectsWaterHE";
  254. ExplosionEffects = "ProtonbombAmmoExplosion";
  255. };
  256. class macro_new_ordnance_ammo(AV7): ModuleOrdnanceHowitzer_F_ammo
  257. {
  258. caliber = 1000;
  259. hit = 500;
  260. airFriction = 0;
  261. artilleryCharge = 1;
  262. artillerydispersion = 1;
  263. allowAgainstInfantry = 1;
  264. audibleFire = 250.0;
  265. canLock = 0;
  266. cost = 10000;
  267. deflecting = 0;
  268. explosive = 1;
  269. fuseDistance = 35;
  270. model = "SW_AV7\ion.p3d";
  271. indirectHit = 300;
  272. indirectHitRange = 30;
  273. maxSpeed = 1000;
  274. typicalSpeed = 1000;
  275. sideAirFriction = 0;
  276. submunitionAmmo = "";
  277. submunitionConeAngle = 25;
  278. simulation = "shotSubmunitions";
  279. suppressionRadiusBulletClose = 100;
  280. suppressionRadiusHit = 100;
  281. timeToLive = 120;
  282. tracerStartTime = 0;
  283. supersonicCrackNear[] = {"A3\sounds_f\weapons\hits\sscrack1",1.0,1,40};
  284. supersonicCrackFar[] = {"A3\sounds_f\weapons\hits\sscrack2",1.0,1,100};
  285. visibleFire = 100;
  286. visibleFireTime = 300;
  287. CraterEffects = "HEShellCrater";
  288. effectFlare = "FlareShell";
  289. effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
  290. EffectFly = "ArtilleryTrailsBlue";
  291. CraterWaterEffects = "ImpactEffectsWaterHE";
  292. ExplosionEffects = "ProtonbombAmmoExplosion";
  293. };
  294. };