class CfgSkeletons { class Default { isDiscrete=1; skeletonInherit=""; skeletonBones[]={}; }; class 3AS_DC15C_Skeleton: Default { skeletonBones[]= { "Magazine", "", "zasleh", "" }; }; }; class CfgModels { class Default { sectionsInherit=""; sections[]={}; skeletonName=""; }; class 3AS_DC15C_F: Default { sections[]= { "zasleh", "camo", "camo1", "camo2" }; skeletonName="3AS_DC15C_Skeleton"; class Animations { class MuzzleFlashROT { type="rotationX"; source="ammoRandom"; //use ammo count as phase for animation sourceAddress="loop"; //loop when phase out of bounds selection="zasleh"; //selection we want to rotate axis=""; //no own axis - center of rotation is computed from selection centerFirstVertex=true; //use first vertex of selection as center of rotation minPhase=0; maxPhase=4; minValue=0; maxValue=4; //rotation angle will be 360/4 = 90 degrees memory=0; angle0="rad 0"; angle1="rad 360"; }; }; }; };