OBD:TRAM/raw0x2C: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
 
(added note from Loser on OBD talk:TRAM; wording)
 
(2 intermediate revisions by 2 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]] >> particle part
<CENTER>[[OBD:TRAM/raw0x28|footstep part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - particle part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x30|position part]]</CENTER>
 
 
<CENTER>[[OBD:TRAM/raw0x28|<==]] <FONT SIZE=5>TRAM - particle part</FONT> [[OBD:TRAM/raw0x30|==>]]</CENTER>




Line 8: Line 5:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tram_r09.gif
[[Image:Tram_r09.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 | starting frame for particle }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x02 | int16    |FFFFC8| 30 00       | 48 | ending frame }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x04 | int32    |C8FFC8| 0D 00 00 00 | 13 | body part to which to affix the particle; see [[OBD:TRIA|TRIA]] for the body part index and diagram }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows one particle block.</FONT>
{{OBDtr2|0x08 | char[16] |C8FFFF| contrail         | particle name; reference to [[OBD:ONCP|01017-.ONCP]] }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 00
| 0
| ALIGN=LEFT | start frame
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 30 00
| 48
| ALIGN=LEFT | stop frame
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 0D&nbsp;00&nbsp;00&nbsp;00
| 13
| ALIGN=LEFT | bodypart number; the particle is fixed to this bodypart; look to the [[OBD:TRIA|TRIA]] file for a bodypart number (00 = pelvis)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" COLSPAN=2 | <TT>contrail</TT>
| ALIGN=LEFT | name of the particle; the first 00 is the stop-byte
|}
|}




<HR>
;Particle name
<CENTER>[[OBD:TRAM/raw0x28|<==]] <B>TRAM - particle part</B> [[OBD:TRAM/raw0x30|==>]]</CENTER>
This is '''not''' the [[PAR3]] name for the particle but the name of its ONCP. For instance, the name "contrail" above is the ONCP name, but the actual BINA/PAR3 name is "h2h_strtrail_e01".
<HR>
 


<CENTER>[[OBD:TRAM/raw0x28|footstep part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - particle part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x30|position part]]</CENTER>


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

Latest revision as of 22:59, 26 October 2023

footstep part  <<  TRAM - particle part  >>  position part


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


Tram r09.gif


Offset Type Raw Hex Value Description
First element (black outline)
0x00 int16 00 00 0 starting frame for particle
0x02 int16 30 00 48 ending frame
0x04 int32 0D 00 00 00 13 body part to which to affix the particle; see TRIA for the body part index and diagram
0x08 char[16] contrail particle name; reference to 01017-.ONCP


Particle name

This is not the PAR3 name for the particle but the name of its ONCP. For instance, the name "contrail" above is the ONCP name, but the actual BINA/PAR3 name is "h2h_strtrail_e01".


footstep part  <<  TRAM - particle part  >>  position part