config.cpp 709 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #define COMPONENT E5S
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class RD501_patch_e5s
  7. {
  8. author=DANKAUTHORS;
  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(e5,s)
  18. };
  19. };
  20. };
  21. class CfgWeapons
  22. {
  23. class arifle_MX_Base_F;
  24. class JLTS_E5S: arifle_MX_Base_F
  25. {
  26. class Single;
  27. };
  28. class macro_new_weapon(e5,s) : JLTS_E5S
  29. {
  30. scope=2;
  31. baseWeapon=MACRO_QUOTE(macro_new_weapon(e5,s));
  32. displayName= "CIS E5S Sniper Rifle";
  33. magazines[]={macro_new_mag(30mw,15)};
  34. class Single:Single
  35. {
  36. reloadTime=1.2;
  37. };
  38. };
  39. };