2016-05-30 16:37:03 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class LandVehicle;
|
|
|
|
class Tank: LandVehicle {
|
|
|
|
class NewTurret;
|
|
|
|
};
|
|
|
|
class Tank_F: Tank {
|
|
|
|
class Turrets {
|
|
|
|
class MainTurret: NewTurret {
|
|
|
|
class Turrets {
|
|
|
|
class CommanderOptics;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-08-27 08:45:35 +00:00
|
|
|
class Car: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {};
|
|
|
|
};
|
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
class Car_F: Car {
|
|
|
|
class ViewPilot;
|
|
|
|
class NewTurret;
|
|
|
|
};
|
|
|
|
class Wheeled_APC_F: Car_F {
|
|
|
|
class NewTurret;
|
|
|
|
class Turrets {
|
|
|
|
class MainTurret: NewTurret
|
|
|
|
{
|
|
|
|
class ViewOptics;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class CommanderOptics;
|
|
|
|
};
|
2017-05-10 16:28:14 +00:00
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
|
|
|
class Turrets;
|
|
|
|
};
|
|
|
|
class Helicopter_Base_F: Helicopter {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
class rhs_bmd_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 300;
|
|
|
|
};
|
|
|
|
class rhs_bmp1tank_base: Tank_F {
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {0,1,0,0.1};
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 460;
|
|
|
|
};
|
|
|
|
class rhs_bmp3tank_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 460;
|
|
|
|
};
|
|
|
|
class rhs_btr_base: Wheeled_APC_F {
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {0,0,1,0.1};
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 300;
|
|
|
|
};
|
|
|
|
class rhs_a3spruttank_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 400;
|
|
|
|
};
|
|
|
|
class rhs_a3t72tank_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1200;
|
|
|
|
};
|
|
|
|
class rhs_tank_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1200;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_infantry_msv_base;
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_pilot_base: rhs_infantry_msv_base {
|
2016-05-30 16:37:03 +00:00
|
|
|
ace_gforcecoef = 0.55;
|
|
|
|
};
|
|
|
|
|
|
|
|
class O_Plane_CAS_02_F;
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_su25_base: O_Plane_CAS_02_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 3600;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Helicopter_Base_H: Helicopter_Base_F {
|
|
|
|
class EventHandlers;
|
|
|
|
};
|
|
|
|
class Heli_Light_02_base_F: Helicopter_Base_H {};
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_Mi8_base: Heli_Light_02_base_F {
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {1,0,0,0.1};
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 3700;
|
|
|
|
EGVAR(fastroping,enabled) = 0;
|
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class RHS_EventHandlers;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_Mi8amt_base: RHS_Mi8_base {
|
|
|
|
EGVAR(fastroping,enabled) = 1;
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {{-1.13, 4.67, -0.89}};
|
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
|
|
|
|
|
|
|
class UserActions {
|
|
|
|
class openDoor;
|
|
|
|
class closeDoor_L: openDoor {
|
|
|
|
condition = QUOTE((this doorPhase 'LeftDoor' > 0.5) && {alive this} && {!(this getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)])});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class RHS_EventHandlers: RHS_EventHandlers {
|
|
|
|
getOut = QUOTE(if !((_this select 0) getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)]) then {_this call rhs_fnc_mi8_doors});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_Mi8_VVS_Base: RHS_Mi8_base {};
|
|
|
|
class RHS_Mi8mt_vvs: RHS_Mi8_VVS_Base {};
|
|
|
|
class RHS_Mi8mt_Cargo_vvs: RHS_Mi8mt_vvs {
|
|
|
|
EGVAR(fastroping,enabled) = 1;
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {{-1.13, 4.67, -0.89}};
|
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
|
|
|
|
|
|
|
class UserActions {
|
|
|
|
class openDoor_L;
|
|
|
|
class closeDoor_L: openDoor_L {
|
|
|
|
condition = QUOTE((this doorPhase 'LeftDoor' > 0.5) && {alive this} && {!(this getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)])});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class RHS_EventHandlers: RHS_EventHandlers {
|
|
|
|
getOut = QUOTE(if !((_this select 0) getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)]) then {_this call rhs_fnc_mi8_doors});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-10 16:28:14 +00:00
|
|
|
class Heli_Attack_02_base_F: Helicopter_Base_F {};
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_Ka52_base: Heli_Attack_02_base_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 1870;
|
|
|
|
EGVAR(fastroping,enabled) = 0;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_Mi24_base: Heli_Attack_02_base_F {
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {1,0,0,0.1};
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 1851;
|
|
|
|
EGVAR(fastroping,enabled) = 0;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_t80b: rhs_tank_base {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 1100;
|
|
|
|
};
|
2016-08-27 08:45:35 +00:00
|
|
|
class Truck_F: Car_F {};
|
|
|
|
class RHS_Ural_BaseTurret: Truck_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 360;
|
|
|
|
};
|
|
|
|
|
2016-08-27 08:45:35 +00:00
|
|
|
class RHS_Ural_Base: RHS_Ural_BaseTurret {};
|
|
|
|
class RHS_Ural_MSV_Base: RHS_Ural_Base {};
|
|
|
|
class RHS_Ural_Support_MSV_Base_01: RHS_Ural_MSV_Base {};
|
|
|
|
class RHS_Ural_Fuel_MSV_01: RHS_Ural_Support_MSV_Base_01 {
|
|
|
|
transportFuel = 0;
|
|
|
|
EGVAR(refuel,hooks)[] = {{-0.05,-3.6,-0.45}};
|
|
|
|
EGVAR(refuel,fuelCargo) = 10000;
|
|
|
|
};
|
2017-10-14 16:56:12 +00:00
|
|
|
class RHS_Ural_Repair_MSV_01: RHS_Ural_Support_MSV_Base_01 {
|
|
|
|
transportRepair = 0;
|
|
|
|
EGVAR(repair,canRepair) = 1;
|
|
|
|
};
|
2016-08-27 08:45:35 +00:00
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_truck: Truck_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 210;
|
|
|
|
};
|
|
|
|
|
2016-08-27 08:45:35 +00:00
|
|
|
class rhs_gaz66_vmf: rhs_truck {};
|
|
|
|
class rhs_gaz66_repair_base: rhs_gaz66_vmf {
|
|
|
|
transportRepair = 0;
|
|
|
|
EGVAR(repair,canRepair) = 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_gaz66_ammo_base: rhs_gaz66_vmf {
|
|
|
|
transportAmmo = 0;
|
2017-06-22 14:47:06 +00:00
|
|
|
ace_rearm_defaultSupply = 1200;
|
2016-08-27 08:45:35 +00:00
|
|
|
};
|
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
class MRAP_02_base_F;
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_tigr_base: MRAP_02_base_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 138;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Offroad_01_base_f;
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_UAZ_Base: Offroad_01_base_f {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 78;
|
|
|
|
};
|
|
|
|
|
2016-07-30 10:50:52 +00:00
|
|
|
class APC_Tracked_02_base_F: Tank_F {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret: MainTurret {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_zsutank_base: APC_Tracked_02_base_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 515;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_btr60_base: rhs_btr_base {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 290;
|
|
|
|
};
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_btr70_vmf: rhs_btr_base {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 350;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_btr70_msv: rhs_btr70_vmf {};
|
|
|
|
class rhs_btr80_msv: rhs_btr70_msv {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 300;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_2s3tank_base: Tank_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 830;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class OTR21_Base: Truck_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 500;
|
|
|
|
};
|
|
|
|
};
|