2017-09-16 20:25:20 +00:00
|
|
|
class CfgWeapons {
|
|
|
|
class LauncherCore;
|
2021-10-15 18:47:05 +00:00
|
|
|
class RocketPods: LauncherCore {};
|
2021-10-18 16:56:43 +00:00
|
|
|
class weapon_AGM_65Launcher: RocketPods {};
|
2017-09-16 20:25:20 +00:00
|
|
|
|
2021-10-15 18:47:05 +00:00
|
|
|
class MissileLauncher: LauncherCore {};
|
|
|
|
class Missile_AGM_02_Plane_CAS_01_F: MissileLauncher {};
|
2017-09-16 20:25:20 +00:00
|
|
|
|
2021-10-15 18:47:05 +00:00
|
|
|
class GVAR(L_Launcher): weapon_AGM_65Launcher {
|
2017-09-16 20:25:20 +00:00
|
|
|
author = "xrufix";
|
|
|
|
displayname = CSTRING(L);
|
|
|
|
magazines[] = {
|
|
|
|
QGVAR(L_magazine_x1),
|
|
|
|
QGVAR(L_pylonmissile_x1),
|
|
|
|
QGVAR(L_pylonmissile_x2),
|
|
|
|
QGVAR(L_pylonRack_1Rnd),
|
|
|
|
QGVAR(L_PylonRack_3Rnd),
|
|
|
|
QGVAR(L_PylonRack_x1),
|
|
|
|
QGVAR(L_PylonRack_x2)
|
|
|
|
};
|
|
|
|
weaponLockDelay = 0.1;
|
|
|
|
weaponLockSystem = 0;
|
|
|
|
|
|
|
|
EGVAR(laser,canSelect) = 1; // can ace_laser lock (allows switching laser code)
|
|
|
|
EGVAR(laser,showHud) = 1; // show attack profile / lock on hud
|
|
|
|
GVAR(enabled) = 1;
|
|
|
|
};
|
|
|
|
|
2021-10-15 18:47:05 +00:00
|
|
|
class GVAR(L_Launcher_Plane): Missile_AGM_02_Plane_CAS_01_F {
|
2017-09-16 20:25:20 +00:00
|
|
|
author = "xrufix";
|
|
|
|
displayname = CSTRING(L);
|
|
|
|
magazines[] = {
|
|
|
|
QGVAR(L_magazine_x1),
|
|
|
|
QGVAR(L_pylonmissile_x1),
|
|
|
|
QGVAR(L_pylonmissile_x2),
|
|
|
|
QGVAR(L_pylonRack_1Rnd),
|
|
|
|
QGVAR(L_PylonRack_3Rnd),
|
|
|
|
QGVAR(L_PylonRack_x1),
|
|
|
|
QGVAR(L_PylonRack_x2)
|
|
|
|
};
|
|
|
|
weaponLockDelay = 0.1;
|
|
|
|
weaponLockSystem = 0;
|
|
|
|
|
|
|
|
EGVAR(laser,canSelect) = 1; // can ace_laser lock (allows switching laser code)
|
|
|
|
EGVAR(laser,showHud) = 1; // show attack profile / lock on hud
|
|
|
|
GVAR(enabled) = 1;
|
|
|
|
};
|
2018-01-01 00:01:09 +00:00
|
|
|
|
2021-10-15 18:47:05 +00:00
|
|
|
class weapon_AGM_KH25Launcher: MissileLauncher {};
|
|
|
|
class ace_kh25ml_launcher: weapon_AGM_KH25Launcher {
|
2018-01-01 00:01:09 +00:00
|
|
|
author = "xrufix";
|
|
|
|
displayName = CSTRING(KH25ML);
|
|
|
|
magazines[] = {
|
|
|
|
"ace_kh25ml_pylonrack_x1",
|
|
|
|
"ace_kh25ml_magazine_x1",
|
|
|
|
"ace_kh25ml_pylonmissile_x1",
|
|
|
|
"ace_kh25ml_pylonmissile_int_x1"
|
|
|
|
};
|
|
|
|
weaponLockDelay = 0.1;
|
|
|
|
weaponLockSystem = 0;
|
2021-10-30 21:42:03 +00:00
|
|
|
|
2018-01-01 00:01:09 +00:00
|
|
|
EGVAR(laser,canSelect) = 1; // can ace_laser lock (allows switching laser code)
|
|
|
|
EGVAR(laser,showHud) = 1; // show attack profile / lock on hud
|
|
|
|
GVAR(enabled) = 1;
|
|
|
|
};
|
2017-09-16 20:25:20 +00:00
|
|
|
};
|