1
0

config.cpp 829 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #define COMPONENT DC_15s
  2. #include "../../RD501_main/config_macros.hpp"
  3. #include "../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(rgl6)
  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_nofam(rgl6),
  18. };
  19. };
  20. };
  21. class CfgWeapons
  22. {
  23. class OPTRE_Rifle_Base;
  24. class OPTRE_M319:OPTRE_Rifle_Base
  25. {
  26. class Single;
  27. };
  28. class macro_new_weapon_nofam(rgl6):OPTRE_M319
  29. {
  30. displayName="Republic GL-6";
  31. baseWeapon=macro_new_weapon_nofam(rgl6)
  32. magazines[]=
  33. {
  34. macro_new_mag(UGL_EMP,6),
  35. macro_new_mag(UGL_HE,6),
  36. macro_new_mag(UGL_AP,6),
  37. macro_new_mag(UGL_Smoke,6),
  38. macro_new_mag(UGL_Flare,6)
  39. };
  40. class Single : Single
  41. {
  42. reloadTime=0.24;
  43. };
  44. };
  45. };