class Rotation ;
class Rotation_A ;
class Translation ;
class Wheel ;
class CfgModels
{
	class JSDF_Air_Model			{class Animations ;};
	class JSDF_B747_Model			: JSDF_Air_Model
	{
		sectionsInherit 		="JSDF_Air_Model";
		skeletonName			="JSDF_Air_Skeleton";
		class Animations		: Animations
		{
//////////////////////////////////////////////////////////////////////////////////////////////////////////////Flap
			class Flap_FL		: Rotation
			{
				source		="flap";
				selection	="flap_FL";
				axis		="flap_FL_axis";
				minValue	= 0;	
				maxValue	= 0.5;
				angle1		="rad -50.0";
			};
			class Flap_FLL		: Flap_FL		{selection="flap_FLL";			axis="flap_FLL_axis";			};
			class Flap_FRLL		: Flap_FL		{selection="flap_FLLL";			axis="flap_FLLL_axis";			};
			class Flap_FR		: Flap_FL		{selection="flap_FR";			axis="flap_FR_axis";			};
			class Flap_FRR		: Flap_FL		{selection="flap_FRR";			axis="flap_FRR_axis";			};
			class Flap_FRRR		: Flap_FL		{selection="flap_FRRR";			axis="flap_FRRR_axis";			};
//1
			class Flap_L		: Rotation
			{
				source		="flap";
				selection	="flap_L";
				axis		="flap_L_axis";
				minValue	= 0;	
				maxValue	= 0.5;
				angle1		="rad -20.0";
			};
			class Flap_LA		: Flap_L		{selection="flap_LA";			axis="flap_LA_axis";			};
			class Flap_LL		: Flap_L		{selection="flap_LL";			axis="flap_LL_axis";			};
			class Flap_LLA		: Flap_L		{selection="flap_LLA";			axis="flap_LLA_axis";			};
			class Flap_R		: Flap_L		{selection="flap_R";			axis="flap_R_axis";			};
			class Flap_RA		: Flap_L		{selection="flap_RA";			axis="flap_RA_axis";			};
			class Flap_RR		: Flap_L		{selection="flap_RR";			axis="flap_RR_axis";			};
			class Flap_RRA		: Flap_L		{selection="flap_RRA";			axis="flap_RRA_axis";			};
			class Flap_L1		: Flap_L
			{
				selection	="flap_L1";
				axis		="flap_L1_axis";
			};
			class Flap_LL1		: Flap_L1		{selection="flap_LL1";			axis="flap_LL1_axis";			};
			class Flap_R1		: Flap_L1		{selection="flap_R1";			axis="flap_R1_axis";			};
			class Flap_RR1		: Flap_L1		{selection="flap_RR1";			axis="flap_RR1_axis";			};
			class Flap_L1A		: Translation
			{
				source		="flap";
				selection	="flap_L1";
				axis		="flap_axis";
				minValue	= 0.25;	
				maxValue	= 0.5;
				offset1		= 0.5;
			};
			class Flap_L2A		: Flap_L1A		{selection="flap_L2";			axis="flap_L2_axis";			};
			class Flap_L3A		: Flap_L1A		{selection="flap_L3";			axis="flap_L3_axis";			};
			class Flap_LL1A		: Flap_L1A		{selection="flap_LL1";								};
			class Flap_LL2A		: Flap_L1A		{selection="flap_LL2";			axis="flap_LL2_axis";			};
			class Flap_LL3A		: Flap_L1A		{selection="flap_LL3";			axis="flap_LL3_axis";			};
			class Flap_R1A		: Flap_L1A		{selection="flap_R1";								};
			class Flap_R2A		: Flap_L1A		{selection="flap_R2";			axis="flap_R2_axis";			};
			class Flap_R3A		: Flap_L1A		{selection="flap_R3";			axis="flap_R3_axis";			};
			class Flap_RR1A		: Flap_L1A		{selection="flap_RR1";								};
			class Flap_RR2A		: Flap_L1A		{selection="flap_RR2";			axis="flap_RR2_axis";			};
			class Flap_RR3A		: Flap_L1A		{selection="flap_RR3";			axis="flap_RR3_axis";			};

//2
			class Flap_L2		: Flap_L
			{
				minValue	= 0.5;	
				maxValue	= 1.0;
				angle1		="rad -20.0";
			};
			class Flap_LA2		: Flap_L2		{selection="flap_LA";			axis="flap_LA_axis";			};
			class Flap_LL2		: Flap_L2		{selection="flap_LL";			axis="flap_LL_axis";			};
			class Flap_LLA2		: Flap_L2		{selection="flap_LLA";			axis="flap_LLA_axis";			};
			class Flap_R2		: Flap_L2		{selection="flap_R";			axis="flap_R_axis";			};
			class Flap_RA2		: Flap_L2		{selection="flap_RA";			axis="flap_RA_axis";			};
			class Flap_RR2		: Flap_L2		{selection="flap_RR";			axis="flap_RR_axis";			};
			class Flap_RRA2		: Flap_L2		{selection="flap_RRA";			axis="flap_RRA_axis";			};
			class Flap_L12		: Flap_L2
			{
				selection	="flap_L1";
				axis		="flap_L1_axis";
			};
			class Flap_LL12		: Flap_L2		{selection="flap_LL1";			axis="flap_LL1_axis";			};
			class Flap_R12		: Flap_L2		{selection="flap_R1";			axis="flap_R1_axis";			};
			class Flap_RR12		: Flap_L2		{selection="flap_RR1";			axis="flap_RR1_axis";			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear
			class gear		: Rotation
			{
				source		="gear";
				selection	="gear";
				axis		="gear_axis";
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_door
			class gear_N_door_1A	: gear
			{
				selection	="gear_N_doorC";
				axis		="gear_N_doorC_axis";
				minValue	= 0.1;	
				maxValue	= 0.2;
				angle0		="rad -85.0";
				angle1		="rad   0.0";
			};
			class gear_N_door_2A	: gear_N_door_1A	{selection="gear_N_doorD";		axis="gear_N_doorD_axis";		};
			class gear_N		: gear			{selection="gear_N";			axis="gear_N_axis";		minValue= 0.50;	maxValue= 0.60;	angle1="rad  -105.0";	};
			class gear_N_door_3	: gear
			{
				selection	="gear_N_doorA";
				axis		="gear_N_doorA_axis";
				minValue	= 0.65;	
				maxValue	= 0.70;
				angle0		="rad  85.0";
				angle1		="rad   0.0";
			};
			class gear_N_door_4	: gear_N_door_3		{selection="gear_N_doorB";		axis="gear_N_doorB_axis";		};
			class gear_N_door_1B	: gear_N_door_1A
			{
				selection	="gear_N_doorC";
				axis		="gear_N_doorC_axis";
				minValue	= 0.70;	
				maxValue	= 0.80;
				angle0		="rad  85.0";
				angle1		="rad   0.0";
			};
			class gear_N_door_2B	: gear_N_door_1B	{selection="gear_N_doorD";		axis="gear_N_doorD_axis";		};

//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_damper
			class gear_L_damperX	: Rotation
			{
				source		="altRadar";
				selection	="gear_L_stayA";
				axis		="gear_L_stayA_axis";
				angle0		="rad  0.0";
				angle1		="rad 45.0";
			};
			class gear_R_damperX	: gear_L_damperX	{selection="gear_R_stayA";		axis="gear_R_stayA_axis";		};

			class gear_N_damper	: translation
			{
				source		="altRadar";
				selection	="gear_N_damperE";
				axis		="gear_N_damperE_axis";
				offset1		=-1.0;
			};
			class gear_L_damper	: gear_N_damper
			{
				selection	="gear_L_damperE";
				axis		="gear_L_damperE_axis";
			};
			class gear_LL_damper	: gear_N_damper
			{
				selection	="gear_LL_damperE";
				axis		="gear_LL_damperE_axis";
			};
			class gear_R_damper	: gear_N_damper
			{
				selection	="gear_R_damperE";
				axis		="gear_R_damperE_axis";
			};
			class gear_RR_damper	: gear_N_damper
			{
				selection	="gear_RR_damperE";
				axis		="gear_RR_damperE_axis";
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_Steering/wheel
			class gear_N_Steering	: Rotation_A
			{
				source		="noseWheelTurn";
				selection	="gear_N_stayA";
				axis		="gear_N_stayA_axis";
				angle0		="rad  -70.0";
				angle1		="rad   70.0";
			};
			class gear_LL_Steering	: gear_N_Steering
			{
				selection	="gear_LL_stayA";
				axis		="gear_LL_stayA_axis";
				angle0		="rad   13.0";
				angle1		="rad  -13.0";
			};
			class gear_RR_Steering	: gear_LL_Steering	{selection="gear_RR_stayA";		axis="gear_RR_stayA_axis";		};

			class gear_N_Wheel	: Wheel			{selection="gear_N_wheelE";		axis="gear_N_wheelE_axis";		};
			class gear_L_WheelA	: Wheel			{selection="gear_L_wheelE";		axis="gear_L_wheelE_axis";		};
			class gear_L_WheelB	: Wheel			{selection="gear_L_wheelF";		axis="gear_L_wheelF_axis";		};
			class gear_LL_WheelA	: Wheel			{selection="gear_LL_wheelE";		axis="gear_LL_wheelE_axis";		};
			class gear_LL_WheelB	: Wheel			{selection="gear_LL_wheelF";		axis="gear_LL_wheelF_axis";		};
			class gear_R_wheelA	: Wheel			{selection="gear_R_wheelE";		axis="gear_R_wheelE_axis";		};
			class gear_R_wheelB	: Wheel			{selection="gear_R_wheelF";		axis="gear_R_wheelF_axis";		};
			class gear_RR_wheelA	: Wheel			{selection="gear_RR_wheelE";		axis="gear_RR_wheelE_axis";		};
			class gear_RR_wheelB	: Wheel			{selection="gear_RR_wheelF";		axis="gear_RR_wheelF_axis";		};
		};
	};
	class JASDF_B747_47C			: JSDF_B747_Model	{};
};