2009

Scripts
A Script is a list of clips (BIP files) that you constructed and are executed as
you designed to animate a character. To create a script, add clips to the Motion
Flow Graph, then select Define Script in the Scripts group and click a sequence
of clips from the Motion Flow Graph window. Default transitions are assigned
if no transitions exist between the clips. The clip names and starting frame
numbers display in the list in the Scripts group.
Different scripts vary the order of the clips found in the Motion Flow Graph.
Scripts are run in a top-down order to animate the character. Click Play to
view script motion on the biped.
TIP As the length of a script varies, use Alt+R to set the Active Time in 3ds Max
to the length of the script. Turn on the Keyboard Shortcut Override Toggle on
the main toolbar to enable Biped shortcuts.
Transitions Between Clips
By default, when a script is created, Minimum Motion Loss is used to find
likely start frames for the source and destination clips.
Editing transitions using the
Transition Editor on page 4558 allows you to
determine where a transition occurs in the source and destination clip.
Transition duration and the orientation of the destination clip can also be
adjusted in the Transition Editor.
Random Motion
The Create Random Motion command traverses clips in the Motion Flow
Graph based on transition percentages. Transitions are given percentages, and
the software creates random scripts based on the transition percentages. This
is a quick way to create crowd scenes or to try out different scripts on a single
biped. For example, if five clips are present in the Motion Flow Graph and
transitions exist between all the clips and each clip has a percentage or
probability of being used, you can use Create Random Motion to create a
script that is comprised of the five clips that are selected at random.
Position the Entire Animation
Use the Position, Rotation, and Start Frame controls to position the entire
animation. If you are editing the script for a character in a scene with other
objects or characters, use these controls to position the animation relative to
the rest of the scene.
Motion Flow Mode | 4555