http://direct.simswiki.info/index.php?title=Locomotion_Animations&feed=atom&action=historyLocomotion Animations - Revision history2024-03-28T20:56:47ZRevision history for this page on the wikiMediaWiki 1.20.2http://direct.simswiki.info/index.php?title=Locomotion_Animations&diff=6258&oldid=prevAtavera at 03:52, 14 September 20062006-09-14T03:52:17Z<p></p>
<p><b>New page</b></p><div>==Locomotion Animations==<br />
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 [[BHAV|Behaviour Functions]] through their references in the [[STR|Text Lists]]<br />
<br />
===Text Lists===<br />
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:<br><br><br />
<br />
0:Turns(Walk)<br><br />
1:Steps(Walk)<br><br />
2:Blends(Walk)<br><br />
3:Turns(Run)<br><br />
4:Steps(Run)<br><br />
5:Blends(Run)<br><br />
<br />
Heres an example of the swimming locomotions:<br><br><br />
0:swim-TurnInPlace,swimSlowTurnAndGoShort,swimSlowTurnAndGo,swimSlowTurnAndStopShort,swimSlowTurnAndStop<br><br />
1:swimSlowShort,swimSlow,swimPose<br><br />
2:<br><br />
3:swim-TurnInPlace,swimSlowTurnAndGoShort,swimSlowTurnAndGo,swimSlowTurnAndStopShort,swimSlowTurnAndStop<br><br />
4:swimSlowShort,swimSlow,swimPose<br><br />
5:<br><br><br />
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.<br />
<br />
===Naming===<br />
The locomotion animations have prefixes to their names so they can be more easily referenced.<br><br />
<Age Group><Sex><Name><Type> <br><br />
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.<br />
<br><br />
;Age Groups:<br />
:e - Elder<br />
:a - Adult<br />
:t - Teen<br />
:c - Child<br />
:p - Toddler<br />
<br />
;Sex:<br />
:male<br />
:female<br />
<br />
;Type:<br />
:Pose<br />
:TurnAndGo<br />
:TurnAndStop<br />
:TurnInPlace<br />
:Step<br />
:StepInPlace<br />
:Blend<br />
<br />
;Existing Names:<br />
:Type 1:<br />
::walk-alt0-normal<br />
::walk-ghost<br />
::walk-levitate<br />
::walk-reaper<br />
::swim<br />
:Type 2:<br />
::walk-alt1-normal<br />
:Type 3:<br />
::walk-alt2-sexy<br />
:Type 4:<br />
::walk-alt3-pregnant<br />
:Type 5:<br />
::walk-alt4-happy<br />
:Type 6:<br />
::walk-alt5-depressed<br />
:Type 7:<br />
::walk-alt6-angry<br />
:Type 8:<br />
::walk-alt7-skip<br />
:Type 9:<br />
::walk-alt8-sneak<br />
<br />
===Assigning Locomotion Animations===<br />
Locomotion animations can be assigned through [[BHAV|behaviours]] using the [[Primitives|primitive]] [[0x0072]].</div>Atavera