class CfgSkeletons
{
    class Caracal_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_2_2","damagehide",
			"door_1_3","damagehide",
			"door_2_3","damagehide",
			"window_1","damagehide",
			"window_2","damagehide",
			
			"glass1","damagehide",
			"glass2","damagehide",
			"glass3","damagehide",
			"glass4","damagehide",
			"glass5","damagehide",
			"glass6a","window_1",
			"glass7a","window_2",
			"glass8a","door_1_2",
			"glass8b","door_1_3",
			"glass9a","door_2_2",
			"glass9b","door_2_3",
			"glass10","damagehide",
			"glass11","damagehide",
			
			"collective","damagehide",
			"cyclic_pilot","damagehide",
			"cyclic_copilot","damagehide",
			"obs_stick","damagehide",
			"pedals_left","damagehide",
			"pedals_right","damagehide",
			
			"positionlights","",
			"collisionlight_red","",
			"collisionlight_white","",
			
			"slingcrane","damagehide",
			
			"clock1","damagehide",
			"clock2","damagehide",
			"rpm1","damagehide",
			"rpm2","damagehide",
			"compass_center","damagehide",
			"lg_on","damagehide",
			"lg_off","damagehide",
			
			"flir","damagehide",
			"mainTurret","flir",
			"mainGun","mainTurret",
			"screen","flir",
			"dashboard","damagehide",
			"rendertarget0","screen",
			
			"lg_light","damagehide",
			
			"lg_front","damagehide",
			"wheel_f_damper","lg_front",
			"wheel_f_damper_lever_1","wheel_f_damper",
			"wheel_f_damper_lever_2","lg_front",
			"wheel_f","wheel_f_damper",
			
			"lg_back","damagehide",
			"wheel_l_damper","lg_back",
			"wheel_l","wheel_l_damper",
			
			"wheel_r_damper","lg_back",
			"wheel_r","wheel_r_damper",
			
			"EFS","damagehide",
			"EFS_cover","damagehide",
			
			"SAR","damagehide",
			"hoist_hook","SAR",
			
			"Pole_Hide","damagehide",
			"pole_l","Pole_Hide",
			"pole_r","Pole_Hide",
			
			"SEAT","damagehide",
			"revo","damagehide"
		};
	};
};
class CfgModels
{
    class BRAF_Caracal
    {
        htMin=60;
        htMax=1800;
        afMax=200;
        mfMax=100;
        mFact=0;
        tBody=0;
        skeletonName="Caracal_Skeleton";
        sectionsInherit="";
        sections[]=
		{
			"camo1",
			"camo2",
			"camo3",
			"camo4",
			"camo5",
			"camo6",
			"Glass",
			"mainRotor_blur",
			"mainRotor_static",
			"tailRotor_blur",
			"tailRotor_static",
			"cabinlight_1",
			"cabinlight_2",
			"cabinlight_3",
			"cabinlight_4",
			"Light_1",
			"Light_2",
			"Light_3",
			"zbytek",
			"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 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.2094395;
				angle1=-0.3135;
			};
			class rotor_main_dive01
			{
				type="rotationx";
				source="cyclicforward";
				selection="rotorMain";
				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="translation";
				source="pedals";
				selection="pedals_left";
				sourceAddress="clamp";
				axis="pedal_axis";
				minPhase=-1;
				maxPhase=1;
				minValue=-1;
				maxValue=1;
				memory=0;
				offset0=-0.25;
				offset1=0.25;
			};
			class pedal_right: pedal_left
			{
				selection="pedals_right";
				offset0=0.25;
				offset1=-0.25;
			};
			class Door_L_1
			{
				type="translation";
				source="door_l";
				selection="door_1_2";
				sourceAddress="clamp";
				axis="door_2_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				offset0=0;
				offset1=-1;
			};
			class Door_R_1: door_L_1
			{
				source="door_r";
				selection="door_2_2";
				axis="door_2_axis";
				offset1=-1;
			};
			class Door_L_2
			{
				type="translation";
				source="door_l";
				selection="door_1_3";
				sourceAddress="clamp";
				axis="door_3_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				offset0=0;
				offset1=-1;
			};
			class Door_R_2: door_L_2
			{
				source="door_r";
				selection="door_2_3";
				axis="door_3_axis";
				offset1=-1;
			};
			class Window_1
			{
				type="translation";
				source="Window_1";
				selection="Window_1";
				sourceAddress="clamp";
				axis="window_axis";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=0.25;
				memory=0;
				offset0=0;
				offset1=1;
			};
			class Window_2: Window_1
			{
				source="Window_2";
				selection="Window_2";
			};
			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="collisionlight_red";
				selection="collisionlight_red";
				sourceAddress="clamp";
			};
			class collisionlightwhite: positionlights
			{
				source="collisionlight_white";
				selection="collisionlight_white";
			};
			class LG_ON
			{
				type="hide";
				source="gear";
				selection="lg_on";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class LG_OFF
			{
				type="hide";
				source="gear";
				selection="lg_off";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=0;
				unHideValue=1;
			};
			class LG_Light
			{
				type="rotation";
                source="gear";
                selection="lg_light";
                sourceAddress="clamp";
				axis="lg_light_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1="rad -90";
            };
			class LG_Front
			{
				type="rotation";
                source="gear";
                selection="lg_front";
                sourceAddress="clamp";
				axis="lg_front_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1="rad 90";
            };
			class LG_Back
			{
				type="rotation";
                source="gear";
                selection="lg_back";
                sourceAddress="clamp";
				axis="lg_back_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1="rad -30";
            };
			class Damper_Back
			{
				type="rotation";
                source="damperf";
                selection="lg_back";
                sourceAddress="clamp";
				axis="lg_back_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1="rad 10";
            };
			class Damper_Front
			{
				type="translation";
                source="damperf";
                selection="wheel_f_damper";
                sourceAddress="clamp";
				axis="lg_front_damper_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                offset0=0;
                offset1=1;
            };
			class Damper_Front2
			{
				type="rotation";
                source="damperf";
                selection="wheel_f_damper_lever_2";
                sourceAddress="clamp";
				axis="wheel_f_damper_lever_2_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1="rad -10";
            };
			class Damper_Front1
			{
				type="rotation";
                source="damperf";
                selection="wheel_f_damper_lever_1";
                sourceAddress="clamp";
				axis="wheel_f_damper_lever_1_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1="rad -10";
            };
			class RPM1
			{
				type="rotation";
				source="rpm";
				selection="rpm1";
				sourceAddress="clamp";
				axis="rpm_1_axis";
				minPhase=0;
				maxPhase=1;
				minValue=20.58;
				maxValue=133.76;
				memory=0;
				angle0="rad -138";
				angle1="rad -460";
			};
			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 NVG_Hide
			{
				source="NVG_Hide";
				selection="dashboard";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class EFS_Hide
			{
				source="EFS_Hide";
				selection="EFS";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class EFS_Cover_Hide
			{
				source="EFS_Cover_Hide";
				selection="EFS_cover";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class SAR_Hide
			{
				source="SAR_hide";
				selection="sar";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class Pole_Hide
			{
				source="Pole_Hide";
				selection="Pole_Hide";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class Pole_L_Rot
			{
				source="polel";
				selection="pole_l";
				axis="pole_l_axis";
				type="rotation";
				sourceAddress="clamp";
				minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1="rad 45";
			};
			class Pole_R_Rot: Pole_L_Rot
			{
				source="poler";
				selection="pole_r";
				axis="pole_r_axis";
                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 SEAT_Hide
			{
				source="SEAT_Hide";
				selection="SEAT";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class Flir_Hide
			{
				source="Flir_Hide";
				selection="flir";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=1;
			};
			class REVO_Hide
			{
				source="REVO_Hide";
				selection="revo";
				type="hide";
				sourceAddress="clamp";
				minPhase=0;
				maxPhase=1;
				minValue=0;
				maxValue=1;
				memory=0;
				hideValue=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;
            };
		};
	};
};