XML:TRAM: Difference between revisions

45 bytes removed ,  26 December 2025
m
replaced Oni Central Forum link with archive.org snapshot URL
m (phone view compatible)
m (replaced Oni Central Forum link with archive.org snapshot URL)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{XML_File_Header | prev=TRAC | type=TRAM | next=TRAS | name=Totoro Animation}}
{{XML_File_Header | prev=TRAC | type=TRAM | next=TRAS | name=Totoro Animation}}
{{update|This article contains links to the now defunct Oni Central Forum. Sections: List of Tags near <Attack>, Editing 3D Data}}
{{integrate|See {{SectionLink||XSI}}.}}
{{TOCfloat|side=right}}


==General information==
==General information==
Line 702: Line 701:
| <HitLength>
| <HitLength>
| int16
| int16
| Number of frames that the target should remain in his hit animation state when he gets hit. If 20, Oni automatically upgrades the character to a stagger animation.
| Number of frames that the target should remain in his hit animation state when he gets hit. If > 20, Oni automatically upgrades the character to a stagger animation, the length of which is the greater of 30 or <HitLength>.
|-
|-
| <StunLength>
| <StunLength>
| int16
| int16
| Number of frames that the target should remain in his blocking animation state when he blocks the attack. If ≥ 15, Oni automatically upgrades the character to a block stun.
| Number of frames that the target should remain in his blocking animation state when he blocks the attack.
|-
|-
| <StaggerLength>
| <StaggerLength>
Line 804: Line 803:
* When setting keyframes, each body part should have moved. This rule of thumb will give a more natural-looking animation.
* When setting keyframes, each body part should have moved. This rule of thumb will give a more natural-looking animation.
* The first body part to be animated is always the pelvis.
* The first body part to be animated is always the pelvis.
* Watch out for pelvis rotations so that the XYZ rotations don't overlap too much, otherwise you will get into a [[wp:Gimbal_lock|gimbal lock]].
* Watch out for pelvis rotations so that the XYZ rotations don't overlap too much, otherwise you will get into a [[wp:Gimbal lock|gimbal lock]].


Also see our [http://oni.bungie.org/forum/viewtopic.php?id=1433 OCF thread].
Also see our OCF thread [http://web.archive.org/web/20220524164331/http://oni.bungie.org/forum/viewtopic.php?id=1433 "Creating new animations (TRAMS) for Oni"].


==Import==
==Import==
2,191

edits