mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
52 lines
1.3 KiB
C++
52 lines
1.3 KiB
C++
class CfgWeapons {
|
|
class Launcher;
|
|
class Launcher_Base_F: Launcher {
|
|
class WeaponSlotsInfo;
|
|
};
|
|
|
|
class launch_NLAW_F: Launcher_Base_F {
|
|
scope = 2;
|
|
scopeArsenal = 2;
|
|
baseWeapon = "launch_NLAW_F";
|
|
|
|
magazines[] = {"CBA_FakeLauncherMagazine"};
|
|
magazineReloadTime = 0.1;
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
mass = 180; // launcher 100, magazine 80
|
|
};
|
|
};
|
|
|
|
class ACE_launch_NLAW_ready_F: launch_NLAW_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
scope = 1;
|
|
scopeArsenal = 1;
|
|
baseWeapon = "ACE_launch_NLAW_ready_F";
|
|
|
|
magazines[] = {"NLAW_F"};
|
|
|
|
class EventHandlers {
|
|
fired = "_this call CBA_fnc_firedDisposable"; // this weapon eventhandler is required!
|
|
};
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
mass = 100;
|
|
};
|
|
};
|
|
|
|
class ACE_launch_NLAW_used_F: launch_NLAW_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
scope = 1;
|
|
scopeArsenal = 1;
|
|
baseWeapon = "ACE_launch_NLAW_used_F";
|
|
|
|
displayName = CSTRING(UsedTube);
|
|
descriptionShort = CSTRING(UsedTubeDescription);
|
|
weaponPoolAvailable = 0;
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
mass = 100;
|
|
};
|
|
};
|
|
};
|