config.cpp 554 B

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