Previous File TypeAGQG FILENext File Type
Gunk Quad General Array - Level File

HexTranslationMeaning
01 49 02 0058500585-.AGQG
01 00 00 063level 3
AD DEdeadnot used
15 A8 00 003534935349 packages follow (one package is edged in black)
Below follows the first package.
00 00 00 000first PNTA package number
01 00 00 001second PNTA package number
02 00 00 002third PNTA package number
03 00 00 003fourth PNTA package number
F5 0F 00 004085first TXCA package number
F3 0F 00 004083second TXCA package number
F4 0F 00 004084third TXCA package number
F6 0F 00 004086fourth TXCA package number
00 00 00 000, 0, 0; 0colour (blue, green, red); transparency
00 00 00 000, 0, 0; 0colour (blue, green, red); transparency
02 07 09 002, 7, 9; 0colour (blue, green, red); transparency
06 15 1E 006, 21, 30; 0colour (blue, green, red); transparency
00 00 08 020, 0, 8, 2options; it's a bitset; the following bits are used:

01000000 - door frame (invisible quad that uses the TXMP_DOOR_FRAME texture) (Thanks to Neo)
02000000 - ghost
04000000 - stairs up
08000000 - stairs down
10000000 - stairs
20000000 - set at runtime for jello gunk quads (jello = gunk quad is transparent if the camera is behind it) (Thanks to geyser and Neo.)
40000000 - gunk quad is a triangle (the last two verticies are the same) (Thanks to geyser and Neo.)
80000000 - transparency (if not used, then alpha is ignored and the colour is just RGB shading) (Thanks to geyser and Neo.)
00020000 - two-sided
00080000 - no collision
00200000 - invisible
00400000 - no object collision
00800000 - no character collision
00000100 - no occlusion
00000200 - danger
00000400 - set at runtime for gunk quads that are hidden with the script command env_show (Thanks to geyser and Neo.)
00000800 - vertical collision: slope < 70°
00001000 - horizontal collision: slope > 70°
00004000 - ignore grid
00008000 - no decal
00000001furniture
00000002projection plan bit 0
00000004projection plan bit 1
00000008sound-transparent
00000010impassable

FF FF-1old file ID (only used for objects)
FF FF-1high bit (only used for objects); the following high bits are used (values in dec):

3 - door (from the Door.BINA file)
5 - furniture (from the Furniture.BINA file)
13 - trigger (from the Trigger.BINA file)
14 - turret (from the Turret.BINA file)
15 - console (from the Console.BINA file)

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


Previous File TypeBack to File TypesNext File Type

Back to main page