class CfgSkeletons { class Default { isDiscrete=1; skeletonInherit=""; skeletonBones[]={}; }; class 3AS_Westar_M5_Skeleton: Default { skeletonBones[]= { "zasleh", "", "magazine", "", "bolt", "", "trigger", "" }; }; }; class CfgModels { class Default { sectionsInherit=""; sections[]={}; skeletonName=""; }; class 3AS_Westar_M5_F { htMin=1; htMax=600; afMax=0; mfMax=0; mFact=1; tBody=100; skeletonName="3AS_Westar_M5_Skeleton"; sectionsInherit=""; sections[]={"zasleh", "camo", "camo1"}; class Animations { class trigger { type="translation"; source="reload"; selection="trigger"; sourceAddress="clamp"; axis="Trigger_Axis"; memory=1; minPhase=0; maxPhase=1; minValue=0; maxValue=1; offset0=0; offset1=0.2; }; /*class magazine_hide { type="hide"; source="reloadmagazine.0"; selection="magazine"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; hideValue=0.302326; unHideValue=0.503876; // };*/ /*class no_magazine { type="hide"; source="hasmagazine"; selection="slug"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; hideValue=0.5; unHideValue=-1; };*/ class Magazine_Rotate //Rotate Magazine CCW as it shoots { type="rotationz"; source="reload"; selection="Magazine"; sourceAddress="loop"; axis="mag_axis"; memory=1; minPhase=0; maxPhase=1; minValue=0; //0.18 for old maxValue=1; //0.22 for old angle0=0; //Radians, Degrees 0 angle1="rad -360"; //Radians, Degrees 85 }; class Magazine_Rotate_Reload //Rotate CW during reload { type="rotationz"; source="reloadMagazine"; selection="Magazine"; sourceAddress="clamp"; axis="mag_axis"; memory=1; minPhase=0; maxPhase=1; minValue=0; //0.18 for old maxValue=1; //0.22 for old angle0=0; //Radians, Degrees 0 angle1="rad 720"; //Radians, Degrees 85 }; class zaslehrot { type="rotationx"; source="ammorandom"; selection="zasleh"; sourceAddress="loop"; axis=""; centerFirstVertex=true; minPhase=0; maxPhase=4; minValue=0; maxValue=4; memory=0; angle0=0; angle1=6.283185; }; }; }; };