config.cpp 913 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #define COMPONENT RPS4
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(RPS4)
  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(launcher,RPS4)
  18. };
  19. };
  20. };
  21. class CfgWeapons
  22. {
  23. class JLTS_RPS6;
  24. class macro_new_weapon(launcher,RPS4):JLTS_RPS6
  25. {
  26. scope=2;
  27. canLock = 0;
  28. airLock=0;
  29. displayName="Republic RPS4 Launcher";
  30. icon = "\RD501_Weapons\Launchers\RPS6\icon.paa";
  31. picture = "\RD501_Weapons\Launchers\RPS6\icon.paa";
  32. JLTS_hasElectronics=0;
  33. recoil="";
  34. hiddenSelections[]=
  35. {
  36. "camo1"
  37. };
  38. hiddenSelectionsTextures[]=
  39. {
  40. "\RD501_Weapons\Launchers\RPS4\data\rps4_co.paa"
  41. };
  42. magazines[]=
  43. {
  44. macro_new_mag(rps4heat,1),
  45. macro_new_mag(rps4he,1)
  46. };
  47. };
  48. };