LEV Geometry Description

The first data is the total number of sectors in the level :

| NUMSECTORS number_of_sectors

Then each sector is described, with its vertices and walls.

Please note that the wall data is on ONE line, but has been split here for visual convenience.

| SECTOR scnum
| NAME sector_name
| AMBIENT 20
| FLOOR TEXTURE 80 -0.38 -0.06 2
| FLOOR ALTITUDE 0.00
| CEILING TEXTURE 0 0.00 0.00 2
| CEILING ALTITUDE -12.00
| SECOND ALTITUDE 0.00
| FLAGS 0 0 0
| LAYER 1
|
| VERTICES numvx
| X: 252.00 Z: 224.00 # a vx
| ...
|
| WALLS numwl
| WALL LEFT: 0 RIGHT: 1
\ MID: 0 0.00 0.00 0
\ TOP: 1 0.00 0.00 0
\ BOT: 2 0.17 0.00 0
\ SIGN: -1 0.00 0.00
\ ADJOIN: 57 MIRROR: 0 WALK: 57
\ FLAGS: 0 0 0
\ LIGHT: 5
| ...

Hmmm... heavy information!

Click a section to take it apart, it's not too difficult.