class BRAF_Pantera_Base: Helicopter_Base_H
{
	author="BRAF TEAM";
	scope=0;
	scopeCurator=0;
	side=2;
	faction="BRAF_ARMY";
	displayName="HM-1 Pantera K2 Base";
	cost=1500000;
	_generalMacro="BRAF_Pantera_Base";
	model="braf\braf_air\Braf_Helicopters\Braf_Pantera\BRAF_pantera.p3d";
	icon="braf\braf_air\Braf_Helicopters\Braf_Pantera\Data\UI\Map_Pantera_ca.paa";
	picture="braf\braf_air\Braf_Helicopters\Braf_Pantera\Data\UI\Icon_Pantera_ca.paa";
	editorSubcategory="EdSubcat_Helicopters";
	memoryPointTaskMarker="TaskMarker_1_pos";
	washDownStrength="1.0f";
	washDownDiameter="40.0f";
	minSmokeDamage=0.30000001;
	maxSmokeDamage=0.99000001;
	hideWeaponsDriver=1;
	hideWeaponsGunner=1;
	hideWeaponsCargo=1;
	mainBladeCenter="mainRotor_center";
	tailBladeCenter="tailRotor_center";
	selectionHRotorStill="mainRotor_static";
    selectionHRotorMove="mainRotor_blur";
    selectionVRotorStill="tailRotor_static";
    selectionVRotorMove="tailRotor_blur";
	driverLeftHandAnimName="collective";
	driverRightHandAnimName="cyclic_pilot";
	driverLeftFootAnimName="Pedals_Left";
	driverRightFootAnimName="Pedals_Right";
	memoryPointsGetInDriver="pos_pilot";
	memoryPointsGetInDriverDir="dir_pilot";
	memoryPointSupply="supply";
	numberPhysicalWheels=3;
	driveOnComponent[]=
	{
		"Skids"
	};
	accuracy=0.5;
	nameSound="veh_helicopter";
	fuelCapacity=800;
	fuelConsumptionRate=0.0322;
	armor=60;
	maxFordingDepth=1.5;
	mainBladeRadius=5.97;
	class RotorLibHelicopterProperties
	{
		RTDconfig="braf\braf_air\Braf_Helicopters\Braf_Pantera\rtd_pantera.xml";
		defaultCollective=0.68000001;
		autoHoverCorrection[]={4,-3.3,0};
		maxTorque=2700;
		stressDamagePerSec=0.0033333332;
		retreatBladeStallWarningSpeed=87.5;
		maxHorizontalStabilizerLeftStress=10000;
		maxHorizontalStabilizerRightStress=10000;
		maxVerticalStabilizerStress=10000;
		horizontalWingsAngleCollMin=0;
		horizontalWingsAngleCollMax=0;
		maxMainRotorStress=110000;
		maxTailRotorStress=25000;
	};
	maxSpeed=306;
	enginePower=1250;
	altFullForce=4500;
	altNoForce=5865;
	slingLoadMaxCargoMass=1750;
	radarType=8;
	liftForceCoef=1.5;
	bodyFrictionCoef=0.35;
	cyclicAsideForceCoef=0.3;
	cyclicForwardForceCoef=0.5;
	backRotorForceCoef=0.35;
	gearRetracting=1;
	gearsUpFrictionCoef=0.75;
	gearUpTime=3.33;
	gearDownTime=2;
	memoryPointsGetInCargo[]=
	{
		"pos_cargo_r",
		"pos_cargo_l",
	};
	memoryPointsGetInCargoDir[]=
	{
		"dir_cargo_r",
		"dir_cargo_l",
	};
	preciseGetInOut=1;
	cargoPreciseGetInOut[]={1};
	driverAction="braf_pantera_pilot";
	driverInAction="pilot_Heli_Light_02";
	getInRadius=1.7;
	getInAction="pilot_Heli_Light_02_Enter";
	getOutAction="pilot_Heli_Light_02_Exit";
	memoryPointsGetInDriverPrecise="GetIn_Pilot";
	memoryPointsGetInCargoPrecise[]=
	{
		"GetIn_Cargo",
		"GetIn_Cargo2"
	};
	cargoGetInAction[]=
	{
		"GetInLow"
	};
	cargoGetOutAction[]=
	{
		"GetOutLow"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	cargoCompartments[]=
	{
		"Compartment1",
		"Compartment1"
	};
	driverCompartments="Compartment1";
	typicalCargo[]=
	{
		"braf_characters_aviation_army_aviation_pilot"
	};
	cargoAction[]=
	{
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"passenger_flatground_generic02",
		"passenger_flatground_generic02",
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"braf_fennec_cargo",
		"braf_fennec_cargo"		
	};
	proxyIndex=1;
	transportSoldier=8;
	cargoProxyIndexes[]={1,2,3,4,5,6,7,8};
	getInProxyOrder[]={1,2,3,4,5,6,7,8};
	maximumLoad=1500;
	memoryPointCM[]=
	{
		"cm_1_pos","cm_2_pos"
	};
	memoryPointCMDir[]=
	{
		"cm_1_dir","cm_2_dir"
	};
	weapons[]=
	{
		"CMFlareLauncher"
	};
	magazines[]=
	{
		"168Rnd_CMFlare_Chaff_Magazine"
	};
	class TransportBackpacks
	{
		class _xx_B_Parachute
		{
			backpack="B_Parachute";
			count=6;
		};
	};
	class TransportMagazines
	{
		class _xx_SmokeShell
		{
			magazine="SmokeShell";
			count=10;
		};
		class _xx_SmokeShellRed
		{
			magazine="SmokeShellRed";
			count=10;
		};
		class _xx_SmokeShellGreen
		{
			magazine="SmokeShellGreen";
			count=10;
		};
	};
	class TransportWeapons
	{
	};
	class TransportItems
	{
		class _xx_FirstAidKit
		{
			name="FirstAidKit";
			count=10;
		};
		class _xx_Toolkit
		{
			name="Toolkit";
			count=5;
		};
		class _xx_ItemGPS
		{
			name="ItemGPS";
			count=5;
		};
	};
	threat[]={0,0,0};
	driverCanSee=31;
	extCameraPosition[]={0,2,-15};
	class ViewOptics: ViewOptics
	{
		initAngleX=0;
		minAngleX=-30;
		maxAngleX=30;
		initAngleY=0;
		minAngleY=-86;
		maxAngleY=86;
		minFov=0.25;
		maxFov=1.25;
		initFov=0.75;
	};
	gunnerUsesPilotView=1;
	castCargoShadow=1;
	radarTargetSize=0.7;
	visualTargetSize=0.8;
	irTargetSize=0.8;
	lockDetectionSystem=0;
	incomingMissileDetectionSystem=0;
	cargoCanEject=1;
	driverCanEject=0;
	ejectDeadCargo=1;
	memoryPointDriverOptics="slingCamera";
	damageResistance=0.01039;
	waterLeakiness=10;
	canFloat=1;
	epeImpulseDamageCoef=20;
	cameraBegin="rtd1_pos";
	cameraEnd="rtd1_dir";
	class RenderTargets
	{
		class LowerMirror
		{
			renderTarget="rendertarget1";
			class CameraView
			{
				pointPosition="rtd1_pos";
				pointDirection="rtd1_dir";
				renderQuality=0;
				renderVisionMode=0;
				fov=0.7;
			};
		};
	};
	class Reflectors
	{
		class Cabin_front
		{
			position="cabinlight_f_pos";
			direction="cabinlight_f_dir";
			hitpoint="cabinlight_f_hp";
			selection="cabinlight_f";
			color[]={50,0,0};
			ambient[]={5,0,0};
			intensity=4;
			size=1;
			innerAngle=15;
			outerAngle=150;
			coneFadeCoef=1;
			useFlare=1;
			flareSize=0.1;
			flareMaxDistance=1;
			dayLight=0;
			class Attenuation
			{
				start=0;
				constant=0;
				linear=1;
				quadratic=1;
				hardLimitStart=1;
				hardLimitEnd=2;
			};
		};
		class Cabin_middle: Cabin_front
		{
			position="cabinlight_m_pos";
			direction="cabinlight_m_dir";
			hitpoint="cabinlight_m_hp";
			selection="cabinlight_m";
		};
		class Cabin_back: Cabin_front
		{
			position="cabinlight_b_pos";
			direction="cabinlight_b_dir";
			hitpoint="cabinlight_b_hp";
			selection="cabinlight_b";
		};
	};
	class AnimationSources: AnimationSources
	{
		class collisionlightred
		{
			source="MarkerLight";
			markerLight="CollisionRed";
			animPeriod=0;
			initPhase=0;
		};
		class collisionlightwhite
		{
			source="MarkerLight";
			markerLight="CollisionWhite";
			animPeriod=0;
			initPhase=0;
		};
		class hoist_hide
		{
			source="user";
			animPeriod=0;
			initPhase=1;
		};
		class Civilian_Unhide: hoist_hide
		{
			mass=100;
			initPhase=1;
		};
		class Door_L
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class Door_R
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
	};
	class UserActions
	{
		class Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Deploy Rescue Seat </t>";
			position="hoist_hook_pos";
			showWindow=1;
			radius=20;
			priority=1;
			onlyForPlayer=0;
			condition="this animationphase 'Hoist_Hide' > 0.9 AND (player in crew this) AND this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Civilian_hide' < 0.1 AND !(""BRAF_Rescue_Seat"" in (this getVariable ['braf_hoist_spent_payloads', []]))";
			statement="[this, ""deploy"", ""BRAF_Rescue_Seat""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',-0.5]";
		};
		class Deploy_Rescue_Stretcher: Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Deploy Rescue Stretcher </t>";
			condition="this animationphase 'Hoist_Hide' > 0.9 AND (player in crew this) AND this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Civilian_hide' < 0.1 AND !(""BRAF_Rescue_Stretcher"" in (this getVariable ['braf_hoist_spent_payloads', []]))";
			statement="[this, ""deploy"", ""BRAF_Rescue_Stretcher""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',-0.5]";
		};
		class Hoist_Down: Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Extend Cable Hook </t>";
			condition="this animationphase 'Hoist_Hide' < -0.4 AND this animationphase 'Hoist_Hide' > -0.6 AND (player in crew this) AND this animationphase 'Door_R_1' > 0.9";
			statement="[this, ""down""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',-1]; this say3d ""Winch""";
		};
		class Hoist_Up: Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Recover Cable Hook </t>";
			condition="this animationphase 'Hoist_Hide' < -0.9  AND (player in crew this) AND this animationphase 'Door_R_1' > 0.9";
			statement="[this, ""up""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',-0.5]; this say3d ""Winch""";
		};
		class Recover_Rescue_Seat: Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Retrieve Rescue Payload </t>";
			condition="(player in crew this) AND this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Hoist_Hide' < -0.4  AND this animationphase 'Hoist_Hide' > -0.6";
			statement="[this, ""recover""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',1]";
		};
		class Hoist_Cut: Deploy_Rescue_Seat
		{
			displayname="<t color='#b31d00'> Cut Hoist Hook Cable </t>";
			condition="(player in crew this) AND this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Hoist_Hide' < 0";
			statement="[this, ""cut""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',1]";
		};
		class Open_Door_Left
		{
			displayname="Open Left Door";
			position="door_pos";
			showWindow=1;
			radius=20;
			priority=0;
			onlyForPlayer=0;
			condition="this animationphase 'Door_L_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this animate ['Door_L_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Left: Open_Door_Left
		{
			displayname="Close Left Door";
			condition="this animationphase 'Door_L_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this animate ['Door_L_rot',0], this say3d ""Doors""";
		};
		class Open_Door_Right: Open_Door_Left
		{
			displayname="Open Right Door";
			condition="this animationphase 'Door_R_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this animate ['Door_R_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Right: Open_Door_Left
		{
			displayname="Close Right Door";
			condition="this animationphase 'Door_R_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this animate ['Door_R_rot',0], this say3d ""Doors""";
		};
	};
	class MarkerLights
	{
		class PositionRed
		{
			color[]={0.8, 0, 0};
            ambient[]={0.09, 0.015, 0.01};
            intensity=55;
            name="PositionLight_red_pos";
            drawLight=1;
            flareSize=0.5;
            brightness=0.01;
            drawLightSize=0.25;
            drawLightCenterSize=0.08;
            activeLight=0;
            blinking=0;
            dayLight=0;
            useFlare=1;
			//class Attenuation
			//{
			//	start=0;
			//	constant=0;
			//	linear=25;
			//	quadratic=50;
			//	hardLimitStart=0.75;
			//	hardLimitEnd=1;
			//};
		};
		class PositionGreen: PositionRed
		{
			color[]={0, 0.8, 0};
            ambient[]={0.09, 0.015, 0.01};
			name="PositionLight_green_pos";
		};
		class PositionWhite: PositionRed
		{
			color[]={1, 1, 1};
            ambient[]={0.09, 0.015, 0.01};
			name="PositionLight_white_pos";
			drawLightSize=0.2;
		};
		class CollisionRed: PositionRed
		{
			color[] = {0.9, 0.15, 0.1};
            ambient[] = {0.09, 0.015, 0.01};
            name="collisionlight_red";
            blinking=1;
		};
		class CollisionWhite: PositionRed
		{
			color[] = {1, 1, 1};
            ambient[] = {0.09, 0.015, 0.01};
            name="collisionlight_white";
            blinking=1;
		};
	};
	class Exhausts
	{
		class Exhaust1
		{
			position="exhaust1";
			direction="exhaust1_dir";
			effect="ExhaustsEffectHeliMed";
		};
		class Exhaust2
		{
			position="exhaust2";
			direction="exhaust2_dir";
			effect="ExhaustsEffectHeliMed";
		};
	};
	class HitPoints: HitPoints
	{
		class HitFuel: HitFuel
		{
			visual="";
			name="HP_fuel";
			convexComponent="FG_fuel";
			radius=0.1;
			explosionShielding=2;
		};
		class HitHull: HitHull
		{
			armor=999;
			name="HP_hull";
			visual="zbytek";
			convexComponent="hull";
			depends="Total";
			radius=0.01;
		};
		class HitEngine1
		{
			armor=1;
			radius=0.4;
			name="HP_engine_1";
			explosionShielding=3;
			minimalHit=0.2;
			visual="";
			passThrough=1;
			convexComponent="FG_engine_1";
			material=51;
		};
		class HitEngine2: HitEngine1
		{
			armor=1;
			minimalHit=0.2;
			name="HP_engine_2";
			convexComponent="FG_engine_2";
		};
		class HitEngine: HitEngine
		{
			armor=999;
			radius=0.050000001;
			minimalHit=1;
			depends="0.5 * (HitEngine1 + HitEngine2)";
		};
		class HitAvionics: HitAvionics
		{
			armor=2;
			visual="";
			name="HP_avionics";
			convexComponent="FG_avionics";
			radius=0.05;
			explosionShielding=2;
		};
		class HitHRotor: HitHRotor
		{
			visual="mainRotor_static";
			name="HP_mainRotor";
			armor=4.5;
			radius=0.3;
			explosionShielding=2.5;
		};
		class HitVRotor: HitVRotor
		{
			visual="tailRotor_static";
			name="HP_tailRotor";
			armor=3;
			radius=0.06;
			explosionShielding=6;
		};
		class HitGlass1: HitGlass1
		{
			visual="Glass";
			name="HP_Glass";
			convexComponent="FG_Glass";
			armor=0.5;
			radius=0.15;
		};
	};
	hiddenSelections[]=
	{
		"camo1",
		"camo2",
		"camo3",
		"camo4",
		"glass"
	};
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\2bavex_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
	class TextureSources
	{
		class 2BAvEx
		{
			author="BRAF TEAM";
			side=2;
			displayName="HM-1 Pantera K2 2° BAvEx";
			textures[]=
			{
				"braf\braf_air\braf_helicopters\Braf_Pantera\data\camo1\2BAvEx_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_ARMY"
			};
		};
		class 3BAvEx
		{
			author="BRAF TEAM";
			side=2;
			displayName="HM-1 Pantera K2 3° BAvEx";
			textures[]=
			{
				"braf\braf_air\braf_helicopters\Braf_Pantera\data\camo1\3BAvEx_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_ARMY"
			};
		};
		class 4BAvEx
		{
			author="BRAF TEAM";
			side=2;
			displayName="HM-1 Pantera K2 4° BAvEx";
			textures[]=
			{
				"braf\braf_air\braf_helicopters\Braf_Pantera\data\camo1\4BAvEx_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_ARMY"
			};
		};
		class 80s_Camo
		{
			author="BRAF TEAM";
			side=2;
			displayName="HM-1 Pantera K2 80's Camo";
			textures[]=
			{
				"braf\braf_air\braf_helicopters\Braf_Pantera\data\camo1\80s_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_ARMY"
			};
		};
		/*
		class HIAF1
		{
			author="BRAF TEAM";
			side=1;
			displayName="AS-565 Panther K2 Green";
			textures[]=
			{
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo1\HIAF1_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo2\Camo2_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo3\Camo3_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_HIAF"
			};
		};
		class HIAF2
		{
			author="BRAF TEAM";
			side=1;
			displayName="AS-565 Panther K2 Camo";
			textures[]=
			{
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo1\HIAF2_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo2\Camo2_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo3\Camo3_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_HIAF"
			};
		};
		class HIAF_Navy
		{
			author="BRAF TEAM";
			side=1;
			displayName="AS-565 Panther K2 Navy";
			textures[]=
			{
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo1\HIAF_Navy_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo2\Camo2_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo3\Camo3_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_HIAF"
			};
		};
		class PLA1
		{
			author="BRAF TEAM";
			side=0;
			displayName="Z-9 Harbin White";
			textures[]=
			{
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo1\PLA1_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo2\Camo2_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo3\Camo3_co.paa",
				"BRAF_Factions\BRAF_Factions_Air\data\Pantera\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"OPF_T_F"
			};
		};
		*/
		class SAR
		{
			author="BRAF TEAM";
			side=3;
			displayName="AS-565 Panther K2 SAR";
			textures[]=
			{
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\SAR_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_CIV"
			};
		};
		class CIV_Black
		{
			author="BRAF TEAM";
			side=3;
			displayName="AS-565 Panther K2 Black";
			textures[]=
			{
				"braf\braf_air\braf_helicopters\Braf_Pantera\data\CIV\Black_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_CIV"
			};
		};
		class CIV_Offshore
		{
			author="BRAF TEAM";
			side=3;
			displayName="AS-565 Panther K2 Offshore";
			textures[]=
			{
				"braf\braf_air\braf_helicopters\Braf_Pantera\data\CIV\Offshore_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
				"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
			};
			factions[]=
			{
				"BRAF_CIV"
			};
		};
	};
	class Damage
	{
		tex[]={};
		mat[]=
		{
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\camo1.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo1_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\camo2.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo2_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\glass\glass.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat"
		};
	};
	class ViewPilot: ViewPilot
	{
		initAngleX=-2.5;
	};
	class CargoTurret;
	class Turrets: Turrets
	{
		class BRAF_CopilotTurret: CopilotTurret
		{
			gunnerAction="braf_pantera_pilot";
			gunnerInAction="copilot_Heli_Light_02";
			gunnerName="$STR_A3_COPILOT";
			precisegetinout=1;
			isCopilot=1;
			gunnerGetInAction="copilot_Heli_Light_02_Enter";
			gunnerGetOutAction="copilot_Heli_Light_02_Exit";
			memoryPointsGetInGunner="pos_copilot";
			memoryPointsGetInGunnerDir="dir_copilot";
			memoryPointsGetInGunnerPrecise="GetIn_Copilot";
			proxyIndex=1;
			canEject=0;
			selectionFireAnim="";
			minElev=-50;
			maxElev=30;
			initElev=11;
			minTurn=-170;
			maxTurn=170;
			initTurn=0;
			gunnerLeftHandAnimName="collective";
			gunnerRightHandAnimName="cyclic_copilot";
			gunnerLeftFootAnimName="Pedals_Left";
			gunnerRightFootAnimName="Pedals_Right";
			gunnerCompartments="Compartment1";
			weapons[]=
			{
				"FakeHorn"
			};
			soundServo[]=
			{
				"",
				0.0099999998,
				1,
				30
			};
			magazines[]={};
			class Reflectors
			{
				class Right
				{
					color[]={7000,7500,10000};
					ambient[]={70,75,100};
					intensity=50;
					size=1;
					innerAngle=15;
					outerAngle=65;
					coneFadeCoef=10;
					position="light_r_pos";
					direction="light_r_dir";
					hitpoint="light_r_hitpoint";
					selection="light_right";
					useFlare=1;
					flareSize=15;
					flareMaxDistance=250;
					dayLight=0;
					class Attenuation
					{
						start=0;
						constant=0;
						linear=1;
						quadratic=1;
						hardLimitStart=100;
						hardLimitEnd=200;
					};
				};
				class Left: Right
				{
					position="light_l_pos";
					direction="light_l_dir";
					hitpoint="Light_l_hitpoint";
					selection="light_left";
				};
			};
			class Components
			{
				class VehicleSystemsDisplayManagerComponentLeft: VehicleSystemsTemplateLeftPilot
				{
				};
				class VehicleSystemsDisplayManagerComponentRight: VehicleSystemsTemplateRightPilot
				{
				};
			};
		};
	};
	#include "Pantera_Sounds.hpp"
	defaultUserMFDvalues[]={0,1,0.30000001,1};
	#include "Pantera_MFD.hpp"
	class Armory
	{
		description="HM-1 Pantera K2";
	};
	class Components: Components
	{
		class SensorsManagerComponent
		{
			class Components
			{
				class PassiveRadarSensorComponent: SensorTemplatePassiveRadar
				{
				};
			};
		};
		class VehicleSystemsDisplayManagerComponentLeft: VehicleSystemsTemplateLeftPilot
		{
		};
		class VehicleSystemsDisplayManagerComponentRight: VehicleSystemsTemplateRightPilot
		{
		};
	};
	class PilotCamera
	{
		class OpticsIn
		{
			class Wide
			{
				opticsDisplayName="W";
				initAngleX=0;
				minAngleX=0;
				maxAngleX=0;
				initAngleY=0;
				minAngleY=0;
				maxAngleY=0;
				initFov=0.5;
				minFov=0.5;
				maxFov=0.5;
				directionStabilized=1;
				visionMode[]=
				{
					"Normal",
					"NVG"
				};
				thermalMode[]={0,1};
				gunnerOpticsModel="A3\drones_f\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
			};
			showMiniMapInOptics=0;
			showUAVViewpInOptics=0;
			showSlingLoadManagerInOptics=1;
		};
		minTurn=0;
		maxTurn=0;
		initTurn=0;
		minElev=80;
		maxElev=80;
		initElev=80;
		maxXRotSpeed=0.5;
		maxYRotSpeed=0.5;
		pilotOpticsShowCursor=1;
		controllable=0;
	};
	ace_fastroping_enabled=1;
	ace_fastroping_ropeOrigins[]={"rope_start"};
	ace_fastroping_friesType="ACE_friesAnchorBar";
	ace_fastroping_friesAttachmentPoint[]={0.065,2.2,-0.15};
	ace_fastroping_onPrepare="ace_fastroping_fnc_onPrepareCommon";
	ace_fastroping_onCut="ace_fastroping_fnc_onCutCommon";
	ace_cargo_space=5;
	class Attributes
	{
		class ace_fastroping_equipFRIES
		{
			property="ace_fastroping_equipFRIES";
			control="Checkbox";
			displayName="$STR_ace_fastroping_Eden_equipFRIES";
			tooltip="$STR_ace_fastroping_Eden_equipFRIES_Tooltip";
			expression="if (_value) then {[_this] call ace_fastroping_fnc_equipFRIES}";
			typeName="BOOL";
			condition="objectVehicle";
			defaultValue=0;
		};
	};
};
class BRAF_Pantera_FFV_Base: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	scope=0;
	scopeCurator=0;
	side=2;
	faction="BRAF_ARMY";
	displayName="HM-1 Pantera K2 FFV Base";
	cost=1750000;
	_generalMacro="BRAF_Pantera_FFV_Base";
	class AnimationSources: AnimationSources
	{
		class collisionlightred
		{
			source="MarkerLight";
			markerLight="CollisionRed";
			animPeriod=0;
			initPhase=0;
		};
		class collisionlightwhite
		{
			source="MarkerLight";
			markerLight="CollisionWhite";
			animPeriod=0;
			initPhase=0;
		};
		class hoist_hide
		{
			source="user";
			animPeriod=0;
			initPhase=0;
		};
		class SAR_hide: hoist_hide
		{
			mass=-150;
			initPhase=1;
		};
		class Civilian_Unhide: hoist_hide
		{
			mass=100;
			initPhase=1;
		};
		class Door_L
		{
			source="user";
			animPeriod=1;
			initPhase=1;
		};
		class Door_R
		{
			source="user";
			animPeriod=1;
			initPhase=1;
		};
	};
	class UserActions
	{
	};
	class CargoTurret;
	class Turrets: Turrets
	{
		class BRAF_CopilotTurret: BRAF_CopilotTurret{};
		class BRAF_Cargo_Heli_Right: CargoTurret
		{
			gunnerAction="passenger_inside_2";
			gunnerName="Right Shooter";
			memoryPointsGetInGunner="pos_gunner_R";
			memoryPointsGetInGunnerDir="dir_gunner_R";
			gunnerGetInAction="GetInLow";
			gunnerGetOutAction="GetOutLow";
			gunnerCompartments="Compartment1";
			enabledByAnimationSource="Door_R";
			proxyIndex=15;
			commanding=3;
			isPersonTurret=1;				
			minTurn=-60;
			maxTurn=40;
			minElev=-50;
			maxElev=28;	
		};
		class BRAF_Cargo_Heli_Left: BRAF_Cargo_Heli_Right
		{
			gunnerName="Left Shooter";
			memoryPointsGetInGunner="pos_gunner_L";
			memoryPointsGetInGunnerDir="dir_gunner_L";
			enabledByAnimationSource="Door_L";
			proxyIndex=16;
			minTurn=-40;
			maxTurn=60;
		};
	};
};
class BRAF_Pantera_K2_2BAvEx: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	scope=2;
	scopeCurator=2;
	scopeArsenal=2;
	displayName="HM-1 Pantera K2 2nd BAvEx";
	editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Pantera_K2_2BAvEx.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]=
	{
		"BRAF_2BAvEx_Mec"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\2bavex_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
};
class BRAF_Pantera_K2_FFV_2BAvEx: BRAF_Pantera_FFV_Base
{
	author="BRAF TEAM";
	scope=2;
	scopeCurator=2;
	scopeArsenal=2;
	displayName="HM-1 Pantera K2 2nd BAvEx FFV";
	editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Pantera_K2_FFV_2BAvEx.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]=
	{
		"BRAF_2BAvEx_Mec"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\2bavex_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
};
class BRAF_Pantera_K2_3BAvEx: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	displayName="HM-1 Pantera K2 3rd BAvEx";
	editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Pantera_K2_3BAvEx.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]=
	{
		"braf_characters_aviation_army_aviation_pilot"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\3bavex_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
};
class BRAF_Pantera_K2_FFV_3BAvEx: BRAF_Pantera_FFV_Base
{
	author="BRAF TEAM";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	displayName="HM-1 Pantera K2 3rd BAvEx FFV";
	editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Pantera_K2_FFV_3BAvEx.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]=
	{
		"braf_characters_aviation_army_aviation_pilot"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\3bavex_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
};
class BRAF_Pantera_K2_4BAvEx: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	displayName="HM-1 Pantera K2 4th BAvEx";
	editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Pantera_K2_4BAvEx.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]=
	{
		"braf_characters_aviation_army_aviation_pilot"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\4bavex_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
};
class BRAF_Pantera_K2_FFV_4BAvEx: BRAF_Pantera_FFV_Base
{
	author="BRAF TEAM";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	displayName="HM-1 Pantera K2 4th BAvEx FFV";
	editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Pantera_K2_FFV_4BAvEx.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]=
	{
		"braf_characters_aviation_army_aviation_pilot"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\4bavex_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
};
class BRAF_Pantera_K2_80s: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	displayName="HM-1 Pantera K2 AvEx 100 years";
	editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Pantera_K2_80S.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]=
	{
		"braf_characters_aviation_army_aviation_pilot"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\80s_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
};
class BRAF_Pantera_K2_FFV_80s: BRAF_Pantera_FFV_Base
{
	author="BRAF TEAM";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	displayName="HM-1 Pantera K2 AvEx 100 years FFV";
	editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Pantera_K2_FFV_80S.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]=
	{
		"braf_characters_aviation_army_aviation_pilot"
	};
	crew="braf_characters_aviation_army_aviation_pilot";
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo1\80s_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
};
class BRAF_Pantera_K2_SAR: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	faction="BRAF_CIV";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	side=3;
	displayName="AS-565 Panther SAR";
	editorPreview="\braf\braf_insignia\editorpreview\brazilian_civ\Air\BRAF_Pantera_K2_SAR.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	typicalCargo[]={"C_Marshal_F"};
	crew="C_Marshal_F";
	canFloat=1;
	waterDamageEngine=0.2;
	waterEffect="HeliWater";
	waterLeakiness=50;
	waterPPInVehicle=1;
	waterResistance=1;
	waterResistanceCoef=0.5;
	weapons[]=
	{
	};
	magazines[]=
	{
	};
	hiddenSelectionsMaterials[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass.rvmat"
	};
	class Damage
	{
		tex[]={};
		mat[]=
		{
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo1_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\camo2.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo2_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\glass\glass.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
		};
	};
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\SAR_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
	class AnimationSources
	{
		class collisionlightred
		{
			source="MarkerLight";
			markerLight="CollisionRed";
			animPeriod=0;
			initPhase=0;
		};
		class collisionlightwhite
		{
			source="MarkerLight";
			markerLight="CollisionWhite";
			animPeriod=0;
			initPhase=0;
		};
		class hoist_hide
		{
			source="user";
			animPeriod=0;
			initPhase=1;
		};
		class Civilian_hide: hoist_hide
		{
			initPhase=0;
		};
		class Plate_hide: hoist_hide
		{
			initPhase=1;
		};
		class Door_L
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class Door_R
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class EFS_Cover_Hide
		{
			source="user";
			animPeriod=0;
			initPhase=0;
		};
		class EFS_Hide
		{
			source="user";
			animPeriod=0;
			initPhase=0;
		};
	};
	class EventHandlers: EventHandlers
	{
		init="if (local (_this select 0)) then {[(_this select 0), """", [], false] call bis_fnc_initVehicle; [(_this select 0), ""Init""] call BRAF_fnc_efs;};";
	};
	class UserActions
	{
		class Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Deploy Rescue Seat </t>";
			position="hoist_hook_pos";
			showWindow=1;
			radius=20;
			priority=1;
			onlyForPlayer=0;
			condition="this animationphase 'Hoist_Hide' > 0.9 AND (player in crew this) AND this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Civilian_hide' < 0.1 AND !(""BRAF_Rescue_Seat"" in (this getVariable ['braf_hoist_spent_payloads', []]))";
			statement="[this, ""deploy"", ""BRAF_Rescue_Seat""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',-0.5]";
		};
		class Deploy_Rescue_Stretcher: Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Deploy Rescue Stretcher </t>";
			condition="this animationphase 'Hoist_Hide' > 0.9 AND (player in crew this) AND this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Civilian_hide' < 0.1 AND !(""BRAF_Rescue_Stretcher"" in (this getVariable ['braf_hoist_spent_payloads', []]))";
			statement="[this, ""deploy"", ""BRAF_Rescue_Stretcher""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',-0.5]";
		};
		class Hoist_Down: Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Extend Cable Hook </t>";
			condition="this animationphase 'Hoist_Hide' < -0.4 AND this animationphase 'Hoist_Hide' > -0.6 AND (player in crew this) AND this animationphase 'Door_R_1' > 0.9";
			statement="[this, ""down""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',-1]; this say3d ""Winch""";
		};
		class Hoist_Up: Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Recover Cable Hook </t>";
			condition="this animationphase 'Hoist_Hide' < -0.9  AND (player in crew this) AND this animationphase 'Door_R_1' > 0.9";
			statement="[this, ""up""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',-0.5]; this say3d ""Winch""";
		};
		class Recover_Rescue_Seat: Deploy_Rescue_Seat
		{
			displayname="<t color='#ffaa00'> Retrieve Rescue Payload </t>";
			condition="(player in crew this) AND this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Hoist_Hide' < -0.4  AND this animationphase 'Hoist_Hide' > -0.6";
			statement="[this, ""recover""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',1]";
		};
		class Hoist_Cut: Deploy_Rescue_Seat
		{
			displayname="<t color='#b31d00'> Cut Hoist Hook Cable </t>";
			condition="(player in crew this) AND this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Hoist_Hide' < 0";
			statement="[this, ""cut""] call BRAF_fnc_hoist; this animate ['Hoist_Hide',1]";
		};
		class Open_Door_Left
		{
			displayname="Open Left Door";
			position="door_pos";
			showWindow=1;
			radius=20;
			priority=0;
			onlyForPlayer=0;
			condition="this animationphase 'Door_L_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this animate ['Door_L_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Left: Open_Door_Left
		{
			displayname="Close Left Door";
			condition="this animationphase 'Door_L_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this animate ['Door_L_rot',0], this say3d ""Doors""";
		};
		class Open_Door_Right: Open_Door_Left
		{
			displayname="Open Right Door";
			condition="this animationphase 'Door_R_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this animate ['Door_R_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Right: Open_Door_Left
		{
			displayname="Close Right Door";
			condition="this animationphase 'Door_R_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this animate ['Door_R_rot',0], this say3d ""Doors""";
		};
		class Arm_EFS
		{
			displayname="<t color='#ffaa00'> Arm EFS </t>";
			position="door_pos";
			showWindow=1;
			radius=10;
			priority=1;
			onlyForPlayer=0;
			condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','SAFE']) == 'SAFE')";
			statement="[this, ""arm""] call BRAF_fnc_efs";
		};
		class Disarm_EFS: Arm_EFS
		{
			displayname="<t color='#ffaa00'> Disarm EFS </t>";
			condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','SAFE']) == 'ARMED')";
			statement="[this, ""disarm""] call BRAF_fnc_efs";
		};
		class Deploy_Floats: Arm_EFS
		{
			displayname="<t color='#b31d00'> Deploy Floats </t>";
			condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','SAFE']) == 'ARMED')";
			statement="[this, ""deployfloats""] call BRAF_fnc_efs";
		};
	};
	animationList[]=
	{
		"EFS_Cover_Hide",1,
		"EFS_Hide",0
	};
};
class BRAF_Pantera_K2_Black: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	faction="BRAF_CIV";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	side=3;
	displayName="AS-365 Panther Black";
	editorPreview="\braf\braf_insignia\editorpreview\brazilian_civ\Air\BRAF_Pantera_K2_Black.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	slingLoadMinCargoMass=0;
	slingLoadMaxCargoMass=50;
	transportSoldier=9;
	cargoProxyIndexes[]={4,5,6,9,10,11,12,13,14};
	getInProxyOrder[]={4,5,6,9,10,11,12,13,14};
	cargoAction[]=
	{
		"braf_fennec_cargo"		
	};
	typicalCargo[]={"C_Marshal_F"};
	crew="C_Marshal_F";
	hiddenSelectionsMaterials[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass.rvmat"
	};
	class Damage
	{
		tex[]={};
		mat[]=
		{
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo1_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\camo2.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo2_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\glass\glass.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
		};
	};
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Black_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
	weapons[]=
	{
	};
	magazines[]=
	{
	};
	class AnimationSources
	{
		class collisionlightred
		{
			source="MarkerLight";
			markerLight="CollisionRed";
			animPeriod=0;
			initPhase=0;
		};
		class collisionlightwhite
		{
			source="MarkerLight";
			markerLight="CollisionWhite";
			animPeriod=0;
			initPhase=0;
		};
		class hoist_hide
		{
			source="user";
			animPeriod=1;
			initPhase=1;
		};
		class Civilian_hide: hoist_hide
		{
			initPhase=1;
		};
		class Civilian_Unhide: Civilian_hide
		{
			initPhase=-1;
		};
		class Plate_hide: hoist_hide
		{
			initPhase=1;
		};
		class SAR_hide: hoist_hide
		{
			mass=-150;
			initPhase=1;
		};
		class Door_L
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class Door_R
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
	};
	class UserActions
	{
		class Open_Door_Left
		{
			displayname="Open Left Door";
			position="door_pos";
			showWindow=1;
			radius=20;
			priority=0;
			onlyForPlayer=0;
			condition="this animationphase 'Door_L_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this animate ['Door_L_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Left: Open_Door_Left
		{
			displayname="Close Left Door";
			condition="this animationphase 'Door_L_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this animate ['Door_L_rot',0], this say3d ""Doors""";
		};
		class Open_Door_Right: Open_Door_Left
		{
			displayname="Open Right Door";
			condition="this animationphase 'Door_R_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this animate ['Door_R_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Right: Open_Door_Left
		{
			displayname="Close Right Door";
			condition="this animationphase 'Door_R_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this animate ['Door_R_rot',0], this say3d ""Doors""";
		};
	};
};
class BRAF_Pantera_K2_Yellow: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	faction="BRAF_CIV";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	side=3;
	displayName="AS-365 Panther Yellow";
	editorPreview="\braf\braf_insignia\editorpreview\brazilian_civ\Air\BRAF_Pantera_K2_Yellow.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	slingLoadMinCargoMass=0;
	slingLoadMaxCargoMass=50;
	transportSoldier=9;
	cargoProxyIndexes[]={4,5,6,9,10,11,12,13,14};
	getInProxyOrder[]={4,5,6,9,10,11,12,13,14};
	cargoAction[]=
	{
		"braf_fennec_cargo"		
	};
	typicalCargo[]={"C_Marshal_F"};
	crew="C_Marshal_F";
	hiddenSelectionsMaterials[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass.rvmat"
	};
	class Damage
	{
		tex[]={};
		mat[]=
		{
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo1_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\camo2.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo2_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\glass\glass.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
		};
	};
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Yellow_Black_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
	weapons[]=
	{
	};
	magazines[]=
	{
	};
	class AnimationSources
	{
		class collisionlightred
		{
			source="MarkerLight";
			markerLight="CollisionRed";
			animPeriod=0;
			initPhase=0;
		};
		class collisionlightwhite
		{
			source="MarkerLight";
			markerLight="CollisionWhite";
			animPeriod=0;
			initPhase=0;
		};
		class hoist_hide
		{
			source="user";
			animPeriod=1;
			initPhase=1;
		};
		class Civilian_hide: hoist_hide
		{
			initPhase=1;
		};
		class Civilian_Unhide: Civilian_hide
		{
			initPhase=-1;
		};
		class Plate_hide: hoist_hide
		{
			initPhase=1;
		};
		class SAR_hide: hoist_hide
		{
			mass=-150;
			initPhase=1;
		};
		class Door_L
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class Door_R
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
	};
	class UserActions
	{
		class Open_Door_Left
		{
			displayname="Open Left Door";
			position="door_pos";
			showWindow=1;
			radius=20;
			priority=0;
			onlyForPlayer=0;
			condition="this animationphase 'Door_L_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this animate ['Door_L_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Left: Open_Door_Left
		{
			displayname="Close Left Door";
			condition="this animationphase 'Door_L_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this animate ['Door_L_rot',0], this say3d ""Doors""";
		};
		class Open_Door_Right: Open_Door_Left
		{
			displayname="Open Right Door";
			condition="this animationphase 'Door_R_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this animate ['Door_R_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Right: Open_Door_Left
		{
			displayname="Close Right Door";
			condition="this animationphase 'Door_R_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this animate ['Door_R_rot',0], this say3d ""Doors""";
		};
	};
};
class BRAF_Pantera_K2_Red: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	faction="BRAF_CIV";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	side=3;
	displayName="AS-365 Panther Red";
	editorPreview="\braf\braf_insignia\editorpreview\brazilian_civ\Air\BRAF_Pantera_K2_Red.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	slingLoadMinCargoMass=0;
	slingLoadMaxCargoMass=50;
	transportSoldier=9;
	cargoProxyIndexes[]={4,5,6,9,10,11,12,13,14};
	getInProxyOrder[]={4,5,6,9,10,11,12,13,14};
	cargoAction[]=
	{
		"braf_fennec_cargo"		
	};
	typicalCargo[]={"C_Marshal_F"};
	crew="C_Marshal_F";
	hiddenSelectionsMaterials[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass.rvmat"
	};
	class Damage
	{
		tex[]={};
		mat[]=
		{
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo1_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\camo2.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo2_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\glass\glass.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
		};
	};
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Red_White_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
	weapons[]=
	{
	};
	magazines[]=
	{
	};
	class AnimationSources
	{
		class collisionlightred
		{
			source="MarkerLight";
			markerLight="CollisionRed";
			animPeriod=0;
			initPhase=0;
		};
		class collisionlightwhite
		{
			source="MarkerLight";
			markerLight="CollisionWhite";
			animPeriod=0;
			initPhase=0;
		};
		class hoist_hide
		{
			source="user";
			animPeriod=1;
			initPhase=1;
		};
		class Civilian_hide: hoist_hide
		{
			initPhase=1;
		};
		class Civilian_Unhide: Civilian_hide
		{
			initPhase=-1;
		};
		class Plate_hide: hoist_hide
		{
			initPhase=1;
		};
		class SAR_hide: hoist_hide
		{
			mass=-150;
			initPhase=1;
		};
		class Door_L
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class Door_R
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
	};
	class UserActions
	{
		class Open_Door_Left
		{
			displayname="Open Left Door";
			position="door_pos";
			showWindow=1;
			radius=20;
			priority=0;
			onlyForPlayer=0;
			condition="this animationphase 'Door_L_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this animate ['Door_L_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Left: Open_Door_Left
		{
			displayname="Close Left Door";
			condition="this animationphase 'Door_L_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this animate ['Door_L_rot',0], this say3d ""Doors""";
		};
		class Open_Door_Right: Open_Door_Left
		{
			displayname="Open Right Door";
			condition="this animationphase 'Door_R_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this animate ['Door_R_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Right: Open_Door_Left
		{
			displayname="Close Right Door";
			condition="this animationphase 'Door_R_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this animate ['Door_R_rot',0], this say3d ""Doors""";
		};
	};
};
class BRAF_Pantera_K2_Offshore: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	faction="BRAF_CIV";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	side=3;
	displayName="AS-365 Panther Offshore";
	editorPreview="\braf\braf_insignia\editorpreview\brazilian_civ\Air\BRAF_Pantera_K2_Offshore.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	slingLoadMinCargoMass=0;
	slingLoadMaxCargoMass=50;
	typicalCargo[]={"C_Marshal_F"};
	crew="C_Marshal_F";
	canFloat=1;
	waterDamageEngine=0.2;
	waterEffect="HeliWater";
	waterLeakiness=50;
	waterPPInVehicle=1;
	waterResistance=1;
	waterResistanceCoef=0.5;
	transportSoldier=9;
	cargoProxyIndexes[]={4,5,6,9,10,11,12,13,14};
	getInProxyOrder[]={4,5,6,9,10,11,12,13,14};
	cargoAction[]=
	{
		"braf_fennec_cargo"		
	};
	hiddenSelectionsMaterials[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass.rvmat"
	};
	class Damage
	{
		tex[]={};
		mat[]=
		{
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Camo1.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo1_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\camo2.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo2_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\glass\glass.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
		};
	};
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Offshore_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
	weapons[]=
	{
	};
	magazines[]=
	{
	};
	class AnimationSources
	{
		class collisionlightred
		{
			source="MarkerLight";
			markerLight="CollisionRed";
			animPeriod=0;
			initPhase=0;
		};
		class collisionlightwhite
		{
			source="MarkerLight";
			markerLight="CollisionWhite";
			animPeriod=0;
			initPhase=0;
		};
		class hoist_hide
		{
			source="user";
			animPeriod=1;
			initPhase=1;
		};
		class Civilian_hide: hoist_hide
		{
			initPhase=1;
		};
		class Civilian_Unhide: Civilian_hide
		{
			initPhase=-1;
		};
		class Plate_hide: hoist_hide
		{
			initPhase=1;
		};
		class SAR_hide: hoist_hide
		{
			mass=-150;
			initPhase=1;
		};
		class Door_L
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class Door_R
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class EFS_Cover_Hide
		{
			source="user";
			animPeriod=0;
			initPhase=0;
		};
		class EFS_Hide
		{
			source="user";
			animPeriod=0;
			initPhase=0;
		};
	};
	class EventHandlers: EventHandlers
	{
		init="if (local (_this select 0)) then {[(_this select 0), """", [], false] call bis_fnc_initVehicle; [(_this select 0), ""Init""] call BRAF_fnc_efs;};";
	};
	class UserActions
	{
		class Open_Door_Left
		{
			displayname="Open Left Door";
			position="door_pos";
			showWindow=1;
			radius=20;
			priority=0;
			onlyForPlayer=0;
			condition="this animationphase 'Door_L_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this animate ['Door_L_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Left: Open_Door_Left
		{
			displayname="Close Left Door";
			condition="this animationphase 'Door_L_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this animate ['Door_L_rot',0], this say3d ""Doors""";
		};
		class Open_Door_Right: Open_Door_Left
		{
			displayname="Open Right Door";
			condition="this animationphase 'Door_R_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this animate ['Door_R_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Right: Open_Door_Left
		{
			displayname="Close Right Door";
			condition="this animationphase 'Door_R_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this animate ['Door_R_rot',0], this say3d ""Doors""";
		};
		class Arm_EFS
		{
			displayname="<t color='#ffaa00'> Arm EFS </t>";
			position="door_pos";
			showWindow=1;
			radius=10;
			priority=1;
			onlyForPlayer=0;
			condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','SAFE']) == 'SAFE')";
			statement="[this, ""arm""] call BRAF_fnc_efs";
		};
		class Disarm_EFS: Arm_EFS
		{
			displayname="<t color='#ffaa00'> Disarm EFS </t>";
			condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','SAFE']) == 'ARMED')";
			statement="[this, ""disarm""] call BRAF_fnc_efs";
		};
		class Deploy_Floats: Arm_EFS
		{
			displayname="<t color='#b31d00'> Deploy Floats </t>";
			condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','SAFE']) == 'ARMED')";
			statement="[this, ""deployfloats""] call BRAF_fnc_efs";
		};
	};
	animationList[]=
	{
		"EFS_Cover_Hide",1,
		"EFS_Hide",0
	};
};
class BRAF_Pantera_K2_Silver: BRAF_Pantera_Base
{
	author="BRAF TEAM";
	faction="BRAF_CIV";
	scope=2;
	scopeCurator=2;
	scopeArsenal=0;
	side=3;
	displayName="AS-365 Panther Silver";
	editorPreview="\braf\braf_insignia\editorpreview\brazilian_civ\Air\BRAF_Pantera_K2_Silver.jpg";
	availableForSupportTypes[]=
	{
		"Drop",
		"Transport"
	};
	slingLoadMinCargoMass=0;
	slingLoadMaxCargoMass=50;
	transportSoldier=9;
	cargoProxyIndexes[]={4,5,6,9,10,11,12,13,14};
	getInProxyOrder[]={4,5,6,9,10,11,12,13,14};
	cargoAction[]=
	{
		"braf_fennec_cargo"		
	};
	typicalCargo[]={"C_Marshal_F"};
	crew="C_Marshal_F";
	hiddenSelectionsMaterials[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\chrome_camo1.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4.rvmat",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass.rvmat"
	};
	class Damage
	{
		tex[]={};
		mat[]=
		{
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\chrome_camo1.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo1_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\camo2.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\camo2_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\camo3.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\camo4.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\panther_destruct.rvmat",
			
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\glass\glass.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
			"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\damage\glass_damage.rvmat",
		};
	};
	hiddenSelectionsTextures[]=
	{
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\CIV\Silver_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo2\Camo2_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo3\Camo3_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\camo4\Camo4_co.paa",
		"braf\braf_air\Braf_Helicopters\Braf_Pantera\data\Glass\Glass_ca.paa"
	};
	weapons[]=
	{
	};
	magazines[]=
	{
	};
	class AnimationSources
	{
		class collisionlightred
		{
			source="MarkerLight";
			markerLight="CollisionRed";
			animPeriod=0;
			initPhase=0;
		};
		class collisionlightwhite
		{
			source="MarkerLight";
			markerLight="CollisionWhite";
			animPeriod=0;
			initPhase=0;
		};
		class hoist_hide
		{
			source="user";
			animPeriod=1;
			initPhase=1;
		};
		class Civilian_hide: hoist_hide
		{
			initPhase=1;
		};
		class Civilian_Unhide: Civilian_hide
		{
			initPhase=-1;
		};
		class Plate_hide: hoist_hide
		{
			initPhase=1;
		};
		class SAR_hide: hoist_hide
		{
			mass=-150;
			initPhase=1;
		};
		class Door_L
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
		class Door_R
		{
			source="user";
			animPeriod=1;
			initPhase=0;
		};
	};
	class UserActions
	{
		class Open_Door_Left
		{
			displayname="Open Left Door";
			position="door_pos";
			showWindow=1;
			radius=20;
			priority=0;
			onlyForPlayer=0;
			condition="this animationphase 'Door_L_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this animate ['Door_L_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Left: Open_Door_Left
		{
			displayname="Close Left Door";
			condition="this animationphase 'Door_L_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this animate ['Door_L_rot',0], this say3d ""Doors""";
		};
		class Open_Door_Right: Open_Door_Left
		{
			displayname="Open Right Door";
			condition="this animationphase 'Door_R_1' < 0.1 AND (player in crew this)";
			statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this animate ['Door_R_rot',1], this say3d ""Doors""";
		};
		class Close_Door_Right: Open_Door_Left
		{
			displayname="Close Right Door";
			condition="this animationphase 'Door_R_1' > 0.9 AND (player in crew this)";
			statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this animate ['Door_R_rot',0], this say3d ""Doors""";
		};
	};
};
