OBD:TRAM/raw0x20: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
m (strings are here, not there)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{OBD_File_Header|align=center|type=TRAM|prev=TRAC|next=TRAS|name=Totoro Animation Sequence|family=Character}}
<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|<==]] <FONT SIZE=5>TRAM - shortcut part</FONT> [[OBD:TRAM/raw0x24|==>]]</CENTER>
 
----


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




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tram_r06.gif
[[image:tram_r06.gif]]




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK}}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | int16    |FFC8C8| 2F 00       | 47       | animation state which can call upon this animation; anim state list is [[XML:StNA|HERE]] }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x02 | int16    |FFFFC8| 06 00       | 6       | shortcut length in frames }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x04 | int32    |C8FFC8| 00 00 00 00 | 0       | can replace an atomic animation (atomic flag is at 0x3C in TRAM) }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows one shortcut block.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 2F&nbsp;00
| 47
| ALIGN=LEFT | from state, animation state from anim_states.[[StNA]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 06 00
| 6
| ALIGN=LEFT | shortcut length in frames
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown, bitset, only first bit used in Oni
|}
|}
;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".
 
;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.




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


----
{{OBD}}
{{OBD_File_Footer|align=center|type=TRAM|prev=TRAC|next=TRAS|name=Totoro Animation Sequence|family=Character}}
 
<CENTER>[[OBD:TRAM/raw0x1C|<==]] <B>TRAM - shortcut part</B> [[OBD:TRAM/raw0x24|==>]]</CENTER>

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