OBD:AGQG: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (updates ( *triangle* flag!!! )) |
||
Line 12: | Line 12: | ||
| 0x08 || unused (20) || BGCOLOR="#00FF00" | AD DE || dead || ALIGN=LEFT | not used | | 0x08 || unused (20) || BGCOLOR="#00FF00" | AD DE || dead || ALIGN=LEFT | not used | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x1C || | | 0x1C || int32 || BGCOLOR="#00FFFF" | 15 A8 00 00 || 35349 || ALIGN=LEFT | 35349 quads in array | ||
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000" | ||
| COLSPAN=5 | <FONT SIZE=2 COLOR="#FFFFFF"> | | COLSPAN=5 | <FONT SIZE=2 COLOR="#FFFFFF">First quad (outlined in black)</FONT> | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x00 || | | 0x00 || int32 || BGCOLOR="#FFC8C8" | 00 00 00 00 || 0 || ALIGN=LEFT | [[OBD:PNTA | PNTA]] element for 1st vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x04 || | | 0x04 || int32 || BGCOLOR="#FFC8C8" | 01 00 00 00 || 1 || ALIGN=LEFT | [[OBD:PNTA | PNTA]] element for 2nd vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x08 || | | 0x08 || int32 || BGCOLOR="#FFC8C8" | 02 00 00 00 || 2 || ALIGN=LEFT | [[OBD:PNTA | PNTA]] element for 3rd vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x0C || | | 0x0C || int32 || BGCOLOR="#FFC8C8" | 03 00 00 00 || 3 || ALIGN=LEFT | [[OBD:PNTA | PNTA]] element for 4th vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x10 || | | 0x10 || int32 || BGCOLOR="#FFFFC8" | F5 0F 00 00 || 4085 || ALIGN=LEFT | [[OBD:TXCA | TXCA]] element for 1st vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x14 || | | 0x14 || int32 || BGCOLOR="#FFFFC8" | F3 0F 00 00 || 4083 || ALIGN=LEFT | [[OBD:TXCA | TXCA]] element for 2nd vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x18 || | | 0x18 || int32 || BGCOLOR="#FFFFC8" | F4 0F 00 00 || 4084 || ALIGN=LEFT | [[OBD:TXCA | TXCA]] element for 3rd vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x1C || | | 0x1C || int32 || BGCOLOR="#FFFFC8" | F6 0F 00 00 || 4086 || ALIGN=LEFT | [[OBD:TXCA | TXCA]] element for 4th vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x20 || color || BGCOLOR="#C8FFC8" | 00 00 00 00 || 0, 0, 0, 0 || ALIGN=LEFT | | | 0x20 || color || BGCOLOR="#C8FFC8" | 00 00 00 00 || 0, 0, 0, 0 || ALIGN=LEFT | byte-swapped ARGB color for 1st vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x24 || color || BGCOLOR="#C8FFC8" | 00 00 00 00 || 0, 0, 0, 0 || ALIGN=LEFT | | | 0x24 || color || BGCOLOR="#C8FFC8" | 00 00 00 00 || 0, 0, 0, 0 || ALIGN=LEFT | byte-swapped ARGB color for 2nd vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x28 || color || BGCOLOR="#C8FFC8" | 02 07 09 00 || 2, 7, 9, 0 || ALIGN=LEFT | | | 0x28 || color || BGCOLOR="#C8FFC8" | 02 07 09 00 || 2, 7, 9, 0 || ALIGN=LEFT | byte-swapped ARGB color for 3rd vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x2C || color || BGCOLOR="#C8FFC8" | 06 15 1E 00 || 6, 21, 30, 0 || ALIGN=LEFT | | | 0x2C || color || BGCOLOR="#C8FFC8" | 06 15 1E 00 || 6, 21, 30, 0 || ALIGN=LEFT | byte-swapped ARGB color for 4th vertex | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x30 || | | 0x30 || bit32 || BGCOLOR="#C8FFFF" | 00 00 08 02 || 0, 0, 8, 2 || ALIGN=LEFT | flags (see below) | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
| 0x34 || | | 0x34 || int16 || BGCOLOR="#FFC8FF" | FF FF || -1 || ALIGN=LEFT | object ID (obsolete?) | ||
|- ALIGN=CENTER VALIGN=TOP | |||
| 0x36 || int16 || BGCOLOR="#FFC8FF" | FF FF || -1 || ALIGN=LEFT | object type (obsolete?) | |||
|} | |} | ||
: | ;Objects | ||
:Those IDs and types also appear in [[ONOA]]. Types are: | |||
: | *0x00 03 - door | ||
*0x00 05 - furniture | |||
*0x00 13 - trigger | |||
*0x00 14 - turret | |||
*0x00 15 - console | |||
:They seem obsolete (but may be useful for selective viewing/extracting of environment) | |||
;Triangles | |||
:Many quads are in fact triangles: the last two vertices have the same PNTA and TXCA entries, and the ARGB color is (255, 205, 205, 205) (80% gray, 100% opaque). There is alos a flag specifying that (see below). | |||
;Flags | |||
:0x'''01''' 00 00 00 - unknown | |||
:0x'''02''' 00 00 00 - ghost | |||
:0x'''04''' 00 00 00 - stairs up | |||
:0x'''08''' 00 00 00 - stairs down | |||
:0x'''10''' 00 00 00 - stairs | |||
:0x'''20''' 00 00 00 - unknown | |||
:0x'''40''' 00 00 00 - triangle | |||
:0x'''80''' 00 00 00 - unknown | |||
:0x00 '''01''' 00 00 - unknown | |||
:0x00 '''02''' 00 00 - two-sided | |||
:0x00 '''04''' 00 00 - unknown | |||
:0x00 '''08''' 00 00 - unknown | |||
:0x00 '''10''' 00 00 - unknown | |||
:0x00 '''20''' 00 00 - invisible | |||
:0x00 '''40''' 00 00 - no object collision | |||
:0x00 '''80''' 00 00 - no character collision | |||
:0x00 00 '''01''' 00 - no occlusion | |||
:0x00 00 '''02''' 00 - danger | |||
:0x00 00 '''04''' 00 - unknown | |||
:0x00 00 '''08''' 00 - unknown | |||
:0x00 00 '''10''' 00 - unknown | |||
:0x00 00 '''20''' 00 - unknown | |||
:0x00 00 '''40''' 00 - ignore grid | |||
:0x00 00 '''80''' 00 - no decal | |||
:0x00 00 00 '''01''' - furniture | |||
:0x00 00 00 '''02''' - unknown | |||
:0x00 00 00 '''04''' - unknown | |||
:0x00 00 00 '''08''' - sound-transparent | |||
:0x00 00 00 '''10''' - impassable | |||
:0x00 00 00 '''20''' - unknown | |||
:0x00 00 00 '''40''' - unknown | |||
:0x00 00 00 '''80''' - unknown | |||
---- | ---- | ||
: | : | ||
{{OBD_File_Footer | type=AGQG | prev=AGQC | next=AGQR | name=Gunk Quad General Array}} | {{OBD_File_Footer | type=AGQG | prev=AGQC | next=AGQR | name=Gunk Quad General Array}} | ||
: | : |
Revision as of 00:34, 16 April 2007
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | file id | 01 49 02 00 | 585 | 00585-.AGQG |
0x04 | level id | 01 00 00 06 | 3 | level 3 |
0x08 | unused (20) | AD DE | dead | not used |
0x1C | int32 | 15 A8 00 00 | 35349 | 35349 quads in array |
First quad (outlined in black) | ||||
0x00 | int32 | 00 00 00 00 | 0 | PNTA element for 1st vertex |
0x04 | int32 | 01 00 00 00 | 1 | PNTA element for 2nd vertex |
0x08 | int32 | 02 00 00 00 | 2 | PNTA element for 3rd vertex |
0x0C | int32 | 03 00 00 00 | 3 | PNTA element for 4th vertex |
0x10 | int32 | F5 0F 00 00 | 4085 | TXCA element for 1st vertex |
0x14 | int32 | F3 0F 00 00 | 4083 | TXCA element for 2nd vertex |
0x18 | int32 | F4 0F 00 00 | 4084 | TXCA element for 3rd vertex |
0x1C | int32 | F6 0F 00 00 | 4086 | TXCA element for 4th vertex |
0x20 | color | 00 00 00 00 | 0, 0, 0, 0 | byte-swapped ARGB color for 1st vertex |
0x24 | color | 00 00 00 00 | 0, 0, 0, 0 | byte-swapped ARGB color for 2nd vertex |
0x28 | color | 02 07 09 00 | 2, 7, 9, 0 | byte-swapped ARGB color for 3rd vertex |
0x2C | color | 06 15 1E 00 | 6, 21, 30, 0 | byte-swapped ARGB color for 4th vertex |
0x30 | bit32 | 00 00 08 02 | 0, 0, 8, 2 | flags (see below) |
0x34 | int16 | FF FF | -1 | object ID (obsolete?) |
0x36 | int16 | FF FF | -1 | object type (obsolete?) |
- Objects
- Those IDs and types also appear in ONOA. Types are:
- 0x00 03 - door
- 0x00 05 - furniture
- 0x00 13 - trigger
- 0x00 14 - turret
- 0x00 15 - console
- They seem obsolete (but may be useful for selective viewing/extracting of environment)
- Triangles
- Many quads are in fact triangles: the last two vertices have the same PNTA and TXCA entries, and the ARGB color is (255, 205, 205, 205) (80% gray, 100% opaque). There is alos a flag specifying that (see below).
- Flags
- 0x01 00 00 00 - unknown
- 0x02 00 00 00 - ghost
- 0x04 00 00 00 - stairs up
- 0x08 00 00 00 - stairs down
- 0x10 00 00 00 - stairs
- 0x20 00 00 00 - unknown
- 0x40 00 00 00 - triangle
- 0x80 00 00 00 - unknown
- 0x00 01 00 00 - unknown
- 0x00 02 00 00 - two-sided
- 0x00 04 00 00 - unknown
- 0x00 08 00 00 - unknown
- 0x00 10 00 00 - unknown
- 0x00 20 00 00 - invisible
- 0x00 40 00 00 - no object collision
- 0x00 80 00 00 - no character collision
- 0x00 00 01 00 - no occlusion
- 0x00 00 02 00 - danger
- 0x00 00 04 00 - unknown
- 0x00 00 08 00 - unknown
- 0x00 00 10 00 - unknown
- 0x00 00 20 00 - unknown
- 0x00 00 40 00 - ignore grid
- 0x00 00 80 00 - no decal
- 0x00 00 00 01 - furniture
- 0x00 00 00 02 - unknown
- 0x00 00 00 04 - unknown
- 0x00 00 00 08 - sound-transparent
- 0x00 00 00 10 - impassable
- 0x00 00 00 20 - unknown
- 0x00 00 00 40 - unknown
- 0x00 00 00 80 - unknown
ONI BINARY DATA |
---|
AGQC << Other file types >> AGQR |
AGQG : Gunk Quad General Array |
[[OBD:File types/{{{family}}}|{{{family}}} file]] |