All pastes #630034 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-22 21:19 UTC
rendered paste body
/*###############################################
#				MAP AIR 1.08 				    #
#			   By Marco-Polo-IV					#
#					(C)2007				   		#
#												#
#												#
#												#
###############################################*/


class Rotation;

class CfgSkeletons
{
	#include "\map_basic_models\map_inc_cfgSkeletons.h"
	class MAP_AH64_Skeleton : MAP_Helicopter
	{
		isDiscrete=1;

		skeletonInherit="MAP_Helicopter";
		skeletonBones[]=
		{
			"mainRotor","",
			"tailRotor","",

			"FGear","",
			"RGear","",

			"map_tail","",
			
			"sensors_turret","",
			"sensors","sensors_turret",
		};
	};
	class MAP_CH47_Skeleton : MAP_Helicopter
	{
		isDiscrete = 1;

		skeletonInherit = "MAP_Helicopter";
		skeletonBones[] = 
		{
			"right_turret1","",
			"right_turret1_Gun","right_turret1",
		};
	};
};


class CfgModels
{
	#include "\map_basic_models\map_inc_cfgModels.h"
	class map_ah64 : MAP_Helicopter
	{
		sectionsInherit = "MAP_Helicopter";
		sections[] =
		{
			"mainRotor","mainRotor_staticka","mainRotor_blur","mainRotor_dive",
			"tailRotor","tailRotor_staticka","tailRotor_blur",
			
			"map_tail",
			"pil_mfd",

			"pic_usarmy","pic_nation","pic_nation2","pic_nl"
		};
		skeletonName = "MAP_AH64_Skeleton";
		
		class Animations : Animations
		{
			class mainRotor
			{
				type = "rotationY";
				source = "rotorH";
				selection = "mainRotor";
				axis = "";
				memory = 1;
				sourceAddress = "loop";
				minValue = 0;
				maxValue = 1;
				angle0 = 0;
				angle1 = "rad +360";
			};
			class mainRotor_dive
			{
				type = "rotationX";
				source = "rotorHdive";
				selection = "mainRotor";
				axis = "predni osa naklonu";
				memory = 1;
				minValue = "rad -90";
				maxValue = "rad +90";
				angle0 = "rad -90";
				angle1 = "rad +90";	
			};
			class tailRotor
			{
				type = "rotationX";
				source = "rotorV";
				selection = "tailRotor";
				axis = "";
				memory = 1;
				sourceAddress = "loop";
				minValue = 0;
				maxValue = 1;
				angle0 = 0;
				angle1 = "rad -360";			
			};
			class mainTurret
			{
				type = "rotationY";
				source = "mainTurret";
				selection = "otocvez";
				axis = "osaveze";
				animPeriod = 0;
				memory = 1;
				minValue = "rad -360";
				maxValue = "rad +360";
				angle0 = "rad -360";
				angle1 = "rad +360";
			};
			class mainGun
			{
				type = "rotationX";
				source = "mainGun";
				selection = "otochlaven";
				axis = "osahlavne";
				animPeriod = 0;
				memory = 1;
				minValue = "rad -360";
				maxValue = "rad +360";
				angle0 = "rad -360";
				angle1 = "rad +360";
			};
			class elevator : Rotation
			{
				source = "speed";
				selection = "map_tail";
				axis = "axis_tail";
				minValue = 5.000000;
				maxValue = 27.799999;
				memory = 1;
				angle0 = 0;
				angle1 = 0.785;
			};
			class FGear : Rotation
			{
				source = "altRadar";
				selection = "FGear";
				axis = "axis_FGear";
				maxValue = 0.400000;
				angle0 =  0.187266;
				angle1 = -0.056706;
			};
			class RGear : FGear
			{
				selection = "RGear";
				axis = "axis_RGear";
				angle0 = 0.000000;
			};
			class sensors_turret : mainTurret
			{
				selection = "sensors_turret";
				axis = "axis_sensors_turret";
			};
			class sensors : mainGun
			{
				selection = "sensors";
				axis = "axis_sensors";
			};
		};
	};
	class map_ah64_gs : map_ah64{};
	class map_ah64_cc : map_ah64{};
	class map_ah64_co : map_ah64{};
	class map_ah64_aa : map_ah64{};
	class map_ah64_mav : map_ah64{};
	class map_ah64_mav2 : map_ah64{};
	class map_ah64_tow : map_ah64{};

	class map_ah64_blk  : map_ah64{};
	class map_ah64_cc_blk : map_ah64{};
	class map_ah64_co_blk : map_ah64{};
	class map_ah64_gs_blk : map_ah64{};
	class map_ah64_aa_blk : map_ah64{};
	class map_ah64_mav_blk : map_ah64{};
	class map_ah64_mav2_blk : map_ah64{};
	class map_ah64_tow_blk : map_ah64{};
	
	class map_ch47 : MAP_Helicopter
	{
		sectionsInherit = "MAP_Helicopter";
		sections[] = {"zasleh_g3"};
		skeletonName = "MAP_CH47_Skeleton";
		class Animations : Animations
		{		
			class mainTurret
			{
				type = "rotationY";
				source = "mainTurret";
				selection = "otocvez";
				axis = "osaveze";
				animPeriod = 0;
				minValue = "rad -360";
				maxValue = "rad +360";
				angle0 = "rad -360";
				angle1 = "rad +360";
			};
			class mainGun
			{
				type = "rotationX";
				source = "mainGun";
				selection = "otochlaven";
				axis = "osahlavne";
				animPeriod = 0;
				minValue = "rad -360";
				maxValue = "rad +360";
				angle0 = "rad -360";
				angle1 = "rad +360";
			};
			class rightTurret : mainTurret
			{
				source = "rightTurret";
				selection = "right_turret1";
				axis = "osaveze_g3";
			};
			class rightTurretGun : mainGun
			{
				source = "rightTurretGun";
				selection = "right_turret1_Gun";
				axis = "osahlavne_g3";
			};
		};
	};
	class map_ch47cargo : map_ch47{};
	class map_ch47medic : map_ch47{};
};

class CfgPatches
{
	class MAP_Air
	{
		units[] = 
		{
			// Westen
			// Ch-47D
			"MAP_CH47D","MAP_CH47D_Cargo","MAP_CH47D_Medivac",
			//AH-64A
			"MAP_AH64","MAP_AH64_CC","MAP_AH64_GS","MAP_AH64_GS_M229","MAP_AH64_GS_Mixed","MAP_AH64_CO",
			"MAP_AH64_MAV","MAP_AH64_MAV2","MAP_AH64_AA","MAP_AH64_TOW",
			"MAP_AH64_BLK","MAP_AH64_CC_BLK","MAP_AH64_GS_BLK","MAP_AH64_GS_M229_BLK","MAP_AH64_GS_Mixed_BLK","MAP_AH64_CO_BLK",
			"MAP_AH64_MAV_BLK","MAP_AH64_MAV2_BLK","MAP_AH64_AA_BLK","MAP_AH64_TOW_BLK",
			// AV8B
			"MAP_AV8B_MAV",
			// A-10 
			"MAP_A10_LGB","MAP_A10_AA",

			// Osten
			// SU-34B
			"MAP_SU34B_Kh29L"
		};
		weapons[] = {};
		requiredVersion = 1.000000;
		requiredAddons[] = {"CAAir","CAAir3","CAA10","CACharacters","CAWeapons","CA_Anims_Char","MAP_Basic_Models","MAP_Air_Weap"};
		version = 1.08;
	};
};

class CfgVehicleClasses
{
	class MAP_Air
	{
		displayName = "MAP: Air";
	};
	class MAP_Ruins
	{
		displayName = "MAP: Wrecks";
	};
};

class CfgVehicles
{

	class Helicopter;
	class MAP_Heli : Helicopter
	{
		scope = 0;
		type = 2;
		vehicleClass = "MAP_Air";
		class NewTurret;
		irScanRangeMin = 500;
		irScanRangeMax = 8000;
		class ViewPilot;
		class AnimationSources;
	};

	// MAP_CH47 Anfang
	class MAP_CH47D : MAP_Heli
	{
		scope = 2;
		side = 1;
		
		displayName = "CH-47D";
		model = "\map_air\map_ch47.p3d";

		mainRotorSpeed = 1.0;
		backRotorSpeed = -1.0; 

		minMainRotorDive = -9;
		maxMainRotorDive = 15;
		neutralMainRotorDive = -5;

		minBackRotorDive = -15;
		maxBackRotorDive = 9;
		neutralBackRotorDive = -5;
		
		irScanRangeMax = 1500;

		picture = "\map_air\data\ico\ich47.paa";
		mapSize = 16;
		Icon = "\map_air\data\map_ico\icomap_ch47_map.paa";
		crew = "SoldierWPilot";
		driverAction = "UH60_Pilot";
		crewVulnerable = 0;
		maxSpeed = 230;

		enableSweep = 0;
		transportAmmo = 0;

		steerAheadSimul = 2.0;
		steerAheadPlan = 2.4;

		armor = 60;
		damageResistance = 0.00242;
		armorStructural = 2.0;

		transportSoldier = 24;
		typicalCargo[] = {"SoldierWPilot","SoldierWPilot","SoldierWAT","SoldierWAT"};
		cargoAction[] = {"UH60_Cargo01","UH60_Cargo01"};
		driverIsCommander = 1;
		hasGunner = 2;

		soundEngine[] = {"\map_air\data\sounds\air_sounds\ch47_engine.wav",db+30,1};
		soundLandCrash[] = {"\map_air\data\sounds\air_sounds\aircraftcrash.ogg",db+10,1};
		soundWaterCrash[] = {Explosions\intowater,db-10,1};
		soundDammage[] = {"\map_air\data\sounds\air_sounds\alert.ogg",db+20,1};

		memoryPointsGetInDriver = "pos_driver";
		memoryPointsGetInDriverDir = "pos_driver_dir";
		memoryPointsGetInCargo = "pos_cargo";
		memoryPointsGetInCargoDir = "pos_cargo_dir";
		supplyRadius = 2.500000;
		threat[] = {0.300000,1,0.400000};

		class ViewPilot: ViewPilot
		{
			initFov = 1.000000;
			minFov = 0.300000;
			maxFov = 1.500000;
			initAngleX = 10;
			minAngleX = -45;
			maxAngleX = 80;
			initAngleY = 0;
			minAngleY = -125;
			maxAngleY = 125;
		};

		class Turrets 
		{
			class MainTurret: NewTurret
			{
				startEngine = 0;
				outGunnerMayFire = 1;
				commanding = -1;
				gunnerName = "Left Gunner";
				memoryPointsGetInGunner = "pos_gunner";
				memoryPointsGetInGunnerDir = "pos_gunner_dir";
				memoryPointGun = "maschinegun";
				memoryPointGunnerOptics = "gunnerview";
				selectionFireAnim = "zasleh";

				gunnerAction = "UH60_Gunner";
				gunnerInAction = "UH60_Gunner";
				
				weapons[] = {"MAP_M2"};
				magazines[] = {"100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2"};

				minElev = -45;
				maxElev = 15;
				initElev = 0;
				minTurn = 40;
				maxTurn = 130;
				initTurn = 90;
				    
				class ViewOptics
				{
					initAngleX = 0;
					minAngleX = -30;
					maxAngleX = 30;
					initAngleY = 0;
					minAngleY = -100;
					maxAngleY = 100;
					initFov = 0.600000;
					minFov = 0.600000;
					maxFov = 0.500000;
				};

				gunnerOpticsModel = "\ca\weapons\optika_empty";
				gunnerForceOptics = 0;
			};
			class RightDoor_Gun : MainTurret
			{
				body = "rightTurret";
				gun = "rightTurretGun";
				animationSourceBody = "rightTurret";
				animationSourceGun = "rightTurretGun";
				animationSourceHatch = "";
				selectionFireAnim = "zasleh_g3";
				proxyIndex = 2;
				gunnerName = "Right Door Gunner";
				commanding = -2;

				minElev = -45;
				maxElev = 15;
				initElev = 0;
				minTurn = -130;
				maxTurn = -40;
				initTurn = -90;

				weapons[] = {"MAP_M2_2"};
				magazines[] = {"100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2"};

				gunBeg = "usti hlavne_g3";
				gunEnd = "konec hlavne_g3";
				primary = 0;
				memoryPointGun = "maschinegun_g3";
				memoryPointGunnerOptics = "gunnerview_g3";
			};
		};
		class Eventhandlers
		{
			getin = " _this exec ""\map_air\data\scripts\checkcrew.sqs"" ";
			Engine = "if (_this select 1) then {[_this select 0, isEngineOn (_this select 0)] exec ""\map_air\data\scripts\ch47_engineOn.sqs""}";
			incomingMissile = "_this exec ""\map_air_weap\data\scripts\incoming.sqs"";T=_this execVM ""\map_air_weap\data\scripts\abwehr.sqf"" ";
			killed = "_this exec ""\map_air\data\scripts\replacewrecks.sqs"" ";
		};
		class HitRGlass
		{
			armor = 0.500000;
			material = -1;
			name = "sklo predni P";
			passThrough = 1;
		};
		class HitLGlass
		{
			armor = 0.500000;
			material = -1;
			name = "sklo predni L";
			passThrough = 1;
		};
		
		dammageHalf[] = {"\map_air\data\uh_kab_sklo2.paa","\map_air\data\uh_kab_sklo2b.paa"};
		dammageFull[] = {"\map_air\data\uh_kab_sklo2.paa","\map_air\data\uh_kab_sklo2c.paa"};

		class Damage
		{
			tex[] = {};
			mat[] = {};
		};
	};
	class MAP_CH47D_Cargo : MAP_CH47D
	{
		scope = 2; 
		model = "\map_air\map_ch47cargo.p3d";
		displayName = "CH-47D (Cargo)";
		transportSoldier = 12;

		class Turrets : Turrets
		{
			class MainTurret: MainTurret
			{
				weapons[] = {"M2"};
				magazines[] = {"100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2"};
			};		
		};
	};
	class MAP_CH47D_Medivac : MAP_CH47D
	{
		scope = 2; 
		model = "\map_air\map_ch47medic.p3d";
		displayName = "CH-47D (MedEvac)";
		hasGunner = 0;
		attendant = 1;
		transportSoldier = 26;
		class Turrets{};
		transportMaxMagazines = 0;
		transportMaxWeapons = 0;
		threat[] = {0.000000,0.000000,0.000000};
		cargoIsCoDriver[] = {0,0,0};
		hideWeaponsCargo = 1;
		cargoAction[] = 
		{
			"UH60_Cargo01","UH60_Cargo01",
			
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04",
			"BMP2_Cargo04","BMP2_Cargo04"
		};
	};
	// MAP_CH47 Ende
	

	// MAP_AH-64A Anfang
	class MAP_AH64 : MAP_Heli
	{
		scope = 2;
		side = 1;
		model = "\map_air\map_ah64.p3d";
		displayName = "AH-64A (Multi Role)";
		crew = "SoldierWPilot";
		driverAction = "UH60_Pilot";
		driverIsCommander = 1;
		hasGunner = 1;
		crewVulnerable = 0;
		maxSpeed = 320;
		insideSoundCoef = 0.000500;

		selectionHRotorStill = "mainRotor_staticka";
		selectionHRotorMove = "mainRotor_blur";
		selectionVRotorStill = "tailRotor_staticka";
		selectionVRotorMove = "tailRotor_blur";
		memoryPointLMissile = "Missile_1";
		memoryPointRMissile = "Missile_2";
		memoryPointLRocket = "Rocket_1";
		memoryPointRRocket = "Rocket_2";
		selectionFireAnim = "zasleh";

		mainRotorSpeed = 1.5;
		backRotorSpeed = 1.5; 

		rotorBig="\map_air\data\ah_vrtule";
		rotorBigBlend="\map_air\data\ah_vrtule";
		rotorSmall="\map_air\data\ah_vrt_a";
		rotorSmallBlend="\map_air\data\ah_vrt2";
		
		picture = "\map_air\data\ico\iah64.paa";
		mapSize = 13;
		Icon = "\map_air\data\map_ico\icomap_ah64_map.paa";

		memoryPointsGetInDriver = "pos_driver";
		memoryPointsGetInDriverDir = "pos_driver_dir";

		soundGetIn[] = {"\map_air\data\sounds\air_sounds\AH64-canopy.ogg",0.200000,1};
		soundGetOut[] = {"\map_air\data\sounds\air_sounds\AH64-canopy.ogg",0.200000,1};
		soundEngine[] = {"\map_air\data\sounds\air_sounds\ah64_engine.ogg",db+30,1};
		soundLandCrash[] = {"\map_air\data\sounds\air_sounds\aircraftcrash.ogg",db+10,1};
		soundWaterCrash[] = {Explosions\intowater,db-10,1};
		soundDammage[] = {"\map_air\data\sounds\air_sounds\alert.ogg",db+20,1};

		threat[] = {0.300000,1,0.800000};
		hiddenSelections[] = {"pic_usarmy","pic_nation","pic_nation2","pic_nl"};
		
		weapons[] = {};
		magazines[] = {};
		typicalCargo[] = {"SoldierWPilot","SoldierWPilot"};
		transportSoldier = 2;
		cargoAction[] = {"AH1Z_Pilot","AH1Z_Pilot"};
		ejectDeadCargo = true;

		supplyRadius = 2.500000;

		class ViewPilot: ViewPilot
		{
			initFov = 1.000000;
			minFov = 0.300000;
			maxFov = 1.500000;
			initAngleX = 10;
			minAngleX = -45;
			maxAngleX = 80;
			initAngleY = 0;
			minAngleY = -125;
			maxAngleY = 125;
		};

		class Turrets
		{
			class MainTurret: NewTurret
			{
				startEngine = 0;
				outGunnerMayFire = 1;
				commanding = -1;
				primary = 1;
				memoryPointsGetInGunner = "pos_gunner";
				memoryPointsGetInGunnerDir = "pos_gunner_dir";
				memoryPointGun = "maschinegun";
				memoryPointGunnerOptics = "gunnerview";
				selectionFireAnim = "zasleh";
				gunnerAction = "UH60_Pilot";
				gunnerInAction = "UH60_Pilot";

				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_HellfireLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M151_38Rnd_FFAR","MAP_8Rnd_Hellfire","MAP_Veh_Laser_Mag"};
				
				gunnerOpticsColor[] = {1,1,1,1};
				gunnerOpticsModel = "\map_air\optika_ah64_empty.p3d";
				gunnerForceOptics = 0;
				
				minElev = -45;
				maxElev = 5;
				initElev = 0;
				minTurn = -100;
				maxTurn = 100;
				initTurn = 0;
			};
		};

		armor = 60;
		damageResistance = 0.00593;
		armorStructural = 2.0;

		class HitVRotor
		{
			armor = 0.300000;
			material = 51;
			name = "tailRotor";
			visual = "tailRotor";
			passThrough = 1;
		};
		class HitHRotor
		{
			armor = 0.300000;
			material = 51;
			name = "mainRotor";
			visual = "mainRotor";
			passThrough = 1;
		};
		
		dammageHalf[] = {"\map_air\data\ah_in_skla.paa","\map_air\data\ah_in_sklac.paa"};
		dammageFull[] = {"\map_air\data\ah_in_skla.paa","\map_air\data\ah_in_sklac.paa"};

		class Damage
		{
			tex[] = {};
			mat[] = {};
		};
		
		class Eventhandlers
		{
			Init = " _this exec ""\map_air\data\scripts\ah64_flir_init.sqs""; MAP_Nations = [_this select 0, ""usa""] execVM ""\map_air\data\scripts\nations.sqf""; _this execVM ""\map_air\data\scripts\damper.sqf""; MAP_PREFLIGHT = true;  MAP_air_ah64_rescue = false; _this execVM""\map_air\data\scripts\ah64_rescue.sqf""; ";
			getin = " _this exec ""\map_air\data\scripts\ah64_flir_init.sqs""; _this exec ""\map_air\data\scripts\checkcrew.sqs""; _this execVM""\map_air\data\scripts\ah64_rescue.sqf""; ";
			Engine = "if (_this select 1) then {[_this select 0, isEngineOn (_this select 0)] exec ""\map_air\data\scripts\ah64_engineOn.sqs""}";
			Fired = "if( ((_this select 1)== ""MAP_HellfireLauncher"") && ((_this select 3)==""LOBL"") )Then{H=_this execVM""\map_air\data\scripts\mLOBL.sqf""}; ";
			incomingMissile = "_this exec ""\map_air_weap\data\scripts\incoming.sqs"";T=_this execVM ""\map_air_weap\data\scripts\abwehr.sqf"" ";
			killed = "_this exec ""\map_air\data\scripts\replacewrecks.sqs"" ";
		};
	};

	class MAP_AH64_GS : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_gs.p3d";
		displayName = "AH-64A (Ground Support)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_SidewinderLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M151_76Rnd_FFAR","MAP_2Rnd_Sidewinder","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_CC :  MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_cc.p3d";
		displayName = "AH-64A (Close Combat)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_HellfireLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_16Rnd_Hellfire","MAP_Veh_Laser_Mag"};
			};
		};
	};
	class MAP_AH64_CO : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_co.p3d";
		displayName = "AH-64A (Combat)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_HellfireLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_320Rnd_30x113_M230","MAP_8Rnd_Hellfire","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_GS_M229 : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_gs.p3d";
		displayName = "AH-64A (Ground Support M229)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_SidewinderLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M229_76Rnd_FFAR","MAP_2Rnd_Sidewinder","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_GS_Mixed : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_gs.p3d";
		displayName = "AH-64A (Ground Support Mixed)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_SidewinderLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M229_38Rnd_FFAR","MAP_M257_19Rnd_FFAR","MAP_M261_19Rnd_FFAR","MAP_2Rnd_Sidewinder","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_AA :  MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_aa.p3d";
		displayName = "AH-64A (Sidewinder 6x)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_SidewinderLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_6Rnd_Sidewinder","MAP_Veh_Laser_Mag"};
			};
		};
	};
	class MAP_AH64_MAV : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_mav.p3d";
		displayName = "AH-64A (Maverick 2x)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_MaverickLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M229_38Rnd_FFAR","MAP_2Rnd_Maverick","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_MAV2 : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_mav2.p3d";
		displayName = "AH-64A (Maverick 4x)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_MaverickLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_4Rnd_Maverick","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_TOW : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_tow.p3d";
		displayName = "AH-64A (TOW)";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_TOWLauncher","MAP_StingerLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M229_38Rnd_FFAR","MAP_8Rnd_TOW","MAP_4Rnd_FIM92","MAP_Veh_Laser_Mag"};
			};
		};	
	};

	class MAP_AH64_BLK : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_blk.p3d";
		displayName = "AH-64A (Multi Role) Black";
		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_HellfireLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M151_38Rnd_FFAR","MAP_8Rnd_Hellfire","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_CC_BLK :  MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_cc_blk.p3d";
		displayName = "AH-64A (Close Combat) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_HellfireLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_16Rnd_Hellfire","MAP_Veh_Laser_Mag"};
			};
		};
	};
	class MAP_AH64_CO_BLK : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_co_blk.p3d";
		displayName = "AH-64A (Combat) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_HellfireLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_320Rnd_30x113_M230","MAP_8Rnd_Hellfire","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_AA_BLK :  MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_aa_blk.p3d";
		displayName = "AH-64A (Sidewinder 6x) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_SidewinderLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_6Rnd_Sidewinder","MAP_Veh_Laser_Mag"};
			};
		};
	};
	class MAP_AH64_MAV_BLK : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_mav_blk.p3d";
		displayName = "AH-64A (Maverick 2x) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_MaverickLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M229_38Rnd_FFAR","MAP_2Rnd_Maverick","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_MAV2_BLK : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_mav2_blk.p3d";
		displayName = "AH-64A (Maverick 4x) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_MaverickLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_4Rnd_Maverick","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_GS_BLK : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_gs_blk.p3d";
		displayName = "AH-64A (Ground Support) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_SidewinderLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M151_76Rnd_FFAR","MAP_2Rnd_Sidewinder","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_TOW_BLK : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_tow_blk.p3d";
		displayName = "AH-64A (TOW) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_TOWLauncher","MAP_StingerLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M229_38Rnd_FFAR","MAP_8Rnd_TOW","MAP_4Rnd_FIM92","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_GS_M229_BLK : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_gs_blk.p3d";
		displayName = "AH-64A (Ground Support M229) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_SidewinderLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M229_76Rnd_FFAR","MAP_2Rnd_Sidewinder","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	class MAP_AH64_GS_Mixed_BLK : MAP_AH64
	{
		scope = 2;
		model = "\map_air\map_ah64_gs_blk.p3d";
		displayName = "AH-64A (Ground Support Mixed) Black";

		class Turrets: Turrets
		{
			class MainTurret : MainTurret
			{
				weapons[] = {"MAP_M230","MAP_FFARLauncher","MAP_SidewinderLauncher","MAP_Veh_Laser"};
				magazines[] = {"MAP_1200Rnd_30x113_M230","MAP_M229_38Rnd_FFAR","MAP_M257_19Rnd_FFAR","MAP_M261_19Rnd_FFAR","MAP_2Rnd_Sidewinder","MAP_Veh_Laser_Mag"};
			};
		};	
	};
	// MAP AH-64A Ende

	// MAP AV8B Anfang
	class AV8B;
	class MAP_AV8B_MAV : AV8B
	{
		scope = 2;
		displayName = "AV8B (6x Maverick)";
		vehicleClass = "MAP_Air";
		model = "\ca\air\av8b";
		weapons[] = {"MAP_MaverickLauncher","GAU12"};
		magazines[] = {"300Rnd_25mm_GAU12","MAP_6Rnd_Maverick"};

		class Eventhandlers
		{
			getin = " _this exec ""\map_air\data\scripts\checkcrew.sqs""; ";
			incomingMissile = "_this exec ""\map_air_weap\data\scripts\incoming.sqs"";T=_this execVM ""\map_air_weap\data\scripts\abwehr.sqf"" ";
		};
	};
	// MAP AV8B Ende

	// MAP A-10 Thunderbolt II Anfang
	class A10;
	class MAP_A10_LGB : A10
	{
		scope = 2;
		armor = 75;
		damageResistance = 0.00485;
		armorStructured = 1;
		vehicleClass = "MAP_Air";
		displayName = "A-10 Thunderbolt II (LGB)";
		weapons[] = {"GAU8","MAP_BombLauncher","FFARLauncher"};
		magazines[] = {"1350Rnd_30mmAP_A10","MAP_5Rnd_GBU12","28Rnd_FFAR"};

		class Eventhandlers
		{
			getin = " _this exec ""\map_air\data\scripts\checkcrew.sqs""; ";
			incomingMissile = "_this exec ""\map_air_weap\data\scripts\incoming.sqs"";T=_this execVM ""\map_air_weap\data\scripts\abwehr.sqf"" ";
		};
	};
	class MAP_A10_AA : MAP_A10_LGB
	{
		displayName = "A-10 Thunderbolt II (AA)";
		weapons[] = {"GAU8","MAP_SidewinderLauncher","FFARLauncher"};
		magazines[] = {"1350Rnd_30mmAP_A10","MAP_5Rnd_Sidewinder","28Rnd_FFAR"};
	};
	// MAP A-10 Thunderbolt II Ende

	// MAP SU-34 Anfang
	class Plane;
	class MAP_Plane : Plane
	{
		class NewTurret;
		class ViewPilot;
	};
	class MAP_SU34 : MAP_Plane
	{
	  scope = 1;
	  displayName = "$STR_DN_Su34";
	  vehicleClass = "MAP_Air";
	  model = "\ca\air3\su34\su34.p3d";
	  icon = "\ca\air3\SU34\data\UI\Icon_su34_CA.paa";
	  picture = "\ca\air3\SU34\data\UI\Picture_su34_CA.paa";
	  side = 0;
	  crew = "SoldierEPilot";
	  camouflage = 10;
	  audible = 6;
	  accuracy = 0.200000;
	  maxSpeed = 1900;
	  supplyRadius = 8;
	  memoryPointGun = "machinegun";
	  memoryPointLRocket = "L raketa";
	  memoryPointRRocket = "P raketa";
	  speechSingular[] = {"KB_SU34"};
	  speechPlural[] = {"KB_SU34s"};
	  textSingular = "SU34";
	  textPlural = "SU34s";
	  laserScanner = 1;
	  hasGunner = 1;
	  driverIsCommander = 1;
	  minFireTime = 30;
	  gunAimDown = 0.145000;
	  weapons[] = {};
	  magazines[] = {};
	  threat[] = {1,1,1};
	  class Reflectors{};
	  soundEngine[] = {"\ca\Air3\Su34\Data\Sound\su34_av8b_v6.wss",31.622778,0.800000};
	  DriverAction = "Su34_Pilot";
	  class ViewPilot: ViewPilot
	  {
	   initFov = 0.800000;
	   minFov = 0.300000;
	   maxFov = 1.200000;
	   initAngleX = 0;
	   minAngleX = -40;
	   maxAngleX = 85;
	   initAngleY = 0;
	   minAngleY = -90;
	   maxAngleY = 90;
	  };
	  class Turrets
	  {
	   class MainTurret: NewTurret
	   {
		body = "";
		gun = "";
		commanding = -1;
		memoryPointsGetInGunner = "pos gunner";
		memoryPointsGetInGunnerDir = "pos gunner dir";
		weapons[] = {"R73Launcher","S8Launcher","GSh301"};
		magazines[] = {"180Rnd_30mm_GSh301","4Rnd_R73","80Rnd_S8T"};
		castGunnerShadow = 1;
		viewGunnerShadow = 1;
		gunnerAction = "Su34_Gunner";
		gunnerInAction = "Su34_Gunner";
	   };
	  };
	  armor = 60;
	  damageResistance = 0.00336;
	  armorStructured = 1;
	  landingAoa = "rad 10";
	  landingSpeed = 220;
	  flapsFrictionCoef = 0.300000;
	  aileronSensitivity = 1;
	  elevatorSensitivity = 1;
	  noseDownCoef = 1;
	  gearUpTime = 4.500000;
	  gearDownTime = 3;
	  envelope[] = {0.000000,1.400000,2.000000,3.200000,3.500000,3.600000,3.600000,3.400000,2.600000,2.200000,1.600000,1.000000};
	  class Damage
	  {
	   tex[] = {};
	   mat[] = {"ca\air3\su34\data\Su34_01.rvmat","ca\air3\su34\data\Su34_01.rvmat","ca\air3\su34\data\Su34_01_destruct.rvmat","ca\air3\su34\data\Su34_02.rvmat","ca\air3\su34\data\Su34_02.rvmat","ca\air3\su34\data\Su34_02_destruct.rvmat","ca\air3\su34\data\Su34_interier.rvmat","ca\air3\su34\data\Su34_interier.rvmat","ca\air3\su34\data\Su34_interier_destruct.rvmat","ca\air3\su34\data\Su34_int_special.rvmat","ca\air3\su34\data\Su34_int_special.rvmat","ca\air3\su34\data\Su34_int_special_destruct.rvmat","ca\air3\su34\data\Su34_wheels.rvmat","ca\air3\su34\data\Su34_wheels.rvmat","ca\air3\su34\data\Su34_wheels_destruct.rvmat"};
	  };
	  class Library
	  {
	   libEnable = 0;
	  };
	  class MFD
	  {
	   borderLeft = 0.090000;
	   borderRight = 0.020000;
	   borderTop = 0.020000;
	   borderBottom = 0.100000;
	   class AirplaneHUD
	   {
		topLeft = "HUD LH";
		topRight = "HUD PH";
		bottomLeft = "HUD LD";
		borderLeft = 0;
		borderRight = 0;
		borderTop = 0;
		borderBottom = 0;
		color[] = {0,1,0,0.100000};
		class Pos10Vector
		{
		 type = "vector";
		 pos0[] = {0.500000,0.270000};
		 pos10[] = {"0.5+0.9","0.27+0.7"};
		};
		class Bones
		{
		 class AGLMove1
		 {
		  type = "fixed";
		  source = "altitudeAGL";
		  Pos[] = {0.780000,0.175000};
		 };
		 class AGLMove2
		 {
		  type = "fixed";
		  pos[] = {0.050000,0.800000};
		 };
		 class ASLMove1
		 {
		  type = "linear";
		  source = "altitudeASL";
		  min = 0;
		  max = 500;
		  minPos[] = {0.100000,0.100000};
		  maxPos[] = {0.100000,0.800000};
		 };
		 class ASLMove2
		 {
		  type = "fixed";
		  pos[] = {0.100000,0.800000};
		 };
		 class VertSpeed
		 {
		  type = "linear";
		  source = "vSpeed";
		  min = -25;
		  max = 25;
		  minPos[] = {0,-0.400000};
		  maxPos[] = {0,0.400000};
		 };
		 class SpdMove2
		 {
		  source = "speed";
		  type = "fixed";
		  Pos[] = {0.300000,0.175000};
		 };
		 class ILS
		 {
		  type = "ils";
		  pos0[] = {0.500000,0.400000};
		  pos3[] = {0.700000,0.600000};
		 };
		 class WeaponAim: Pos10Vector
		 {
		  source = "weapon";
		  pos0[] = {0.500000,-1.600000};
		 };
		 class Target: Pos10Vector
		 {
		  source = "target";
		 };
		 class TargetDistanceMissile
		 {
		  type = "rotational";
		  source = "targetDist";
		  center[] = {0,0};
		  min = 100;
		  max = 3000;
		  minAngle = -120;
		  maxAngle = 120;
		 };
		 class TargetDistanceMGun
		 {
		  type = "rotational";
		  source = "targetDist";
		  center[] = {0,0};
		  min = 100;
		  max = 1000;
		  minAngle = -180;
		  maxAngle = 90;
		 };
		 class Level0: Pos10Vector
		 {
		  type = "horizon";
		  angle = 0;
		 };
		 class LevelP5: Level0
		 {
		  angle = 5;
		 };
		 class LevelM5: Level0
		 {
		  angle = -5;
		 };
		 class LevelP10: Level0
		 {
		  angle = 10;
		 };
		 class LevelM10: Level0
		 {
		  angle = -10;
		 };
		 class LevelP15: Level0
		 {
		  angle = 15;
		 };
		 class LevelM15: Level0
		 {
		  angle = -15;
		 };
		 class Velocity: Pos10Vector
		 {
		  type = "vector";
		  source = "velocity";
		  pos0[] = {0.505000,0.520000};
		 };
		 class PlaneW
		 {
		  type = "fixed";
		  pos[] = {0.500000,0.270000};
		 };
		};
		class Draw
		{
		 alpha = 0.600000;
		 color[] = {0,0.300000,0};
		 clipTL[] = {0.000000,0.050000};
		 clipBR[] = {1.000000,0.900000};
		 condition = "on";
		 class Altitude
		 {
		  type = "text";
		  align = "right";
		  scale = 1;
		  source = "altitudeAGL";
		  sourceScale = 1;
		  pos[] = {"AGLMove1",
		   { -0.050000,-0.030000 },1};
		  right[] = {"AGLMove1",
		   { 0.010000,-0.030000 },1};
		  down[] = {"AGLMove1",
		   { -0.050000,0.030000 },1};
		 };
		 class DimmedBase
		 {
		  alpha = 0.300000;
		  class AltitudeBase
		  {
		   type = "line";
		   points[] = {
			{ "AGLMove2",1 },
			{ "ASLMove2",1 }};
		  };
		 };
		 class Speed{};
		 class SpeedNumber
		 {
		  type = "text";
		  align = "left";
		  scale = 1;
		  source = "speed";
		  sourceScale = 3.600000;
		  pos[] = {"SpdMove2",
		   { -0.050000,-0.030000 },1};
		  right[] = {"SpdMove2",
		   { 0.010000,-0.030000 },1};
		  down[] = {"SpdMove2",
		   { -0.050000,0.030000 },1};
		 };
		 class PlaneW
		 {
		  clipTL[] = {0.000000,0.100000};
		  clipBR[] = {1.000000,0.900000};
		  class LineHL{};
		  class Velocity
		  {
		   type = "line";
		   points[] = {
			{ "Velocity",
			 { 0,-0.020000 },1 },
			{ "Velocity",
			 { 0.020000,0 },1 },
			{ "Velocity",
			 { 0,0.020000 },1 },
			{ "Velocity",
			 { -0.020000,0 },1 },
			{ "Velocity",
			 { 0,-0.020000 },1 }};
		  };
		 };
		 class MGun
		 {
		  condition = "mgun";
		  class Circle
		  {
		   type = "line";
		   points[] = {
			{ "WeaponAim",
			 { 0,-0.070000 },1 },
			{ "WeaponAim",
			 { "+0.7*0.07","-0.7*0.07" },1 },
			{ "WeaponAim",
			 { 0.070000,0 },1 },
			{ "WeaponAim",
			 { "+0.7*0.07","+0.7*0.07" },1 },
			{ "WeaponAim",
			 { 0,0.070000 },1 },
			{ "WeaponAim",
			 { "-0.7*0.07","+0.7*0.07" },1 },
			{ "WeaponAim",
			 { -0.070000,0 },1 },
			{ "WeaponAim",
			 { "-0.7*0.07","-0.7*0.07" },1 },
			{ "WeaponAim",
			 { 0,-0.070000 },1 },
			{  },
			{ "WeaponAim",
			 { 0,-0.010000 },1 },
			{ "WeaponAim",
			 { "+0.7*0.01","-0.7*0.01" },1 },
			{ "WeaponAim",
			 { 0.010000,0 },1 },
			{ "WeaponAim",
			 { "+0.7*0.01","+0.7*0.01" },1 },
			{ "WeaponAim",
			 { 0,0.010000 },1 },
			{ "WeaponAim",
			 { "-0.7*0.01","+0.7*0.01" },1 },
			{ "WeaponAim",
			 { -0.010000,0 },1 },
			{ "WeaponAim",
			 { "-0.7*0.01","-0.7*0.01" },1 },
			{ "WeaponAim",
			 { 0,-0.010000 },1 },
			{  },
			{ "WeaponAim",
			 { "0.03*sin(-180)","-0.03*cos(-180)" },1 },
			{ "WeaponAim",
			 { "0.07*sin(-180)","-0.07*cos(-180)" },1 },
			{  },
			{ "WeaponAim",
			 { "0.03*sin(+90)","-0.03*cos(+90)" },1 },
			{ "WeaponAim",
			 { "0.07*sin(+90)","-0.07*cos(+90)" },1 },
			{  },
			{ "WeaponAim",1,"TargetDistanceMGun",
			 { 0,0.040000 },1 },
			{ "WeaponAim",1,"TargetDistanceMGun",
			 { 0,0.070000 },1 }};
		  };
		 };
		 class Missile
		 {
		  condition = "missile";
		  class Circle
		  {
		   type = "line";
		   points[] = {
			{ "WeaponAim",
			 { 0,-0.100000 },1 },
			{ "WeaponAim",
			 { "+0.7*0.1","-0.7*0.1" },1 },
			{ "WeaponAim",
			 { 0.100000,0 },1 },
			{ "WeaponAim",
			 { "+0.7*0.1","+0.7*0.1" },1 },
			{ "WeaponAim",
			 { 0,0.100000 },1 },
			{ "WeaponAim",
			 { "-0.7*0.1","+0.7*0.1" },1 },
			{ "WeaponAim",
			 { -0.100000,0 },1 },
			{ "WeaponAim",
			 { "-0.7*0.1","-0.7*0.1" },1 },
			{ "WeaponAim",
			 { 0,-0.100000 },1 },
			{  },
			{ "WeaponAim",
			 { "0.1*0.8*sin(-120)","-0.1*0.8*cos(-120)" },1 },
			{ "WeaponAim",
			 { "0.1*1.2*sin(-120)","-0.1*1.2*cos(-120)" },1 },
			{  },
			{ "WeaponAim",
			 { "0.1*0.8*sin(+120)","-0.1*0.8*cos(+120)" },1 },
			{ "WeaponAim",
			 { "0.1*1.2*sin(+120)","-0.1*1.2*cos(+120)" },1 },
			{  },
			{ "WeaponAim",1,"TargetDistanceMissile",
			 { 0,"0.1*0.8" },1 },
			{ "WeaponAim",1,"TargetDistanceMissile",
			 { 0,"0.1*1.2" },1 }};
		  };
		  class Target
		  {
		   type = "line";
		   points[] = {
			{ "Target",
			 { -0.050000,-0.050000 },1 },
			{ "Target",
			 { 0.050000,-0.050000 },1 },
			{ "Target",
			 { 0.050000,0.050000 },1 },
			{ "Target",
			 { -0.050000,0.050000 },1 },
			{ "Target",
			 { -0.050000,-0.050000 },1 }};
		  };
		 };
		 class Horizont{};
		 class ILS
		 {
		  condition = "ils";
		  class Glideslope
		  {
		   clipTL[] = {0.290000,0.290000};
		   clipBR[] = {0.710000,0.710000};
		   class ILS
		   {
			type = "line";
			points[] = {
			 { "ILS",
			  { -10,0 },1 },
			 { "ILS",
			  { 10,0 },1 },
			 {  },
			 { "ILS",
			  { 0,-10 },1 },
			 { "ILS",
			  { 0,10 },1 }};
		   };
		  };
		  class AOABracket
		  {
		   type = "line";
		   points[] = {
			{ 
			 { 0.420000,0.780000 },1 },
			{ 
			 { 0.400000,0.780000 },1 },
			{ 
			 { 0.400000,0.880000 },1 },
			{ 
			 { 0.420000,0.880000 },1 }};
		  };
		 };
		};
	   };
	  };

		class Eventhandlers
		{
			getin = " _this exec ""\map_air\data\scripts\checkcrew.sqs""; ";
			incomingMissile = "_this exec ""\map_air_weap\data\scripts\incoming.sqs"";T=_this execVM ""\map_air_weap\data\scripts\abwehr.sqf"" ";
		};
	};

	class MAP_SU34B_Kh29L : MAP_SU34
	{
		scope = 2;
		displayName = "Su-34B Kh-29L";
		model = "\ca\air3\su34\su34b.p3d";
		class Reflectors{};
		class ViewPilot;
		class Damage;
		
		class Turrets
		{
			class MainTurret : NewTurret
			{
			    body = "";
				gun = "";
				commanding = -1;
				memoryPointsGetInGunner = "pos gunner";
				memoryPointsGetInGunnerDir = "pos gunner dir";
				weapons[] = {"MAP_Kh29_Launcher","S8Launcher","GSh301"};
				magazines[] = {"180Rnd_30mm_GSh301","MAP_4Rnd_Kh29L","40Rnd_S8T"};
				castGunnerShadow = 1;
				viewGunnerShadow = 1;
				gunnerAction = "Su34_Gunner";
				gunnerInAction = "Su34_Gunner";
			};
		};
	};
	// MAP SU-34 Ende

	//Static Objects
	class Ruins;
	class Land_MAP_AH64_Wrack : Ruins
	{
		scope = 2;
		vehicleClass = "MAP_Ruins";
        model = "\map_air\map_ah64_wrack";
        displayName = "MAP AH-64A Wreck";
	};
	class Land_MAP_AH64_Wrack_BLK : Ruins
	{
		scope = 2;
		vehicleClass = "MAP_Ruins";
        model = "\map_air\map_ah64_wrack_blk";
        displayName = "MAP AH-64A Wreck(BLACK)";
	};
	class Land_MAP_CH47_Wrack : Ruins
	{
		scope = 2;
		vehicleClass = "MAP_Ruins";
        model = "\map_air\map_ch47_wrack";
        displayName = "MAP CH-47D Wreck";
	};
	class Strategic;
	class MAP_AH64_Wrack : Strategic
	{
		scope = 2;
		model = "\map_air\map_ah64_wrack";
		displayName = "MAP AH-64A crashed";
		accuracy = 1000;
		destrType = "DestructBuilding";
		irTarget = 0;
		transportAmmo = 0;
		transportRepair = 0;
		transportFuel = 0;
		cost = 0;
		armor = 20;
		mapSize = 13;
		class Eventhandlers
		{
			init = "(_this select 0) setdamage 1";
		};
		class DestructionEffects 
		{ 
               class FuelStationExp 
			   { 
                    simulation = "particles"; 
                    type = "FuelStationExp"; 
                    position = ""; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.001; 
               }; 
                
               class FuelStationSmk1 
			   { 
                    simulation = "particles"; 
                    type = "FuelStationSmk1"; 
                    position = ""; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.001; 
               }; 
                
               class Light1 
			   { 
                    simulation = "light"; 
                    type = "ObjectDestructionLight"; 
                    position = "DestructionFire"; 
                    intensity = 0.001; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
				class Ruin1 
				{
                    simulation = "ruin"; 
                    type = "\map_air\map_ah64_wrack.p3d"; 
                    position = ""; 
                    intensity = 1; 
                    interval = 1; 
                    lifeTime = 1; 
				};                

               class FuelFire1 
			   { 
                    simulation = "particles"; 
                    type = "FuelFire1"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
               
               class FuelSmoke1 
			   { 
                    simulation = "particles"; 
                    type = "FuelSmoke1"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
                
               class FuelSmoke2 
			   { 
                    simulation = "particles"; 
                    type = "FuelSmoke2"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
                
               class FuelDestr 
			   { 
                    simulation = "destroy"; 
                    type = "FuelStationDestr"; 
                    position = ""; 
                    intensity = 1; 
                    interval = 1; 
                    lifeTime = 1; 
               }; 
          }; 
	};
	class MAP_AH64_Wrack_BLK : Strategic
	{
		scope = 2;
		model = "\map_air\map_ah64_wrack_blk";
		displayName = "MAP AH-64A (BLACK) crashed";
		accuracy = 1000;
		destrType = "DestructBuilding";
		irTarget = 0;
		transportAmmo = 0;
		transportRepair = 0;
		transportFuel = 0;
		cost = 0;
		armor = 20;
		mapSize = 13;
		class Eventhandlers
		{
			init = "(_this select 0) setdamage 1";
		};
		class DestructionEffects 
		{ 
               class FuelStationExp 
			   { 
                    simulation = "particles"; 
                    type = "FuelStationExp"; 
                    position = ""; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.001; 
               }; 
                
               class FuelStationSmk1 
			   { 
                    simulation = "particles"; 
                    type = "FuelStationSmk1"; 
                    position = ""; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.001; 
               }; 
                
               class Light1 
			   { 
                    simulation = "light"; 
                    type = "ObjectDestructionLight"; 
                    position = "DestructionFire"; 
                    intensity = 0.001; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
				class Ruin1 
				{
                    simulation = "ruin"; 
                    type = "\map_air\map_ah64_wrack_blk.p3d"; 
                    position = ""; 
                    intensity = 1; 
                    interval = 1; 
                    lifeTime = 1; 
				};                

               class FuelFire1 
			   { 
                    simulation = "particles"; 
                    type = "FuelFire1"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
               
               class FuelSmoke1 
			   { 
                    simulation = "particles"; 
                    type = "FuelSmoke1"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
                
               class FuelSmoke2 
			   { 
                    simulation = "particles"; 
                    type = "FuelSmoke2"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
                
               class FuelDestr 
			   { 
                    simulation = "destroy"; 
                    type = "FuelStationDestr"; 
                    position = ""; 
                    intensity = 1; 
                    interval = 1; 
                    lifeTime = 1; 
               }; 
          }; 
	};
	class MAP_CH47_Wrack: Strategic
	{
		scope = 2;
		model = "\map_air\MAP_CH47_Wrack";
		displayName = "MAP CH-47D crashed";
		accuracy = 1000;
		destrType = "DestructBuilding";
		irTarget = 0;
		transportAmmo = 0;
		transportRepair = 0;
		transportFuel = 0;
		cost = 0;
		armor = 20;
		mapSize = 13;
		class Eventhandlers
		{
			init = "(_this select 0) setdamage 1";
		};
		class DestructionEffects 
		{ 
               class FuelStationExp 
			   { 
                    simulation = "particles"; 
                    type = "FuelStationExp"; 
                    position = ""; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.001; 
               }; 
                
               class FuelStationSmk1 
			   { 
                    simulation = "particles"; 
                    type = "FuelStationSmk1"; 
                    position = ""; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.001; 
               }; 
                
               class Light1 
			   { 
                    simulation = "light"; 
                    type = "ObjectDestructionLight"; 
                    position = "DestructionFire"; 
                    intensity = 0.001; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
				class Ruin1 
				{
                    simulation = "ruin"; 
                    type = "\map_air\MAP_CH47_Wrack.p3d"; 
                    position = ""; 
                    intensity = 1; 
                    interval = 1; 
                    lifeTime = 1; 
				};                

               class FuelFire1 
			   { 
                    simulation = "particles"; 
                    type = "FuelFire1"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
               
               class FuelSmoke1 
			   { 
                    simulation = "particles"; 
                    type = "FuelSmoke1"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
                
               class FuelSmoke2 
			   { 
                    simulation = "particles"; 
                    type = "FuelSmoke2"; 
                    position = "DestructionFire"; 
                    intensity = 0.15; 
                    interval = 1; 
                    lifeTime = 0.5; 
               }; 
                
               class FuelDestr 
			   { 
                    simulation = "destroy"; 
                    type = "FuelStationDestr"; 
                    position = ""; 
                    intensity = 1; 
                    interval = 1; 
                    lifeTime = 1; 
               }; 
          }; 
	};
};


// Anfang Config Sounds
class CfgSounds
{
	class MAP_AH64_EngineOn
	{
		sound[] = {"\map_air\data\sounds\air_sounds\ah64_powerup.ogg",db+20,1};
		name = "AH-64A start Engine Sound";
		titles[]={};
	};
	class MAP_AH64_Engine
	{
		sound[] = {"\map_air\data\sounds\air_sounds\ah64_engine2.ogg",db+20,1};
		name = "AH-64A Enginesound";
		titles[]={};
	};
	
	class MAP_AH64_EngineOff
	{
		sound[] = {"\map_air\data\sounds\air_sounds\AH-64shutdown.ogg",db+0,1};
		name = "AH-64A Engine off Sound";
		titles[]={};
	};
	class MAP_AH64_GetIn
	{
		sound[] = {"\map_air\data\sounds\air_sounds\AH64-canopy.ogg",db+20,1};
		name = "AH-64A Getinsound";
		titles[]={};
	};
	class MAP_CH47_EngineOn
	{
		sound[] = {"\map_air\data\sounds\air_sounds\ch47_poweron.ogg",db+20,1};
		name = "CH-47D start Enginesound";
		titles[]={};
	};
	class MAP_Damper
	{
		sound[] = {"\map_air\data\sounds\air_sounds\HSKIDR.ogg",db+10,1};
		name = "AH-64A Gearsound";
		titles[]={};
	};
};
// Ende Config Sounds
//=====================================================================
//Anfang Config Radio
class CfgRadio
{
	class MAP_Incoming
	{
		sound[] = {"\map_air\data\sounds\air_sounds\warning.ogg",db+20,1};
		name = "Incoming Missle";
		title = " WARNING !!! ***** INCOMING MISSLE *****  WARNING !!!";
	};
	class MAP_Rescue_Warning
	{
		sound[] = {"\map_air\data\sounds\air_sounds\firealarm.ogg",db+20,1};
		name = "Rescue Warning";
		title = " WARNING !!! SPEED TO HIGH !!! WARNING !!!";
	};

	// Voice n1
	class MAP_Engines
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\EnginesStart.ogg",db+20,1};
		name = "MAP_ENGINES";
		title = "ENGINES START";	
	};
	class MAP_CheckUp
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\AH64-Checkup.ogg",db+20,1};
		name = "MAP_CheckUp";
		title = "OK CHECKUP !!";		
	};
	class MAP_External
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\ExternalPowerPluggedOff.ogg",db+20,1};
		name = "MAP_External";
		title = "EXTERNAL POWER PLUGGED OFF";	
	};
	class MAP_Fuelpumps
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\FuelPumpsOn.ogg",db+20,1};
		name = "MAP_Fuelpumps";
		title = "FUEL PUMPS ON";	
	};
	class MAP_Fuel
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\FuelStatusChecked.ogg",db+20,1};
		name = "MAP_Fuel";
		title = "FUELSTATUS CHECKED";	
	};
	class MAP_Radio
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\RadioChecked.ogg",db+20,1};
		name = "MAP_Radio";
		title = "RADIO CHECKED";	
	};
	class MAP_Hydraulicpumps
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\HydraulicPumpsOn.ogg",db+20,1};
		name = "MAP_Hydraulicpumps";
		title = "HYDRAULIC PUMPS ON";	
	};
	class MAP_Hydraulicsystems
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\HydraulicSystemOn.ogg",db+20,1};
		name = "MAP_Hydraulicsystems";
		title = "HYDRAULIC SYSTEMS ON";	
	};
	class MAP_MasterArmed
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\MasterArmedEnabled.ogg",db+20,1};
		name = "MAP_Masterarmed";
		title = "MASTERARMED ENABLED";	
	};
	class MAP_Weapons
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\AllWeaponsChecked.ogg",db+20,1};
		name = "MAP_Weapons";
		title = "ALL WEAPONS CHECKED";	
	};
	class MAP_TakeOff
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\AH64-Takeoff.ogg",db+20,1};
		name = "MAP_TakeOff";
		title = "READY FOR TAKEOFF";	
	};
	class MAP_BingoFuel
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\bingofuel.ogg",db+20,1};
		name = "MAP_BingoFuel";
		title = "BINGO FUEL";	
	};
	class MAP_Preflight_ON
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\preflightcheckon.ogg",db+20,1};
		name = "MAP_Preflight_ON";
		title = "PREFLIGHT CHECK ON";	
	};
	class MAP_Preflight_OFF
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\preflightcheckoff.ogg",db+20,1};
		name = "MAP_Preflight_OFF";
		title = "PREFLIGHT CHECK OFF";	
	};
	class MAP_Crew_Warning
	{
		sound[] = {"\map_air\data\sounds\air_voice\n1\WarningWarning.ogg",db+20,1};
		name = "MAP_Crew_Warning";
		title = "!!! WARNING !!! WARNING !!!";	
	};
};
// Ende Config Radio


class RscObject;
class RscTitles
{
	class MAP_AH64_FLIR_Optics
	{
		idd = -1;
		movingEnable = 0;
		duration = 1000;
		name = "MAP_AH64_FLIR_Optics";
		class objects
		{
			class MAP_AH64_FLIR_Optics : RscObject
			{
				model = "\map_air\optika_ah64_2.p3d";
				idc = -1;
				position[] = {0.00025,0.00039,0.0675};
				direction[] = {"sin 0","sin 180 * cos 0","cos 180 * cos 0"};
				up[] = {0,"cos 180","-sin 180"};
			};
		};
	};
	class MAP_RSC_EMPTY
	{
		idd = -1;
		movingEnable = 0;
		duration = 0.1;
		name = "MAP_RSC_EMPTY";
		class objects
		{
			class MAP_RSC_EMPTY : RscObject
			{
				model = "\map_air\map_rsc_empty.p3d";
				idc = -1;
				position[] = {0,0,0.0675};
				direction[] = {"sin 0","sin 180 * cos 0","cos 180 * cos 0"};
				up[] = {0,"cos 180","-sin 180"};
			};
		};	
	};
};