GreenFox,
In your modeller, you should use one keyframe set. A keyframe set is a single line of frames. Let's say that all of the model's animations together equal to about 300 frames. If you use one keyframe set, then the first animation should be the first frame to the amount of frames needed for that animation, and so on. Below, on the time line, each number represents a keyframe in the keyframe set.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
* * * * * * * * * * * * * * * % % % % % % % % % # #
Characters are for examples:
* = idle animation, which would, in this case, be looped from frame 1 to frame 15, and back to frame 1, and then all over again.
% = walking animation, which would, in this case, be looped from frame 16 to frame 24, and back to frame 16, and then all over again.
# = shooting animation, which would, in this case, be played from frame 25 to whatever ending frame.
So, using a single keyframe set, all your animations are in one file, and can be exported as one animation.
To "extract", so to say,the idle animation(frames 1 to 15) and loop just those frames, you would use the
loop object command. Its syntax being
LOOP OBJECT Object Number,Start Frame,End FrameSo, you see that a specific length, from within any start and end point of an animation file, can be looped over and over. To not, there is also the
play object command, with the syntax of
PLAY OBJECT Object Number,Start Frame,End Frame, which you would probably use for the gun animation, knowing that it is most likely not to be looped over and over.
+NanoBrain+