Difference between revisions of "Movement Type"

From the CreationKit Wiki
Jump to navigation Jump to search
(Created page with "The precise purpose and function of Movement Type forms is not yet documented. They appear to define base movement and turning speeds for actors, but they don't appear to have...")
 
 
Line 12: Line 12:
* Movement Types are seldom referenced directly by any other game data. However, Havok behavior graphs contain data which appears to refer to Movement Types. For example, <code>horsebehavior.hkx</code> contains an <code>iState</code> animation variable, as well as additional variables named <code>iState_HorseDefault</code>, <code>iState_HorseFall</code>, <code>iState_HorseSprint</code>, and <code>iState_HorseSwim</code>. Movement Types exist that use the names (not editor IDs) ''HorseDefault'', ''HorseFall'', ''HorseSprint'', and ''HorseSwim''.
* Movement Types are seldom referenced directly by any other game data. However, Havok behavior graphs contain data which appears to refer to Movement Types. For example, <code>horsebehavior.hkx</code> contains an <code>iState</code> animation variable, as well as additional variables named <code>iState_HorseDefault</code>, <code>iState_HorseFall</code>, <code>iState_HorseSprint</code>, and <code>iState_HorseSwim</code>. Movement Types exist that use the names (not editor IDs) ''HorseDefault'', ''HorseFall'', ''HorseSprint'', and ''HorseSwim''.
** Default Movement Types are also set up for humanoid actors via [[Default Objects]].
** Default Movement Types are also set up for humanoid actors via [[Default Objects]].
* "Running" and "sprinting" are different kinds of movement. "Walking" is defined as the movement speed that the player is limited to when overencumbered, whether or not they're actually on the ground; "running" is all speeds beyond that threshold. Sprinting is implemented as its own Movement Type (generally one that uses the same speeds for "walk" and "run").
* "Running" and "sprinting" are different kinds of movement. "Walking" is most easily understood as the movement speed that the player is limited to when overencumbered, whether or not they're actually on the ground; "running" is faster movement than that. Sprinting is implemented as its own Movement Type (generally one that uses the same speeds for "walk" and "run").


[[Category:Object Classes]]
[[Category:Object Classes]]

Latest revision as of 20:37, 5 September 2024

The precise purpose and function of Movement Type forms is not yet documented. They appear to define base movement and turning speeds for actors, but they don't appear to have been officially documented.

Dialog[edit | edit source]

  • ID: The editor ID.
  • Movement Type ID: A separate name from the editor ID. This is apparently meant to be referenced from inside of Havok behavior graphs.
  • Default Data: The default movement data used for this movement type. Races can define their own overrides.
    • Here, you can define walking and running (not sprinting) speeds for the four cardinal movement directions: forward, back, left, and right.
    • You can also define rotation speeds (measured in degrees) for rotating in place or rotating while running. There is no special speed for rotating while walking.
  • Anim Change Thresholds: Unknown.

Notes[edit | edit source]

  • Movement Types are seldom referenced directly by any other game data. However, Havok behavior graphs contain data which appears to refer to Movement Types. For example, horsebehavior.hkx contains an iState animation variable, as well as additional variables named iState_HorseDefault, iState_HorseFall, iState_HorseSprint, and iState_HorseSwim. Movement Types exist that use the names (not editor IDs) HorseDefault, HorseFall, HorseSprint, and HorseSwim.
    • Default Movement Types are also set up for humanoid actors via Default Objects.
  • "Running" and "sprinting" are different kinds of movement. "Walking" is most easily understood as the movement speed that the player is limited to when overencumbered, whether or not they're actually on the ground; "running" is faster movement than that. Sprinting is implemented as its own Movement Type (generally one that uses the same speeds for "walk" and "run").