class CfgSkeletons
{
	class Default
	{
		isDiscrete=1;
		skeletonInherit="";
		skeletonBones[]={};
	};
	class Braf_AM11_Skeleton : Default
	{
		SkeletonBones[]=
		{
			"wheel_1_1_damper","",
			"wheel_1_1_steering","wheel_1_1_damper",
			"wheel_1_1","wheel_1_1_steering",
			"wheel_1_1_unhide","wheel_1_1",
			"wheel_1_1_hide","wheel_1_1",
			
			"wheel_1_2_damper","",
			"wheel_1_2","wheel_1_2_damper",
			"wheel_1_2_unhide","wheel_1_2",
			"wheel_1_2_hide","wheel_1_2",
			
			"wheel_2_1_damper","",
			"wheel_2_1_steering","wheel_2_1_damper",
			"wheel_2_1","wheel_2_1_steering",
			"wheel_2_1_unhide","wheel_2_1",
			"wheel_2_1_hide","wheel_2_1",
			
			"wheel_2_2_damper","",
			"wheel_2_2","wheel_2_2_damper",
			"wheel_2_2_unhide","wheel_2_2",
			"wheel_2_2_hide","wheel_2_2",

			"damagehide","",
			"drivewheel","damagehide",
			"camonet","damagehide",
			
			"speed","damagehide",
			"rpm","damagehide",
			"fuel","damagehide",
			"oil","damagehide",
			"temp","damagehide",
			"volt","damagehide",

			"doors","damagehide",
			"windshield","damagehide",
			"Glass","windshield",

			"antenna_bend","",
			
			"turret","damagehide",
			"gun","turret",
			"mag","gun",
			"cargo_turret","damagehide",
			"ammobox","damagehide",
			"gunnerview","mag",
			"zasleh","mag",
			"damagehlaven","mag",
			"ammo_belt","mag",
			"bullet008","ammo_belt",
			"bullet007","bullet008",
			"bullet006","bullet007",
			"bullet005","bullet006",
			"bullet004","bullet005",
			"bullet003","bullet004",
			"bullet002","bullet003",
			"bullet001","bullet002",
			"magazine","mag",
			"feedtray_cover","mag",
			"bolt","mag",
			"charging_handle","mag",
			"damagevez","turret"
		};
	};
};
class CfgModels
{
	class Default
	{
		sections[]={};
		sectionsInherit="";
		skeletonName="";
	};
	class Marrua_AM11: Default
	{
		htMin=60;
		htMax=180;
		afMax=100;
		mfMax=8;
		mFact=1;
		tBody=150;
		skeletonName="Braf_AM11_Skeleton";
		sections[]=
		{
			"Light_L_hide",
			"Light_R_hide",
			"Glass",
			"camo_1",
			"camo_2",
			"back_lights",
			"brake_lights",
			"zbytek",
			"dashboard_lights",
			"clan",
			"HP_Light_L",
			"HP_Light_R"
		};
		class Animations
		{
			class damageHide
			{
				type="hide";
				hideValue=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="damage";
				sourceAddress=0;
				selection="damagehide";
			};
			class wheel_1_1_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLFWheel";
				sourceAddress=0;
				selection="wheel_1_1_hide";
			};
			class wheel_1_2_destruct: wheel_1_1_destruct
			{
				source="HitLBWheel";
				selection="wheel_1_2_hide";
			};
			class wheel_2_1_destruct: wheel_1_1_destruct
			{
				source="HitRFWheel";
				selection="wheel_2_1_hide";
			};
			class wheel_2_2_destruct: wheel_1_1_destruct
			{
				source="HitRBWheel";
				selection="wheel_2_2_hide";
			};
			class wheel_1_1_destruct_unhide
			{
				type="hide";
				hideValue=0;
				unhideValue=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLFWheel";
				sourceAddress=2;
				selection="wheel_1_1_unhide";
			};
			class wheel_1_2_destruct_unhide: wheel_1_1_destruct_unhide
			{
				source="HitLBWheel";
				selection="wheel_1_2_unhide";
			};
			class wheel_2_1_destruct_unhide: wheel_1_1_destruct_unhide
			{
				source="HitRFWheel";
				selection="wheel_2_1_unhide";
			};
			class wheel_2_2_destruct_unhide: wheel_1_1_destruct_unhide
			{
				source="HitRBWheel";
				selection="wheel_2_2_unhide";
			};
			class Glass_hide
			{
				type="hide";
				hideValue=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitGlass1";
				sourceAddress=2;
				selection="Glass";
			};
			class Wheel_1_1
			{
				type="rotationX";
				angle0=0;
				angle1=-6.283185;
				axis="wheel_1_1_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="wheel";
				sourceAddress=1;
				selection="wheel_1_1";
			};
			class wheel_2_1: Wheel_1_1
			{
				axis="wheel_2_1_axis";
				source="wheel";
				selection="wheel_2_1";
			};
			class wheel_1_2: Wheel_1_1
			{
				axis="wheel_1_2_axis";
				source="wheel";
				selection="wheel_1_2";
			};
			class Wheel_2_2: Wheel_1_1
			{
				axis="wheel_2_2_axis";
				source="wheel";
				selection="wheel_2_2";
			};
            class wheel_1_1_damper
            {
                type="translation";
                source="damper";
                selection="wheel_1_1_damper";
				axis="wheel_1_1_damper_axis";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                offset0=0.5;
                offset1=-0.5;
            };
			class wheel_2_1_Damper: Wheel_1_1_Damper
			{
				axis="wheel_2_1_damper_axis";
				selection="wheel_2_1_damper";
			};
			class wheel_1_2_Damper: Wheel_1_1_Damper
			{
				axis="wheel_1_2_damper_axis";
				selection="wheel_1_2_damper";
			};
			class Wheel_2_2_Damper: Wheel_1_1_Damper
			{
				axis="wheel_2_2_damper_axis";
				selection="wheel_2_2_damper";
			};
			class wheel_1_1_Damage
			{
				type="translation";
				offset0=-0.18;
				offset1=0.18;
				axis="wheel_1_1_damper";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLFWheel";
				sourceAddress=0;
				selection="wheel_1_1_damper";
			};
			class wheel_1_2_Damage: wheel_1_1_Damage
			{
				axis="wheel_1_2_damper";
				source="HitLBWheel";
				selection="wheel_1_2_damper";
			};
			class wheel_2_1_Damage: wheel_1_1_Damage
			{
				axis="wheel_2_1_damper";
				source="HitRFWheel";
				selection="wheel_2_1_damper";
			};
			class wheel_2_2_Damage: wheel_1_1_Damage
			{
				axis="wheel_2_2_damper";
				source="HitRBWheel";
				selection="wheel_2_2_damper";
			};
			class wheel_1_1_Damper_Damage_BackAnim
			{
				type="translation";
				offset0=0;
				offset1=-0.4;
				axis="wheel_1_1_damper_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLFWheel";
				sourceAddress=0;
				selection="wheel_1_1_damper";
			};
			class wheel_1_2_Damper_Damage_BackAnim: wheel_1_1_Damper_Damage_BackAnim
			{
				axis="wheel_1_2_damper_axis";
				source="HitLBWheel";
				selection="wheel_1_2_damper";
			};
			class wheel_2_1_Damper_Damage_BackAnim: wheel_1_1_Damper_Damage_BackAnim
			{
				axis="wheel_2_1_damper_axis";
				source="HitRFWheel";
				selection="wheel_2_1_damper";
			};
			class wheel_2_2_Damper_Damage_BackAnim: wheel_1_1_Damper_Damage_BackAnim
			{
				axis="wheel_2_2_damper_axis";
				source="HitRBWheel";
				selection="wheel_2_2_damper";
			};
			class DrivingWheel
			{
				type="rotation";
				angle0=1.570796;
				angle1=-1.570796;
				axis="drivewheel_axis";
				memory=1;
				minValue=-1;
				maxValue=1;
				minPhase=-1;
				maxPhase=1;
				source="drivingWheel";
				sourceAddress=0;
				selection="drivewheel";
			};
			class Steering_1_1
			{
				type="rotationY";
				angle0=0.349066;
				angle1=-0.349066;
				axis="wheel_1_1_steering_axis";
				memory=0;
				minValue=-1;
				maxValue=1;
				minPhase=-1;
				maxPhase=1;
				source="drivingWheel";
				sourceAddress=0;
				selection="wheel_1_1_steering";
			};
			class Steering_2_1: Steering_1_1
			{
				axis="wheel_2_1_steering_axis";
				source="drivingWheel";
				selection="wheel_2_1_steering";
			};
			class RPM
			{
				type="rotation";
				angle0=-2.129302;
				angle1=2.129302;
				axis="RPM_axis";
				memory=1;
				minValue=0;
				maxValue=4500;
				minPhase=0;
				maxPhase=1;
				source="rpm";
				sourceAddress=0;
				selection="speed";
			};
			class Speed
			{
				type="rotation";
				angle0=-1.972222;
				angle1=1.919862;
				axis="Speed_axis";
				memory=1;
				minValue=0;
				maxValue=39;
				minPhase=0;
				maxPhase=1;
				source="speed";
				sourceAddress=0;
				selection="rpm";
			};
			class Oil: Rpm
			{
				angle0=-0.872665;
				angle1=0.872665;
				minValue=0;
				maxValue=100;
				axis="oil_axis";
				selection="oil";
				source="wheelsTemp";
			};
			class Volt: Rpm
			{
				angle0=-0.785398;
				angle1=0.785398;
				minValue=9;
				maxValue=19;
				axis="Volt_axis";
				selection="volt";
			};
			class Fuel
			{
				type="rotation";
				angle0=-0.959931;
				angle1=0.959931;
				axis="Fuel_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="fuel";
				sourceAddress=0;
				selection="fuel";
			};
			class Temp
			{
				type="rotation";
				angle0=-0.959931;
				angle1=0.959931;
				axis="Temp_axis";
				memory=1;
				minValue=40;
				maxValue=120;
				minPhase=0;
				maxPhase=1;
				source="engineTemp";
				sourceAddress=0;
				selection="temp";
			};
			class Door_Hide
			{
				type="hide";
				hideValue=0.9;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="door_hide";
				sourceAddress=2;
				selection="doors";
			};
			class Camonet_Hide: Door_Hide
			{
				source="camonet_hide";
				selection="camonet";
			};
			class Windshield_Down
			{
				type="rotation";
				angle0=0;
				angle1=2.3;
				axis="windshield_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="windshield_rot";
				sourceAddress=1;
				selection="windshield";
			};
			class MainTurret
			{
				type="rotationY";
				angle0=-6.283185;
				angle1=6.283185;
				axis="turret_axis";
				memory=1;
				minValue=-6.283185;
				maxValue=6.283185;
				minPhase=-6.283185;
				maxPhase=6.283185;
				source="mainTurret";
				sourceAddress=0;
				selection="turret";
			};
			class MainGun
			{
				type="rotationX";
				angle0=-6.283185;
				angle1=6.283185;
				axis="gun_axis";
				memory=1;
				minValue=-6.283185;
				maxValue=6.283185;
				minPhase=-6.283185;
				maxPhase=6.283185;
				source="mainGun";
				sourceAddress=0;
				selection="gun";
			};
			class magazine_hide
            {
                type="hide";
                source="reloadmag";
                selection="magazine";
                sourceAddress="mirror";
                minPhase=0;
                maxPhase=0.5;
                minValue=0;
                maxValue=0.5;
                memory=0;
                hideValue=0.56;
                unHideValue=-1;
            };
			class ammobelt_hide
            {
                type="hide";
                source="reloadmag";
                selection="bullet008";
                sourceAddress="mirror";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0.19;
                unHideValue=1;
            };
			class ammo_belt_rotation_prep
            {
                type="rotation";
                source="reloadanim";
                selection="bullet008";
                sourceAddress="clamp";
				axis="ammo_belt_axis";
                minPhase=0.999;
                maxPhase=1;
                minValue=0.999;
                maxValue=1;
                memory=0;
                angle0=0.18;
                angle1=0;
            };
            class ammo_belt_rotation_main
            {
                type="rotation";
                source="reloadanim";
                selection="bullet008";
                sourceAddress="clamp";
				axis="ammo_belt_axis";
                minPhase=0.3;
                maxPhase=0.999;
                minValue=0.3;
                maxValue=0.999;
                memory=0;
                angle0=0;
                angle1=0.18;
            };
			class feedtray_cover_up
			{
                type="rotation";
                source="reloadmag";
                selection="feedtray_cover";
                sourceAddress="clamp";
				axis="feedtray_cover_axis";
                minPhase=0.89;
                maxPhase=0.95;
                minValue=0.89;
                maxValue=0.95;
                memory=0;
                angle0=0;
                angle1=-1.570796;
			};
			class feedtray_cover_down
			{
				type="rotation";
                source="reloadmag";
                selection="feedtray_cover";
                sourceAddress="clamp";
				axis="feedtray_cover_axis";
                minPhase=0.04;
                maxPhase=0.09;
                minValue=0.04;
                maxValue=0.09;
                memory=0;
                angle0=0;
                angle1=1.570796;
			};
			class Turret_shake_aside
			{
                type="translation";
                source="reloadanim";
                selection="mag";
                sourceAddress="clamp";
				axis="gun_axis";
                minPhase=0;
                maxPhase=0.85;
                minValue=0;
                maxValue=0.85;
                memory=0;
                offset0=0.001;
                offset1=-0.005;
			};
			class Turret_shake_aside_back
			{
                type="translation";
                source="reloadanim";
                selection="mag";
                sourceAddress="clamp";
				axis="gun_axis";
                minPhase=0;
                maxPhase=0.85;
                minValue=0;
                maxValue=0.85;
                memory=0;
                offset0=0.001;
                offset1=-0.005;
			};
			class gunshake_eye
            {
                type="translation";
                source="reloadanim";
                selection="gunnerview";
                sourceAddress="clamp";
				axis="ammo_belt_axis";
                minPhase=0.85;
                maxPhase=1;
                minValue=0.85;
                maxValue=1;
                memory=0;
                offset0=-0.005;
                offset1=0.001;
            };
			class gunshake_eye_back
            {
                type="translation";
                source="reloadanim";
                selection="gunnerview";
                sourceAddress="clamp";
				axis="ammo_belt_axis";
                minPhase=0;
                maxPhase=0.85;
                minValue=0;
                maxValue=0.85;
                memory=0;
                offset0=0.001;
                offset1=-0.005;
            };
			class Bullet001
			{
                type="hide";
                source="revolving";
                selection="bullet001";
                sourceAddress="mirror";
                minPhase=-1;
                maxPhase=0;
                minValue=-1;
                maxValue=0;
                memory=0;
                hideValue=0.9100001;
                unHideValue=-1;
			};
			class Bullet002: Bullet001
			{
				hideValue=0.92001;
				selection="bullet002";
			};
			class Bullet003: Bullet001
			{
				hideValue=0.93001;
				selection="bullet003";
			};
			class Bullet004: Bullet001
			{
				hideValue=0.94001;
				selection="bullet004";
			};
			class Bullet005: Bullet001
			{
				hideValue=0.95001;
				selection="bullet005";
			};
			class Bullet006: Bullet001
			{
				hideValue=0.96001;
				selection="bullet006";
			};
			class Bullet007: Bullet001
			{
				hideValue=0.97001;
				selection="bullet007";
			};
			class Bullet008: Bullet001
			{
				hideValue=0.98001;
				selection="bullet008";
			};
			class Bolt_recoil
			{
				type="translation";
				offset0=0;
				offset1=-0.2;
				axis="bolt_axis";
				memory=1;
				minValue=0;
				maxValue=0.75;
				minPhase=0;
				maxPhase=0.75;
				source="ReloadAnim";
				sourceAddress=2;
				selection="bolt";
			};
			class Bolt_reload_begin
			{
				type="translation";
				offset0=0;
				offset1=-0.2;
				axis="ammo_belt_axis";
				memory=1;
				minValue=0;
				maxValue=0.02;
				minPhase=0;
				maxPhase=0.02;
				source="reloadmag";
				sourceAddress=0;
				selection="bolt";
			};
			class Bolt_reload_end
			{
				type="translation";
				offset0=0;
				offset1=0.2;
				axis="ammo_belt_axis";
				memory=1;
				minValue=0.05;
				maxValue=0.06;
				minPhase=0.05;
				maxPhase=0.06;
				source="reloadmag";
				sourceAddress=0;
				selection="bolt";
			};
			class Muzzle_Flash_Rotation
            {
                type="rotationZ";
                source="muzzle_rot_mag";
                selection="zasleh";
                sourceAddress="loop";
				axis="muzzle_axis";
                minPhase=0;
                maxPhase=7;
                minValue=0;
                maxValue=7;
                memory=0;
                angle0=0;
                angle1=6.283185;
            };
            class Muzzle_Flash_Hide
            {
                type="hide";
                source="muzzle_hide_mag";
                selection="zasleh";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0;
                unHideValue=0.1;
            };
			class unarmed_main_turret_hide
            {
                type="hide";
                source="proxy";
                selection="turret";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=1;
                unHideValue=-1;
            };
			class unarmed_ammo_hide
            {
                type="hide";
                source="proxy";
                selection="ammobox";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=1;
                unHideValue=-1;
            };
			class unarmed_gunner_hide
            {
                type="hide";
                source="proxy";
                selection="cargo_turret";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=1;
                unHideValue=-1;
            };
			class antenna_bend_X
			{
				type="translationX";
				source="gmeterx";
				selection="antenna_bend";
				axis="antenna_axis";
				animPeriod=0;
				minPhase=1;
                maxPhase=-1;
				minValue=-0.1;
				maxValue=0.1;
				offset0=1;
				offset1=-1;
			};
			class antenna_bend_Y: antenna_bend_X
			{
				type="translationZ";
				source="gmetery";
			}; 
		};
	};
};
