home *** CD-ROM | disk | FTP | other *** search
/ Toolkit for DOOM / DOOMTOOL.ISO / editors / wadgc2.zip / WADLC.NFO < prev   
Text File  |  1994-07-31  |  3KB  |  119 lines

  1. WADLC - a simple PWAD level map compiler (pre-release version, July 27, 1994)
  2.  
  3. The program takes a text input file, and creates a PWAD file for Doom
  4. version 1.1, 1.2 or 1.5 containing data for a new level map.
  5. The output PWAD needs to be run through a node-builder before it is
  6. functional. IDBSP works fine for me.
  7.  
  8. The input file should consist of four sections: vertices, sectors, linedefs
  9. and things. Vertices and sectors are defined once and referenced by name
  10. in the linedefs section. Things are just listed with type, coordinates and
  11. attributes.
  12.  
  13. NOTE: The current version supports only one level per input file. This is
  14. easily changed, but I don't need it right now. You could make the levels
  15. in separate PWADs and concatenate them with DEU or something.
  16.  
  17. The input file syntax is as follows:
  18.  
  19.  
  20. Level specification:
  21. --------------------
  22. LEVEL_START <episode> <level>
  23.  ...
  24. LEVEL_END
  25.  
  26. Between LEVEL_START and LEVEL_END there should be four sections:
  27.  
  28.  
  29. The vertices section:
  30. -----------------
  31.  VERTEXES_START
  32.   <symbolic name> : <x-coordinate> <y-coordinate>
  33.   ...
  34.  VERTEXES_END
  35.  
  36. The correct spelling "VERTICES_START" and "VERTICES_END" is allowed. ;-)
  37.  
  38.  
  39. The sectors section:
  40. --------------------
  41.  SECTORS_START
  42.   <symbolic name> : <floorheight> <ceilingheight> <floortexture> <ceilingtexture> <brightness> <special> <tag>
  43.  ...
  44.  SECTORS_END
  45.  
  46.  
  47. The linedefs section:
  48. ---------------------
  49.  LINEDEFS_START
  50.   <from> <to> : <attrs> <type> <tag>
  51.    <sector> <xoffset> <yoffset> <uppertexture> <lowertexture> <normaltexture>
  52.    <left sidedef exactly like above, or "-" if no second sidedef>
  53.   <from> <to> : <attrs> <type> <tag>
  54.    <right sidedef>
  55.    <left sidedef or "-">
  56.   ...
  57.  LINEDEFS_END
  58.  
  59.  
  60. The things section:
  61. -------------------
  62.  THINGS_START
  63.   <type> : <x> <y> <angle> <attributes>
  64.   ...
  65.  THINGS_END
  66.  
  67.  
  68. Example input file:
  69. ----------------
  70. # A minimal test level with only two sectors and an end switch
  71. LEVEL_START 1 1
  72.  
  73.  VERTEXES_START
  74.   V1 : 0 0
  75.   V2 : 0 128
  76.   V3 : 128 128
  77.   V4 : 128 0
  78.   V5 : 0 256
  79.   V6 : 128 256
  80.  VERTEXES_END
  81.  
  82.  SECTORS_START
  83.   S1 : 0 96 FLOOR0_3 FLAT18 255 0 0
  84.   S2 : 0 128 FLOOR0_3 FLAT18 192 0 0
  85.  SECTORS_END
  86.  
  87.  LINEDEFS_START
  88.   V1 V2 : 1 0 0
  89.    S1 0 0 - - GRAY4
  90.    -
  91.   V2 V3 : 4 0 0  # Two-sided border between S1 & S2
  92.    S1 0 0 - - -
  93.    S2 0 0 GRAY4 - - # Upper texture - S1 has lower ceiling
  94.   V3 V4 : 1 0 0
  95.    S1 0 0 - - GRAY4
  96.    -
  97.   V4 V1 : 1 48 0 # Animated wall just for fun
  98.    S1 0 0 - - GRAY4
  99.    -
  100.  
  101.   V2 V5 : 1 0 0
  102.    S2 0 0 - - GRAY4
  103.    -
  104.   V5 V6 : 1 11 0 # End-level switch
  105.    S2 0 0 - - SW1COMP
  106.    -
  107.   V6 V3 : 1 0 0
  108.    S2 0 0 - - GRAY4
  109.    -
  110.  LINEDEFS_END
  111.  
  112.  THINGS_START
  113.   1 : 64 64 90 7 # A player 1 start and nothing else
  114.  THINGS_END
  115.  
  116. LEVEL_END
  117.  
  118.  
  119.