config.cpp 1011 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #define COMPONENT RPS4
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class RD501_patch_RPS4
  7. {
  8. author="RD501";
  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(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. weaponInfoType="RscOpticsRangeFinderNLAW";
  33. JLTS_hasElectronics=0;
  34. recoil="";
  35. hiddenSelections[]=
  36. {
  37. "camo1"
  38. };
  39. hiddenSelectionsTextures[]=
  40. {
  41. "\RD501_Weapons\Launchers\RPS4\data\rps4_co.paa"
  42. };
  43. magazines[]=
  44. {
  45. macro_new_mag(rps4heat,1),
  46. macro_new_mag(rps4he,1),
  47. macro_new_mag(rps4burst,1),
  48. macro_new_mag(rps4emp,1)
  49. };
  50. };
  51. };