OBD:TRAM/raw0x20: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
m (strings are here, not there)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
{{OBDth}}
{{OBDth}}
{{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      | animation state which can call upon this animation; anim state list is [[XML:StNA|HERE]] }}
{{OBDtr| 0x02 | int16    |FFFFC8| 06 00      | 6        | shortcut length in frames }}
{{OBDtr| 0x02 | int16    |FFFFC8| 06 00      | 6        | shortcut length in frames }}
{{OBDtr| 0x04 | int32    |C8FFC8| 00 00 00 00 | 0        | replace an atomic animation (0 - no, 1 - yes) }}
{{OBDtr| 0x04 | int32    |C8FFC8| 00 00 00 00 | 0        | can replace an atomic animation (atomic flag is at 0x3C in TRAM) }}
|}
|}




;From state
;State
:Similar to "from state" from [[OBD:TRAM|TRAM]]. Shortcuts are used to create a [[OBD:TRAC|TRAC]] at runtime and animation lookup will use this "from state".
:Similar to "from state" from 0x166 in TRAM. Shortcuts are used to create a [[OBD:TRAC|TRAC]] at runtime, and [[XML:TRAM#Summary of animation lookup logic|animation lookup]] will use this "from state".
 
;Shortcut length
;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.
: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.
Line 24: Line 25:


<CENTER>[[OBD:TRAM/raw0x1C|motion blur part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - shortcut part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x24|throw part]]</CENTER>
<CENTER>[[OBD:TRAM/raw0x1C|motion blur part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - shortcut part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x24|throw part]]</CENTER>
{{OBD}}

Latest revision as of 00:55, 27 October 2023

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 animation state which can call upon this animation; anim state list is HERE
0x02 int16 06 00 6 shortcut length in frames
0x04 int32 00 00 00 00 0 can replace an atomic animation (atomic flag is at 0x3C in TRAM)


State
Similar to "from state" from 0x166 in 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