config.cpp 678 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #include "../../RD501_main/config_macros.hpp"
  2. #include "../_common/common.hpp"
  3. class CfgPatches
  4. {
  5. class macro_patch_name(b2_gun)
  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. SWOP_B2gun
  17. };
  18. };
  19. };
  20. class cfgWeapons
  21. {
  22. class SWOP_BlasterRifle_Base;
  23. class SWOP_B2gun:SWOP_BlasterRifle_Base
  24. {
  25. canShootInWater = 1;
  26. class Single;
  27. class FullAuto;
  28. };
  29. class macro_new_weapon(b2,aqua_gun):SWOP_B2gun
  30. {
  31. class Single:Single
  32. {
  33. dispersion = B2_accuracy;
  34. };
  35. class FullAuto:FullAuto
  36. {
  37. dispersion = B2_accuracy;
  38. };
  39. };
  40. };