config.cpp 984 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #include "../../RD501_main/config_macros.hpp"
  2. #include "../_common/common.hpp"
  3. class CfgPatches
  4. {
  5. class RD501_patch_ramer
  6. {
  7. author="RD501";
  8. addonRootClass="RD501_patch_weapons";
  9. requiredAddons[]=
  10. {
  11. "RD501_patch_weapons"
  12. };
  13. requiredVersion=0.1;
  14. units[]={};
  15. weapons[]=
  16. {
  17. "RD501_RAMER",
  18. macro_new_weapon_nofam(t21)
  19. };
  20. };
  21. };
  22. class cfgWeapons
  23. {
  24. class SWOP_T21BlasterRifle;
  25. class RD501_RAMER: SWOP_T21BlasterRifle
  26. {
  27. baseWeapon="RD501_RAMER";
  28. author="RD501";
  29. scope=2;
  30. scopecurator=2;
  31. scopearsenal=2;
  32. displayname="Republic Anti Material Energy Rifle";
  33. descriptionShort="(R.A.M.E.R)";
  34. magazines[]=
  35. {
  36. "RD501_RAMER_x6_mag"
  37. };
  38. };
  39. class arifle_MX_Base_F;
  40. class JLTS_EPL2:arifle_MX_Base_F
  41. {
  42. class Single;
  43. }
  44. class macro_new_weapon_nofam(t21):JLTS_EPL2
  45. {
  46. baseWeapon=macro_new_weapon_nofam(t21)
  47. displayname="T21 R.A.M.E.R."
  48. magazines[]=
  49. {
  50. macro_new_mag(50mw,10)
  51. };
  52. class Single : Single
  53. {
  54. reloadTime=2;
  55. }
  56. };
  57. };