home *** CD-ROM | disk | FTP | other *** search
/ The Doom Hacker's Guide / DoomHackersGuideCd.bin / editors / deu / deu.txt < prev    next >
Text File  |  1994-05-21  |  60KB  |  1,601 lines

  1.  
  2.   _______________     ___________    _____     _____ ___________________
  3.    \ ------------\\  //---------\\  //----|    |----\\\ --------------//
  4.     ||           ||\|| ===========\||    ||    ||   || ||             ||
  5.     ||  =======  || || ||\_________||    ||    ||   || ||  ============|
  6.     ||  ||   ||  || || || |        ||    ||    ||   || ||  ||__________|
  7.     ||  ||   ||  || || ||========/\||    ||    ||   || ||  ||
  8.     ||  ||   ||  || ||         // /||    ||    ||   || ||  ||
  9.     ||  ||   ||  || || ||=====// / ||    ||    ||   || ||  ||=========\
  10.     ||  ||   ||  || || ||\------/  ||    ||   //   //  ||             \\
  11.     ||  ||  //    \\||  \\| /===/\ ||    || //   //  / ||              ||
  12.     ||  ||//      //\\\  \\////   ||\\   \\//  //  / |//============\\ ||
  13.     ||  |/      //   / \\  //   / /  \\      //  /   //------------ || ||
  14.     ||        //    /    \/   /    \  \======/ /                  | || ||
  15.     ||      //    /        \/       \--------/            /\=====\\ || ||
  16.     ||    //    /                                        /   \\   \\|| ||
  17.     ||  //    /                                           \    \\  \\| ||
  18.     ||//    /                    DEU 5.2                    \    \\    ||
  19.     |/    /                     >-------<                     \    \\  //
  20.     /   /               DOOM(TM) EDITOR UTILITIES               \    \//
  21.      \/                                                           \__/
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.                                 INDEX
  44.  
  45.      1  Introduction and DEU Features
  46.  
  47.      2  Starting DEU
  48.          2.1  Command line parameters
  49.          2.2  Preference Settings
  50.          2.3  Initialization file DEU.INI
  51.  
  52.      3  DEU Main Menu
  53.  
  54.      4  The Level Editor
  55.          4.1  Keyboard Quick Reference
  56.          4.2  Keyboard Commands Full Description
  57.          4.3  Mouse Commands
  58.          4.4  The Menu Bar
  59.  
  60.      5  WAD file description, flags, etc...
  61.          5.1  Vertices (description of)
  62.          5.2  LineDefs (description of)
  63.          5.3  SideDefs (description of)
  64.          5.4  Sectors  (description of)
  65.          5.5  Things   (description of)
  66.          5.6  LineDefs attributes     
  67.          5.7  LineDefs types
  68.          5.8  Normal/Upper/and Lower Textures
  69.  
  70.      6  Special DOOM Areas.  Lifts, Doors, and more!
  71.          6.1  Doors
  72.          6.2  Lifts
  73.          6.3  Teleporters
  74.          6.4  Stairs
  75.          6.5  Secret Areas
  76.          6.6  Standard Rooms
  77.  
  78.      7  How to try out your new level(s)
  79.  
  80.      8  Troubleshooting
  81.          8.1  Video problems
  82.          8.2  Pointer problems (mouse, cursor)
  83.          8.3  Hall of mirrors (HOM) effect
  84.          8.4  The 'Ruler' cursor leaves garbage on the screen.
  85.          8.x  Coming down off a DOOM rush.
  86.  
  87.      9  Tutorial
  88.  
  89.     10  Tips
  90.          10.1  Generic editing tips
  91.          10.2  DOOM/DEU limitations
  92. =====================================================================
  93. [1] Introduction
  94. =====================================================================
  95.  
  96. DEU is an extremely powerful DOS based editor that enables you to add your
  97. creativity to one of the most exciting PC games on the market...
  98.  
  99.      D   O   O   M
  100.  
  101.      (c) id software
  102.  
  103. (Please read the file README.1ST first.  It contains important
  104. information about copyrights and trademarks.)
  105.  
  106.  
  107. DEU Features
  108. ------------
  109.  
  110. - Full Function Level Editor
  111.      - Most doom structures can be edited.
  112.           (Things, Vertices, Linedefs, Sidedefs, Sectors, Demos, more...)
  113.      - Create a Level From Scratch.
  114.      - Modify existing id levels or user created levels.
  115.  
  116. - Special Features
  117.      - Insert a Pre-defined object
  118.           - Rectangle
  119.           - N-sided Polygon
  120.      - 'Drag-n-Drop' stretching and shrinking of sectors.
  121.      - Scale and rotate sectors, linedefs, vertices, or things.  
  122.      - Quickly define an area (selection box) and mass select
  123.        everything in it.
  124.      - Sector floor/ceiling height distributor for easy stairways.
  125.  
  126. - Diagnostic Tools
  127.      - Detects WAD errors.
  128.      - Warns you if you've forgotten player start things.
  129.      - Can automatically correct some problems.
  130.      - Use this to fix those problem wads, even if you created them with
  131.        other editors.  (Note: if the other editor uses non-standard
  132.        constructs you may not be able to take the WAD back to the other
  133.        editor.)
  134.  
  135. - WAD File merging capability.
  136.      - Load and Merge multiple levels into a single WAD file.
  137.  
  138. - Import RAW data into DOOM object and save it in a PWAD.
  139.  
  140. - Renumber Maps to different Episodes and Levels.
  141.  
  142. - Much Much More!  
  143.      - Try it and see.  Just DEU it!
  144.  
  145. =====================================================================
  146. [2]  Starting DEU
  147. =====================================================================
  148.  
  149. DEU may be started by typing DEU at a DOS prompt.
  150.  
  151. >  DEU [options]
  152.  
  153.      Start DEU with the default IWAD file, DOOM.WAD and no PWADs.
  154.  
  155. >  DEU [options] -file <PWAD file> [<PWAD file>...]
  156.  
  157.      Start DEU with the default IWAD file and the PWAD file(s)
  158.      given.
  159.  
  160. >  DEU [options] -w <IWAD file>
  161.  
  162.      Start DEU with the specified main IWAD file (DOOM.WAD or
  163.      DOOM1.WAD).
  164.  
  165.  
  166. [2.1]  Command Line Parameters
  167. ------------------------------
  168.  
  169. Note: The effect of the Boolean options (-i, -s0, ...) may be reversed by
  170.       using a '+' instead of a '-'.  For example, '+i' means 'no info bar'.
  171.  
  172. -help
  173.      View command line options without entering DEU.
  174.  
  175. -a   (-addselbox)
  176.      Additive selection box.  Objects will be added to the current selection
  177.      (when you use the selection box) instead of replacing the current
  178.      selection by what is in the box.
  179.  
  180. -d   (-debug)
  181.      Debug mode.  Will produce a log file of warning messages to help
  182.      track down linedefs that have problems.  The number of the
  183.      bad linedef will be listed.  This file will be called DEU.LOG.
  184.      The log file will also have timestamps.
  185.  
  186. -e   (-expert)
  187.      Expert mode.  Doesn't ask for confirmation of some
  188.      operations (e.g. deleting an object or rebuilding the Nodes).
  189.  
  190. -i   (-infobar)
  191.      Infobar.  Displays the info bar.
  192.  
  193. -sb   (-swapbuttons)
  194.      Swaps the left and middle mouse buttons.
  195.  
  196. -q   (-quiet)
  197.      QUIET! suppresses the sound made when you select or 
  198.      mark an object.  Use it if your in a library. :-)
  199.  
  200. -qq   (-quieter)
  201.      QUIET^2!  Complete silence.  DEU will not make any sound, not even for
  202.      warnings.  Enjoy the Silence...
  203.  
  204. -z <zoom>   (-zoom)
  205.      ZOOM.  Specify initial zoom setting.
  206.  
  207. -c   (-color2)
  208.      Use the alternate color set for displaying the Things.
  209.  
  210. -w <main wad file>   (-main)
  211.      Specify name of main wad file (e.g. DOOM.WAD).
  212.  
  213. -file <pwad, pwad, ...>
  214.      Load patch WAD file(s), just like with DOOM.   Note: Patch
  215.      wad files may also be loaded from the main menu.
  216.  
  217. -pw <pwad>   (-pwad)
  218.      Add ONE patch file to be loaded.
  219.  
  220. -bgi <video driver name>
  221.      Use another BGI video driver for hi-res modes (default = "VESA").
  222.  
  223. -v <video mode number>   (-video)
  224.      Set the default video mode for the extended video driver.
  225.      (default = 2, this is 640x480x256 colors for the VESA driver).
  226.  
  227. -fc   (-fakecursor)
  228.      Use a "fake" mouse cursor.  This option is useful is your mouse
  229.      driver is not compatible with SuperVGA resolutions (see [8.2]).
  230.  
  231. -sf   (-splitfactor)
  232.      Adjust scale on the nodes builder.  This parameter is for those techie
  233.      types that like to fiddle with things.  There is no need for the average
  234.      user to worry about this parameter.  (The default value of 8 is the same
  235.      value that id software uses.  A number less than 8 means "more balanced"
  236.      and a number higher than 8 means "least splits".  Use this parameter at
  237.      your own risk.  We recommend the default value of 8.) 
  238.  
  239. -s0   (-select0)
  240.      Select object 0 when switching modes.
  241.  
  242.  
  243. -config <ini file>
  244.      Specify an alternate DEU configuration file other than
  245.      DEU.INI
  246.  
  247.  
  248.  
  249. [2.2] Preference Settings
  250. -------------------------
  251.  
  252. The following allow you to assign default values for textures when creating
  253. new areas in your level.
  254.  
  255.  
  256. -walltexture <texture>
  257.  
  258. -lowertexture <texture>
  259.  
  260. -uppertexture <texture>
  261.  
  262. -floortexture <texture>
  263.  
  264. -ceiltexture <texture>
  265.  
  266. -floorheight <units>
  267.  
  268. -ceilheight <units>
  269.  
  270.  
  271.  
  272.  
  273. [2.3]  Initialization file DEU.INI
  274. ----------------------------------
  275.  
  276. Rather than using command line arguments you may wish to 
  277. save your typical settings in the DEU.INI file.  It's structure
  278. is pretty basic.  Use your favorite text editer to check it out.
  279.  
  280. ALL of the command line options may be used in DEU.INI with the
  281. exception of "-help" and "-config".  Commands in DEU.INI should
  282. be completely spelled out (i.e. quiet=true, not q=true)
  283.  
  284. Also, don't put the "-" in front of commands in the config file.
  285.  
  286.  
  287. And now your bonus for reading this far...
  288.  
  289. Add the following line to your DEU.INI file:
  290. #*****************
  291. reminder1 = false
  292. #*****************
  293.  
  294. This will turn off the opening reminder to read the documentation.
  295.  
  296.  
  297. =====================================================================
  298. [3] DEU Main Menu
  299. =====================================================================
  300.  
  301. ?
  302.      HELP. This command displays a list of commands with their
  303.      valid command syntax.
  304.  
  305. B <OutIWadFileName> 
  306.      BUILD new IWAD file (all 10+Megs of it) with the given file
  307.      name.  WARNING: Do not name your file DOOM.WAD or you will
  308.      overwrite the existing DOOM.WAD file and you will have to
  309.      re-install DOOM to get back your original file.
  310.  
  311. C [episode] [mission]
  312.      CREATE and edit a new (empty) level.
  313.  
  314. D <object name>
  315.      DUMP gives an hex/ascii dump of any object in the main
  316.      directory (WAD file).
  317.  
  318. E [episode] [mission]
  319.      EDIT a level.
  320.  
  321. G <OutPWadFileName>
  322.      GROUP all opened PWAD files in a compound PWAD with the given
  323.      file name.  Using this option, you may put several levels, graphics, 
  324.      sounds, demos, etc.. in a single file.
  325.  
  326. I <datafile> <wad file name for object>
  327.      INCLUDE a raw binary file in a pwad.  You can use this to replace
  328.      certain doom objects.  You should read DMSPEC13 (Doom Specs 1.3)
  329.      or higher to know what to call the objects. *WARNING* this is NOT
  330.      for novices! 
  331.  
  332. L <OpenedWadFileName> [OutputFile]
  333.      LIST the structure of the directory of a opened file.
  334.      If an output file is given it will write the list to that
  335.      file.
  336.  
  337. M [OutputFile]
  338.      List the MASTER directory of the IWAD and any PWAD files,
  339.      all mixed together.  If an output file is given it will
  340.      write the list to that file.
  341.  
  342. Q    QUIT to DOS.
  343.  
  344. R [file]
  345.      READ a previously saved patch WAD file.
  346.  
  347.           NOTICE:  If you load a PWAD with multiple levels (or
  348.           sounds, demos, graphics, etc..) and edit a level, THE SAVE
  349.           COMMAND WILL ONLY SAVE THAT MAP, not any other levels,
  350.           graphics, etc...  DO NOT name it the same as the multilevel
  351.           PWAD.
  352.  
  353.  
  354. S <DirEntry> <WadFile>
  355.      SAVE one object to a separate file.
  356.  
  357. V [Spritename]
  358.      VIEW Sprites.  Spritename is optional.  Use arrow keys to
  359.      scroll through sprite list.  Scroll through the bosses
  360.      fast and see them dance for you!!!
  361.  
  362. WADS
  363.      List all the opened wad files. 
  364.  
  365. X <object name> <data file name>
  366.      EXTRACT a DOOM object into a raw binary file.
  367.  
  368.  
  369.  
  370.  
  371. =====================================================================
  372. [4] The Level Editor
  373. =====================================================================
  374.  
  375. The level editor displays a graphical "map" of the level showing
  376. lines where walls are, x's where things are (Red one are enemies,
  377. green ones are player start positions, and the rest are white.) 
  378. There is an info bar available which displays information about the
  379. mode you are in.  There are windows to let you know what thing is 
  380. selected and windows that let you know what you can do to it.
  381.  
  382.  
  383. There are four different editing modes.  They are:
  384.  
  385. Things Mode
  386.  
  387.      Change what Enemies, Weapons, Players, Bonuses, and Decorations appear
  388.      when and where.
  389.  
  390. Vertices Mode
  391.  
  392.      Modify points used to set up other doom structures.  The vertices are the
  393.      lowest level structure in a DOOM map.   
  394.  
  395. Linedefs & Sidedefs Mode
  396.  
  397.      Set up the lines where walls and triggers are.
  398.  
  399. Sectors Mode
  400.  
  401.      Define rooms or areas.
  402.  
  403. [4.1] Keyboard Quick Reference
  404. ==============================
  405.  
  406. Basic Key Set                           Additional Speed Keys
  407. ~~~~~~~~~~~~~                           ~~~~~~~~~~~~~~~~~~~~~
  408.  
  409. Q              Quit                     1,2,...,9,0    Direct Zoom setting
  410. Esc            Exit (no save)           T              Things Mode
  411. Arrows         Move pointer             V              Vertices Mode
  412. Scroll Lock    Autoscroll on/off        L              Linedef/Sidedef Mode
  413. Space          Scroll slow/fast         S              Sector Mode
  414. +,-            ZOOM in or out.          >              Next Object
  415. Tab            Next mode                <              Previous Object
  416. Shift Tab      Previous mode            #              Jump to Object #
  417. N              Next object              Shift-H        Grid Scale = 0
  418. P              Previous object          I              Info Bar On/Off
  419. J              Jump to object #         R              Ruler/Normal Cursor
  420. M              Mark/Unmark object       Shift+Ins      Insert Lines and
  421. C              Clear all marks                         close sector
  422. O              Copy Object(s)           Shift          Move Pointer without
  423. D              Drag mode Toggle                        selecting new object
  424. G              Set Grid Scale           Shift+[Mark]   Box Object Selection
  425. H              Hide/Show Grid
  426. Enter          Edit object(s)
  427. Ins            Insert object(s)
  428. Del            Delete object(s)
  429. F1             Help
  430. F2             Save
  431. F3             Save As
  432. F4             Search
  433. F5             Preferences
  434. F8             Miscellaneous Operations
  435. F9             Insert Predefined objects
  436. F10            Check consistancy
  437.  
  438.  
  439.  
  440. Pull Down Menu Keys
  441. ~~~~~~~~~~~~~~~~~~~
  442.  
  443. ALT-F          File Menu
  444. ALT-E          Edit Menu
  445. ALT-S          Search Menu
  446. ALT-M          Mode Menu
  447. ALT-I          Misc Menu
  448. ALT-O          Objects Menu
  449. ALT-C          Check Menu
  450. ALT-H          Help Menu
  451. [4.2] Keyboard Commands Full Description
  452. ----------------------------------------
  453.  
  454. Q         Quit, saving changes.  You will be asked for the name
  455.           of the PWAD file.
  456.  
  457.                NOTICE:  If you load a PWAD with multiple levels
  458.                (or sounds, demos, graphics, etc..) and edit a
  459.                level, THE SAVE COMMAND WILL ONLY SAVE THAT MAP,
  460.                not any other levels, graphics, etc...  DO NOT
  461.                name it the same as the multilevel PWAD.
  462.  
  463. Esc       Exit without saving.  If you have unsaved changes, a
  464.           warning message will be displayed.  May also be used to CANCEL
  465.           accidentally selected functions.
  466.  
  467. Arrows    Move the pointer.
  468.  
  469. Scroll Lock
  470.           Turn on/off the autoscroll feature.
  471.  
  472. Space     Toggle slow/fast movement speed and the scrolling speed.
  473.  
  474. +, -      ZOOM in or out. (Change the map scale.)   ZOOM levels range from
  475.           1/20 scale (smallest) to 4/1 scale (major magnification).
  476.  
  477. 1,2,...,9,0
  478.           Set ZOOM level from 1 to 10 directly.   (1/1 - 1/10)
  479.  
  480. Tab       Switch to the next editing mode.
  481.  
  482. Shift+Tab
  483.           Switch to the previous editing mode.  If objects are marked, the
  484.           objects they are built from remain marked.
  485.  
  486. T         Switch to the Things editor.
  487.  
  488. V         Switch to the Vertexes (vertices) editor.
  489.  
  490. L         Switch to the LineDefs/SideDefs editor.
  491.  
  492. S         Switch to the Sectors editor.
  493.  
  494. N, >      Select the next object.  This will only work if the pointer is
  495.           not on an object.
  496.  
  497. P, <      Select the previous object.  This will only work if the pointer
  498.           is not on an object.
  499.  
  500. J, #      Jump to a specified object (enter number).
  501.  
  502. M         Mark/Unmark current object.  (See also the 'Shift' key below).
  503.           * Objects stay marked until you un-mark them. *
  504.  
  505. C         Clear all marks.
  506.  
  507. O         Copy objects.  After pressing O move the copy to where you want it  
  508.             and press Esc to drop it there.
  509.  
  510. D         Toggle Drag mode.
  511.  
  512. G         Show the grid and change its scale.  Press it again to increase the
  513.           number of grid lines thus decreasing the scale.  Use Shift-G to
  514.           increase the scale.
  515.  
  516. H         Hide/Show Grid.  This only controls whether or not grid lines are
  517.           displayed.
  518.  
  519. Shift+H   Set grid scale to 0.
  520.  
  521. I         Show or hide the info bar at the bottom of the screen.
  522.  
  523. R         Toggle between Normal Cursor and Ruler Cursor.
  524.  
  525. Enter     Edit current object or group of selected objects.  A
  526.           menu will pop up and you will be allowed to change
  527.           attributes in the object(s).
  528.  
  529. Ins       Insert a new object at the current cursor position.
  530.  
  531.           This will copy the last selected object or insert a
  532.           default object.
  533.  
  534.           There are two special cases:
  535.  
  536.           When a group of vertices are selected and you press
  537.           "Ins": the editor will add new LineDefs between the
  538.           vertices and will put you in the LineDefs editor.  The 
  539.           editor will create linedefs for all but the last line.
  540.           (Use Shift+Ins if you want to close the polygon).
  541.  
  542.           When a group of LineDefs are selected and you press
  543.           "Ins" a new Sector will be created and one SideDef in
  544.           each LineDef will be bound to this Sector and the edit
  545.           mode will switch to the Sector editor.
  546.  
  547. Shift+Ins
  548.           Use this when selecting groups of vertices and want the editor to
  549.           close the polygon.
  550.  
  551.  
  552. Del       Delete the current object or group of objects.  All
  553.           objects bound to the current object will also be deleted.
  554.           (i.e. if you delete one Vertex, this will also delete the
  555.           LineDefs that used this Vertex).  Except for Things, you
  556.           will be asked for confirmation before the object is
  557.           deleted.
  558.  
  559. Shift     Hold the Shift key while moving the cursor to prevent
  560.           the pointer from selecting a different object.
  561.  
  562. Shift & Mark
  563.           Hold the Shift key while pressing 'M' (or the left mouse
  564.           button) to drag a selection box around several objects
  565.           and select them all at once.  This is GREAT for mass selection
  566.           of any objects!
  567.  
  568. F1        Help screen.
  569.  
  570. F2        Save level in a PWAD file.
  571.  
  572. F3        Save As... (Change Episode and Level Number)
  573.  
  574.           This will allow you to reassign the episode and level number of a
  575.           map.  Enter a file name, then select the episode/level number.
  576.  
  577. F4        Search for Object  (Not yet implemented)
  578.  
  579. F5        Preferences.  
  580.  
  581.           Use this to change the default values for wall, floor, and ceiling
  582.           textures, and floor and ceiling heights.  These defaults are for
  583.           your current DEU session only.  You may change the defaults for all
  584.           DEU sessions by editing DEU.INI (see [2.2]).
  585.  
  586.  
  587. F8        Miscellaneous Operations.  
  588.  
  589.           The options that appear on this key vary depending upon which
  590.           editing mode you are in.  However, the first option is constant, no
  591.           matter which editing mode you are in.
  592.  
  593.           1. Find First Free Tag 
  594.  
  595.                This will locate the first tag number which has not yet been
  596.                used in this map.  The number it returns will be the lowest
  597.                available tag number. 
  598.  
  599.  
  600.           The rest of the options available vary by mode and are (by mode):
  601.  
  602.  
  603.           Things Mode
  604.           -----------
  605.  
  606.                2. Rotate and Scale Thing(s)
  607.  
  608.                     Move marked things by the degree of rotation and a
  609.                     percentage scale.  This will allow you to rearrange
  610.                     things by spinning them around (change rotation angle) or
  611.                     moving them closer to each other (scale < 100%) or
  612.                     further apart (scale > 100%).
  613.  
  614.  
  615.           Vertices Mode
  616.           -------------
  617.  
  618.                2. Rotate and Scale Vertices
  619.  
  620.                     Move marked vertices by the degree of rotation and a
  621.                     percentage scale.  This will allow you to rearrange
  622.                     vertices by spinning them around (change rotation angle)
  623.                     or moving them closer to each other (scale < 100%) or
  624.                     further apart (scale > 100%).
  625.  
  626.                3. Delete Vertex and join Linedef(s)
  627.  
  628.                     Deletes the marked vertex and joins linedef(s) that were
  629.                     previously connected to it.
  630.  
  631.                4. Merge several vertices into one.
  632.  
  633.                     Same as #3 above, but with multiple vertices.
  634.  
  635.                5. Add linedef & Split Sector.
  636.  
  637.                     You must mark exactly TWO vertices from the SAME sector
  638.                     before calling this command.  This will add a linedef and
  639.                     a new sector.
  640.  
  641.  
  642.           Linedefs & Sidedefs Mode
  643.           ------------------------
  644.  
  645.                2. Rotate and Scale LineDefs
  646.  
  647.                     Move marked linedefs by the degree of rotation and a
  648.                     percentage scale.  This will allow you to rearrange
  649.                     linedefs by spinning them around (change rotation angle)
  650.                     or moving them closer to each other (scale < 100%) or
  651.                     further apart (scale > 100%).
  652.  
  653.                3. Split LineDef (add new Vertex)
  654.  
  655.                     Splits the selected linedef(s).
  656.  
  657.                4. Split LineDefs and Sector
  658.  
  659.                     Splits the selected linedefs by adding a vertex at the
  660.                     midpoint, connecting the new vertices with a linedef which
  661.                     divides the original sector.
  662.  
  663.                5. Delete LineDefs and join Sectors
  664.  
  665.                     Removes the selected two-sided linedef(s) that divide
  666.                     sectors and makes them into a single sector.
  667.  
  668.                6. Flip Linedef
  669.  
  670.                     Flips the linedef(s) start and endpoints, thus reversing
  671.                     the side the 1st and 2nd sidedefs are on.
  672.              
  673.                7. Swap Sidedef
  674.  
  675.                     Swaps the sectors that sidedef(s) 1 and 2 are tied to.
  676.  
  677.                8. Align Textures  (Y offset)
  678.  
  679.                     Align the textures on the Y offset.  The first linedef
  680.                     selected is used as the reference point.  This is for
  681.                     Up/Down alignment.
  682.  
  683.                9. Align Textures (X Offset)
  684.  
  685.                     This may be used on a group of linedefs that follow each
  686.                     other.  The first linedef selected is used as the
  687.                     reference.  This is for left/right alignment.
  688.  
  689.           Sector Mode
  690.           -----------
  691.  
  692.                2. Rotate and Scale Sectors
  693.  
  694.                     Move marked sectors by the degree of rotation and a
  695.                     percentage scale.  This will allow you to rearrange
  696.                     sectors by spinning them around (change rotation angle)
  697.                     or moving them closer to each other (scale < 100%) or
  698.                     further apart (scale > 100%).  This will NOT move the
  699.                     "Things" in the sector.  After rearranging the sector,
  700.                     you may have to go into things mode and select them and
  701.                     do the same rotation/adjustment on them.
  702.  
  703.                3. Make door from sector
  704.  
  705.                     To use this, select a sector that is between two other
  706.                     sectors and then activate this function.  The Linedefs,
  707.                     Ceiling height, textures, etc... will be modified
  708.                     accordingly.
  709.  
  710.                4. Make lift from sector
  711.  
  712.                     To use this, select the sector that is to become the lift 
  713.                     and then activate this function.  The Linedefs, textures,
  714.                     etc... will be modified accordingly.
  715.  
  716.                5. Distribute Floor heights
  717.  
  718.                     This function will take the difference in floor heights
  719.                     between the first and last sector selected, divide it by
  720.                     the number of sectors in between and then distribute the
  721.                     result across the floor heights of the in-between sectors.
  722.                     This is very useful for setting floor heights on stairways.
  723.  
  724.                6. Distribute Ceiling heights
  725.  
  726.                     This function will take the difference in ceiling heights
  727.                     between the first and last sector selected, divide it by
  728.                     the number of sectors in between and then distribute the
  729.                     result across the ceiling heights of the in-between
  730.                     sectors.  This is very useful for setting ceiling heights
  731.                     on stairways.
  732.  
  733.  
  734. F9        Insert a predefined object.
  735.  
  736.           This function has two different modes depending upon where the
  737.           pointer is located.  The two conditions are 1. Inside of a sector
  738.           and 2. Outside of sectors (not inside ANY sector).
  739.  
  740.           Outside of sectors
  741.           ------------------
  742.  
  743.           1. Insert a Rectangle
  744.  
  745.                Enter the width and height (length) of the rectangle and DEU
  746.                will automatically insert the vertices, lindefs+sidedefs, and
  747.                sector at the current pointer location.  Think of this as
  748.                adding a rectangular room.
  749.  
  750.           2. Insert a Polygon (N-sided)
  751.  
  752.                Enter the number of sides and a radius and DEU will
  753.                automatically insert the vertices, linedefs+sidedefs, and
  754.                sector at the current pointer location.  You can do anything
  755.                from a triangle to a 32 sided polygon.  Think of this as
  756.                adding a N-sided room.
  757.  
  758.  
  759.           Inside a Sector
  760.           ----------------
  761.  
  762.           1. Insert a Rectangle
  763.  
  764.                Same as outside a sector, but first sidedefs will be set to
  765.                the sector they are contained in.  Think of this as inserting
  766.                a rectangular pillar.
  767.  
  768.                NOTE: Pressing "Ins" after inserting the rectangle will create
  769.                a new sector inside the rectangle and cause the walls to be
  770.                changed to transparent.  Use this to define a new area inside
  771.                a sector.
  772.  
  773.           2. Insert a Polygon (N-sided)
  774.  
  775.                Also the same as outside a sector, but the first sidedefs will
  776.                be set to the sector they are contained in.  Think of this as
  777.                inserting an N-sided pillar.
  778.  
  779.                NOTE: Pressing "Ins" after inserting the polygon will create a
  780.                new sector inside the polygon and cause the walls to be
  781.                changed to transparent.  Use this to define a new area inside
  782.                a sector.
  783.  
  784.           3. Stairs
  785.                Insert a stairway.
  786.                (Not yet implemented.)
  787.  
  788.           4. Hidden Stairs
  789.                Insert a hidden stairway.
  790.                (Not yet implemented.)
  791.  
  792.  
  793. F10       Check level consistency (Diagnostics)
  794.  
  795.           When using the following diagnostics if an error is reported you can
  796.           press return to continue checking or press Esc to select the problem
  797.           object.
  798.  
  799.  
  800.           1. Number of Objects
  801.  
  802.                This option gives a count of the number of things, vertices,
  803.                linedefs, sidedefs, and sectors.  It also displays the amount
  804.                of bytes needed to store this information in a PWAD file
  805.                (Rounded to the nearest Kbyte).
  806.  
  807.           2. Check if all sectors are closed.
  808.  
  809.                This will test all sectors and make sure they are closed.  If
  810.                they are not closed it reports the number of the unclosed
  811.                sector.
  812.  
  813.           3. Check cross references 
  814.  
  815.                Verify the integrity of the level and help locate possible
  816.                problem areas.  This will help to locate orphaned sidedefs,
  817.                etc.  This will also remove extraneous LineDefs if there are
  818.                two LineDefs between the same vertices.
  819.  
  820.           4. Check for missing textures.
  821.  
  822.                Report any sidedefs that may need to have a Normal/Upper/or
  823.                Lower texture defined.
  824.  
  825.           5. Check Texture Names.
  826.  
  827.                Some other editors will let you enter texture names which are
  828.                not correct.  This function will help fix their mistakes.
  829.  
  830.  
  831. [4.3] Mouse Commands
  832. --------------------
  833.  
  834. If you have a mouse, the following actions are available:
  835.  
  836. Left button    : Mark/Unmark object (same as "M").
  837. Middle button  : Edit object (same as "Enter").
  838. Right button   : Drag object (like "D" when you press or release
  839.                     the button).
  840. Move mouse     : Move the pointer.
  841.  
  842.  
  843. You can change the buttons using the -sb (swapbuttons) switch
  844. when starting DEU or in the DEU.INI file.  Swaps the left and middle 
  845. buttons
  846.  
  847.  
  848.  
  849. [4.4] The Menu Bar
  850. ------------------
  851.  
  852. Along the top edge of the Level editing screen there is a Pull-Down menu bar
  853. with a number of options including File, Edit, Search, Modes, Objects, Misc,
  854. and Help.  These menu options can be pulled down by either pointing and
  855. clicking on them or by holding down the ALT key and pressing the Underlined
  856. letter from the menu bar.  Once the menu is pulled down press the highlighted
  857. letter of the command to use it.
  858.  
  859. The functions on the Pull-Down menus are as follows:
  860.  
  861.  
  862. File [ALT-F]
  863.  
  864.      Save
  865.  
  866.           Save the level as a WAD file.
  867.  
  868.      Save As
  869.  
  870.           This will allow you to reassign the episode and level number of a
  871.           map.  Enter a file name, then select the episode/level number.
  872.  
  873.      Print
  874.           (Not yet implemented)
  875.           Print a picture/description of the map.
  876.  
  877.      Quit
  878.  
  879.           Exit the level editor.  Save file if changes have been made.
  880.  
  881.  
  882. Edit [ALT-E]
  883.  
  884.      Copy Object
  885.  
  886.           Used to copy (groups of) things, vertices, linedefs and sidedefs,
  887.           or sectors.
  888.  
  889.      Add Object
  890.  
  891.           Same as "Ins" key.  (See long description above)
  892.  
  893.      Delete Object
  894.  
  895.           Same as "Del" key.  (See long description above)
  896.  
  897.      Preferences
  898.  
  899.           Use this to change the default values for wall, floor, and ceiling
  900.           textures, and floor and ceiling heights. These defaults are for
  901.           your current DEU session only.
  902.  
  903. Search [ALT-S]
  904.  
  905.      Find/Change
  906.           (not yet implemented)
  907.           Search for a specific object type.
  908.  
  909.      Repeat last find
  910.           (not yet implemented)
  911.           Perform the search again to find the next match.
  912.  
  913.      Next Object
  914.  
  915.           Go to next object.
  916.  
  917.      Prev Object
  918.  
  919.           Go to previous object.
  920.  
  921.      Jump to Object #
  922.  
  923.           Go to a specific object number.
  924.  
  925. Modes [ALT-M]
  926.  
  927.      (Changes current editing mode.)
  928.  
  929.      Thing Mode          T
  930.      Linedef & Sidedef   L
  931.      Vertices            V
  932.      Sectors             S
  933.      Next Mode           Tab
  934.      Last Mode           Shift-Tab Misc [ALT-I]
  935.  
  936. Misc [Alt-I]
  937.  
  938.      (Same as F8 keyboard command.  See description of F8 key above.)
  939.  
  940. Objects [ALT-O]
  941.  
  942.      (Same as F9 key in Keyboard commands.  See description of F9 key above.)
  943.  
  944. Check [ALT-C]
  945.  
  946.      (Same as F10 key in Keyboard commands. See description of F10 key above.)
  947.  
  948.  
  949. Help [ALT-H]
  950.  
  951.  
  952.      Keyboard & Mouse
  953.  
  954.           Same as F1 key.
  955.  
  956.      Info Bar
  957.  
  958.           Turn on/off Info Bar at bottom of screen.  This bar displays editing
  959.           modes, grid size, and zoom levels. 
  960.  
  961.      About DEU...  (not yet implemented)
  962.           Brief information about the DEU programmers and the contributed work
  963.           from the net.
  964.  
  965. =====================================================================
  966. [5] WAD file description, flags, etc.
  967. =====================================================================
  968.  
  969.  
  970. The DEU works by editing the database that DOOM uses to store its
  971. information about each of the levels.  These database files are called
  972. WAD files.  There are two types of WAD files.
  973.  
  974. IWAD File:
  975.  
  976.         This is the main data base file. It contains all the
  977.         information about the graphics, sound, level maps, etc of the
  978.         game.  There is only one IWAD file called DOOM.WAD and it
  979.         must be in the current directory when DOOM is run.
  980.  
  981. PWAD File:
  982.  
  983.         This is a special patch of the IWAD file.  It contains
  984.         updates about the IWAD file.  PWAD files created by DEU will
  985.         contain an updated map of a game level. PWAD files can be called
  986.         anything.  When running DOOM, DOOM must be told to load a PWAD
  987.         file.  This is done with the -FILE parameter.  PWAD files are 
  988.         small so they can be easily shared.
  989.  
  990. [5.1] Vertices (description of)
  991.  
  992.      Vertices are simply points.  Each vertex has an x,y coordinate on a map. 
  993.      DOOM maps are 2 dimension so there is no z coordinate.  Vertices are used
  994.      as the starting and ending points of LineDefs (see below).
  995.  
  996. [5.2] LineDefs (description of)
  997.  
  998.      Lines which define boundaries in the map.  These boundaries define the
  999.      borders of a sector or the location of a trigger that you walk across.
  1000.      Each LineDef has a starting vertex and and ending vertex.  There is a
  1001.      first and second side to every linedef.  Either side may have a reference
  1002.      to a SideDef.  LineDefs are also what is used as triggers and/or switches
  1003.      for special sectors.
  1004.  
  1005. [5.3] SideDefs (description of)
  1006.  
  1007.      Every visible side of a LineDef must have a SideDef.  The SideDefs are
  1008.      used to put wall textures on.  (See description of upper/lower/normal
  1009.      textures below.)  An enclosed set of SideDefs is what defines a Sector.
  1010.  
  1011. [5.4] Sectors  (description of)
  1012.  
  1013.      A Sector is made up of a group of 3 or more enclosed SideDefs.  A sector
  1014.      can be viewed as a room or an area within a room.  Sectors contain ceiling
  1015.      and floor height information, ceiling and floor textures, special sector
  1016.      information (does it hurt to be there?  did you find a secret if you
  1017.      enter?)  Sectors are the only structure that "moves" in DOOM.  Lifts,
  1018.      Staircases, Doors, are all specially defined sectors.
  1019.  
  1020. [5.5] Things   (description of)
  1021.  
  1022.      There are many types of Things in DOOM.  Player Start points, Enemies,
  1023.      Bonuses, Weapons, Keys, and Decorations.
  1024.  
  1025.  
  1026. [5.6] LineDefs attributes
  1027. -------------------------
  1028.  
  1029. Some abbreviations have been used for the LineDef attributes:
  1030.  
  1031. Im (bit0)      Impassible by players and monsters.
  1032. Mo (bit1)      Monsters cannot cross this line.
  1033. 2S (bit2)      Two-sided wall/may shoot through.
  1034. Up (bit3)      Upper texture is "unpegged".  Try it with moving 
  1035.                ceilings or doors.
  1036. Lo (bit4)      Lower texture is "unpegged".  Try it with moving
  1037.                floors or lifts.
  1038. Se (bit5)      Secret.  This line appears as normal on the map.
  1039. So (bit6)      Blocks sound.  The sounds won't travel past this
  1040.                line.
  1041. In (bit7)      Invisible on the map.  Even with the "computer
  1042.                map" power-up.
  1043. Ma (bit8)      Already on the map at startup.
  1044.  
  1045. [5.7] LineDef types
  1046. -------------------
  1047.  
  1048. The first two letters in each LineDef type give its features.
  1049. The first letter may be:
  1050.  
  1051. D    Door.     Press the spacebar to open it.
  1052. S    Switch.   Press the spacebar to activate this LineDef.
  1053. W    Walk.     Walk across this LineDef to activate it.
  1054. G    Gun.      You need to shoot that LineDef to activate it.
  1055.  
  1056. Except for doors ("D") and the "end level" LineDefs, all linedefs that
  1057. activate a sector need a "Sector tag" number and at least one Sector 
  1058. with the same tag number to operate.
  1059.  
  1060. The second letter may be:
  1061.  
  1062. R    Repeatable.
  1063. 1    Works only once.
  1064.  
  1065. Abbreviations are also used in the type name.  They refer to
  1066. what happens to the Sector when triggered by this LineDef:
  1067.  
  1068. O    Stays Open.  Used only for doors.
  1069. N    Neighbor.  Usually, this means that the floor rises or
  1070.      lowers until it reaches the floor height of an adjacent
  1071.      sector on its way.  In the menus, I have used "Ne." instead.
  1072. T    Texture and Type change.  Same as above, but the texture and
  1073.      type of the Sector are also changed.  The new Sector floor texture
  1074.      and type are copied from the Sector where the switch or walk-though
  1075.      LineDef is, not from the adjacent Sector(s).
  1076. C    Ceiling.  This means that the floor rises until it reaches
  1077.      the ceiling height of one adjacent Sector.
  1078. <,>  Used as modifiers for the above letters.  "<N" means that
  1079.      the floor will stop just below a neighboring floor.
  1080.  
  1081.  
  1082.  
  1083. [5.8] Normal/Upper/and Lower Textures
  1084. -------------------------------------
  1085.  
  1086.     These are the Three parts of a sidedef.
  1087.  
  1088.     Upper Texture is used to account for variations in ceiling height.
  1089.     The sidedef facing the sector with the higher ceiling must
  1090.     have an upper texture defined.
  1091.  
  1092.     Lower Texture accounts for variations in floor height.  The sidedef
  1093.     of a line that faces a sector with a lower floor height must have a
  1094.     lower texture defined.
  1095.  
  1096.     The Normal Texture is used for the surface of the sidedef which is
  1097.     below the ceiling height and above the floor height.
  1098.  
  1099.     Notice:  The LineDef/SideDef editor displays upper/lower texture
  1100.     boxes in RED if they are transparent and shouldn't be.  They will
  1101.     be grey if they are not visible and should be left transparent.
  1102.     If they are visible they will be black (transparent or not).  This
  1103.     is very helpful in eliminating the Hall of Mirrors effect caused by
  1104.     missing texture assignments.
  1105.  
  1106.  
  1107.  
  1108. =====================================================================
  1109. [6] Special DOOM Areas.  Lifts, Doors, and more!
  1110. =====================================================================
  1111.  
  1112. Tag numbers are used to uniquely identity a structure within the
  1113. level.  There are tag numbers for both sectors and for linedefs.
  1114. For example, if a switch is used to activate a Sector, then both
  1115. this Sector and the LineDef with the switch will have the same
  1116. tag number.
  1117.  
  1118. [6.1] Doors
  1119. -----------
  1120.  
  1121. A door is a Sector which usually starts with its ceiling at that
  1122. same height as its floor (door closed).  When the player presses
  1123. the spacebar, the ceiling will rise, opening the door.  On both
  1124. sides of the door, you need one of the "D" LineDefs types.  You
  1125. don't need to give a tag number to the Sector or the LineDefs.
  1126.  
  1127. If you want to be able to open this door with a switch, then you
  1128. need to give the same tag number to the Sector and the switch.
  1129. Pick any number that is not used by another LineDef or Sector.
  1130.  
  1131. Front and Back sides of Door:
  1132.  
  1133. The lines that you walk through on the door should be "passable"
  1134. (not Impassable), and two-sided (flags = 4).
  1135.  
  1136. The Sidedefs that are on the outside of the door should NOT have
  1137. a Normal or Lower texture.  They should have an Upper Texture.
  1138. The Sidedefs on the inside of the door should not have any
  1139. textures (Normal, Upper, or Lower).
  1140.  
  1141. Left and Right side of Door:
  1142.  
  1143. Nothing special here.  You may want to pick a Door-like texture
  1144. for the sidedefs like "DOORTRAK".
  1145.  
  1146. [6.2] Lifts
  1147. -----------
  1148.  
  1149. A lift is a sector surrounded by LineDefs with the "Lower lift"
  1150. or "Raise lift" type.  All LineDefs between the upper floor and
  1151. the lift will have the "Lower lift" type.  All LineDefs between
  1152. the lower floor and the lift will have the "Raise lift" type.
  1153. Usually, you also have some "Lower lift" LineDefs on the 
  1154. lower floor, a few steps away from the lift.
  1155.  
  1156. The "Raise lift" type is a special case: when you cross this
  1157. line, the lift will go up.  If the lift is already up, it 
  1158. will act as a switch that lowers the lift.  
  1159.  
  1160. In the editor, you will see a short line on one side of the LineDef
  1161. when you select it (this is the normal vector).  In the game, the
  1162. player must come from this side or else the lift won't work.
  1163.  
  1164. Don't forget to give a tag number to the Sector and the LineDefs!
  1165.  
  1166. [6.3] Teleporters
  1167. -----------------
  1168.  
  1169. You need two things to make a teleporter:
  1170.  
  1171. - One LineDef with the "Teleport" type and a Sector with the same
  1172.   tag number.
  1173. - A special Thing in this sector, called "Teleport exit"/
  1174.   "Teleport landing".
  1175.  
  1176. You may have several LineDefs that point to the same Sector, but
  1177. you must have one and only one Sector with the same tag number.
  1178.  
  1179. This only works if the line is crossed from the right side (see [6.2]).
  1180. If the teleporter worked on the two sides of the LineDef, you wouldn't 
  1181. be able to exit from it!
  1182.  
  1183. [6.4] Rising Stairs
  1184. -------------------
  1185.  
  1186. A raising staircase is created by defining a set of adjacent sectors at the
  1187. same elevation. The sector that will be the first (lowest) step is assigned 
  1188. a LineDef tag corresponding to a Linedef of the Raise Stairs type. Each step 
  1189. will raise to an elevation of 8 higher than its next lower neighbor, or 8 up 
  1190. from its original level in the case of the first step.
  1191.  
  1192. If we define a set of sectors at an elevation of 0 as shown below:
  1193.  
  1194.     +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  1195.     |     |     |     |     |     |     |     |     |     |     |
  1196.     |     |     |     |     |     |     |     |     |     |     |
  1197.     |  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  A  |
  1198.     |     |     |     |     |     |     |     |     |     |     |
  1199.     |     |     |     |     |     |     |     |     |     |     |
  1200.     +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  1201.  
  1202. with sector _1_ connected to a Raise Stairs LineDef, the sectors that will
  1203. form the stairs are those sectors that
  1204.  
  1205.     1. Are at the same elevation as the first 'step' sector.
  1206.     2. Share a LineDef with a sector that is part of the stairs.
  1207.     3. The _first_ SideDef of the shared LineDef is part of the stairs.
  1208.     4. The shared LineDef has a _lower_ LineDef number than any other
  1209.        LineDef facing 'into' (by condition 3) the previous sector.
  1210.  
  1211. For example, if the linedefs were defined as follows:
  1212.  
  1213.     +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  1214.     |     |     |     |     |     |     |     |     |     |     |
  1215.     |     |     |     |     |     |     |     |     |     |     |
  1216.   --|  1--|  2--|  3--|  4--|  5  |--6--|  7--|  8--|  9--|  A--|
  1217.     |     |     |     |     |     |     |     |     |     |     |
  1218.     |     |     |     |     |     |     |     |     |     |     |
  1219.     +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  1220.  
  1221. If Sector 1 was the first 'step', then Sectors 2, 3, 4, and 5 would be part 
  1222. of the staircase. Because the LineDef between Sectors 5 and 6 'faces' _away_ 
  1223. from Sector 5, Sector 6 will not raise when the staircase is triggered. If 
  1224. Sector 5 had a Floor elevation of 10, it would not become part of the 
  1225. staircase; only sectors with their Floor levels at the same level as the 
  1226. first step will be part of the staircase, regardless of the 'facing' of the 
  1227. LineDefs connecting them.
  1228.  
  1229. The facing of the LineDefs making up the _sides_ of the staircase is 
  1230. important; you can make turning or spiral staircases, but you can also make
  1231. staircases that elevate the floor of a room instead. Expanding the example, 
  1232. let us assume that Sector 0 is everything surrounding the sectors that are 
  1233. defined:
  1234.  
  1235.     +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
  1236.     |     |     |     |     |     |     |     |     |     |     |
  1237.     |    b|     |     |     |     |     |     |     |     |     |
  1238.   --|  1--|  2--|  3--|  4--|  5  |--6--|  7--|  8--|  9--|  A--|     0
  1239.     |     |     |     |     |     |     |     |     |     |     |
  1240.     |  |  |  |  |  |  |  |  |  |  |  |  |     |     |     |     |
  1241.     +--|--+--|--+--|--+--|--+--|--+--|--+-----+-----+-----+-----+
  1242.        a
  1243.  
  1244. Now the LineDefs that make up the lower 'side' of Sectors 1 through 6 'face'
  1245. into the staircase. If the LineDef number of the LineDef between Sector 1 
  1246. and Sector 0 (labelled 'a' above) is _lower_ than the LineDef number of the
  1247. LineDef number of the LineDef between Sector 1 and Sector 2 (labelled 'b' 
  1248. above), then when the stair is triggered, Sectors 1 and 0 will rise, then 
  1249. Sector 0 will rise further. This is not likely to be what you want.
  1250.  
  1251. When creating a set of sectors to become an elevating staircase, make sure 
  1252. that either:
  1253.  
  1254.     a) All the LineDefs _except_ the ones defining the path of the staircase
  1255.        face _away_ from the staircase's sectors, or
  1256.     b) The LineDefs defining the path of the staircase, within a Sector, 
  1257.        have _lower_ LineDef numbers than any other LineDef facing into that
  1258.        Sector.
  1259.  
  1260. The LineDef tag for sectors composing a staircase are, except for the sector 
  1261. that is the first step, irrelevant; the only use for non-zero LineDef tags 
  1262. in any other staircase sector is to have the editor flag the sector in a 
  1263. different color so the user can see where the limits of the staircase are. 
  1264. It is the sector elevation and the LineDef facing that determine the limits
  1265. of a staircase.
  1266.  
  1267.  
  1268. [6.5] Secret areas
  1269. ------------------
  1270.  
  1271. All you need to create a "secret" area is to give the special
  1272. type "Secret" to some Sector.  When the player steps on that 
  1273. Sector, the players secret ratio will be credited.
  1274.  
  1275. If the secret sector is behind a secret door (one that has nearly
  1276. the same color as the other walls), you probably don't want the door to be
  1277. shown on the map (the automap uses different colors for walls and doors).
  1278. You will need to toggle the "Secret" flag in the LineDef attribute.  Then
  1279. the door will be shown as a normal wall on the map.
  1280.  
  1281. [6.6] Standard Rooms
  1282. --------------------
  1283.  
  1284. We already hear you say: "All this stuff about doors, lifts and so
  1285. on is great, but how do I create a new room in my level?"...
  1286.  
  1287. Each room consists in one or several Sectors surrounded by impassable
  1288. LineDefs.  If you want to have dark and bright zones in your room,
  1289. then you will need to divide the area into several Sectors.  The
  1290. LineDefs between these Sectors should have the "two-sided" bit set
  1291. and have a transparent texture ("-").
  1292.  
  1293. The easiest way to add a new sector is with the 'F9' key.  Select
  1294. the kind of shape that you want to insert, then enter its dimensions.
  1295. Note that the position of the pointer is important when you press 'F9'.
  1296. If the pointer is inside an existing Sector, then you will add an
  1297. obstacle (i.e. the new object won't have a Sector inside it - only
  1298. walls).  If the pointer is outside, then you will add a real room (with
  1299. a new Sector inside it).  You can use the "obstacle" type and add a new
  1300. Sector inside it.  Just press 'Ins' while the LineDefs are still
  1301. selected.
  1302.  
  1303.  
  1304.  
  1305.  
  1306. =====================================================================
  1307. [7] How to try out your new level(s)
  1308. =====================================================================
  1309.  
  1310.      To Run DOOM with your new level:
  1311.  
  1312.             >     DOOM -FILE E1L1.WAD
  1313.  
  1314.                 will load the normal doom game and the use the
  1315.                 E1L1.WAD file to patch the data base. 
  1316.  
  1317.      More than one PWAD file can be loaded. E.g.:
  1318.  
  1319.             >    DOOM -FILE E1L1.WAD E1L2.WAD BRENDON.WAD RAPHAEL.WAD
  1320.  
  1321.  
  1322.  
  1323. =====================================================================
  1324. [8] Troubleshooting
  1325. =====================================================================
  1326.  
  1327. [8.1] Cannot switch to graphics mode.
  1328. -------------------------------------
  1329.  
  1330. If the program crashes with the following error: "mode not supported
  1331. on this card", or simply hangs after having displayed the message
  1332. "switching to graphics mode", then you have a problem with your
  1333. video driver.
  1334.  
  1335. If your card's BIOS is not VESA-compatible, then you will need the
  1336. UNIVESA driver, available on many FTP sites.  This TSR provides a
  1337. good VESA emulation for the most common VGA and SuperVGA cards.
  1338.  
  1339. If that still doesn't work, try using a different BGI driver or
  1340. video mode (the command line parameter "-v 0" forces DEU to use
  1341. the standard VGA modes only).
  1342.  
  1343. [8.2] Pointer is not displayed.
  1344. -------------------------------
  1345.  
  1346. Your mouse driver is not compatible with SuperVGA resolutions.
  1347.  
  1348. Try the following, in that order:
  1349. 1) Upgrade your mouse driver, if possible.
  1350. 2) Add "fakecursor = true" to the DEU.INI file (or whatever
  1351.    config file you use).
  1352. 3) Add "video = 0" to the DEU.INI file.
  1353.  
  1354. [8.3] Hall of mirrors effect  (HOM).
  1355. ------------------------------------
  1356.  
  1357. The hall of mirrors effect is an indication that something 
  1358. is wrong with your map.
  1359.  
  1360. Two common causes of this problem are:
  1361. - You forgot to give a texture to one part of a wall.
  1362. - You have a transparent line which is shared by two sectors,
  1363.   but you forgot to set the "two-sided" (2S) flag for the LineDef.
  1364.  
  1365. You should run all tests from the 'F10' menu to check for these errors.
  1366.  
  1367. If everything appears to be correct (no warnings during the checks), then
  1368. maybe you have too many two-sided LineDefs in the same room.  There is a
  1369. limit in Doom's graphic engine on the number of two-sided LineDefs that
  1370. can be displayed at the same time.  Solution: delete some of them.  Sigh!
  1371.  
  1372. But it may also be a problem with DEU's Nodes builder.  You may try to use
  1373. different values for the "splitfactor" command line parameter, and see if
  1374. that solves the problem (use positive values; 8 is the default; 16 or more
  1375. may solve some problems).  If that still doesn't work, you will have to wait
  1376. for the next release of DEU or use the excellent BSP program, available on
  1377. most FTP sites (look for bsp11x.zip).
  1378.  
  1379.  
  1380. [8.4] The 'Ruler' cursor leaves garbage on the screen.
  1381. ------------------------------------------------------
  1382.  
  1383. This is a bug in the EGAVGA.BGI driver.  It does not support XOR mode for
  1384. circles.  Solutions: use another driver (VESA, for instance) or recompile
  1385. DEU with the symbol NO_CIRCLES defined.  This will draw squares instead of
  1386. circles.
  1387.  
  1388.  
  1389. [8.x] Can't relax after playing DOOM?  (Coming down off a DOOM rush)
  1390. --------------------------------------------------------------------
  1391.  
  1392. Watch a Bob Marley concert video and have a smoke.    8-}'
  1393.  
  1394.  
  1395.  
  1396. =====================================================================
  1397. [9.0] Tutorial
  1398. =====================================================================
  1399.  
  1400. The /TUTOR directory contains the deu tutorial, a sort of step-by-step
  1401. instruction booklet to creating a level from scratch.
  1402.  
  1403. Print the TUTOR.DOC file and follow along with the wad files.
  1404.  
  1405. =====================================================================
  1406. [10.0] Tips
  1407. =====================================================================
  1408.  
  1409.  
  1410. [10.1]  Generic editing tips.
  1411.  
  1412.   SAVE YOUR WORK!
  1413.  
  1414.         SAVE YOUR WORK OFTEN (with different file names) and test it every
  1415.         so often to make sure it's looking like you want it to.  DEU makes
  1416.         a .BAK file but if things get really messed and you saved twice
  1417.         with the same file name you may lose your work.
  1418.  
  1419.   Inserting Linedefs
  1420.  
  1421.         When marking vertices to add linedefs, do so in CLOCKWISE order.
  1422.         This will make sure that the Normal (or first) side of the line 
  1423.         is on the inside of your sector.  DEU likes this better and 
  1424.         so will you!
  1425.  
  1426.         Use clockwise order if you want to add a new sector outside (not
  1427.         inside any sector).  This is the case most of the time.
  1428.         Use anti-clockwise order if you want to add an obstacle inside an
  1429.         existing sector (i.e. all first sidedefs will be on the outside of
  1430.         the area you just defined).
  1431.  
  1432.   Texture Alignment
  1433.  
  1434.         All the texture sizes (Ceilings, Floors, and Walls) are based on 
  1435.         multiples of 8 pixels.   You can use the grid feature to help 
  1436.         align the length of linedefs.  You might even try mathematics
  1437.         (I know, it's scarier than Doom... ;-)  See the TUTOR.DOC file for 
  1438.         an example of using the texture alignment fields.
  1439.  
  1440.   Tag Numbers  
  1441.  
  1442.         Sectors may have a Tag number associated with them.  A linedef
  1443.         that has the same tag number can be used to activate the 
  1444.         sector by walking across it or pressing it like a switch.
  1445.         The tag numbers are an independant table that is used to link
  1446.         the actions of linedefs and sectors together.  The fact that the
  1447.         Tag numbers are independant means that a single tag number can
  1448.         multiple lindefs to a sector.
  1449.  
  1450.  
  1451.  
  1452.   Things (what order)
  1453.  
  1454.         Add a player 1 start as soon as you've built your first
  1455.         sector.  WAIT until your done building all the sectors
  1456.         before you add enemies and weapons.  This way you won't
  1457.         have to waste time killing them every time you go to
  1458.         test out your creation.  Decorations should also come
  1459.         before the enemies.  (This WILL save you time, but,
  1460.         if you feel the need to kill something every time you test 
  1461.         your level, go ahead and satisfy your desire for carnage.)
  1462.  
  1463.  
  1464.   Vertices, Linedefs, and Sectors... suggested order to do them in.
  1465.  
  1466.         First add all major rooms using F9 menu.  Then use F9 menu to
  1467.         insert obstacles or different areas inside these rooms.  Connect
  1468.         the rooms by selecting two vertices from each (in clockwise order)
  1469.         and press "Ins" twice.  Now go ahead and add more walls or sectors
  1470.         using the vertices method.  Drag some walls on top of some others
  1471.         if you want to join two rooms.  Then set the textures of walls and
  1472.         ceilings and height of sectors.  Add a player 1 start thing and
  1473.         compile it and take a walk through it.  Then go back and fix things
  1474.         and add decorations.  Add enemies last so you don't have to deal
  1475.         with them every time.  Remember to add enemies based upon difficulty
  1476.         level.
  1477.  
  1478.  
  1479.   Stairs
  1480.  
  1481.         The maximum difference between floor heights for stairs is
  1482.         somewhere close to 24.  Typical values for the height differ
  1483.         by 16 units.  (Most of id's stairs use 16, although some of id's 
  1484.         stairs go by 8.)
  1485.  
  1486.  
  1487.   General
  1488.  
  1489.         Good things come to those who.... WORK!
  1490.  
  1491.         It takes TIME to build a good wad file.  The first really cool
  1492.         wads we've seen produced with DEU took in excess of 15 hours.
  1493.         Granted, that included time to learn the latest release of DEU,
  1494.         but we expect that it will take somewhere between 6-20 hours
  1495.         to churn out a really good level.   Don't be discouraged.  You
  1496.         can start out with a simple level and expand on it as time
  1497.         permits.
  1498.  
  1499.         Theme!  Theme I tell you!  And a little continuity wouldn't hurt
  1500.         either.  We've made a couple wads without any continuity and
  1501.         found that they looked, well... amateur.  The sample levels
  1502.         in the tutorial have little continuity and are in no way
  1503.         meant to demonstrate what a good level looks like, rather,
  1504.         these were built to show how things work.
  1505.  
  1506.   Including your own demo in a PWAD.
  1507.  
  1508.         > doom -devparm -record E1M1 -file E1M1.WAD
  1509.         > deu
  1510.             > R E1M1.WAD
  1511.             > I E1M1.LMP DEMO1
  1512.             > R DEMO1.WAD
  1513.             > G MYLEVEL.WAD
  1514.         > doom -file MYLEVEL.WAD
  1515.  
  1516.  
  1517.   Special Tag Numbers
  1518.  
  1519.         The only special tag number we know of yet is tag number 666.
  1520.         It is used to lower a sector after all the Barons of Hell have
  1521.         been eliminated on E1M8.  We haven't tested to see if that
  1522.         works on any other ExMx levels.  Let us know!
  1523.  
  1524.  
  1525.   Death of Bosses ends level
  1526.  
  1527.         This is only true at the End Levels (ExM8).  When all of the
  1528.         bosses that are tougher than a baron of hell die, the level
  1529.         ends.
  1530.  
  1531.  
  1532.   Exits for Single, Coop, and Multiplayer
  1533.  
  1534.         It IS possible to create a level suitable for single-player games
  1535.         AND protect the exit in Deathmatch games so that players must
  1536.         cooperate in order to exit.  There are many ways to do this, and
  1537.         most of them are based upon when Things are available (See the When
  1538.         Appears item in Things mode).
  1539.  
  1540.         One simple way is to have two doors that lead to the exit.
  1541.         In multiplayer: Door "A" could be blocked by having a lamp in front of
  1542.         it.  Door "B" would require a distant switch to be pulled so that the
  1543.         player pulling the switch couldn't reach it by themselves.
  1544.         In single player (and Cooperative) mode Door "A" would not be blocked
  1545.         by any object nor require any switch to be pulled.  This is just one
  1546.         of many possible ways to make a wad playable by a single player but
  1547.         require cooperation to exit in Deathmatch mode.
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553. [10.2]  DEU/DOOM Limits....
  1554.  
  1555.  
  1556.         Maximum size of a wad file created with DEU 5.2:  This depends on how
  1557.         much base memory you can free up.  The more free ram, the bigger the
  1558.         WAD can be.  If you are using the GCC version of DEU, you will be able
  1559.         to create a wad as big as your total memory (standard + extended): you
  1560.         can create a huge wad file with this...
  1561.         
  1562.         X,Y locations of vertices:  somewhere in excess of -10,000 to 
  1563.         +10,000.  It could be -32768 to + 32767.  Note however that
  1564.         DEU might get a little weird if your vertices are too far
  1565.         apart.
  1566.  
  1567.         Maximum number of sector tags: 255
  1568.  
  1569.         Maximum number of enemies/things that can be displayed at a 
  1570.         time: Somewhere near 64.  We've seen that when there are too many
  1571.         some of them will disappear and reappear.  This looks really bad.  
  1572.  
  1573.         The doom engine (v1.2) can handle floors & cielings from -32768 to 
  1574.         +32768 as long as the difference in a sector is not more than 1000.
  1575.         DEU imposes a limit of 16384 as a safety feature and will check for
  1576.         the ceiling/floor difference when you run the 'check textures' test.
  1577.  
  1578.         The Maximum 2S linedefs that you can see from any point before DOOM
  1579.         engine limit causes HOM (Hall of Mirrors effect): Somewhere near 16.
  1580.  
  1581.         Maximum stair you can climb: 24 units.
  1582.  
  1583.         Minimum floor to ceiling distance that you can walk through:  Near 60 
  1584.         units.
  1585.  
  1586.         Minimum wall distance you can squeeze through: 34 units.
  1587.  
  1588.         Number of hours playing doom before your spouse (or friend) files a
  1589.         certificate of your death and claims benefits:  Do you really want to
  1590.         find out?  Spend a little quality time with them!
  1591.  
  1592.  
  1593. That's it people.  We hope you enjoy this editor and that it adds a ton of
  1594. replay value to the game.  This, of course, until the next big release from
  1595. id software.  DOOM: Hell on Earth.   Possessed humans with chainguns, demon
  1596. reanimators, and more.  We can feel it coming on like an earthQUAKE!
  1597.  
  1598. Oh, and don't worry... There's tons of copies of the source code, so DEUHOE
  1599. (or whatever) probably won't take too long.  About two weeks... ;-)
  1600. <big wink>
  1601.