class CfgSkeletons
{
    class Default {
        isDiscrete = 1;
        skeletonInherit = "";
        skeletonBones[] = {};
    };
    class MosquefalSkeleton: Default
    {
        skeletonBones[]=
        {
			"Bolt_piece2",	"",
			"grenademagazine", "",
			"bipod_pivot", "",
			"Bolt_piece1",	"Bolt_piece2",
			"Striker_assy", "Bolt_piece2",
			"Striker", "Bolt_piece2",
			"Magazine",	"",
			"casing", "Bolt_piece2",
			"Bullet1", "Magazine",
			"Bullet2", "Magazine",
			"Bullet3", "Magazine",
			"Bullet4", "Magazine",
			"Bullet5", "Magazine",
			"Clip", "Magazine",
			"dummyround1","Clip",
			"dummyround2","dummyround1",
			"dummyround3","dummyround2",
			"dummyround4","dummyround3",
			"dummyround5","dummyround4",
			"sight_LADDER", "",
			"sight_notch","sight_LADDER",
			"notchleaf", "sight_notch",
			"follower", "",
			"Trigger",	"",
			"zasleh",""
        };
    };
};

class CfgModels
{
    class Default {
        selections[] = {};
        selectionsInherit = "";
        skeletonName = "";
    };
    
    class Mosquefalm: Default
    {
        sections[]=
        {
            "zasleh","Magazine","Bolt_piece2","Trigger","MAin","reciever","Stock"
        };
        skeletonName="MosquefalSkeleton";
	sectionsInherit = "";
        class Animations
        {
            class muzzleflash_hide
            {
                type="hide";
                source="hasSuppressor";
                selection="zasleh";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.01;
            };
            class bullet1_hide
            {
                type="hide";
                source="revolving";
                selection="bullet1";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.00;
                unhideValue = 0.9;
            };
            class bullet2_hide
            {
                type="hide";
                source="revolving";
                selection="bullet2";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.00;
                unhideValue = 0.8;
            };
            class bullet3_hide
            {
                type="hide";
                source="revolving";
                selection="bullet3";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.00;
                unhideValue = 0.6;
            };
            class bullet4_hide
            {
                type="hide";
                source="revolving";
                selection="bullet4";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.00;
                unhideValue = 0.4;
            };
            class bullet5_hide
            {
                type="hide";
                source="revolving";
                selection="bullet5";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.00;
                unhideValue = 0.2;
            };
 	class dummyround1_hide
            {
                type="hide";
                source="revolving";
                selection="dummyround1";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 1;
            };
 	class dummyround2_hide
            {
                type="hide";
                source="revolving";
                selection="dummyround2";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.8;
            };
            class dummyround3_hide
            {
                type="hide";
                source="revolving";
                selection="dummyround3";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.6;
            };
            class dummyround4_hide
            {
                type="hide";
                source="revolving";
                selection="dummyround4";
                minValue = 0.0;
                maxvalue = 1;
		hideValue = 0.4;
            };
            class dummyround5_hide
            {
                type="hide";
                source="revolving";
                selection="dummyround5";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.20;

            };
            class casing_hide
            {
                type="hide";
                source="isEmpty";
                selection="casing";
                minValue = 0.0;
                maxvalue = 1;
                hideValue = 0.01;
            };
                   class bullet1_reload
            {
                type = "translation";
                source = "reload";
                selection = "bullet5";
	memory=1;
	  axis = "bulletlift_axis";
                minValue = 0.44;
                maxValue = 0.5;
                offset0 = -1;
                offset1 = 0;
            };
                   class bullet1_reload2
            {
                type = "translation";
                source = "reload";
                selection = "bullet5";
	memory=1;
	  axis = "bolt_axis";
                minValue = 0.44;
                maxValue = 0.5;
                offset0 = -1;
                offset1 = 0;
            };
                   class bullet1_reload_reset
            {
                type = "translation";
                source = "reload";
                selection = "bullet5";
	memory=1;
	  axis = "bulletlift_axis";
                minValue = 0.01;
                maxValue = 0.02;
                offset0 = 1;
                offset1 = 0;
            };
                   class bullet1_reload2_reset
            {
                type = "translation";
                source = "reload";
                selection = "bullet5";
	memory=1;
	  axis = "bolt_axis";
                minValue = 0.01;
                maxValue = 0.02;
                offset0 = 1;
                offset1 = 0;
            };
                   class bullet1_reload3
            {
                type = "rotation";
                source = "reload";
                selection = "bullet5";
	memory=1;
	  axis = "bulletrot_axis";
                minValue = 0.46;
                maxValue = 0.48;
	angle0=0;
                angle1="rad -10";
            };
                   class bullet1_reload4
            {
                type = "rotation";
                source = "reload";
                selection = "bullet5";
	memory=1;
	  axis = "bulletrot_axis";
                minValue = 0.485;
                maxValue = 0.49;
	angle0=0;
                angle1="rad 10";
            };
                   class bolt1
            {
                type = "translation";
                source = "reload";
                selection = "Bolt_piece2";
	memory=1;
	  axis = "bolt_axis";
                begin = "bolt_axis_end";
                end = "bolt_axis_begin";
                minValue=0.3;
                maxValue=0.36;
                offset0 = "0";
                offset1 = 0.05;
            };

                        class bolt2
            {
                type = "translation";
                source = "reload";
                selection = "Bolt_piece2";
	memory=1;
                axis = "bolt_axis";
                begin = "bolt_axis_end";
                end = "bolt_axis_begin";
                minValue = 0.44;
                maxValue = 0.51; //0.09; //"1";
                offset0 = "0";
                offset1 = 0.95;
            };
            class casing_hide_rechamber
            {
                type="hide";
                source = "reload";
                selection="casing";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.01;
                unhideValue =0.625;
            };

                   class bolt3
            {
                type = "translation";
                source = "reload";
                selection = "Bolt_piece2";
	memory=1;
	  axis = "bolt_axis";
                begin = "bolt_axis_end";
                end = "bolt_axis_begin";
                minValue = 0.62;
                maxValue = 0.7; //0.09; //"1";
                offset0 = "0";
                offset1 = -0.95;
            };

                        class bolt4
            {
                type = "translation";
                source = "reload";
                selection = "Bolt_piece2";
	memory=1;
                axis = "bolt_axis";
                begin = "bolt_axis_end";
                end = "bolt_axis_begin";
                minValue=0.74;
                maxValue=0.78;
                offset0 = "0";
                offset1 = -0.05;
            };
            class follower
            {
                type = "translation";
                source = "revolving";
                selection = "follower";
	memory=1;
                axis = "follower_axis";
                minValue=0;
                maxValue=1;
                offset0 = 1;
                offset1 = 0;
            };
			 class striker1
            {
                type = "translation";
                source = "reload";
                selection = "striker";
	memory=1;
                axis = "striker_axis";
                minValue=0.76;
                maxValue=0.8;
                offset0 = 1;
                offset1 = 0;
            };

          class Boltturn1
            {
                type="rotation";
                source="reload";
                selection="Bolt_piece1";
                axis="bolt_axis";
	memory=1;
                minValue=0.3;
                maxValue=0.36;
                angle0=0;
                angle1="rad -90";

            };
            class Boltturn2
            {
                type="rotation";
                source="reload";
                selection="Bolt_piece1";
                axis="bolt_axis";
	memory=1;
                minValue=0.74;
                maxValue=0.78;
                angle0=0;
                angle1="rad 90";
            };
           class Mag_bolt_rot1
            {
                type="rotation";
                source="reloadmagazine";
                selection="Bolt_piece1";
                axis="bolt_axis";
	memory=1;
                minValue=0.06875;
                maxValue=0.08125;
                angle0=0;
                angle1="rad -90";

            };
            class Mag_bolt_rot2
            {
                type="rotation";
                source="reloadmagazine";
                selection="Bolt_piece1";
                axis="bolt_axis";
	memory=1;
                minValue=0.75;
                maxValue=0.76875;
                angle0=0;
                angle1="rad 90";
            };
    
                   class Mag_striker_trans1
            {
                type = "translation";
                source = "reloadmagazine";
                selection = "Bolt_piece2";
	memory=1;
	  axis = "bolt_axis";
                begin = "bolt_axis_end";
                end = "bolt_axis_begin";
                minValue = 0.09375;
                maxValue = 0.11875;
                offset0 = "0";
                offset1 = 1;
            };

                        class Mag_striker_trans3
            {
                type = "translation";
                source = "reloadmagazine";
                selection = "Bolt_piece2";
	memory=1;
                axis = "bolt_axis";
                begin = "bolt_axis_end";
                end = "bolt_axis_begin";
                minValue = 0.7125;
                maxValue = 0.7375;
                offset0 = "0";
                offset1 = -1;
            };
        
            class casing_hide_reload
            {
                type="hide";
                source = "reloadmagazine";
                selection="casing";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.11875;
                unhideValue =0.999;
            };
	class bullet1_hide_reload
            {
                type="hide";
                source = "reloadmagazine";
                selection="Bullet1";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.0001;
                unhideValue =0.5625;
            };
            class bullet2_hide_reload
            {
                type="hide";
                source = "reloadmagazine";
                selection="Bullet2";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.0001;
                unhideValue =0.5525;
            };
            class bullet3_hide_reload
            {
                type="hide";
                source = "reloadmagazine";
                selection="Bullet3";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.0001;
                unhideValue =0.5350;
            };
			class bullet4_hide_reload
            {
                type="hide";
                source = "reloadmagazine";
                selection="Bullet4";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.0001;
                unhideValue =0.5175;
            };
						class bullet5_hide_reload
            {
                type="hide";
                source = "reloadmagazine";
                selection="Bullet5";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.0001;
                unhideValue =0.5;
            };

	class clip_hide_reload1
            {
                type="hide";
                source = "reloadmagazine";
                selection="clip";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.000;
                unhideValue =0.4125;
            };

	class clip_hide_reload2
            {
                type="hide";
                source = "reloadmagazine";
                selection="clip";
                minValue = 0.0;
                maxvalue = 1;
                hideValue =0.737;

            };
            class clipinsert_trans1
            {
                type = "translation";
                source = "reloadmagazine";
                selection = "clip";
		memory=1;
	  	axis = "stripper_inout_axis";
                minValue = 0.0;
                maxvalue = 0.01;
                offset0 = "0";
                offset1 = 1;
            };
            class clipinsert_trans2
            {
                type = "translation";
                source = "reloadmagazine";
                selection = "clip";
		memory=1;
	  	axis = "stripper_inout_axis";
                minValue = 0.4125;
                maxvalue = 0.4375;
                offset0 = "0";
                offset1 = -1;
            };
            class clipinsert_trans3
            {
                type = "translation";
                source = "reloadmagazine";
                selection = "clip";
		memory=1;
	  	axis = "stripper_inout_axis";
                minValue = 0.728;
                maxvalue = 0.735;
                offset0 = "0";
                offset1 = 1;
            };
            class dummyroundsin_trans
            {
                type = "translation";
                source = "reloadmagazine";
                selection = "dummyround1";
		memory=1;
	  	axis = "dummyrounds_axis";
                minValue = 0.5;
                maxvalue = 0.5625;
                offset0 = "0";
                offset1 = 1;
            };
		class ummyrounds_hide {
		type = "hide";
                source = "reloadmagazine";
                selection = "dummyround1";
		hideValue = 0.5625;
			};
		class unloaded_magazine_hide {
		type = "hide";
		source = "hasMagazine";
		selection = "Magazine";
		hideValue = 0.1;
			};
		 class BackSight_optic
 			{
 				type = "rotationZ";
 				source="zeroing1";
 				selection = "sight_ladder";
 				axis = "ladder_axis";
 				memory = 1;
 				minValue = (3.5/28);
 				maxValue = (4/28);
				minPhase=0.0;
                maxPhase=1.0;
 				angle0 = 0.000000;
 				angle1 = rad 90;
 			};
	class aperture_move1
            {
	type="translation";
                source="zeroing1";
                selection="notchleaf" ;
 	     	minValue = (0/28);
 		maxValue = (1/28);
                axis="notch_axis2";
	offset0 = 0;
	offset1 = -1;
            };	
	class aperture_move12
            {
	type="translation";
                source="zeroing1";
                selection="notchleaf" ;
 		minValue = (3.5/28);
 		maxValue = (4/28);
                axis="notch_axis2";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move2
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
 		minValue = (3.5/28);
 		maxValue = (4/28);
                axis="notch600m";
	offset0 = 0;
	offset1 = -1;
            };	
	class aperture_move200m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (1/28);
                maxValue = (2/28);
                axis="notch200m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move400m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (2/28);
                maxValue = (4/28);
                axis="notch400m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move600m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (4/28);
                maxValue = (6/28);
                axis="notch600m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move800m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (6/28);
                maxValue = (8/28);
                axis="notch800m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move1000m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (8/28);
                maxValue = (10/28);
                axis="notch1000m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move1200m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (10/28);
                maxValue = (12/28);
                axis="notch1200m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move1400m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (12/28);
                maxValue = (14/28);
                axis="notch1400m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move1600m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (14/28);
                maxValue = (16/28);
                axis="notch1600m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move1800m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (16/28);
                maxValue = (18/28);
                axis="notch1800m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move2000m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (18/28);
                maxValue = (20/28);
                axis="notch2000m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move2200m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (20/28);
                maxValue = (22/28);
                axis="notch2200m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move2400m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (22/28);
                maxValue = (24/28);
                axis="notch2400m";
	offset0 = 0;
	offset1 = 1;
            };	
	class aperture_move2400ma
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (23.5/28);
                maxValue = (24/28);
                axis="notch2400m";
	offset0 = 0;
	offset1 = -1.5;
            };	
	class aperture_move2600m
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (24/28);
                maxValue = (26/28);
                axis="notch2600m";
	offset0 = 0;
	offset1 = -1.3;
            };	
	class aperture_move2600ma
            {
	type="translation";
                source="zeroing1";
                selection="sight_notch" ;
                minValue = (26/28);
                maxValue = (27/28);
                axis="notch2600m";
	offset0 = 0;
	offset1 = 0;
            };	
	class aperture_move2700m
            {
	type="translation";
                source="zeroing1";
                selection="notchleaf" ;
                minValue = (27/28);
                maxValue = (28/28);
                axis="notch_axis2";
	offset0 = 0;
	offset1 = -1.5;
            };
			class grenade_shot
            {
                type="hide";
                source="isemptynoreload.1";
                selection="grenademagazine";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0.01;
                unHideValue=-1;
            };
            class grenade_hide
            {
                type="hide";
                source="weaponmuzzle";
                selection="grenademagazine";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0;
                unHideValue=0.01;
            };
            class grenade_magazine_hide
            {
                type="hide";
                source="reloadmagazine.1";
                selection="grenademagazine";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0.0001;
                unHideValue=0.99;
            };
    };
};
    class Mosquefal: MosquefalM {};
};