config.cpp 690 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #define COMPONENT DC_15sa
  2. #include "..\..\script_component.hpp"
  3. #include "..\..\_common\common.hpp"
  4. class CfgPatches
  5. {
  6. class RD501_patch_dc_15sa
  7. {
  8. author="RD501";
  9. addonRootClass = MACRO_QUOTE(RD501_patch_weapons);
  10. requiredAddons[]=
  11. {
  12. RD501_patch_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. };