class CfgSkeletons
{
    class Fennec_Skeleton
    {
        isDiscrete=1;
        skeletonInherit="";
        skeletonBones[]=
		{
			"damagehide","",
			
			"rotorMain","damagehide",
			"rotorbrake","damagehide",
			"rotorTail","damagehide",
						
			"door_1_1","damagehide",
			"door_2_1","damagehide",
			"door_1_2","damagehide",
			"door_knob1","door_1_2",
			"door_2_2","damagehide",
			"door_knob2","door_2_2",
			
			"glass1","damagehide",
			"glass2","damagehide",
			
			"collective","damagehide",
			"cyclic_pilot","damagehide",
			"cyclic_copilot","damagehide",
			"pedals_left","damagehide",
			"pedals_right","damagehide",
			
			"positionlights","",
			"collisionlight_red","",
			"collisionlight_white","",
			
			"load","damagehide",
			"slingcrane","damagehide",
			
			"speed","damagehide",
			"compass_center","",
			"dashboard","damagehide",
			
			"flir","damagehide",
			"mainTurret","flir",
			"mainGun","mainTurret",
			"screen","flir",
			"rendertarget0","screen",
			
			"Skid","damagehide",
			"EFS_Cover","Skid",
			"EFS","EFS_Cover",
			
			"winch","damagehide",
			"hoist_hook","winch",
			
			"bench1","damagehide",
			"bench2","damagehide",
			
			"weapons_system","damagehide",
			"hud","damagehide",
			"hud_arm","hud",
			"visor","hud_arm",
			"radar","damagehide",
			"wings",""
		};
	};
};
class CfgModels
{
    class BRAF_Fennec
    {
        htMin=60;
        htMax=1800;
        afMax=200;
        mfMax=100;
        mFact=0;
        tBody=0;
        skeletonName="Fennec_Skeleton";
        sectionsInherit="";
        sections[]=
		{
			"camo1",
			"camo2",
			"camo3",
			"camo4",
			"camo5",
			"Glass",
			"mainRotor_blur",
			"mainRotor_static",
			"tailRotor_blur",
			"tailRotor_static",
			"cabinlight_fl",
			"cabinlight_bl",
			"cabinlight_fr",
			"cabinlight_br",
			"light_b",
			"light_t",
			"zbytek",
			"hoist_hook",
			"clan"
		};
        class Animations
        {
			class damagehide
			{
				type="hide";
				source="damage";
				selection="damagehide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class hrotor
            {
				type="rotation";
				source="rotorh";
				selection="rotorMain";
				sourceAddress="clamp";
				axis="rotor_main_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				angle0="rad 180";
				angle1="rad 540";
            };
			//class rotorbrake_lever
            //{
			//	type="rotation";
			//	source="rotorh";
			//	selection="rotorbrake";
			//	sourceAddress="clamp";
			//	axis="rotorbrake_axis";
			//	minPhase=0;
			//	maxPhase=1;
			//	minValue=0;
			//	maxValue=1;
			//	memory=0;
			//	angle0="rad 55";
			//	angle1="0";
            //};
			class vrotor
            {
				type="rotation";
				source="rotorv";
				selection="rotorTail";
				sourceAddress="clamp";
				axis="rotor_tail_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				angle0=0;
				angle1="-rad 360";
            };
			class collective_lever
			{
				type="rotation";
				source="collective";
				selection="collective";
				sourceAddress="clamp";
				axis="collective_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				angle0=0;
				angle1=0.2094395;
			};
			class rotor_main_dive01
			{
				type="rotationx";
				source="cyclicforward";
				selection="Rotor_Main";
				sourceAddress="clamp";
				axis="rotor_main_joint";
				minPhase=-0.499999;
				maxPhase=0.499999;
				minValue=-0.499999;
				maxValue=0.499999;
				memory=0;
				angle0=0.02327106;
				angle1=-0.02327106;
			};
			class rotor_main_dive02: rotor_main_dive01
			{
				minPhase=-0.849999;
				maxPhase=-0.5;
				minValue=-0.849999;
				maxValue=-0.5;
				angle0=0.02327106;
				angle1=0;
			};
			class rotor_main_dive03: rotor_main_dive01
			{
				minPhase=-1;
				maxPhase=-0.85;
				minValue=-1;
				maxValue=-0.85;
				angle0=0.02327106;
				angle1=0;
			};
			class rotor_main_dive04: rotor_main_dive01
			{
				minPhase=0.5;
				maxPhase=0.849999;
				minValue=0.5;
				maxValue=0.849999;
				angle0=0;
				angle1=-0.02327106;
			};
			class rotor_main_dive05: rotor_main_dive01
			{
				minPhase=0.85;
				maxPhase=1;
				minValue=0.85;
				maxValue=1;
				angle0=0;
				angle1=-0.02327106;
			};
			class rotor_main_bank01: rotor_main_dive01
			{
				type="rotationz";
				source="cyclicaside";
				minPhase=-0.499999;
				maxPhase=0.499999;
				minValue=-0.499999;
				maxValue=0.499999;
				angle0=-0.02327106;
				angle1=0.02327106;
			};
			class rotor_main_bank02: rotor_main_bank01
			{
				minPhase=-0.849999;
				maxPhase=-0.5;
				minValue=-0.849999;
				maxValue=-0.5;
				angle0=-0.02327106;
				angle1=0;
			};
			class rotor_main_bank03: rotor_main_bank01
			{
				minPhase=-1;
				maxPhase=-0.85;
				minValue=-1;
				maxValue=-0.85;
				angle0=-0.02327106;
				angle1=0;
			};
			class rotor_main_bank04: rotor_main_bank01
			{
				minPhase=0.5;
				maxPhase=0.849999;
				minValue=0.5;
				maxValue=0.849999;
				angle0=0;
				angle1=0.02327106;
			};
			class rotor_main_bank05: rotor_main_bank01
			{
				minPhase=0.85;
				maxPhase=1;
				minValue=0.85;
				maxValue=1;
				angle0=0;
				angle1=0.02327106;
			};
			class stick_pilot_dive_01
			{
				type="rotationx";
				source="cyclicforward";
				selection="cyclic_pilot";
				sourceAddress="clamp";
				axis="cyclic_pilot_joint";
				minPhase=-0.499999;
				maxPhase=0.499999;
				minValue=-0.499999;
				maxValue=0.499999;
				memory=0;
				angle0=0.04654212;
				angle1=-0.04654212;
			};
			class stick_pilot_dive_02: stick_pilot_dive_01
			{
				minPhase=-0.849999;
				maxPhase=-0.5;
				minValue=-0.849999;
				maxValue=-0.5;
				angle0=0.04654212;
				angle1=0;
			};
			class stick_pilot_dive_03: stick_pilot_dive_01
			{
				minPhase=-1;
				maxPhase=-0.85;
				minValue=-1;
				maxValue=-0.85;
				angle0=0.04654212;
				angle1=0;
			};
			class stick_pilot_dive_04: stick_pilot_dive_01
			{
				minPhase=0.5;
				maxPhase=0.849999;
				minValue=0.5;
				maxValue=0.849999;
				angle0=0;
				angle1=-0.04654212;
			};
			class stick_pilot_dive_05: stick_pilot_dive_01
			{
				minPhase=0.85;
				maxPhase=1;
				minValue=0.85;
				maxValue=1;
				angle0=0;
				angle1=-0.04654212;
			};
			class stick_pilot_bank_01: stick_pilot_dive_01
			{
				type="rotationz";
				source="cyclicaside";
				minPhase=-0.499999;
				maxPhase=0.499999;
				minValue=-0.499999;
				maxValue=0.499999;
				angle0=-0.04654212;
				angle1=0.04654212;
			};
			class stick_pilot_bank_02: stick_pilot_bank_01
			{
				minPhase=-0.849999;
				maxPhase=-0.5;
				minValue=-0.849999;
				maxValue=-0.5;
				angle0=-0.04654212;
				angle1=0;
			};
			class stick_pilot_bank_03: stick_pilot_bank_01
			{
				minPhase=-1;
				maxPhase=-0.85;
				minValue=-1;
				maxValue=-0.85;
				angle0=-0.04654212;
				angle1=0;
			};
			class stick_pilot_bank_04: stick_pilot_bank_01
			{
				minPhase=0.5;
				maxPhase=0.849999;
				minValue=0.5;
				maxValue=0.849999;
				angle0=0;
				angle1=0.04654212;
			};
			class stick_pilot_bank_05: stick_pilot_bank_01
			{
				minPhase=0.85;
				maxPhase=1;
				minValue=0.85;
				maxValue=1;
				angle0=0;
				angle1=0.04654212;
			};
			class stick_copilot_dive_01: stick_pilot_dive_01
			{
				selection="cyclic_copilot";
				axis="cyclic_copilot_joint";
			};
			class stick_copilot_dive_02: stick_copilot_dive_01
			{
				minPhase=-0.849999;
				maxPhase=-0.5;
				minValue=-0.849999;
				maxValue=-0.5;
				angle0=0.04654212;
				angle1=0;
			};
			class stick_copilot_dive_03: stick_copilot_dive_01
			{
				minPhase=-1;
				maxPhase=-0.85;
				minValue=-1;
				maxValue=-0.85;
				angle0=0.04654212;
				angle1=0;
			};
			class stick_copilot_dive_04: stick_copilot_dive_01
			{
				minPhase=0.5;
				maxPhase=0.849999;
				minValue=0.5;
				maxValue=0.849999;
				angle0=0;
				angle1=-0.04654212;
			};
			class stick_copilot_dive_05: stick_copilot_dive_01
			{
				minPhase=0.85;
				maxPhase=1;
				minValue=0.85;
				maxValue=1;
				angle0=0;
				angle1=-0.04654212;
			};
			class stick_copilot_bank_01: stick_copilot_dive_01
			{
				type="rotationz";
				source="cyclicaside";
				minPhase=-0.499999;
				maxPhase=0.499999;
				minValue=-0.499999;
				maxValue=0.499999;
				angle0=-0.04654212;
				angle1=0.04654212;
			};
			class stick_copilot_bank_02: stick_copilot_bank_01
			{
				minPhase=-0.849999;
				maxPhase=-0.5;
				minValue=-0.849999;
				maxValue=-0.5;
				angle0=-0.04654212;
				angle1=0;
			};
			class stick_copilot_bank_03: stick_copilot_bank_01
			{
				minPhase=-1;
				maxPhase=-0.85;
				minValue=-1;
				maxValue=-0.85;
				angle0=-0.04654212;
				angle1=0;
			};
			class stick_copilot_bank_04: stick_copilot_bank_01
			{
				minPhase=0.5;
				maxPhase=0.849999;
				minValue=0.5;
				maxValue=0.849999;
				angle0=0;
				angle1=0.04654212;
			};
			class stick_copilot_bank_05: stick_copilot_bank_01
			{
				minPhase=0.85;
				maxPhase=1;
				minValue=0.85;
				maxValue=1;
				angle0=0;
				angle1=0.04654212;
			};
			class pedal_left
			{
				type="rotation";
				source="pedals";
				selection="pedals_left";
				sourceAddress="clamp";
				axis="pedal_axis";
				minPhase=-1;
				maxPhase=1;
				minValue=-1;
				maxValue=1;
				memory=0;
				angle0=-0.2094395;
				angle1=0.2094395;
			};
			class pedal_right: pedal_left
			{
				selection="pedals_right";
				angle0=0.2094395;
				angle1=-0.2094395;
			};
			class door_L_1
			{
				type="translation";
				source="door_l";
				selection="door_1_2";
				sourceAddress="clamp";
				axis="door_1_axis";
				minPhase=0.2;
				maxPhase=1;
				minValue=0;
				maxValue=0.25;
				memory=0;
				offset0=0;
				offset1=-1;
			};
			class door_L_2: door_L_1
			{
				axis="door_2_axis";
				minValue=0.25;
				maxValue=1;
			};
			class door_L_rot: door_L_2
			{
				type="rotation";
				axis="door_1_2_axis";
				angle0=0;
				angle1="rad 7";
			};
			class door_knob1_rot: door_L_rot
			{
				type="rotation";
				axis="door_knob1_axis";
				selection="door_knob1";
				minValue=0;
				maxValue=0.125;
				angle1="rad -90";
			};
			class door_R_1
			{
				type="translation";
				source="door_r";
				selection="door_2_2";
				sourceAddress="clamp";
				axis="door_1_axis";
				minPhase=0.2;
				maxPhase=1;
				minValue=0;
				maxValue=0.25;
				memory=0;
				offset0=0;
				offset1=1;
			};
			class door_R_2: door_R_1
			{
				axis="door_2_axis";
				minValue=0.25;
				maxValue=1;
				offset0=0;
				offset1=-1;
			};
			class door_R_rot: door_R_2
			{
				type="rotation";
				axis="door_2_2_axis";
				angle0=0;
				angle1="rad -7";
			};
			class door_knob2_rot: door_R_rot
			{
				type="rotation";
				axis="door_knob2_axis";
				selection="door_knob2";
				minValue=0;
				maxValue=0.125;
				angle1="rad -90";
			};
			class NVG_Hide
			{
				source="NVG_Hide";
				selection="dashboard";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class positionlights
			{
				type="hide";
				source="collisionlights";
				selection="positionlights";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=0.5;
			};
			class collisionlightred: positionlights
			{
				source="CollisionLightRed_source";
				selection="collisionlight_red";
				sourceAddress="clamp";
			};
			class collisionlightwhite: positionlights
			{
				source="CollisionLightWhite_source";
				selection="collisionlight_white";
			};
			class windspeed
			{
				type="rotation";
				source="speed";
				selection="speed";
				sourceAddress="clamp";
				axis="speed_axis";
				minPhase=0;
				maxPhase=1;
				minValue=20.58;
				maxValue=133.76;
				memory=0;
				angle0="rad -138";
				angle1="rad -460";
			};
			class load
			{
				type="rotation";
				source="slingloading";
				selection="load";
				axis="load_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				angle0="rad 30";
				angle1="rad -195";
			};
			class Slingcrane_Hide
			{
				type="hide";
				source="Slingcrane_Hide";
				selection="slingcrane";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class compass_center
            {
                type="rotation";
                source="direction";
                selection="compass_center";
                sourceAddress="clamp";
				axis="compass_c_axis";
                minPhase=-6.28319;
                maxPhase=6.28319;
                minValue=-6.28319;
                maxValue=6.28319;
                memory=0;
                angle0=-6.283185;
                angle1=6.283185;
            };
			class Skid_Damper
			{
				type="translationY";
				source="Skid_Damper";
				selection="Skid";
				sourceAddress="clamp";
				axis="skid_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=0.0125;
				memory=0;
				offset0=0;
				offset1=-1;
			};
			class EFS_Cover_Hide
			{
				type="hide";
				source="EFS_Cover_Hide";
				selection="EFS_Cover";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class EFS_Hide
			{
				source="EFS_Hide";
				selection="EFS";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class Winch_Hide
			{
				source="winch_hide";
				selection="winch";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class Winch_Rot
			{
				source="Winch_Rot";
				selection="winch";
				axis="winch_z_axis";
				type="rotation";
				sourceAddress="clamp";
				minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1="-rad 45";
			};
			class Hoist_Hide
            {
                type="hide";
                source="hoist_hide";
                selection="hoist_hook";
                sourceAddress="clamp";
                minPhase=-1;
                maxPhase=1;
                minValue=-1;
                maxValue=1;
                memory=0;
                hideValue=0;
				unHideValue=1;
            };
			class Bench_fold_1
			{
				type="rotation";
				source="Bench_Fold";
				selection="bench1";
				sourceAddress="clamp";
				axis="bench1_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				angle0=0;
				angle1="rad 96";
			};
			class Bench_fold_2
			{
				type="rotation";
				source="Bench_Fold";
				selection="bench2";
				sourceAddress="clamp";
				axis="bench2_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				angle0=0;
				angle1="rad -80";
			};
			class Radar_Hide
			{
				source="Radar_Hide";
				selection="Radar";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class Flir_Hide
			{
				source="Flir_Hide";
				selection="flir";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class HUD_Hide
			{
				source="Hud_Hide";
				selection="hud";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class HUD_Arm
            {
				type="translation";
				source="Hud_Fold";
				selection="hud_arm";
				sourceAddress="clamp";
				axis="hud_axis";
				minPhase=0;
				maxPhase=0.5;
				minValue=0;
				maxValue=1;
				memory=0;
				offset0=0;
				offset1=-1;
            };
			class HUD_Visor
            {
				type="rotation";
				source="Hud_Fold";
				selection="visor";
				sourceAddress="clamp";
				axis="visor_axis";
				minPhase=0.5;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				angle0="rad 0";
				angle1="rad -110";
            };
			class WS_Hide
			{
				source="WS_Hide";
				selection="weapons_system";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class Wings_Hide
			{
				source="Wings_Hide";
				selection="wings";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class mainTurret
            {
				type="rotationy";
				source="mainturret";
				selection="mainTurret";
				axis="mainTurret_axis";
				sourceAddress="clamp";
				minPhase=-6.283185;
				maxPhase=6.283185;
				minValue=-6.283185;
				maxValue=6.283185;
				memory=0;
				angle0=-6.283185;
				angle1=6.283185;
            };
            class mainGun
            {
				type="rotationx";
				source="mainGun";
				selection="mainGun";
				axis="mainGun_axis";
				sourceAddress="clamp";
				minPhase=-6.283185;
				maxPhase=6.283185;
				minValue=-6.283185;
				maxValue=6.283185;
				memory=0;
				angle0=-6.283185;
				angle1=6.283185;
            };
			class display_on
            {
                type="hide";
                source="rpm";
                selection="rendertarget0";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0;
                unHideValue=0.5;
            };
		};
	};
};
