class CfgSkeletons
{
	class Default
	{
		isDiscrete=1;
		skeletonInherit="";
		skeletonBones[]={};
	};
	class vehicle: Default
	{
	};
	class tank: vehicle
	{
	};
	class BLX_FV432_basicSkeleton
	{
		isDiscrete=1;
		skeletonInherit="tank";
		skeletonBones[]=
		{
			"KolL1",
			"",
			"KolL2",
			"",
			"KolL3",
			"",
			"KolL4",
			"",
			"KolP1",
			"",
			"KolP2",
			"",
			"KolP3",
			"",
			"KolP4",
			"",
			"podkoloL1",
			"",
			"podkoloL2",
			"",
			"podkoloL3",
			"",
			"podkoloL4",
			"",
			"podkoloL5",
			"",
			"podkoloP1",
			"",
			"podkoloP2",
			"",
			"podkoloP3",
			"",
			"podkoloP4",
			"",
			"podkoloP5",
			"",
			"koloL1",
			"podkoloL1",
			"koloL2",
			"podkoloL2",
			"koloL3",
			"podkoloL3",
			"koloL4",
			"podkoloL4",
			"koloL5",
			"podkoloL5",
			"koloP1",
			"podkoloP1",
			"koloP2",
			"podkoloP2",
			"koloP3",
			"podkoloP3",
			"koloP4",
			"podkoloP4",
			"koloP5",
			"podkoloP5",
			"OtocVez",
			"",
			"OtocHlaven",
			"OtocVez",
			"poklop_driver",
			"",
			"GPMG",
			"OtocHlaven",
			"main_recoil",
			"OtocHlaven",
				"ammo_belt",
				"Otocvez1",
				"",
			"Obsturret",
			"Otocvez1",
			"Obsgun",
			"Otocvez1",
			"cargogun",
			"Obsgun",
			"damageHide",
			"",
            "podkoloL1_hide",
			"podkoloL1",
			"podkoloL2_hide",
			"podkoloL2",
			"podkoloL3_hide",
			"podkoloL3",
			"podkoloL4_hide",
			"podkoloL4",
			"podkoloL5_hide",
			"podkoloL5",
			"podkoloP1_hide",
			"podkoloP1",
			"podkoloP2_hide",
			"podkoloP2",
			"podkoloP3_hide",
			"podkoloP3",
			"podkoloP4_hide",
			"podkoloP4",
			"podkoloP5_hide",
			"podkoloP5"
		};
	};
};

class CfgModels
{
	class Default
	{
		isDiscrete=1;
		skeletonInherit="";
		skeletonBones[]={};
	};
	class vehicle: Default{};
	class Tank: vehicle
	{
	sectionsInherit="Vehicle";
	sections[]=
		   {
			"zadni svetlo",
			"brzdove svetlo",
			"PasOffsetP",
			"PasOffsetL",
			"pasanimL",
			"pasanimP",
			"telo",
			"pas_L",
			"pas_P",
			"motor",
			"vez",
			"zbran",
			"L svetlo",
			"P svetlo",
			"clan",
			"clan_sign"
		   };
       };
    class BLX_FV432_basic:Tank
    {
        sectionsInherit = "Tank";
        sections[] =
        {
			"num1",
			"num2",
			"num3",
			"num4",
			"basket",
 			"zasleh",
				"GPMG",
				"ammo_belt",
			"zbytek",
			"Cargolight",
			"main_recoil",
				"Otocvez1",
			"Obsturret",
			"Obsgun",
			"cargogun",
			"zasleh1"
        }; // sections
	skeletonName = "BLX_FV432_basicSkeleton";
	class Animations
		{
			class Wheel_kolL1
			{
				type="rotationX";
				source="wheelL";
				selection="kolL1";
				axis="";
				memory="false";
				animPeriod=0;
				angle0=0;
				angle1="rad -360";
				sourceAddress="loop";
			};
			class Wheel_koloL1: Wheel_kolL1
			{
				selection="koloL1";
			};
			class Wheel_podkoloL1
			{
				type="translationY";
				source="damper";
				selection="podkoloL1";
				axis="";
				memory="false";
				animPeriod=0;
				minValue=-1000;
				maxValue=1000;
			};
			class Wheel_kolP1
			{
				type="rotationX";
				source="wheelR";
				selection="kolP1";
				axis="";
				memory="false";
				animPeriod=0;
				angle0=0;
				angle1="rad -360";
				sourceAddress="loop";
			};
			class Wheel_koloP1: Wheel_kolP1
			{
				source="wheelR";
				selection="koloP1";
			};
			class Wheel_podkoloP1: Wheel_podkoloL1
			{
				selection="podkoloP1";
			};
			class Wheel_kolL2: Wheel_kolL1
			{
				selection="kolL2";
			};
			class Wheel_kolL3: Wheel_kolL1
			{
				selection="kolL3";
			};
			class Wheel_kolL4: Wheel_kolL1
			{
				selection="kolL4";
			};
			class Wheel_kolP2: Wheel_kolP1
			{
				selection="kolP2";
			};
			class Wheel_kolP3: Wheel_kolP1
			{
				selection="kolP3";
			};
			class Wheel_kolP4: Wheel_kolP1
			{
				selection="kolP4";
			};
			class Wheel_koloL2: Wheel_koloL1
			{
				selection="koloL2";
			};
			class Wheel_koloL3: Wheel_koloL1
			{
				selection="koloL3";
			};
			class Wheel_koloL4: Wheel_koloL1
			{
				selection="koloL4";
			};
			class Wheel_koloL5: Wheel_koloL1
			{
				selection="koloL5";
			};
			class Wheel_koloP2: Wheel_koloP1
			{
				selection="koloP2";
			};
			class Wheel_koloP3: Wheel_koloP1
			{
				selection="koloP3";
			};
			class Wheel_koloP4: Wheel_koloP1
			{
				selection="koloP4";
			};
			class Wheel_koloP5: Wheel_koloP1
			{
				selection="koloP5";
			};
			class Wheel_podkoloL2: Wheel_podkoloL1
			{
				selection="podkoloL2";
			};
			class Wheel_podkoloL3: Wheel_podkoloL1
			{
				selection="podkoloL3";
			};
			class Wheel_podkoloL4: Wheel_podkoloL1
			{
				selection="podkoloL4";
			};
			class Wheel_podkoloL5: Wheel_podkoloL1
			{
				selection="podkoloL5";
			};
			class Wheel_podkoloP2: Wheel_podkoloP1
			{
				selection="podkoloP2";
			};
			class Wheel_podkoloP3: Wheel_podkoloP1
			{
				selection="podkoloP3";
			};
			class Wheel_podkoloP4: Wheel_podkoloP1
			{
				selection="podkoloP4";
			};
			class Wheel_podkoloP5: Wheel_podkoloP1
			{
				selection="podkoloP5";
			};
			class damageHide
			{
				type="hide";
				source="damage";
				selection="damageHide";
			};
			class podkoloL1_hide_damage: damageHide
			{
				selection="podkoloL1_hide";
			};
			class podkoloL2_hide_damage: damageHide
			{
				selection="podkoloL2_hide";
			};
			class podkoloL3_hide_damage: damageHide
			{
				selection="podkoloL3_hide";
			};
			class podkoloL4_hide_damage: damageHide
			{
				selection="podkoloL4_hide";
			};
			class podkoloL5_hide_damage: damageHide
			{
				selection="podkoloL5_hide";
			};
			class podkoloP1_hide_damage: damageHide
			{
				selection="podkoloP1_hide";
			};
			class podkoloP2_hide_damage: damageHide
			{
				selection="podkoloP2_hide";
			};
			class podkoloP3_hide_damage: damageHide
			{
				selection="podkoloP3_hide";
			};
			class podkoloP4_hide_damage: damageHide
			{
				selection="podkoloP4_hide";
			};
			class podkoloP5_hide_damage: damageHide
			{
				selection="podkoloP5_hide";
			};
			class MainTurret
			{
				type="rotationY";
				source="mainTurret";
				selection="OtocVez";
				axis="OsaVeze";
				animPeriod=0;
				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class MainGun: MainTurret
			{
				type="rotationX";
				source="mainGun";
				selection="OtocHlaven";
				axis="OsaHlavne";
					memory = true;
					sourceAddress = "clamp";
 				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class HatchDriver
			{
				type="rotation";
				source="hatchDriver";
				selection="poklop_driver";
				axis="osa_poklop_driver";
				memory=true;
				minValue=0;
                maxValue=1;//speed of animation?
				angle0=0;
				angle1=rad 155;
			};

            class ammo_belt_rotation
			{
				type="rotationZ";
				source="belt_rotation";
				selection="ammo_belt";
				axis="ammo_belt_axis";
				memory=1;
				sourceAddress="loop";
				minValue=0.000000;
				maxValue=0.010000;
				angle0=0.000000;
				angle1=0.3;
			};

			class ammobelt_hide 
        		{
          			type="hide";
          			source="belt_hide";
          			selection="ammo_belt";
          			hideValue=1; 
        		};
       		class HatchDriverDestr // Open driver hatch
            		{
                		type = "rotation";
                		source = "damage";
                		selection="poklop_driver";
                		axis="osa_poklop_driver";
                		minValue = 0.9;
                		maxValue = 1;
                		angle0 = 0;
                		angle1= rad 155;
            		};

            		class damagehlaven
            		{
                		type="hide";
                		source="damage";
                		selection="OtocHlaven";
            		};

			class hide_gun 
        		{
          		type="hide";
          		source="hide_gun";
          		selection="cargogun";
				minValue = 0;
   				maxValue = 1;
   				minPhase = 0;
   				maxPhase = 1;
          		hideValue=1; 
        		};

			class hide_gun_damage 
        		{
          		type="hide";
          		source="damage";
          		selection="cargogun";
				minValue = 0;
   				maxValue = 1;
   				minPhase = 0;
   				maxPhase = 1;
          			hideValue=1; 
        		};


		};//animations
        };//432
class BLX_FV432_basicD : BLX_FV432_basic {};
class BLX_FV432_medevac : BLX_FV432_basic {};
class BLX_FV432_medevacD : BLX_FV432_medevac {};

};//models