mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
31b1050f3b
* Initial commit * Initial commit * Initial Commit ACE-Coding-Guidelines compatible version of http://steamcommunity.com/sharedfiles/filedetails/?id=943852645 * Changes to realisticnames, readme.md, added to authors. * Dependency on ace_missileguidance * readme * Use ACE-AMG for ammo * Use macros in all configs * Use own attackProfile to prevent climbing at start even in low-flight-conditions. * include HUD from ace_hellfire * fix missing semicolon * Add missing defines, makes HUD work for now. * Readme * replace tabs with spaces * replace tabs with spaces 2 * replace tabs with spaces 3 * Use missileguidance's DIR-Profile instead of own. Keep profiles config for name and nameLocked values necessary for HUD * Use showHud from ace_laser * Minor Cleanup
49 lines
1.5 KiB
C++
49 lines
1.5 KiB
C++
class CfgWeapons {
|
|
class LauncherCore;
|
|
class RocketPods : LauncherCore {};
|
|
class weapon_AGM_65Launcher : RocketPods{};
|
|
|
|
class MissileLauncher : LauncherCore {};
|
|
class Missile_AGM_02_Plane_CAS_01_F : MissileLauncher {};
|
|
|
|
class GVAR(L_Launcher) : weapon_AGM_65Launcher {
|
|
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;
|
|
};
|
|
|
|
class GVAR(L_Launcher_Plane) : Missile_AGM_02_Plane_CAS_01_F {
|
|
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;
|
|
};
|
|
};
|