Fix titan on blufor LSV (#6270)

This commit is contained in:
PabstMirror 2018-04-15 10:58:00 -05:00 committed by SilentSpike
parent 4aa2ebc991
commit 451d50f4a2
2 changed files with 23 additions and 19 deletions

View File

@ -65,4 +65,22 @@ class CfgVehicles {
}; };
}; };
}; };
class Car;
class Car_F: Car {
class Turrets {
class MainTurret;
};
};
class LSV_01_base_F: Car_F {
class Turrets: Turrets {};
};
class LSV_01_AT_base_F: LSV_01_base_F { // Prowler / Polaris DAGOR
class Turrets: Turrets {
class TopTurret: MainTurret {
weapons[] = { QGVAR(Titan_Static) };
turretInfoType = "ACE_RscOptics_javelin";
gunnerOpticsModel = QPATHTOF(data\reticle_titan.p3d);
};
};
};
}; };

View File

@ -1,18 +1,8 @@
class CfgWeapons { class CfgWeapons {
class Launcher;
class MissileLauncher;
class Launcher_Base_F: Launcher { class missiles_titan_static;
class WeaponSlotsInfo; class GVAR(Titan_Static): missiles_titan_static {
}; modes[] = {"Player"};
// @TODO: AA by default, motherfuckers
class missiles_titan: MissileLauncher {
};
class missiles_titan_at: missiles_titan { };
class GVAR(Titan_Static): missiles_titan_at {
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_javelin"; weaponInfoType = "ACE_RscOptics_javelin";
modelOptics = QPATHTOF(data\reticle_titan.p3d); modelOptics = QPATHTOF(data\reticle_titan.p3d);
@ -23,11 +13,7 @@ class CfgWeapons {
lockedTargetSound[] = {"",0,1}; lockedTargetSound[] = {"",0,1};
}; };
// @TODO: AA by default, motherfuckers class launch_Titan_short_base;
class launch_Titan_base: Launcher_Base_F {};
class launch_Titan_short_base: launch_Titan_base { };
class launch_B_Titan_short_F: launch_Titan_short_base { class launch_B_Titan_short_F: launch_Titan_short_base {
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_javelin"; weaponInfoType = "ACE_RscOptics_javelin";