ACE3/addons/disposable/CfgWeapons.hpp

53 lines
1.3 KiB
C++
Raw Normal View History

2015-01-13 19:12:37 +00:00
class CfgWeapons {
2019-04-21 16:58:20 +00:00
class Launcher;
class Launcher_Base_F: Launcher {
class WeaponSlotsInfo;
};
2019-04-21 16:58:20 +00:00
class launch_NLAW_F: Launcher_Base_F {
2019-04-25 16:30:35 +00:00
scope = 2;
scopeArsenal = 2;
2019-04-21 17:03:42 +00:00
baseWeapon = "launch_NLAW_F";
2019-04-21 16:58:20 +00:00
2019-04-25 16:30:35 +00:00
magazines[] = {"CBA_FakeLauncherMagazine"};
2019-04-21 16:58:20 +00:00
magazineReloadTime = 0.1;
2019-04-26 07:48:31 +00:00
reloadMagazineSound[] = {"",1,1};
2019-04-21 16:58:20 +00:00
class WeaponSlotsInfo: WeaponSlotsInfo {
2019-04-25 16:30:35 +00:00
mass = 180; // launcher 100, magazine 80
2019-04-21 16:58:20 +00:00
};
};
2019-04-25 16:30:35 +00:00
class ACE_launch_NLAW_ready_F: launch_NLAW_F {
2015-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
2019-04-25 16:30:35 +00:00
scope = 1;
scopeArsenal = 1;
2019-04-26 17:19:34 +00:00
baseWeapon = "launch_NLAW_F";
2019-04-21 16:58:20 +00:00
2019-04-25 16:30:35 +00:00
magazines[] = {"NLAW_F"};
class EventHandlers {
fired = "_this call CBA_fnc_firedDisposable"; // this weapon eventhandler is required!
};
2019-04-21 16:58:20 +00:00
class WeaponSlotsInfo: WeaponSlotsInfo {
2019-04-25 16:30:35 +00:00
mass = 100;
2019-04-21 16:58:20 +00:00
};
};
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;
2019-04-21 16:58:20 +00:00
class WeaponSlotsInfo: WeaponSlotsInfo {
2019-04-25 16:30:35 +00:00
mass = 100;
2019-04-21 16:58:20 +00:00
};
};
2015-01-13 19:12:37 +00:00
};