class vurtual_m1165: vurtual_hmmwv_base_ecv_a {
	class AcreRacks: AcreRacks {
		class Rack_1: Rack_1 {
			ACRE_POS_GUNNER
		};
		class Rack_2: Rack_2 {
			ACRE_POS_GUNNER
		};
	};
	vurtual_hmmwv_cargo_cover = 1;
	scope = 2;
	displayName = "M1165";
	model = "\vurtual_m998_m1100\vurtual_m1165.p3d";
	class Turrets: Turrets {
		class CargoTurret_Roof: CargoTurret_Roof {};
		#include "turret_fragdoor.hpp"
		class CargoTurret_Tailgate_L: CargoTurret_Tailgate_L {
			proxyIndex = 6;
		};
		class CargoTurret_Tailgate_R: CargoTurret_tailgate_R {
			proxyIndex = 7;
		};
		class CargoTurret_Tailgate_L_B: CargoTurret_Tailgate_L_B {};
		class CargoTurret_Tailgate_R_B: CargoTurret_tailgate_R_B {};
	};
	class VehicleTransport: VehicleTransport {
		class Carrier: Carrier {
			cargoBayDimensions[]        = {"VTV_Carrier_Base", "VTV_Carrier_Corner_m1165"};
		};
	};
	transportSoldier = 0;
	vurtual_hmmwv_windows[] = {{"window_codriver",0},{"window_left",1},{"window_right",2}};
	VIVPassengers[] = {3,4,5,6};
	class RenderTargets {
		class LeftMirror {
			renderTarget = "rendertarget0";
			
			class CameraView1 {
				pointPosition = "PIP0_pos";
				pointDirection = "PIP0_dir";
				renderQuality = 2;
				renderVisionMode = 4;
				fov = 0.7;
			};
		};
		class RightMirror {
			renderTarget = "rendertarget2";
			
			class CameraView1 {
				pointPosition = "PIP2_pos";
				pointDirection = "PIP2_dir";
				renderQuality = 2;
				renderVisionMode = 4;
				fov = 0.7;
			};
		};
		class GunnerLeftMirror {
			renderTarget = "rendertarget1";
			
			class CameraView1 {
				pointPosition = "PIP1_pos";
				pointDirection = "PIP1_dir";
				renderQuality = 2;
				renderVisionMode = 4;
				fov = 0.7;
			};
		};
		class GunnerRightMirror {
			renderTarget = "rendertarget3";
			
			class CameraView1 {
				pointPosition = "PIP3_pos";
				pointDirection = "PIP3_dir";
				renderQuality = 2;
				renderVisionMode = 4;
				fov = 0.7;
			};
		};
	};
	class AnimationSources: AnimationSources {
		class bedseat_fold: bedseat_fold {
			lockCargo[] = {3,4,5,6};
		};
		class m1151_hide {
			source = "user";
			animPeriod = 0.1;
			initPhase = 1;
		};
		class TurretRemoved: TurretRemoved {
			initPhase = 1;
		};
		class tailgate_hide: tailgate_hide {};
		class door_hide: door_hide {};
		class tailgate_fold: tailgate_fold {};
		class fordingkit_hide: fordingkit_hide {};
		class open_window: open_window {};
		class GunnerShield_hide: GunnerShield_hide {
			displayName = "";
		};
		class gpk_hide: gpk_hide {
			initPhase = 1;
		};
		class cover_4door_rear_fold: cover_4door_rear_fold {
			displayName = "Store Cargo Curtain";
		};
		class cover_4door_hide: cover_4door_hide {
			displayName = "Remove Cargo Cover";
		};
	};
};
class vurtual_m1165_mk19: vurtual_m1165 {
	scope = 2;
	displayName = "M1165 (Mk19)";
	vurtual_base_turnffv = 1;
	class Turrets: Turrets {
		class MainTurret: MainTurret {};
		#include "turret_fragdoor.hpp"
		class CargoTurret_Tailgate_L: CargoTurret_Tailgate_L {};
		class CargoTurret_Tailgate_R: CargoTurret_tailgate_R {};
		class CargoTurret_Tailgate_L_B: CargoTurret_Tailgate_L_B {};
		class CargoTurret_Tailgate_R_B: CargoTurret_tailgate_R_B {};
	};
	class AnimationSources: AnimationSources {
		class TurretRemoved: TurretRemoved {
			initPhase = 0;
		};
		class ReloadAnim{source="reload";weapon="vurtual_mk19";};
		class ReloadMagazine{source="reloadmagazine";weapon="vurtual_mk19";};
		class Revolving{source="revolving";weapon="vurtual_mk19";};
		class door_hide: door_hide {};
		class tailgate_fold: tailgate_fold {};
		class fordingkit_hide: fordingkit_hide {};
		class tailgate_hide: tailgate_hide {};
		class bedseat_fold: bedseat_fold {};
		class open_window: open_window {};
		class GunnerShield_hide: GunnerShield_hide {
			displayName = "Remove Gunner Shield";
		};
		class gpk_hide: gpk_hide {
			initPhase = 0;
		};
		class cover_4door_rear_fold: cover_4door_rear_fold {};
		class cover_4door_hide: cover_4door_hide {};
	};
};
class vurtual_m1165_m2: vurtual_m1165 {
	scope = 2;
	model = "\vurtual_m998_m1100\vurtual_m1165_m2.p3d";
	displayName = "M1165 (M2)";
	vurtual_base_turnffv = 1;

	class Turrets: Turrets {
		class MainTurret: MainTurret {
			weapons[]={"vurtual_M2"};
			magazines[] = {
				"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow"
				};
			gunnerName = "Gunner (M2)";
			discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1200, 1500};
			discreteDistanceInitIndex = 2;
		};
		#include "turret_fragdoor.hpp"
		class CargoTurret_Tailgate_L: CargoTurret_Tailgate_L {};
		class CargoTurret_Tailgate_R: CargoTurret_tailgate_R {};
		class CargoTurret_Tailgate_L_B: CargoTurret_Tailgate_L_B {};
		class CargoTurret_Tailgate_R_B: CargoTurret_tailgate_R_B {};
	};
	class AnimationSources: AnimationSources {
		class TurretRemoved: TurretRemoved {
			initPhase = 0;
		};
		class ReloadAnim{source="reload";weapon="vurtual_m2";};
		class ReloadMagazine{source="reloadmagazine";weapon="vurtual_m2";};
		class Revolving{source="revolving";weapon="vurtual_m2";};
		class door_hide: door_hide {};
		class tailgate_fold: tailgate_fold {};
		class fordingkit_hide: fordingkit_hide {};
		class tailgate_hide: tailgate_hide {};
		class bedseat_fold: bedseat_fold {};
		class open_window: open_window {};
		class GunnerShield_hide: GunnerShield_hide {
			displayName = "Remove Gunner Shield";
		};
		class gpk_hide: gpk_hide {
			initPhase = 0;
		};
		class cover_4door_rear_fold: cover_4door_rear_fold {};
		class cover_4door_hide: cover_4door_hide {};
	};
};
class vurtual_m1165_m240: vurtual_m1165 {
	scope = 2;
	model = "\vurtual_m998_m1100\vurtual_m1165_m240.p3d";
	displayName = "M1165 (M240)";
	vurtual_base_turnffv = 1;
	class Turrets: Turrets {
		class MainTurret: MainTurret {
			gunnerName = "Gunner (M240)";
			weapons[]={"vurtual_m240_veh"};
			magazines[]={
				"vurtual_200rnd_762x51_box",
				"vurtual_200rnd_762x51_box",
				"vurtual_200rnd_762x51_box",
				"vurtual_200rnd_762x51_box",
				"vurtual_200rnd_762x51_box",
				"vurtual_200rnd_762x51_box",
				"vurtual_200rnd_762x51_box",
				"vurtual_200rnd_762x51_box"
			};

			discreteDistance[] = {200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800};
			discreteDistanceInitIndex = 1;
		};
		#include "turret_fragdoor.hpp"
		class CargoTurret_Tailgate_L: CargoTurret_Tailgate_L {};
		class CargoTurret_Tailgate_R: CargoTurret_tailgate_R {};
		class CargoTurret_Tailgate_L_B: CargoTurret_Tailgate_L_B {};
		class CargoTurret_Tailgate_R_B: CargoTurret_tailgate_R_B {};
	};
	class AnimationSources: AnimationSources {
		class TurretRemoved: TurretRemoved {
			initPhase = 0;
		};
		class ReloadAnim{source="reload";weapon="vurtual_m240_veh";};
		class ReloadMagazine{source="reloadmagazine";weapon="vurtual_m240_veh";};
		class Revolving{source="revolving";weapon="vurtual_m240_veh";};
		class door_hide: door_hide {};
		class tailgate_fold: tailgate_fold {};
		class fordingkit_hide: fordingkit_hide {};
		class tailgate_hide: tailgate_hide {};
		class bedseat_fold: bedseat_fold {};
		class open_window: open_window {};
		class GunnerShield_hide: GunnerShield_hide {
			displayName = "Remove Gunner Shield";
		};
		class gpk_hide: gpk_hide {
			initPhase = 0;
		};
		class cover_4door_rear_fold: cover_4door_rear_fold {};
		class cover_4door_hide: cover_4door_hide {};
	};
};
class vurtual_m1165_crows_mk19: vurtual_m1165 {
	scope = 2;
	displayName = "M1165 (CROWS Mk19)";
	model = "\vurtual_m998_m1100\vurtual_m1165_crows.p3d";
	#include "cfgCrows.hpp"
	class Turrets: Turrets {
		class MainTurret: MainTurret {
			weapons[]={"vurtual_mk19_crows","vurtual_SmokeLauncher_crows"};
			magazines[]={
				"vurtual_96Rnd_40mm_G_belt",
				"vurtual_96Rnd_40mm_G_belt",
				"vurtual_96Rnd_40mm_G_belt",
				"vurtual_SmokeLauncherMag_crows"
			};
			#include "cfgCrowsTurret.hpp"
		};
		#include "turret_fragdoor_crows.hpp"
		class CargoTurret_Tailgate_L: CargoTurret_Tailgate_L {};
		class CargoTurret_Tailgate_R: CargoTurret_tailgate_R {};
		class CargoTurret_Tailgate_L_B: CargoTurret_Tailgate_L_B {};
		class CargoTurret_Tailgate_R_B: CargoTurret_tailgate_R_B {};
	};
	class AnimationSources: AnimationSources {
		class TurretRemoved: TurretRemoved {
			initPhase = 0;
		};
		class crows_weapon {
			initPhase = 0.1;
			source = "user";
			animPeriod = 0.1;
		};
		class tailgate_fold: tailgate_fold {};
		class fordingkit_hide: fordingkit_hide {};
		class bedseat_fold: bedseat_fold {};
		class cover_4door_hide: cover_4door_hide {};
		class tailgate_hide: tailgate_hide {};
		class open_window: open_window {};
		class GunnerShield_hide: GunnerShield_hide {
			displayName = "";
		};
		class gpk_hide: gpk_hide {
			displayName = "";
		};
		class cover_4door_rear_fold: cover_4door_rear_fold {};
	};
};
class vurtual_m1165_crows_m2: vurtual_m1165_crows_mk19 {
	scope = 2;
	displayName = "M1165 (CROWS M2)";
	class Turrets: Turrets {
		class MainTurret: MainTurret {
			weapons[]={"vurtual_M2_crows","vurtual_SmokeLauncher_crows"};
			magazines[] = {
				"vurtual_400Rnd_127x99_belt",
				"vurtual_400Rnd_127x99_belt",
				"vurtual_400Rnd_127x99_belt",
				"vurtual_SmokeLauncherMag_crows"
				};
			gunnerName = "Gunner (CROWS M2)";
			discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1200, 1500};
			discreteDistanceInitIndex = 2;
		};
		#include "turret_fragdoor_crows.hpp"
		class CargoTurret_Tailgate_L: CargoTurret_Tailgate_L {};
		class CargoTurret_Tailgate_R: CargoTurret_tailgate_R {};
		class CargoTurret_Tailgate_L_B: CargoTurret_Tailgate_L_B {};
		class CargoTurret_Tailgate_R_B: CargoTurret_tailgate_R_B {};
	};
	class AnimationSources: AnimationSources {
		class crows_weapon: crows_weapon {
			initPhase = 0.2;
		};
		class tailgate_fold: tailgate_fold {};
		class fordingkit_hide: fordingkit_hide {};
		class bedseat_fold: bedseat_fold {};
		class cover_4door_hide: cover_4door_hide {};
		class tailgate_hide: tailgate_hide {};
		class open_window: open_window {};
		class cover_4door_rear_fold: cover_4door_rear_fold {};
	};
};
class vurtual_m1165_crows_m240: vurtual_m1165_crows_mk19 {
	scope = 2;
	displayName = "M1165 (CROWS M240)";
	class Turrets: Turrets {
		class MainTurret: MainTurret {
			gunnerName = "Gunner (CROWS M240)";
			weapons[]={"vurtual_m240_crows","vurtual_SmokeLauncher_crows"};
			magazines[]={
				"vurtual_1000rnd_762x51_box",
				"vurtual_1000rnd_762x51_box",
				"vurtual_SmokeLauncherMag_crows"
			};

			discreteDistance[] = {200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800};
			discreteDistanceInitIndex = 1;

		};
		#include "turret_fragdoor_crows.hpp"
		class CargoTurret_Tailgate_L: CargoTurret_Tailgate_L {};
		class CargoTurret_Tailgate_R: CargoTurret_tailgate_R {};
		class CargoTurret_Tailgate_L_B: CargoTurret_Tailgate_L_B {};
		class CargoTurret_Tailgate_R_B: CargoTurret_tailgate_R_B {};
	};
	class AnimationSources: AnimationSources {
		class crows_weapon: crows_weapon {
			initPhase = 0.3;
		};
		class tailgate_fold: tailgate_fold {};
		class fordingkit_hide: fordingkit_hide {};
		class bedseat_fold: bedseat_fold {};
		class cover_4door_hide: cover_4door_hide {};
		class tailgate_hide: tailgate_hide {};
		class open_window: open_window {};
		class cover_4door_rear_fold: cover_4door_rear_fold {};
	};
};