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;
|
2016-01-21 15:00:55 +00:00
|
|
|
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;
|
|
|
|
priority = 1;
|
|
|
|
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;
|
|
|
|
priority = 1;
|
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-15 22:30:47 +00:00
|
|
|
class APC_Tracked_01_base_F: Tank_F {
|
2016-01-21 15:00:55 +00:00
|
|
|
class Turrets: Turrets {
|
2017-10-03 16:57:07 +00:00
|
|
|
class MainTurret: MainTurret {};
|
2016-01-21 15:00:55 +00:00
|
|
|
};
|
2015-02-03 22:03:43 +00:00
|
|
|
};
|
|
|
|
|
2017-05-15 22:30:47 +00:00
|
|
|
class B_APC_Tracked_01_base_F: APC_Tracked_01_base_F {};
|
2015-02-03 22:03:43 +00:00
|
|
|
|
2017-05-15 22:30:47 +00:00
|
|
|
class B_APC_Tracked_01_AA_F: B_APC_Tracked_01_base_F {
|
2016-01-21 15:00:55 +00:00
|
|
|
class Turrets: Turrets {
|
2015-02-03 22:03:43 +00:00
|
|
|
class MainTurret: MainTurret {
|
2016-01-21 15:00:55 +00:00
|
|
|
GVAR(Enabled) = 1;
|
2017-05-15 22:30:47 +00:00
|
|
|
turretinfotype = "ACE_RscOptics_APC_Tracked_01_gunner";
|
2016-01-21 15:00:55 +00:00
|
|
|
GVAR(MaxDistance) = 2000;
|
|
|
|
discreteDistance[] = {};
|
|
|
|
discreteDistanceInitIndex = 0;
|
2017-05-15 22:30:47 +00:00
|
|
|
magazines[] += {"ACE_120Rnd_35mm_ABM_shells_Tracer_Red"};
|
2015-02-03 22:03:43 +00:00
|
|
|
};
|
2016-01-21 15:00:55 +00:00
|
|
|
};
|
2015-02-03 22:03:43 +00:00
|
|
|
};
|
|
|
|
|
2017-05-15 22:30:47 +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
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-15 22:30:47 +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 {
|
2016-01-21 15:00:55 +00:00
|
|
|
GVAR(Enabled) = 1;
|
2017-05-15 22:30:47 +00:00
|
|
|
turretinfotype = "ACE_RscOptics_APC_Tracked_01_gunner";
|
2016-01-21 15:00:55 +00:00
|
|
|
GVAR(MaxDistance) = 2000;
|
|
|
|
discreteDistance[] = {};
|
|
|
|
discreteDistanceInitIndex = 0;
|
2015-02-03 22:03:43 +00:00
|
|
|
magazines[] += {"ACE_120Rnd_35mm_ABM_shells_Tracer_Green"};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// AIR VEHICLES
|
|
|
|
class Air: AllVehicles {};
|
|
|
|
|
|
|
|
class Helicopter: Air {
|
|
|
|
class Turrets {
|
|
|
|
class MainTurret;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-15 22:30:47 +00:00
|
|
|
class Helicopter_Base_F: Helicopter {};
|
2015-02-03 22:03:43 +00:00
|
|
|
|
|
|
|
class Heli_Attack_01_base_F: Helicopter_Base_F {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret: MainTurret {
|
|
|
|
GVAR(Enabled) = 1;
|
|
|
|
discreteDistance[] = {};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Heli_Attack_02_base_F: Helicopter_Base_F {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret: MainTurret {
|
|
|
|
GVAR(Enabled) = 1;
|
|
|
|
discreteDistance[] = {};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|