config.cpp 703 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #define COMPONENT DC_15sa
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(dc_15sa)
  7. {
  8. author="RD501";
  9. addonRootClass= macro_patch_name(weapons)
  10. requiredAddons[]=
  11. {
  12. macro_patch_name(weapons)
  13. };
  14. requiredVersion=0.1;
  15. units[]={};
  16. weapons[]={
  17. macro_new_weapon(DC,15sa)
  18. };
  19. };
  20. };
  21. class CfgWeapons
  22. {
  23. class 3AS_pistol_DC15SA_F;
  24. class macro_new_weapon(DC,15sa):3AS_pistol_DC15SA_F
  25. {
  26. scope=2;
  27. author = "RD501";
  28. displayname = "Republic DC-15SA 'Razorblade'";
  29. descriptionShort = "Heavy Caliber Sidearm";
  30. reloadTime=0.75;
  31. dispersion=0.00145;
  32. magazines[]=
  33. {
  34. macro_new_mag(30mw,7)
  35. };
  36. };
  37. };