Locomotion Animations

From SimsWiki
Jump to: navigation, search

Contents

Locomotion Animations

Locomotion animations are the animations used by sims to move across the game tiles whether they are walking, running, swimming, or flying. They are stored in the ANIM resource, and used by Behaviour Functions through their references in the Text Lists

Text Lists

References to these animations are made in Text List 0x84. Locomotion animation entries in a text list are a little bit different from a standard reference. An entry should take up 6 strings, in this order:

0:Turns(Walk)
1:Steps(Walk)
2:Blends(Walk)
3:Turns(Run)
4:Steps(Run)
5:Blends(Run)

Heres an example of the swimming locomotions:

0:swim-TurnInPlace,swimSlowTurnAndGoShort,swimSlowTurnAndGo,swimSlowTurnAndStopShort,swimSlowTurnAndStop
1:swimSlowShort,swimSlow,swimPose
2:
3:swim-TurnInPlace,swimSlowTurnAndGoShort,swimSlowTurnAndGo,swimSlowTurnAndStopShort,swimSlowTurnAndStop
4:swimSlowShort,swimSlow,swimPose
5:

Notice, you can use animations more than once. There is no running animation for the pool, so the regular swim animations are used in its place. Also, there are no blends, but notice that space is left where they would be.

Naming

The locomotion animations have prefixes to their names so they can be more easily referenced.
<Age Group><Sex><Name><Type>
In referencing, you only put the Name+Type, and depending upon the sim's age and sex, the others are selected by the name prefixes.

Age Groups
e - Elder
a - Adult
t - Teen
c - Child
p - Toddler
Sex
male
female
Type
Pose
TurnAndGo
TurnAndStop
TurnInPlace
Step
StepInPlace
Blend
Existing Names
Type 1:
walk-alt0-normal
walk-ghost
walk-levitate
walk-reaper
swim
Type 2:
walk-alt1-normal
Type 3:
walk-alt2-sexy
Type 4:
walk-alt3-pregnant
Type 5:
walk-alt4-happy
Type 6:
walk-alt5-depressed
Type 7:
walk-alt6-angry
Type 8:
walk-alt7-skip
Type 9:
walk-alt8-sneak

Assigning Locomotion Animations

Locomotion animations can be assigned through behaviours using the primitive 0x0072.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox