here's some lines from a map file... 4 WALL14_5 0 0 0 0 0 0 (0,912,176,144) (0,928,176,144) (16,928,176,144) (16,912,176,144) 4 WALL14_5 0 0 0 0 0 0 (192,928,144,0) (192,1040,144,0) (208,1040,144,0) (208,928,144,0) it's like coordinates specifying a brush and a texture and some other stuff.
{ "wad" "/raid/quake/id1_/gfx/base.wad" "classname" "worldspawn" { ( 0 832 0 ) ( 0 496 0 ) ( 0 496 -16 ) TECH07_2 0 0 0 ( 384 720 0 ) ( -16 720 0 ) ( -16 720 -16 ) TECH07_2 0 0 0 ( 208 496 0 ) ( 208 832 0 ) ( 208 832 -16 ) TECH07_2 0 0 0 ( 0 496 0 ) ( 400 496 0 ) ( 400 496 -16 ) TECH07_2 0 0 0 ( 0 496 0 ) ( 0 832 0 ) ( 400 832 0 ) TECH07_2 0 0 0 ( 400 832 -16 ) ( 0 832 -16 ) ( 0 496 -16 ) TECH07_2 0 0 0 } { ( 0 832 144 ) ( 0 496 144 ) ( 0 496 128 ) TECH07_2 0 0 0 ( 400 720 144 ) ( 0 720 144 ) ( 0 720 128 ) TECH07_2 0 0 0 ( 208 496 144 ) ( 208 832 144 ) ( 208 832 128 ) TECH07_2 0 0 0 ( 0 496 144 ) ( 400 496 144 ) ( 400 496 128 ) TECH07_2 0 0 0 ( 0 496 144 ) ( 0 832 144 ) ( 400 832 144 ) TECH07_2 0 0 0 ( 400 832 128 ) ( 0 832 128 ) ( 0 496 128 ) TECH07_2 0 0 0 } { ( 0 720 128 ) ( 0 704 128 ) ( 0 704 0 ) TECH07_2 0 0 0 ( 400 720 128 ) ( 0 720 128 ) ( 0 720 0 ) TECH07_2 0 0 0 ( 208 704 128 ) ( 208 720 128 ) ( 208 720 0 ) TECH07_2 0 0 0 ( 0 704 128 ) ( 400 704 128 ) ( 400 704 0 ) TECH07_2 0 0 0 ( 0 704 128 ) ( 0 720 128 ) ( 400 720 128 ) TECH07_2 0 0 0 ( 400 720 0 ) ( 0 720 0 ) ( 0 704 0 ) TECH07_2 0 0 0 } { ( 0 512 128 ) ( 0 496 128 ) ( 0 496 0 ) TECH07_2 0 0 0 ( 400 512 128 ) ( 0 512 128 ) ( 0 512 0 ) TECH07_2 0 0 0 ( 208 480 128 ) ( 208 496 128 ) ( 208 496 0 ) TECH07_2 0 0 0 ( 0 496 128 ) ( 400 496 128 ) ( 400 496 0 ) TECH07_2 0 0 0 ( 0 496 128 ) ( 0 512 128 ) ( 400 512 128 ) TECH07_2 0 0 0 ( 400 512 0 ) ( 0 512 0 ) ( 0 496 0 ) TECH07_2 0 0 0 } { ( 0 512 128 ) ( 16 512 128 ) ( 16 512 0 ) TECH07_2 0 0 0 ( 0 816 128 ) ( 0 512 128 ) ( 0 512 0 ) TECH07_2 0 0 0 ( 0 704 128 ) ( -16 704 128 ) ( -16 704 0 ) TECH07_2 0 0 0 ( 16 512 128 ) ( 16 816 128 ) ( 16 816 0 ) TECH07_2 0 0 0 ( 16 512 128 ) ( 0 512 128 ) ( 0 816 128 ) TECH07_2 0 0 0 ( 0 816 0 ) ( 0 512 0 ) ( 16 512 0 ) TECH07_2 0 0 0 } { ( 192 512 128 ) ( 208 512 128 ) ( 208 512 0 ) TECH07_2 0 0 0 ( 192 816 128 ) ( 192 512 128 ) ( 192 512 0 ) TECH07_2 0 0 0 ( 192 704 128 ) ( 176 704 128 ) ( 176 704 0 ) TECH07_2 0 0 0 ( 208 512 128 ) ( 208 816 128 ) ( 208 816 0 ) TECH07_2 0 0 0 ( 208 512 128 ) ( 192 512 128 ) ( 192 816 128 ) TECH07_2 0 0 0 ( 192 816 0 ) ( 192 512 0 ) ( 208 512 0 ) TECH07_2 0 0 0 } } { "angle" "0" "origin" "72 568 32" "classname" "info_player_start" } { "light" "400" "angle" "0" "origin" "64 672 96" "classname" "light" } { "origin" "160 672 32" "classname" "info_player_deathmatch" }To clarify, in this revision of the MAP file format, the trailing zeros in a plane like
"( 0 816 0 ) ( 0 512 0 ) ( 16 512 0 ) TECH07_2 0 0 0"are s_ofs, t_ofs, and flags. I.e. a texture offset s_ofs=16, t_ofs=-32, with negate_s, negate_t, and exch_st all set will read
" ... TECH07_2 1 -2 7 1.0 1.0"instead. Note that texture offsets are currently multiples of 16.
This is, hoever, not the current MAP format, as in the jrbase1 MAP file (670K) from the shareware version (released with the QuakeEd source) there are two floating point numbers added to each Plane definition, which are probably dummies right now, and the flags have vanished.