OBD:TRAM/raw0x30: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
 
m (unnecessary side edit as I go through the TRAM)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> [[OBD:TRAM|TRAM File]] >> position part
<CENTER>[[OBD:TRAM/raw0x2C|particle part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - position part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x34|bodyparts animation  part]]</CENTER>
 
 
<CENTER>[[OBD:TRAM/raw0x2C|<==]] <FONT SIZE=5>TRAM - position part</FONT> [[OBD:TRAM/raw0x34|==>]]</CENTER>




Line 8: Line 5:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tram_r10.gif
[[image:tram_r10.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| 00 00 | 0   | x position }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x02 | int16  |FFFFC8| 00 00 | 0   | z position }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x04 | uint16 |C8FFC8| 8A 04 | 1162 | vertical extent }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows one position block.</FONT>
{{OBDtr| 0x06 | int16  |C8FFFF| BF FF | -65 | y offset of the vertical extent from character location }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 8A 04
| 1162
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | BF FF
| -65
| ALIGN=LEFT | unknown
|}
|}


;Notes
:If the RealWorld animation flag is set then this part contains garbage and it is ignored.
:All values need to be multiplied by 0.01 to get the real values, i.e., the discretized unit here is 1/100th of Oni's regular world unit.
:The x,z position is relative to the initial character location at the start of the animation.


<HR>
<CENTER>[[OBD:TRAM/raw0x2C|particle part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - position part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x34|bodyparts animation  part]]</CENTER>
<CENTER>[[OBD:TRAM/raw0x2C|<==]] <B>TRAM - position part</B> [[OBD:TRAM/raw0x34|==>]]</CENTER>
<HR>
 


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> [[OBD:TRAM|TRAM File]] >> position part
{{OBD}}

Latest revision as of 21:16, 30 January 2022

particle part  <<  TRAM - position part  >>  bodyparts animation part


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


Tram r10.gif


Offset Type Raw Hex Value Description
First element (black outline)
0x00 int16 00 00 0 x position
0x02 int16 00 00 0 z position
0x04 uint16 8A 04 1162 vertical extent
0x06 int16 BF FF -65 y offset of the vertical extent from character location
Notes
If the RealWorld animation flag is set then this part contains garbage and it is ignored.
All values need to be multiplied by 0.01 to get the real values, i.e., the discretized unit here is 1/100th of Oni's regular world unit.
The x,z position is relative to the initial character location at the start of the animation.
particle part  <<  TRAM - position part  >>  bodyparts animation part