home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Toolkit for DOOM
/
DOOMTOOL.ISO
/
editors
/
wadgc2.zip
/
WADLC.NFO
< prev
Wrap
Text File
|
1994-07-31
|
3KB
|
119 lines
WADLC - a simple PWAD level map compiler (pre-release version, July 27, 1994)
The program takes a text input file, and creates a PWAD file for Doom
version 1.1, 1.2 or 1.5 containing data for a new level map.
The output PWAD needs to be run through a node-builder before it is
functional. IDBSP works fine for me.
The input file should consist of four sections: vertices, sectors, linedefs
and things. Vertices and sectors are defined once and referenced by name
in the linedefs section. Things are just listed with type, coordinates and
attributes.
NOTE: The current version supports only one level per input file. This is
easily changed, but I don't need it right now. You could make the levels
in separate PWADs and concatenate them with DEU or something.
The input file syntax is as follows:
Level specification:
--------------------
LEVEL_START <episode> <level>
...
LEVEL_END
Between LEVEL_START and LEVEL_END there should be four sections:
The vertices section:
-----------------
VERTEXES_START
<symbolic name> : <x-coordinate> <y-coordinate>
...
VERTEXES_END
The correct spelling "VERTICES_START" and "VERTICES_END" is allowed. ;-)
The sectors section:
--------------------
SECTORS_START
<symbolic name> : <floorheight> <ceilingheight> <floortexture> <ceilingtexture> <brightness> <special> <tag>
...
SECTORS_END
The linedefs section:
---------------------
LINEDEFS_START
<from> <to> : <attrs> <type> <tag>
<sector> <xoffset> <yoffset> <uppertexture> <lowertexture> <normaltexture>
<left sidedef exactly like above, or "-" if no second sidedef>
<from> <to> : <attrs> <type> <tag>
<right sidedef>
<left sidedef or "-">
...
LINEDEFS_END
The things section:
-------------------
THINGS_START
<type> : <x> <y> <angle> <attributes>
...
THINGS_END
Example input file:
----------------
# A minimal test level with only two sectors and an end switch
LEVEL_START 1 1
VERTEXES_START
V1 : 0 0
V2 : 0 128
V3 : 128 128
V4 : 128 0
V5 : 0 256
V6 : 128 256
VERTEXES_END
SECTORS_START
S1 : 0 96 FLOOR0_3 FLAT18 255 0 0
S2 : 0 128 FLOOR0_3 FLAT18 192 0 0
SECTORS_END
LINEDEFS_START
V1 V2 : 1 0 0
S1 0 0 - - GRAY4
-
V2 V3 : 4 0 0 # Two-sided border between S1 & S2
S1 0 0 - - -
S2 0 0 GRAY4 - - # Upper texture - S1 has lower ceiling
V3 V4 : 1 0 0
S1 0 0 - - GRAY4
-
V4 V1 : 1 48 0 # Animated wall just for fun
S1 0 0 - - GRAY4
-
V2 V5 : 1 0 0
S2 0 0 - - GRAY4
-
V5 V6 : 1 11 0 # End-level switch
S2 0 0 - - SW1COMP
-
V6 V3 : 1 0 0
S2 0 0 - - GRAY4
-
LINEDEFS_END
THINGS_START
1 : 64 64 90 7 # A player 1 start and nothing else
THINGS_END
LEVEL_END