2015-02-15 14:48:40 +00:00
|
|
|
|
2015-01-14 04:15:58 +00:00
|
|
|
class CfgWeapons {
|
|
|
|
|
2024-08-28 11:34:58 +00:00
|
|
|
// Man-Portable launchers, rear-facing overpressure
|
|
|
|
|
2015-01-14 04:15:58 +00:00
|
|
|
class LauncherCore;
|
|
|
|
class Launcher: LauncherCore {
|
2015-08-30 05:35:58 +00:00
|
|
|
GVAR(priority) = 1;
|
2015-02-15 14:48:40 +00:00
|
|
|
GVAR(angle) = 60;
|
|
|
|
GVAR(range) = 10;
|
|
|
|
GVAR(damage) = 0.7;
|
2022-08-01 17:32:02 +00:00
|
|
|
GVAR(offset) = 1;
|
2015-01-14 04:15:58 +00:00
|
|
|
};
|
2015-02-15 14:48:40 +00:00
|
|
|
|
2015-01-14 04:15:58 +00:00
|
|
|
class Launcher_Base_F: Launcher {};
|
|
|
|
|
|
|
|
class launch_Titan_base: Launcher_Base_F {
|
2015-08-30 05:35:58 +00:00
|
|
|
GVAR(priority) = 1;
|
2015-02-15 14:48:40 +00:00
|
|
|
GVAR(angle) = 40;
|
|
|
|
GVAR(range) = 8;
|
|
|
|
GVAR(damage) = 0.5;
|
2022-08-01 17:32:02 +00:00
|
|
|
GVAR(offset) = 1;
|
2015-01-14 04:15:58 +00:00
|
|
|
};
|
2015-02-15 14:48:40 +00:00
|
|
|
|
2015-01-14 04:15:58 +00:00
|
|
|
class launch_Titan_short_base: launch_Titan_base {
|
2015-04-03 16:50:47 +00:00
|
|
|
// Titan is a soft-launch launcher
|
2015-08-30 05:35:58 +00:00
|
|
|
GVAR(priority) = 1;
|
2015-04-03 16:50:47 +00:00
|
|
|
GVAR(angle) = 30;
|
|
|
|
GVAR(range) = 2;
|
2015-02-15 14:48:40 +00:00
|
|
|
GVAR(damage) = 0.5;
|
2022-08-01 17:32:02 +00:00
|
|
|
GVAR(offset) = 0.85;
|
2015-01-14 04:15:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class launch_NLAW_F: Launcher_Base_F {
|
2015-04-03 16:50:47 +00:00
|
|
|
// NLAW is a soft-launch launcher
|
2015-08-30 05:35:58 +00:00
|
|
|
GVAR(priority) = 1;
|
2015-04-03 16:50:47 +00:00
|
|
|
GVAR(angle) = 30;
|
|
|
|
GVAR(range) = 2;
|
2015-02-15 14:48:40 +00:00
|
|
|
GVAR(damage) = 0.6;
|
2022-08-01 17:32:02 +00:00
|
|
|
GVAR(offset) = 1.05;
|
2015-01-14 04:15:58 +00:00
|
|
|
};
|
2015-02-15 14:48:40 +00:00
|
|
|
|
2015-01-14 04:15:58 +00:00
|
|
|
class launch_RPG32_F: Launcher_Base_F {
|
2015-08-30 05:35:58 +00:00
|
|
|
GVAR(priority) = 1;
|
2015-02-15 14:48:40 +00:00
|
|
|
GVAR(angle) = 60;
|
|
|
|
GVAR(range) = 15;
|
|
|
|
GVAR(damage) = 0.7;
|
2022-08-01 17:32:02 +00:00
|
|
|
GVAR(offset) = 1.2;
|
|
|
|
};
|
|
|
|
|
|
|
|
class launch_MRAWS_base_F: Launcher_Base_F {
|
|
|
|
GVAR(range) = 15;
|
|
|
|
GVAR(offset) = 1.05;
|
|
|
|
};
|
|
|
|
|
|
|
|
class launch_Vorona_base_F: Launcher_Base_F {
|
|
|
|
GVAR(angle) = 50;
|
|
|
|
GVAR(offset) = 0.88;
|
|
|
|
};
|
|
|
|
|
|
|
|
class launch_RPG7_F: Launcher_Base_F {
|
|
|
|
GVAR(angle) = 40;
|
|
|
|
GVAR(offset) = 0.9;
|
2015-01-14 04:15:58 +00:00
|
|
|
};
|
|
|
|
|
2024-08-28 11:34:58 +00:00
|
|
|
// Vehicle recoilless rifles and missile launchers, rear-facing overpressure
|
|
|
|
|
|
|
|
class MissileLauncher: LauncherCore {
|
|
|
|
GVAR(priority) = 1;
|
|
|
|
GVAR(angle) = 60;
|
|
|
|
GVAR(range) = 10;
|
|
|
|
GVAR(damage) = 0.7;
|
|
|
|
GVAR(offset) = -0.8;
|
|
|
|
};
|
|
|
|
|
|
|
|
class missiles_titan_static {
|
|
|
|
GVAR(angle) = 40;
|
|
|
|
GVAR(range) = 8;
|
|
|
|
GVAR(damage) = 0.5;
|
|
|
|
};
|
|
|
|
|
|
|
|
class EGVAR(javelin,Titan_Static): missiles_titan_static {
|
|
|
|
// Titan is a soft-launch launcher
|
|
|
|
GVAR(priority) = 1;
|
|
|
|
GVAR(angle) = 30;
|
|
|
|
GVAR(range) = 2;
|
|
|
|
GVAR(damage) = 0.5;
|
|
|
|
GVAR(offset) = -0.5;
|
|
|
|
};
|
|
|
|
|
|
|
|
class missiles_Vorona: MissileLauncher {
|
|
|
|
GVAR(angle) = 50;
|
|
|
|
GVAR(offset) = -0.5;
|
|
|
|
};
|
|
|
|
|
2024-08-28 14:35:25 +00:00
|
|
|
class launcher_SPG9: MissileLauncher {
|
|
|
|
GVAR(offset) = -1.25;
|
|
|
|
};
|
|
|
|
|
2024-08-28 11:34:58 +00:00
|
|
|
class RocketPods: LauncherCore {
|
|
|
|
GVAR(priority) = 1;
|
|
|
|
GVAR(angle) = 60;
|
|
|
|
GVAR(range) = 10;
|
|
|
|
GVAR(damage) = 0.7;
|
|
|
|
GVAR(offset) = -0.8;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Vehicle cannons, forward-facing overpressure
|
|
|
|
|
2015-01-14 04:15:58 +00:00
|
|
|
class CannonCore;
|
|
|
|
class cannon_120mm: CannonCore {
|
2015-08-30 05:35:58 +00:00
|
|
|
GVAR(priority) = 1;
|
2015-02-15 16:55:20 +00:00
|
|
|
GVAR(angle) = 90;
|
|
|
|
GVAR(range) = 50;
|
|
|
|
GVAR(damage) = 0.85;
|
2015-01-14 04:15:58 +00:00
|
|
|
};
|
2015-02-15 14:48:40 +00:00
|
|
|
|
2016-01-16 14:04:22 +00:00
|
|
|
class cannon_125mm: CannonCore {
|
|
|
|
GVAR(priority) = 1;
|
|
|
|
GVAR(angle) = 90;
|
|
|
|
GVAR(range) = 50;
|
|
|
|
GVAR(damage) = 0.85;
|
|
|
|
};
|
|
|
|
|
|
|
|
class cannon_105mm: CannonCore {
|
|
|
|
GVAR(priority) = 1;
|
|
|
|
GVAR(angle) = 90;
|
|
|
|
GVAR(range) = 50;
|
|
|
|
GVAR(damage) = 0.85;
|
|
|
|
};
|
|
|
|
|
2015-01-14 04:15:58 +00:00
|
|
|
class mortar_155mm_AMOS: CannonCore {
|
2015-08-30 05:35:58 +00:00
|
|
|
GVAR(priority) = 1;
|
2015-02-15 16:55:20 +00:00
|
|
|
GVAR(angle) = 90;
|
|
|
|
GVAR(range) = 60;
|
|
|
|
GVAR(damage) = 1;
|
2015-01-14 04:15:58 +00:00
|
|
|
};
|
|
|
|
};
|