OBD:TRAM/raw0x20: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (design)
No edit summary
Line 12: Line 12:
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr| 0x00 | int16    |FFC8C8| 2F 00      | 47      | from state; animation state from anim_states.[[OBD:StNA|StNA]]; this state can call up this animation }}
{{OBDtr| 0x00 | int16    |FFC8C8| 2F 00      | 47      | from state; animation state from anim_states.[[OBD:StNA|StNA]]; this state can call up this animation }}
{{OBDtr| 0x00 | int16    |FFFFC8| 06 00      | 6        | shortcut length in frames }}
{{OBDtr| 0x02 | int16    |FFFFC8| 06 00      | 6        | shortcut length in frames }}
{{OBDtr| 0x00 | bitset32 |C8FFC8| 00 00 00 00 |0, 0, 0, 0| unknown; only the first bit is used in Oni }}
{{OBDtr| 0x04 | int32    |C8FFC8| 00 00 00 00 | 0       | replace an atomic animation (0 - no, 1 - yes) }}
|}
|}



Revision as of 08:48, 28 December 2007

motion blur part  <<  TRAM - shortcut part  >>  throw part


This part belongs to the 01865-KONCOMpunch_heavy.TRAM file.


Tram r06.gif


Offset Type Raw Hex Value Description
First element (black outline)
0x00 int16 2F 00 47 from state; animation state from anim_states.StNA; this state can call up this animation
0x02 int16 06 00 6 shortcut length in frames
0x04 int32 00 00 00 00 0 replace an atomic animation (0 - no, 1 - yes)


From state
Similar to "from state" from TRAM. Shortcuts are used to create a TRAC at runtime and animation lookup will use this "from state".
Shortcut length
When a shortcut is used to transition to another animation then "shortcut length" frames will be generated interpolating the last frame of the previous animation and the start frame of the next animation.


motion blur part  <<  TRAM - shortcut part  >>  throw part