1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #define COMPONENT rocket
- #include "../../RD501_main/config_macros.hpp"
- #include "../_common/common.hpp"
- class CfgPatches
- {
- class RD501_patch_rocket
- {
- author=DANKAUTHORS;
- addonRootClass = MACRO_QUOTE(RD501_patch_weapons);
- requiredAddons[]=
- {
- RD501_patch_weapons
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon(Launcher,PLX1)
- };
- };
- };
- class cfgWeapons
- {
- class JLTS_PLX1_AT;
- class macro_new_weapon(Launcher,PLX1): JLTS_PLX1_AT
- {
- author= "RD501";
- _generalMacro = MACRO_QUOTE(macro_new_weapon(Launcher,PLX1));
- scope = 2;
- scopeCurator=2;
- scopeArsenal=2;
- displayName = "Republic PLX1s";
- ace_javelin_enabled = 1; // Enable Javelin-style locking (0-disabled, 1-enabled)
- weaponInfoType = "ACE_RscOptics_javelin"; // Inteface
- modelOptics = "\z\ace\addons\javelin\data\reticle_titan.p3d"; // Optics model
- canLock = 0; // Disable vanilla locking (0-disabled, 1-enabled)
- lockingTargetSound[] = {"", 0, 1}; // Locking sound
- lockedTargetSound[] = {"", 0, 1}; // Target acquired sound
- };
- };
|