8,013
edits
Paradox-01 (talk | contribs) m (<Positions><Position> seems dead) |
Paradox-01 (talk | contribs) (adding in the new Shortcuts information) |
||
Line 115: | Line 115: | ||
|Number of first level in which move becomes available to the player ("0" to make it available from the start). | |Number of first level in which move becomes available to the player ("0" to make it available from the start). | ||
|- | |- | ||
| <Shortcuts> | |valign="top"| <Shortcuts> | ||
| parent tag | |valign="top"| parent tag | ||
| | | | ||
Works as an '''alternative FromStates''' collection. | |||
Shortcuts are accepted if their <Shortcut><FromState> value differs from the "primary" <Lookup><FromState> value. | |||
In other words: If you want to make a '''Shortcut''' that uses the '''same FromState''' value then you have to set '''primary FromState''' value to '''None'''. By that the hardcode interpolation frame length of about 8 frames can be overridden. | |||
In the following example the new interpolation length is 0. This will require the animation to match perfectly with the previous one. For a smooth transition to next animation set a suitable value at <Interpolation><End>. | |||
<Lookup> | |||
... | |||
<FromState>None</FromState> | |||
... | |||
<Shortcuts> | |||
<Shortcut> | |||
<FromState>Standing</FromState> | |||
<Length>0</Length> | |||
<ReplaceAtomic>no</ReplaceAtomic> | |||
</Shortcut> | |||
</Shortcuts> | |||
|- | |- | ||
| <Shortcut> | | <Shortcut> | ||
Line 303: | Line 325: | ||
| <FinalRotation> | | <FinalRotation> | ||
| float | | float | ||
| Ending rotation in degrees. | | Ending rotation in degrees. (During animation the camera is detached rotation-wise. If this value matches the body's final rotation it will prevent a 'glitchy' re-attaching.) | ||
|- | |- | ||
|valign="top"| <Direction> | |valign="top"| <Direction> |
edits