279
edits
mNo edit summary |
m (...) |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 9: | Line 9: | ||
{{OBDtr | 0x00 | res_id |FF0000| 01 49 02 00 | 585 | 00585-.AGQG }} | {{OBDtr | 0x00 | res_id |FF0000| 01 49 02 00 | 585 | 00585-.AGQG }} | ||
{{OBDtr | 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | level 3 }} | {{OBDtr | 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | level 3 }} | ||
{{OBDtr | 0x08 |char[20]|00FF00| AD DE | dead | | {{OBDtr | 0x08 |char[20]|00FF00| AD DE | dead | padding }} | ||
{{OBDtr | 0x1C | | {{OBDtr | 0x1C | uint32 |00FFFF| 15 A8 00 00 | 35349 | array size }} | ||
{{OBDtrBK}} | {{OBDtrBK}} | ||
{{OBDtr | 0x00 | | {{OBDtr | 0x00 | uint32 |FFC8C8| 00 00 00 00 | 0 | [[OBD:PNTA|PNTA]] element for 1st vertex }} | ||
{{OBDtr | 0x04 | | {{OBDtr | 0x04 | uint32 |FFC8C8| 01 00 00 00 | 1 | [[OBD:PNTA|PNTA]] element for 2nd vertex }} | ||
{{OBDtr | 0x08 | | {{OBDtr | 0x08 | uint32 |FFC8C8| 02 00 00 00 | 2 | [[OBD:PNTA|PNTA]] element for 3rd vertex }} | ||
{{OBDtr | 0x0C | | {{OBDtr | 0x0C | uint32 |FFC8C8| 03 00 00 00 | 3 | [[OBD:PNTA|PNTA]] element for 4th vertex }} | ||
{{OBDtr | 0x10 | | {{OBDtr | 0x10 | uint32 |FFFFC8| F5 0F 00 00 | 4085 | [[OBD:TXCA|TXCA]] element for 1st vertex }} | ||
{{OBDtr | 0x14 | | {{OBDtr | 0x14 | uint32 |FFFFC8| F3 0F 00 00 | 4083 | [[OBD:TXCA|TXCA]] element for 2nd vertex }} | ||
{{OBDtr | 0x18 | | {{OBDtr | 0x18 | uint32 |FFFFC8| F4 0F 00 00 | 4084 | [[OBD:TXCA|TXCA]] element for 3rd vertex }} | ||
{{OBDtr | 0x1C | | {{OBDtr | 0x1C | uint32 |FFFFC8| F6 0F 00 00 | 4086 | [[OBD:TXCA|TXCA]] element for 4th vertex }} | ||
{{OBDtr | 0x20 | color |C8FFC8| 00 00 00 00 | 0, 0, 0, 0 | byte-swapped ARGB color for 1st vertex }} | {{OBDtr | 0x20 | color |C8FFC8| 00 00 00 00 | 0, 0, 0, 0 | byte-swapped ARGB color for 1st vertex }} | ||
{{OBDtr | 0x24 | color |C8FFC8| 00 00 00 00 | 0, 0, 0, 0 | byte-swapped ARGB color for 2nd vertex }} | {{OBDtr | 0x24 | color |C8FFC8| 00 00 00 00 | 0, 0, 0, 0 | byte-swapped ARGB color for 2nd vertex }} | ||
Line 30: | Line 30: | ||
:0x'''08''' 00 00 00 - stairs down | :0x'''08''' 00 00 00 - stairs down | ||
:0x'''10''' 00 00 00 - stairs | :0x'''10''' 00 00 00 - stairs | ||
:0x'''40''' 00 00 00 - triangle (see | :0x'''20''' 00 00 00 - (runtime only) marks quads as [[Jello-cam|jelloed]]; never used in file data | ||
:0x'''40''' 00 00 00 - triangle (see below) | |||
:0x'''80''' 00 00 00 - transparency (if 0 then alpha is ignored, color is just RGB shading) | :0x'''80''' 00 00 00 - transparency (if 0 then alpha is ignored, color is just RGB shading) | ||
:0x00 01 00 00 - unused ("draw flash") | |||
:0x00 '''02''' 00 00 - two-sided | :0x00 '''02''' 00 00 - two-sided | ||
:0x00 04 00 00 - unused ("trigger") | |||
:0x00 '''08''' 00 00 - no collision | :0x00 '''08''' 00 00 - no collision | ||
:0x00 10 00 00 - unused ("flash state") | |||
:0x00 '''20''' 00 00 - invisible | :0x00 '''20''' 00 00 - invisible | ||
:0x00 '''40''' 00 00 - no object collision | :0x00 '''40''' 00 00 - no object collision | ||
Line 39: | Line 43: | ||
:0x00 00 '''01''' 00 - no occlusion | :0x00 00 '''01''' 00 - no occlusion | ||
:0x00 00 '''02''' 00 - danger | :0x00 00 '''02''' 00 - danger | ||
:0x00 00 '''04''' 00 - (runtime only) marks quads hidden with [[env_show]]; never used in file data | |||
:0x00 00 '''08''' 00 - vertical collision: slope < 70° | :0x00 00 '''08''' 00 - vertical collision: slope < 70° | ||
:0x00 00 '''10''' 00 - horizontal collision: slope > 70° | :0x00 00 '''10''' 00 - horizontal collision: slope > 70° | ||
:0x00 00 '''20''' 00 - unused, runtime only ("breakable") | |||
:0x00 00 '''40''' 00 - grid ignore | :0x00 00 '''40''' 00 - grid ignore | ||
:0x00 00 '''80''' 00 - no decal | :0x00 00 '''80''' 00 - no decal | ||
Line 49: | Line 55: | ||
:0x00 00 00 '''10''' - impassable | :0x00 00 00 '''10''' - impassable | ||
}} | }} | ||
{{OBDtr | 0x34 | | {{OBDtr | 0x34 | uint32 |FFC8FF| FF FF FF FF | -1 | object ID and type to which this quad belongs (see [[ONOA]] for details); -1 if it does not belong to an object }} | ||
{{OBDtrBK|Data fields exclusive to the PS2 implementation (4 extra bytes at the end of each AGQG array element)}} | |||
{{OBDtr | 0x38 | int16 |FFC8FF| 00 80 | 32768 (high bit set) | unknown; always the same? }} | |||
{{OBDtr | 0x3A | int16 |FFC8FF| 00 80 | 32768 (high bit set) | unknown; always the same? }} | |||
|} | |} | ||
;Triangles | ;Triangles | ||
:Many quads are in fact triangles: the last two vertices have the same [[OBD:PNTA|PNTA]] and [[OBD:TXCA|TXCA]] entries, and the ARGB color is (255, 205, 205, 205) (80% gray, 100% opaque). There is also a flag specifying that. | :Many quads are in fact triangles: the last two vertices have the same [[OBD:PNTA|PNTA]] and [[OBD:TXCA|TXCA]] entries, and the ARGB color is (255, 205, 205, 205) (80% gray, 100% opaque). There is also a flag specifying that. | ||
Line 97: | Line 105: | ||
:Prevents the creation of decals on the quad. Set for door quads because the decals would disappear when the door opens. That's why shooting a door doesn't leave a mark. | :Prevents the creation of decals on the quad. Set for door quads because the decals would disappear when the door opens. That's why shooting a door doesn't leave a mark. | ||
{{OBD_File_Footer | type=AGQG | prev=AGQC | next=AGQR | name=Gunk Quad General Array | family=Level}} | |||
{{ | {{OBD}} |
edits