OBD:AGQC: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(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]] >> AGQC File
{{OBD_File_Header | type=AGQC | prev=AGDB | next=AGQG | name=Gunk Quad Collision Array | family=Level | align=center}}




<CENTER>[[OBD:AGDB|<==]] <FONT SIZE=5>AGQC File</FONT> [[OBD:AGQG|==>]]<BR>
[[image:agqc_a.gif]]
<FONT SIZE=2>Gunk Quad Collision Array - Level File</FONT></CENTER>




http://www.fh-eberswalde.de/user/dkriesch/onistuff/images/agqc_a.gif
{{Table}}
{{OBDth}}
{{OBDtr | 0x00 | res_id  |FF0000| 01 4B 02 00 | 587            | 00587-.AGQC }}
{{OBDtr | 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3              | level 3 }}
{{OBDtr | 0x08 | char[20] |00FF00| AD DE      | dead            | unused }}
{{OBDtr | 0x1C | int32    |00FFFF| 15 A8 00 00 | 35349          | array size }}
{{OBDtrBK}}
{{OBDtr | 0x00 | int32hb  |FFC8C8| 22 28 00 80 | 10274, high bit | [[OBD:PLEA|PLEA]] element number; high bit set means that the normal of the plane must be reversed }}
{{OBDtr | 0x04 | float    |FFFFC8| C8 9F A0 C4 | -1284.993164    | max. neg. x-position of the gunk quad }}
{{OBDtr | 0x08 | float    |FFFFC8| 00 14 5C C1 | -13.754882      | max. neg. y-position (height) of the gunk quad }}
{{OBDtr | 0x0C | float    |FFFFC8| 18 92 F8 C4 | -1988.565429    | max. neg. z-position of the gunk quad }}
{{OBDtr | 0x10 | float    |C8FFC8| 60 CA 94 C4 | -1190.324218    | max. pos. x-position of the gunk quad }}
{{OBDtr | 0x14 | float    |C8FFC8| 00 40 AB BF | -1.337890      | max. pos. y-position (height) of the gunk quad }}
{{OBDtr | 0x18 | float    |C8FFC8| 60 5D E7 C4 | -1850.917968    | max. pos. z-position of the gunk quad }}
|}




<TABLE BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0 BGCOLOR="#000000">
35349 is the amount of gunk quads. Two faces (triangles) form a gunk quad.
<TR ALIGN=CENTER BGCOLOR="#FFDDBB"><TD WIDTH=15%><B>Hex</B></TD><TD WIDTH=15%><B>Translation</B></TD><TD WIDTH=70%><B>Meaning</B></TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">01 4B 02 00</TD><TD>587</TD><TD ALIGN=LEFT>00587-.AGQC</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFF00">01 00 00 06</TD><TD>3</TD><TD ALIGN=LEFT>level 3</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FF00">AD DE</TD><TD>dead</TD><TD ALIGN=LEFT>not used</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FFFF">15 A8 00 00</TD><TD>35349</TD><TD ALIGN=LEFT>35349 packages follow (one package is edged in black)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"><TD COLSPAN=3><FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT></TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8C8">22 28</TD><TD>10274</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFFC8">00 80</TD><TD>32768</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFC8">C8 9F A0 C4</TD><TD>-1284.993164</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFC8">00 14 5C C1</TD><TD>-13.754882</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFC8">18 92 F8 C4</TD><TD>-1988.565429</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFFF">60 CA 94 C4</TD><TD>-1190.324218</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFFF">00 40 AB BF</TD><TD>-1.337890</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFFF">60 5D E7 C4</TD><TD>-1850.917968</TD><TD ALIGN=LEFT>unknown</TD></TR>
</TABLE>




Maybe an interesting fact: The 3D-model of level 3 (the lab) has 70698 faces. 35349 is the half of it.
{{OBD_File_Footer | type=AGQC | prev=AGDB | next=AGQG | name=Gunk Quad Collision Array | family=Level}}


 
{{OBD}}
<HR>
<CENTER>[[OBD:AGDB|<==]] <B>AGQC File</B> [[OBD:AGQG|==>]]</CENTER>
<HR>
 
 
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> AGQC File

Latest revision as of 23:44, 17 July 2010

ONI BINARY DATA
AGDB << Other file types >> AGQG
AGQC : Gunk Quad Collision Array
switch to XML:AGQC page
Overview @ Oni Stuff
OBD.png


Agqc a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 4B 02 00 587 00587-.AGQC
0x04 lev_id 01 00 00 06 3 level 3
0x08 char[20] AD DE dead unused
0x1C int32 15 A8 00 00 35349 array size
First element (black outline)
0x00 int32hb 22 28 00 80 10274, high bit PLEA element number; high bit set means that the normal of the plane must be reversed
0x04 float C8 9F A0 C4 -1284.993164 max. neg. x-position of the gunk quad
0x08 float 00 14 5C C1 -13.754882 max. neg. y-position (height) of the gunk quad
0x0C float 18 92 F8 C4 -1988.565429 max. neg. z-position of the gunk quad
0x10 float 60 CA 94 C4 -1190.324218 max. pos. x-position of the gunk quad
0x14 float 00 40 AB BF -1.337890 max. pos. y-position (height) of the gunk quad
0x18 float 60 5D E7 C4 -1850.917968 max. pos. z-position of the gunk quad


35349 is the amount of gunk quads. Two faces (triangles) form a gunk quad.


ONI BINARY DATA
AGDB << Other file types >> AGQG
AGQC : Gunk Quad Collision Array
Level file