config.cpp 534 B

1234567891011121314151617181920212223242526272829303132
  1. #include "../../RD501_main/config_macros.hpp"
  2. #include "../_common/common.hpp"
  3. class CfgPatches
  4. {
  5. class macro_patch_name(shotguns)
  6. {
  7. author=DANKAUTHORS;
  8. addonRootClass= macro_patch_name(weapons)
  9. requiredAddons[]=
  10. {
  11. macro_patch_name(weapons)
  12. };
  13. requiredVersion=0.1;
  14. units[]={};
  15. weapons[]={
  16. macro_new_weapon(shotgun,sg001)
  17. };
  18. };
  19. };
  20. class cfgWeapons
  21. {
  22. class swop_RepShotgun;
  23. class macro_new_weapon(shotgun,sg001):swop_RepShotgun
  24. {
  25. displayname = "Droid SG-001";
  26. descriptionShort = "SG-001";
  27. };
  28. };