/*extern*/ class DefaultEventhandlers;

class CfgPatches
{
  class cyborg11_west_lb_config
  {
    units[] = {"cyborg11_AH6"};
    weapons[] = {};
    requiredVersion = 1.00;
    requiredAddons[] = {"CAAir", "cyborg11_west_lb"};
  };
};

class ViewOptics;
class AnimationSources;

class CfgVehicles {
	class Helicopter;

	class AH6: Helicopter {
		faction = "USMC";
		scope = 2;
		model = "\cyborg11_west_lb\ah6_lb";
		picture = "\cyborg11_west_lb\a1_content\ah6_lb_CA.paa";
		Icon = "\cyborg11_west_lb\a1_content\icomap_ah6_lb_CA.paa";
		mapSize = 9;
		nameSound = "chopper";
		displayName = "AH6 ArmA1";
		memoryPointGun = "machinegun";
		transportSoldier = 1;
		hasGunner = 0;
		crew = "USMC_Soldier_Pilot";
		side = 1;
		accuracy = 0.020000;
		camouflage = 60;
		audible = 20;
		occludeSoundsWhenIn = 0.562341;
		obstructSoundsWhenIn = 0.316228;
		weapons[] = {"FFARLauncher_14", "TwinM134"};
		magazines[] = {"14Rnd_FFAR", "4000Rnd_762x51_M134"};
		driverAction = "AH6_Pilot";
		cargoIsCoDriver[] = {1};
		cargoAction[] = {"AH6_Gunner"};
		gunnerUsesPilotView = 1;
		castCargoShadow = 1;
		extCameraPosition[] = {0, 2, -15};
		maxSpeed = 235;

		class Turrets {
		};

		class ViewOptics {
			initAngleX = 0;
			minAngleX = -30;
			maxAngleX = 30;
			initAngleY = 0;
			minAngleY = -86;
			maxAngleY = 86;
			initFov = 0.100000;
			minFov = 0.030000;
			maxFov = 1.200000;
		};
		soundEngine[] = {"\cyborg11_west_lb\a1_content\AH6_engine_v3", 25.118862, 1};
		soundGetIn[] = {"\cyborg11_west_lb\a1_content\heli_door2", 0.100000, 1};
		soundGetOut[] = {"\cyborg11_west_lb\a1_content\heli_door2", 0.100000, 1};
		armor = 25;
		damageResistance = 0.010390;
		cost = 10000000;
		typicalCargo[] = {"USMC_Soldier_Pilot", "USMC_Soldier_Pilot"};
		threat[] = {0.600000, 0.600000, 0.300000};
		dammageHalf[] = {
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr1_ca.paa", 
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr1_ca.paa"
		};
		dammageFull[] = {
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr2_ca.paa", 
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr2_ca.paa"
		};

		class AnimationSources: AnimationSources {

			class MachineGun {
				source = "reload";
				weapon = "TwinM134";
			};
		};

		class Damage {
			tex[] = {};
			mat[] = {
			"cyborg11_west_lb\a1_content\mh6_console.rvmat", 
			"cyborg11_west_lb\a1_content\mh6_console.rvmat", 
			"cyborg11_west_lb\a1_content\mh6_console_destruct.rvmat", 
			"cyborg11_west_lb\a1_content\mh6_body.rvmat", 
			"cyborg11_west_lb\a1_content\mh6_body.rvmat", 
			"cyborg11_west_lb\a1_content\mh6_body_destruct.rvmat", 
			"cyborg11_west_lb\a1_content\ah6_zbrane.rvmat", 
			"cyborg11_west_lb\a1_content\ah6_zbrane.rvmat", 
			"cyborg11_west_lb\a1_content\ah6_zbrane_destruct.rvmat", 
			"cyborg11_west_lb\a1_content\mh6_interier.rvmat", 
			"cyborg11_west_lb\a1_content\mh6_interier.rvmat", 
			"cyborg11_west_lb\a1_content\mh6_interier_destruct.rvmat"
			};
		};
		class EventHandlers: DefaultEventhandlers
		{
			fired="_this execVM ""\cyborg11_west_lb\SDP_lb_mg.sqf""";
		};
		class Library {
			libTextDesc = "ArmA 1 AH6 Conversion";
		};
	};	
	class AH6_RACS: AH6 {
		side = 2;
		faction = "GUE";
		crew = "GUE_Soldier_Pilot";
		model = "\cyborg11_west_lb\ah6_lb_sp";
		picture = "\cyborg11_west_lb\a1_content\ah6_lb_sp_CA.paa";
		Icon = "\cyborg11_west_lb\a1_content\icomap_ah6_lb_CA.paa";
		mapSize = 9;
		displayName = "AH6 ArmA1 RACS";
		typicalCargo[] = {"GUE_Soldier_Pilot"};
		dammageHalf[] = {
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr1_ca.paa", 
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr1_ca.paa"
		};
		dammageFull[] = {
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr2_ca.paa", 
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr2_ca.paa"
		};

		class Damage {
			tex[] = {};
			mat[] = {
				"cyborg11_west_lb\a1_content\mh6_console.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_console.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_console_destruct.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_body.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_body.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_body_destruct.rvmat", 
				"cyborg11_west_lb\a1_content\ah6_zbrane.rvmat", 
				"cyborg11_west_lb\a1_content\ah6_zbrane.rvmat", 
				"cyborg11_west_lb\a1_content\ah6_zbrane_destruct.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_interier.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_interier.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_interier_destruct.rvmat"
			};
		};
	};

	class MH6: AH6 {
		faction = "USMC";
		displayName = "MH6 ArmA1";
		model = "\cyborg11_west_lb\mh6_lb";
		picture = "\cyborg11_west_lb\a1_content\mh6_lb_CA.paa";
		Icon = "\cyborg11_west_lb\a1_content\icomap_mh6_lb_CA.paa";
		mapSize = 9;
		weapons[] = {};
		magazines[] = {};
		transportSoldier = 5;
		typicalCargo[] = {"USMC_Soldier_Pilot"};
		cargoAction[] = {"AH6_Gunner", "MH6_Cargo01", "MH6_Cargo02", "MH6_Cargo02", "MH6_Cargo02", "MH6_Cargo03"};
		ejectDeadCargo = 1;
		cargoIsCoDriver[] = {1, 0, 0, 0, 0};

		class Library {
			libTextDesc = "ArmA 1 MH6 Conversion";
		};
		dammageHalf[] = {
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr1_ca.paa", 
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr1_ca.paa"
		};
		dammageFull[] = {
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr2_ca.paa", 
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr2_ca.paa"
		};

		class Damage {
			tex[] = {};
			mat[] = {"cyborg11_west_lb\a1_content\mh6_console.rvmat", "cyborg11_west_lb\a1_content\mh6_console.rvmat", 		"cyborg11_west_lb\a1_content\mh6_console_destruct.rvmat", "cyborg11_west_lb\a1_content\mh6_body.rvmat", "cyborg11_west_lb\a1_content\mh6_body.rvmat", "cyborg11_west_lb\a1_content\mh6_body_destruct.rvmat", "cyborg11_west_lb\a1_content\mh6_interier.rvmat", "cyborg11_west_lb\a1_content\mh6_interier.rvmat", "cyborg11_west_lb\a1_content\mh6_interier_destruct.rvmat"};
		};
	};

	class MH6_RACS: MH6 {
		faction = "GUE";
		side = 2;
		crew = "GUE_Soldier_Pilot";
		model = "\cyborg11_west_lb\mh6_lb_sp";
		picture = "\cyborg11_west_lb\a1_content\mh6_lb_sp_CA.paa";
		Icon = "\cyborg11_west_lb\a1_content\icomap_mh6_lb_CA.paa";
		mapSize = 9;
		displayName = "MH6 ArmA1 RACS";
		typicalCargo[] = {"GUE_Soldier_Pilot"};
		dammageHalf[] = {
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr1_ca.paa", 
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr1_ca.paa"
		};
		dammageFull[] = {
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr2_ca.paa", 
			"\cyborg11_west_lb\a1_content\mh6_skla_ca.paa", "\cyborg11_west_lb\a1_content\mh6_sklabr2_ca.paa"
		};

		class Damage {
			tex[] = {};
			mat[] = {
				"cyborg11_west_lb\a1_content\mh6_console.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_console.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_console_destruct.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_body.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_body.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_body_destruct.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_interier.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_interier.rvmat", 
				"cyborg11_west_lb\a1_content\mh6_interier_destruct.rvmat"
			};
		};
	};

};