OBD:AGQC: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 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://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/agqc_a.gif
{{Table}}
 
{{OBDth}}
 
{{OBDtr | 0x00 | res_id  |FF0000| 01 4B 02 00 | 587             | 00587-.AGQC }}
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
{{OBDtr | 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3               | level 3 }}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDtr | 0x08 | char[20] |00FF00| AD DE       | dead           | unused }}
| WIDTH=15% | <B>Hex</B>
{{OBDtr | 0x1C | int32    |00FFFF| 15 A8 00 00 | 35349           | array size }}
| WIDTH=15% | <B>Translation</B>
{{OBDtrBK}}
| WIDTH=70% | <B>Meaning</B>
{{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 }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr | 0x04 | float    |FFFFC8| C8 9F A0 C4 | -1284.993164   | max. neg. x-position of the gunk quad }}
| BGCOLOR="#FF0000" | 01 4B 02 00
{{OBDtr | 0x08 | float    |FFFFC8| 00 14 5C C1 | -13.754882     | max. neg. y-position (height) of the gunk quad }}
| 587
{{OBDtr | 0x0C | float    |FFFFC8| 18 92 F8 C4 | -1988.565429   | max. neg. z-position of the gunk quad }}
| ALIGN=LEFT | 00587-.AGQC
{{OBDtr | 0x10 | float    |C8FFC8| 60 CA 94 C4 | -1190.324218   | max. pos. x-position of the gunk quad }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr | 0x14 | float    |C8FFC8| 00 40 AB BF | -1.337890       | max. pos. y-position (height) of the gunk quad }}
| BGCOLOR="#FFFF00" | 01 00 00 06
{{OBDtr | 0x18 | float    |C8FFC8| 60 5D E7 C4 | -1850.917968   | max. pos. z-position of the gunk quad }}
| 3
| ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | AD DE
| dead
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 15 A8 00 00
| 35349
| ALIGN=LEFT | 35349 packages follow (one package is edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 22 28
| 10274
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 00 80
| 32768
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | C8 9F A0 C4
| -1284.993164
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 14 5C C1
| -13.754882
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 18 92 F8 C4
| -1988.565429
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 60 CA 94 C4
| -1190.324218
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 40 AB BF
| -1.337890
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 60 5D E7 C4
| -1850.917968
| ALIGN=LEFT | unknown
|}
|}




Maybe an interesting fact: The 3D-model of level 3 (the lab) has 70698 faces. 35349 is the half of it.
35349 is the amount of gunk quads. Two faces (triangles) form a gunk quad.
 


<HR>
<CENTER>[[OBD:AGDB|<==]] <B>AGQC File</B> [[OBD:AGQG|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=AGQC | prev=AGDB | next=AGQG | name=Gunk Quad Collision Array | family=Level}}


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

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