9

Motion Flow Scripts Group 1049
animationusingtoolsintheScriptsgroup.Create
random motion for one or more bipeds using
controls in this rollout. The Scripts group on t he
Motion Flow rollout is only available when Motion
Flow mode (page 2–1043) is active.
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 scr ipt, add clips to
the Motion Flow Graph, then select Define Script
in the Scripts group and click a sequence of clips
from the Mot ion Flow Graph window. Default
transitions are assigned if no t r ansitions exist
between the clips. T he clip names and starting
frame numbers display in the list in the Scripts
group.
Different scr ipts vary the order of the clips found
in the Motion Flow Gr aph. 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 Plug-in Keyboard Shortcut
Toggle near the 3ds Max status line to enable
character studio shortcuts.
Tr ans iti ons B et ween Cli ps
By default, when a script i s created, Minimum
Motion Loss is u sed to find likely start frames for
thesourceanddestinationclips.
Editing transitions using the Transition Edit or
(page 2–1051) 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 t ransition
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.
PositiontheEntireAnimation
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.
For more information regarding scripts, refer to
Creating a Motion Flow Scr ipt (page 2–1030).