config.cpp 502 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #include "..\..\script_component.hpp"
  2. class CfgPatches
  3. {
  4. class RD501_patch_MRLS
  5. {
  6. author=DANKAUTHORS;
  7. addonRootClass= MACRO_QUOTE(RD501_patch_vehicle_weapons);
  8. requiredAddons[]=
  9. {
  10. RD501_patch_vehicle_weapons
  11. };
  12. requiredVersion=0.1;
  13. units[]={};
  14. weapons[]={
  15. macro_new_weapon(MLRS,M80)
  16. };
  17. };
  18. };
  19. class CfgWeapons
  20. {
  21. //Not Used
  22. class OPTRE_M79_MLRS;
  23. class macro_new_weapon(MLRS,M80) : OPTRE_M79_MLRS
  24. {
  25. magazines[] = {
  26. macro_new_mag(MRLS_M80,2)
  27. };
  28. };
  29. };