class Rotation ;
class Rotation_A ;
class Translation ;
class Wheel ;
class CfgModels
{
	class JSDF_Air_Model			{class Animations ;};
	class JSDF_F2_Model			: JSDF_Air_Model
	{
		sectionsInherit 		="JSDF_Air_Model";
		skeletonName			="JSDF_Air_Skeleton";
		class Animations		: Animations
		{
			class Aileron_L		: Rotation_A
			{
				source		="aileron";
				selection	="aileron_L";
				axis		="aileron_L_axis";
				angle0		="rad  25.0";
				angle1		="rad -25.0";
			};
			class Aileron_L_e	: Aileron_L		{selection="elevator_L";	axis="elevator_L_axis";		};
			class Aileron_R		: Aileron_L
			{
				selection	="aileron_R";
				axis		="aileron_R_axis";
				angle0		="rad -25.0";
				angle1		="rad  25.0";
			};
			class Aileron_R_e	: Aileron_R		{selection="elevator_R";	axis="elevator_R_axis";		};
			class Flap_L		: Rotation
			{
				source		="flap";
				selection	="aileron_L";
				axis		="aileron_L_axis";
				angle1		="rad 20";
			};
			class Flap_R		: Flap_L		{selection="aileron_R";		axis="aileron_R_axis";		};
			class Flap_FL_1		: Flap_L
			{
				selection	="flap_FL";
				axis		="flap_FL_axis";
				maxValue	= 0.5;
				angle1		="rad -3";
			};
			class Flap_FR_1		: Flap_FL_1		{selection="flap_FR";		axis="flap_FR_axis";		};
			class Flap_FL_2		: Flap_FL_1		{angle1="rad 33.0";	minValue= 0.5;	maxValue= 1.0;		};
			class Flap_FR_2		: Flap_FL_2		{selection="flap_FR";		axis="flap_FR_axis";		};
			class Elevator_L	: Rotation_A
			{
				source		="elevator";
				selection	="elevator_L";
				axis		="elevator_L_axis";
				angle0		="rad  25.0";
				angle1		="rad -25.0";
			};
			class Elevator_R	: Elevator_L		{selection="elevator_R";	axis="elevator_R_axis";		};
			class Rudder		: Rotation
			{
				type		="rotation";
				source		="rudder";
				selection	="rudder";
				axis		="rudder_axis";
				minValue	=-1.0;
				maxValue	= 1.0;
				angle0		="rad  22.0";
				angle1		="rad -22.0";
			};
			class speedBrake_LA	: Rotation
			{
				source		="SpeedBrake";
				selection	="speedbrake_LA";
				axis		="speedbrake_LA_axis";
				angle1		="rad 60";
			};
			class speedBrake_LB	: speedBrake_LA		{selection="speedbrake_LB";	axis="speedbrake_LB_axis";	};
			class speedBrake_RA	: speedBrake_LA		{selection="speedbrake_RA";	axis="speedbrake_RA_axis";	};
			class speedBrake_RB	: speedBrake_LA		{selection="speedbrake_RB";	axis="speedbrake_RB_axis";	};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////cabin
			class canopy		: Rotation
			{
				sourceAddress	="clamp";
				source		="cabin";
				selection	="canopy";
				axis		="canopy_axis";
				minValue	= 0.0;
				maxValue	= 9.0;
				angle0		="rad 30.0";
				angle1		="rad  0.0";
			};
			class canopy_lock	: canopy
			{
				type		="translation";
				axis		="canopy_lock_axis";
				minValue	= 0.9;
				maxValue	=10.0;
				offset0		=-1.0;
				offset1		= 0.0;
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear
			class gear		: Rotation
			{
				source		="gear";
				selection	="gear";
				axis		="gear_axis";
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_doorA
			class gear_N_door	: gear
			{
				selection	="gear_n_door";
				axis		="gear_n_door_axis";
				minValue	= 0.8;
				maxValue	= 0.9;
				angle0		="rad -90.0";
				angle1		="rad   0.0";
			};
			class gear_L_door	: gear
			{
				selection	="gear_L_door";
				axis		="gear_L_door_axis";
				minValue	= 0.9;	
				maxValue	= 1.0;
				angle0		="rad -100.0";
				angle1		="rad    0.0";
			};
			class gear_R_door	: gear_L_door		{selection="gear_R_door";	axis="gear_R_door_axis";	};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_
			class gear_N_1		: gear
			{
				selection	="gear_n";
				axis		="gear_n_axis";
				minValue	= 0.1;
				maxValue	= 0.8;
				angle1		="rad  120.0";
			};
			class gear_N_2		: gear_N_1
			{
				selection	="gear_n_stayA";
				axis		="gear_n_stayA_axis";
				angle1		="rad  90.0";
			};
			class gear_L		: gear
			{
				selection	="gear_L";
				axis		="gear_L_axis";
				minValue	= 0.1;
				maxValue	= 0.5;
				angle0		="rad    0.0";
				angle1		="rad  -95.0";
			};
			class gear_R		: gear_L		{selection="gear_R";		axis="gear_R_axis";		};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////

			class gear_N_damper1	: translation
			{
				source		="altRadar";
				selection	="gear_n_damperE";
				axis		="gear_n_damperE_axis";
				offset1		=-1.0;
			};
			class gear_N_damper2	: gear_N_damper1
			{
				type		="rotation";
				selection	="gear_N_damperF";
				axis		="gear_N_damperF_axis";
				angle0		="rad    0";
				angle1		="rad   40";
			};
			class gear_N_damper3	: gear_N_damper2
			{
				selection	="gear_N_damperG";
				axis		="gear_N_damperG_axis";
				angle1		="rad   80";
			};
			class gear_N_Steering	: Rotation_A
			{
				source		="noseWheelTurn";
				selection	="gear_n_stayA";
				axis		="gear_n_stayA_axis";
				angle0		="rad  -30.5";
				angle1		="rad   30.5";
			};

			class gear_R_stayA	: gear_N_damper1
			{
				type		="rotation";
				selection	="gear_R_stayA";
				axis		="gear_R_stayA_axis";
				angle0		="rad   0";
				angle1		="rad  10";
			};
			class gear_L_stayA	: gear_R_stayA		{selection="gear_L_stayA";	axis="gear_L_stayA_axis";	};
			class gear_R_damperE	: gear_R_stayA
			{
				selection	="gear_R_damperE";
				axis		="gear_R_damperE_axis";
				angle0		="rad   0";
				angle1		="rad  -1";
			};
			class gear_L_damperE	: gear_R_damperE	{selection="gear_L_damperE";	axis="gear_L_damperE_axis";	};

			class gear_N_Wheel	: Wheel			{selection="gear_N_wheelE";	axis="gear_N_wheelE_axis";	};
			class gear_R_wheel	: Wheel			{selection="gear_R_wheelB";	axis="gear_R_wheelB_axis";	};
			class gear_L_Wheel	: Wheel			{selection="gear_L_wheelB";	axis="gear_L_wheelB_axis";	};

//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear
		};
	};
	class JASDF_XF2_1		: JSDF_F2_Model	{};
	class JASDF_XF2_2		: JSDF_F2_Model	{};
	class JASDF_XF2_3		: JSDF_F2_Model	{};
	class JASDF_XF2_4		: JSDF_F2_Model	{};

	class JASDF_F2A			: JSDF_F2_Model	{};
	class JASDF_F2A_TER_A		: JSDF_F2_Model	{};//SRMx2,300glx1,Mk82x12
	class JASDF_F2A_TER_B		: JSDF_F2_Model	{};//SRMx2,300glx1,GCS-1x8
	class JASDF_F2A_AAM_A		: JSDF_F2_Model	{};//SRMx2,300glx1
	class JASDF_F2A_AAM_B		: JSDF_F2_Model	{};//SRMx4,MRMx4,300glx1
//	class JASDF_F2A_AAM_C		: JSDF_F2_Model	{};//SRMx4,MRMx4,600glx2
	class JASDF_F2A_ASM_A		: JSDF_F2_Model	{};//SRMx4,ASMx4,300glx1(ASM-1,ASM-2,CBU-87/B,GBU-38/B)
	class JASDF_F2A_ASM_B		: JSDF_F2_Model	{};//SRMx4,ASMx4,600glx2(ASM-1,ASM-2,CBU-87/B,GBU-38/B)
	class JASDF_F2A_ASM_C		: JSDF_F2_Model	{};//SRMx4,ASMx2,MRMx2,600glx2(ASM-2,GBU-38/B)

	class JASDF_F2A_BAI		: JSDF_F2_Model	{};
	class JASDF_F2A_CAP		: JSDF_F2_Model	{};
	class JASDF_F2A_CAS		: JSDF_F2_Model	{};
	class JASDF_F2A_INT		: JSDF_F2_Model	{};//SRMx2,300glx1,
	class JASDF_F2A_IF		: JSDF_F2_Model	{};//SRMx4,MRMx4,300glx1

	class JASDF_F2B			: JSDF_F2_Model	{};
};