mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
35b6e04345
update code to params command update Comments
59 lines
1.3 KiB
C++
59 lines
1.3 KiB
C++
|
|
class CfgWeapons {
|
|
|
|
class LauncherCore;
|
|
class Launcher: LauncherCore {
|
|
GVAR(priority) = 1;
|
|
GVAR(angle) = 60;
|
|
GVAR(range) = 10;
|
|
GVAR(damage) = 0.7;
|
|
};
|
|
|
|
class Launcher_Base_F: Launcher {};
|
|
|
|
class launch_Titan_base: Launcher_Base_F {
|
|
GVAR(priority) = 1;
|
|
GVAR(angle) = 40;
|
|
GVAR(range) = 8;
|
|
GVAR(damage) = 0.5;
|
|
};
|
|
|
|
class launch_Titan_short_base: launch_Titan_base {
|
|
// Titan is a soft-launch launcher
|
|
GVAR(priority) = 1;
|
|
GVAR(angle) = 30;
|
|
GVAR(range) = 2;
|
|
GVAR(damage) = 0.5;
|
|
};
|
|
|
|
class launch_NLAW_F: Launcher_Base_F {
|
|
// NLAW is a soft-launch launcher
|
|
GVAR(priority) = 1;
|
|
GVAR(angle) = 30;
|
|
GVAR(range) = 2;
|
|
GVAR(damage) = 0.6;
|
|
};
|
|
|
|
class launch_RPG32_F: Launcher_Base_F {
|
|
GVAR(priority) = 1;
|
|
GVAR(angle) = 60;
|
|
GVAR(range) = 15;
|
|
GVAR(damage) = 0.7;
|
|
};
|
|
|
|
class CannonCore;
|
|
class cannon_120mm: CannonCore {
|
|
GVAR(priority) = 1;
|
|
GVAR(angle) = 90;
|
|
GVAR(range) = 50;
|
|
GVAR(damage) = 0.85;
|
|
};
|
|
|
|
class mortar_155mm_AMOS: CannonCore {
|
|
GVAR(priority) = 1;
|
|
GVAR(angle) = 90;
|
|
GVAR(range) = 60;
|
|
GVAR(damage) = 1;
|
|
};
|
|
};
|