mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1a3bce1a23
* Add compatibility mod for CSLA CDLC * Fix syntax issue * Add open bolt property to machine guns * Move to addons and update UBC * Update addon.toml * Update addons/compat_csla/CfgWeapons.hpp Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Update addons/compat_csla/CfgMagazines.hpp Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * split explosives to sub config * ifndef * reduce range on stinger backblast (is soft-launch) --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
73 lines
1.9 KiB
C++
73 lines
1.9 KiB
C++
class CfgWeapons {
|
|
|
|
class CSLA_LauncherBase;
|
|
class CSLA_Launcher_AT;
|
|
class CSLA_MachinegunBase_7_62;
|
|
|
|
class CSLA_RPG7: CSLA_Launcher_AT {
|
|
EGVAR(reloadlaunchers,enabled) = 1;
|
|
};
|
|
|
|
// class CSLA_RPG75: CSLA_Launcher_AT {};
|
|
|
|
class CSLA_Strela: CSLA_LauncherBase {
|
|
EGVAR(overpressure,angle) = 30;
|
|
EGVAR(overpressure,damage) = 0.5;
|
|
EGVAR(overpressure,range) = 2;
|
|
};
|
|
|
|
class CSLA_UK59L: CSLA_MachinegunBase_7_62 {
|
|
EGVAR(overheating,allowSwapBarrel) = 1;
|
|
EGVAR(overheating,closedBolt) = 0;
|
|
};
|
|
|
|
class US85_Launcher_AA;
|
|
class US85_Launcher_AT;
|
|
class US85_MachinegunBase_5_56;
|
|
class US85_MachinegunBase_7_62;
|
|
class US85_weaponBase;
|
|
|
|
// class US85_M16_base: US85_weaponBase {};
|
|
|
|
class US85_M249: US85_MachinegunBase_5_56 {
|
|
EGVAR(overheating,allowSwapBarrel) = 1;
|
|
EGVAR(overheating,closedBolt) = 0;
|
|
};
|
|
|
|
class US85_M60: US85_MachinegunBase_7_62 {
|
|
EGVAR(overheating,allowSwapBarrel) = 1;
|
|
EGVAR(overheating,closedBolt) = 0;
|
|
};
|
|
|
|
class US85_FIM92: US85_Launcher_AA {
|
|
EGVAR(overpressure,angle) = 45;
|
|
EGVAR(overpressure,damage) = 0.3;
|
|
EGVAR(overpressure,range) = 6;
|
|
};
|
|
|
|
class US85_LAW72: US85_Launcher_AT {
|
|
EGVAR(overpressure,angle) = 40;
|
|
EGVAR(overpressure,damage) = 0.5;
|
|
EGVAR(overpressure,range) = 15;
|
|
};
|
|
|
|
class US85_M136: US85_Launcher_AT {
|
|
EGVAR(overpressure,angle) = 45;
|
|
EGVAR(overpressure,damage) = 0.3;
|
|
EGVAR(overpressure,range) = 10;
|
|
};
|
|
|
|
class US85_MAAWS: US85_Launcher_AT {
|
|
EGVAR(reloadlaunchers,enabled) = 1;
|
|
EGVAR(overpressure,angle) = 60;
|
|
EGVAR(overpressure,damage) = 0.7;
|
|
EGVAR(overpressure,priority) = 1;
|
|
EGVAR(overpressure,range) = 10;
|
|
};
|
|
|
|
class US85_SMAW: US85_Launcher_AT {
|
|
EGVAR(reloadlaunchers,enabled) = 1;
|
|
EGVAR(overpressure,angle) = 45;
|
|
};
|
|
};
|