//model.cfg class CfgSkeletons { class Default { isDiscrete = 1; skeletonInherit = ""; skeletonBones[] = {}; }; class test_skeleton : Default { skeletonBones[] = { "box1","", "box2","box1", "box3","box2" }; pivotsModel = ""; }; }; class CfgModels { class Default { sectionsInherit = ""; sections[] = {}; }; class test : Default { sectionsInherit = ""; sections[] = { }; skeletonName = "test_skeleton"; class Animations { class box1 { type = "rotationY"; axis = "box2_translate_axis"; source = "box1"; selection = "box1"; animPeriod = 0.0001; minValue = 0; maxValue = 3; offset0 = 0; offset1 = 1; angle0 = 0; angle1 = "rad 360"; sourceAddress = "loop"; }; class box2 { type = "translationZ"; source = "box2"; selection = "box2"; animPeriod = 0.0001; minValue = -1; maxValue = 1; sourceAddress = "loop"; }; class box3_rotate { type = "direct"; source = "box3_rotate"; selection = "box3"; animPeriod = 0.0001; axisPos[] = {1,2,3}; axisDir[] = {4,5,6}; angle = "401.070457"; axisOffset = 8; sourceAddress = "loop"; minValue = 0; maxValue = 10; }; class box3_translate { type = "translation"; source = "box3_translate"; selection = "box3"; axis = "box2_translate_axis"; offset0 = 1; offset1 = -1; animPeriod = 0.0001; minValue = -10; maxValue = 10; sourceAddress = "clamp"; }; /* class box3_rotate { type = "direct"; source = "box3_rotate"; selection = "box3"; animPeriod = 0.0001; axisPos[] = {0,0,0}; axisDir[] = {0,1,0}; angle = "1080"; axisOffset = 1; sourceAddress = "loop"; minValue = 0; maxValue = 10; }; */ }; }; };