config.cpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #define COMPONENT rocket
  2. #include "../../RD501_main/config_macros.hpp"
  3. #include "../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class RD501_patch_rocket
  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(Launcher,PLX1)
  18. };
  19. };
  20. };
  21. class cfgWeapons
  22. {
  23. class JLTS_PLX1_AT;
  24. class macro_new_weapon(Launcher,PLX1): JLTS_PLX1_AT
  25. {
  26. author= "RD501";
  27. _generalMacro = MACRO_QUOTE(macro_new_weapon(Launcher,PLX1));
  28. scope = 2;
  29. scopeCurator=2;
  30. scopeArsenal=2;
  31. displayName = "Republic PLX1s";
  32. ace_javelin_enabled = 1; // Enable Javelin-style locking (0-disabled, 1-enabled)
  33. weaponInfoType = "ACE_RscOptics_javelin"; // Inteface
  34. modelOptics = "\z\ace\addons\javelin\data\reticle_titan.p3d"; // Optics model
  35. canLock = 0; // Disable vanilla locking (0-disabled, 1-enabled)
  36. lockingTargetSound[] = {"", 0, 1}; // Locking sound
  37. lockedTargetSound[] = {"", 0, 1}; // Target acquired sound
  38. };
  39. };