ACE3/addons/fcs/CfgVehicles.hpp

99 lines
2.8 KiB
C++
Raw Normal View History

2015-02-03 22:03:43 +00:00
class CfgVehicles {
class All {
class Turrets;
};
class AllVehicles: All {
class NewTurret {
GVAR(Enabled) = 0;
GVAR(MinDistance) = 200;
GVAR(MaxDistance) = 5500;
2015-02-03 22:03:43 +00:00
GVAR(DistanceInterval) = 5;
class Turrets;
};
class CargoTurret;
};
// LAND VEHICLES
class Land: AllVehicles {};
class LandVehicle: Land {
class CommanderOptics;
};
class Car: LandVehicle {
class ACE_SelfActions {
class ResetFCS {
2015-06-06 02:02:24 +00:00
displayName = CSTRING(ResetFCS);
2015-12-10 15:00:14 +00:00
condition = QUOTE(_player call FUNC(canResetFCS));
2015-03-07 17:56:20 +00:00
statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset););
2015-02-03 22:03:43 +00:00
showDisabled = 0;
icon = "";
};
};
};
class Tank: LandVehicle {
class ACE_SelfActions {
class ResetFCS {
2015-06-06 02:02:24 +00:00
displayName = CSTRING(ResetFCS);
2015-12-10 15:00:14 +00:00
condition = QUOTE(_player call FUNC(canResetFCS));
2015-03-07 17:56:20 +00:00
statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset););
2015-02-03 22:03:43 +00:00
showDisabled = 0;
icon = "";
};
};
class Turrets {
2017-10-03 16:57:07 +00:00
class MainTurret: NewTurret {};
2015-02-03 22:03:43 +00:00
};
};
class Tank_F: Tank {
class Turrets {
2017-10-03 16:57:07 +00:00
class MainTurret: NewTurret {};
2015-02-03 22:03:43 +00:00
};
};
class APC_Tracked_01_base_F: Tank_F {
class Turrets: Turrets {
2017-10-03 16:57:07 +00:00
class MainTurret: MainTurret {};
};
2015-02-03 22:03:43 +00:00
};
class B_APC_Tracked_01_base_F: APC_Tracked_01_base_F {};
2015-02-03 22:03:43 +00:00
class B_APC_Tracked_01_AA_F: B_APC_Tracked_01_base_F {
class Turrets: Turrets {
2015-02-03 22:03:43 +00:00
class MainTurret: MainTurret {
GVAR(Enabled) = 1;
turretinfotype = "ACE_RscOptics_APC_Tracked_01_gunner";
GVAR(MaxDistance) = 2000;
discreteDistance[] = {};
discreteDistanceInitIndex = 0;
magazines[] += {"ACE_120Rnd_35mm_ABM_shells_Tracer_Red"};
2015-02-03 22:03:43 +00:00
};
};
2015-02-03 22:03:43 +00:00
};
class APC_Tracked_02_base_F: Tank_F {
2015-02-03 22:03:43 +00:00
class Turrets: Turrets {
2017-10-03 16:57:07 +00:00
class MainTurret: MainTurret {};
2015-02-03 22:03:43 +00:00
};
};
class O_APC_Tracked_02_base_F: APC_Tracked_02_base_F {};
class O_APC_Tracked_02_AA_F: O_APC_Tracked_02_base_F {
2015-02-03 22:03:43 +00:00
class Turrets: Turrets {
class MainTurret: MainTurret {
GVAR(Enabled) = 1;
turretinfotype = "ACE_RscOptics_APC_Tracked_01_gunner";
GVAR(MaxDistance) = 2000;
discreteDistance[] = {};
discreteDistanceInitIndex = 0;
2015-02-03 22:03:43 +00:00
magazines[] += {"ACE_120Rnd_35mm_ABM_shells_Tracer_Green"};
};
};
};
};