home *** CD-ROM | disk | FTP | other *** search
/ Instant Doom Levels / Instant.Doom.Levels.-.Level.Master.II.iso / EDITORS / DEEP / TUTOR.DOC < prev    next >
Text File  |  1995-03-15  |  30KB  |  674 lines

  1.  ┌─────────────────────────────────────────────────────────────────────────┐
  2.  │                                                                         │
  3.  │  This TUTORIAL was modified from DEU TUTORIAL v1.5.  This is a quick    │
  4.  │  conversion which may contain typos and errors, but everybody wanted    │
  5.  │  something, so we modified the DEU tutorial, which is pretty good for   │
  6.  │  beginners.                                                             │
  7.  │                                                                         │
  8.  │  Hope this helps some!                                                  │
  9.  │  SBS                                                                    │
  10.  │  Mike Vermeulen                                                         │
  11.  │                                                                         │
  12.  └─────────────────────────────────────────────────────────────────────────┘
  13.  
  14.  
  15.  ┌─────────────────────────────────────────────────────────────────────────┐
  16.  │ Introduction - Making your first original level.                        │
  17.  └─────────────────────────────────────────────────────────────────────────┘
  18.  
  19.   This document and the accompanying TUTOR.WAD file should help you to see
  20.   what you need to do to build a level.  It's a sort of touch-and-see
  21.   how it works thing (sounds like fun!)
  22.  
  23.   This tutorial works best it you print out this (TUTOR.DOC) and then follow
  24.   along with DeeP on the computer.
  25.  
  26.   Start DeeP and read in the file TUTOR.WAD (R C:\yourdir\TUTOR.WAD). If you
  27.   set the Patch directory to yourdir then the path is not required (the
  28.   .WAD is akways optional).
  29.  
  30.   The sample levels just loaded were made for DOOM. It is also compatible
  31.   with DOOM II, except that the COMPUTE1 texture in levels MAP05 to MAP12
  32.   must be changed for DOOM II.
  33.  
  34.   Set you texture default with F5 and use the F10 option D to make the 
  35.   changes automatically. 
  36.  
  37.   Save any changes F10 makes so you don't have to do it again. 
  38.   (See shareware/LITE note below).
  39.  
  40.   Everywhere you see episode/mission (EeMm) DOOM references, substitute
  41.   mission (MAPxx) numbers for DOOM II.
  42.  
  43.   Items appearing in braces {} indicate that there is a sample level that you
  44.   can edit to follow along and see how to do things. Edit the example level
  45.   by selecting File and Edit level in DeeP Edit mode.
  46.  
  47.   Select the editing mode(s) indicated and move the pointer around to touch
  48.   things and look at how they are structured.
  49.  
  50.   You may wish to adjust some options. Screen redraw speed ([]), Mouse speed,
  51.   mouse click speed, grid lines/size and how quickly DeeP will select an
  52.   object are all user definable. You may also wish to turn on auto-start now
  53.   (this will start DeeP in Edit mode right away).
  54.  
  55.   Select Edit and Load Options (Alt+F5) and Zoom Options (F6) to set these
  56.   to your comfort level. As you get more experience, you may wish to change
  57.   them again.
  58.  
  59.   Set the Zoom size (using +/- keys) to at least 1000. The grid looks bad at
  60.   less than this (switch to solid lines) and it's hard to make things out.
  61.  
  62.   You will probably be zooming a lot, so set the Zoom range for Z also.
  63.   You can also use the +/- buttons on the top menu bar to control zooming.
  64.  
  65.   Be sure to use the [ and ] keys to slow down your display speed for these
  66.   tiny levels (Delay displayed on bottom bar), otherwise you'll fly all over
  67.   the place.
  68.  
  69.   DeeP defaults to snap-to-grid 8. If you want to see the grid, press H or
  70.   click the top button h. In Edit Options, change the grid to a solid line
  71.   (default is dashed) depending on your zoom level and monitor. Your lines
  72.   are forced to the intersecting lines on the grid, which is recommended
  73.   for clean drawing and a better match with the textures.
  74.  
  75.   When you play around, press Esc (or Alt+F4) to quit and say you want
  76.   really want to quit even though you didn't save it.
  77.  
  78.   Use the J command to jump to the object number described. Press J and
  79.   then enter the number in the box that pops up.
  80.  
  81.   >>  Shareware/LITE Note  <<
  82.  
  83.   The shareware version has a limit of 3 external PWAD files you can edit.
  84.   Two files if you save, since the save temporarily becomes a 3rd as a
  85.   backup (if you save twice).
  86.  
  87.   The LITE version has a limit of 6 external PWAD files you can edit. Five
  88.   files if you save, see above.
  89.  
  90.   In addition, the shareware and LITE versions will not save a grouped PWAD 
  91.   (that's what TUTOR.WAD is), but it will save one level at a time.
  92.  
  93.   Use the -n load option to reset all the files:  > DeeP -n  or use the
  94.   reset level menu option under file.  If you forget, you will get the
  95.   message limit of 3 (or 6) files exceeded!
  96.  
  97.   Now we begin our journey...
  98.  
  99.  
  100.  ┌─────────────────────────────────────────────────────────────────────────┐
  101.  │ Chapter 1:  Creating a new Level                                        │
  102.  └─────────────────────────────────────────────────────────────────────────┘
  103.  
  104.    1. First, start by selecting File (Alt+F or use the Mouse and left click).
  105.  
  106.       a. Select New Level (you can also press Shift+F3 and do it all).
  107.       b. Select level E1M1 (or MAP01). We are now creating a new map.
  108.  
  109.       Go into vertex edit mode (hit tab or press V). Now press "Ins" and
  110.       position the cursor where you want to start a line, now press the
  111.       Left Mouse button. (You can also quickly Double-Left mouse click).
  112.  
  113.       A blue square is placed where you have started creating a vertex.
  114.       Move to the right some distance and press the left mouse again. You
  115.       have just created a LineDef. (You can change the color of the square).
  116.  
  117.       You will need a minimum of three LineDefs to create an enclosed polygon.
  118.       Move some more and press the Left Mouse button again. Form a square or
  119.       any type of room you want, just keep clicking.
  120.  
  121.       The last LineDef connecting (or closing) the polygon is made by pressing
  122.       the Right mouse button. You can move on top of the first vertex created
  123.       (wait till the vertex lights up) or just press the Right button.
  124.  
  125.       It is useful to sometimes move on top of existing vertexes to connect
  126.       areas, so experiment with the different ways you can connect lines.
  127.  
  128.       You are still in Insert Mode. Keep clicking the Left mouse button and
  129.       repeatedly make more nice areas, as many sides as you want for now.
  130.  
  131.       Each time you finish an area, a Sector is also created (the default
  132.       one). You can go back later in Sector mode and edit the height and
  133.       textures of the floor and ceiling.  Similarly, for LineDefs, you go
  134.       to LineDef mode and again edit the wall textures.
  135.  
  136.       We will do this next.
  137.  
  138.       For rooms, move in a clockwise direction, for objects in rooms move
  139.       counter clockwise (just one of those "rules").
  140.  
  141.       To quit creating, press the Right mouse button again (just after you
  142.       made your last area) and now you are back in basic Edit command mode.
  143.  
  144.  
  145.    2. You may have 2 Sectors side by side and you want to walk from one 
  146.       sector into the next one, like walking from the one rooms in a house
  147.       to another. The lines where they join is where you cross from room. 
  148.       
  149.       This line should have the Flags Two-Sided and turn the Impassable Flag
  150.       should be turned off. Two-Side, because you can be on both sides of 
  151.       the line and not Impassable or you couldn't walk through the wall!
  152.  
  153.       If you joined them while making it all, it should be OK, but just
  154.       in case you want to know how to fix it afterwards, this is how.
  155.  
  156.       Get rid of any of the Normal/Upper/Lower Textures that are on lines 
  157.       that you walk across. If you want to create the illusion of walking 
  158.       through a wall, you can leave it in. Try this out!
  159.  
  160.  
  161.    3. {E2M2 or MAP03}  Check out LineDef # 1.
  162.       (To go to LineDef editing mode press L).
  163.  
  164.       To change the way the walls look, select a line or a group of lines
  165.       and change the Normal texture on some of the SideDefs. (To go to
  166.       line editing mode, press L).
  167.  
  168.       {E2M3 or MAP05}  Take a look at LineDefs #0,2, and 3.
  169.  
  170.       To change just the texture (and nothing else), select the LineDef to
  171.       change, when it lights up, press the shift key (to keep the LineDef
  172.       "locked") and click the Left mouse button over the LineDef texture
  173.       displayed on the bottom that you want to change.
  174.  
  175.       The shift key keeps DeeP from following you and selecting a different
  176.       LineDef. You can make it always not follow by pressing the A key and
  177.       turning auto-select on/off. Look at the bottom of the screen when you
  178.       do this in the box with Delay.
  179.  
  180.       You can also press the Right mouse button on top of the active LineDef
  181.       and go into complete LineDef edit mode or press Enter.
  182.  
  183.  
  184.    4. Change the Floor and Ceiling Textures in a Sector.
  185.       (To go to Sector editing mode press S).
  186.  
  187.       {E2M4 or MAP06}  Look at Sector #1, compare to the default in
  188.       Sector 0.
  189.  
  190.       The same editing options explained for LineDefs apply for Sectors.
  191.  
  192.  
  193.    5. Add a Player1 Start Thing.
  194.       (To go to Thing editing mode press T).
  195.  
  196.       Press "Ins" and a Thing object is added at the current cursor spot.
  197.       Each time Ins is pressed, another Thing is created.
  198.  
  199.       You can also quickly Double-Left mouse click to insert a Thing.
  200.  
  201.       If you want to play cooperatively you will also want to add Player2,
  202.       Player3 and Player4 start Things.
  203.  
  204.       If you want to play in deathmatch mode you must have a MINIMUM
  205.       of 4 deathmatch start Things.
  206.  
  207.       {E2M5 or MAP07}  That's were you start and the direction you're
  208.       facing.
  209.  
  210.       The same editing options explained for LineDefs apply for Things.
  211.  
  212.       If you press T while in Thing edit mode, pictures of the Things are
  213.       displayed. You can change the background color if you like in the
  214.       Edit submenu selection.
  215.  
  216.    6. Change the type of one of the lines to:
  217.  
  218.       "Special - Ends level goes to next level."
  219.  
  220.       If you want to be able to leave the level you will need an exit.
  221.       (Even if just to see the deathmatch frag counts!).
  222.  
  223.       {E2M6 or MAP08}  Check out Line 5.
  224.  
  225.       Oh yeah, the texture was changed to one of the SW1xxxx textures so that
  226.       it looks like a switch too.  Edit the LineDef (as explained earlier)
  227.       and change the normal texture to see what the texture looks like.
  228.  
  229.    7. Press F2 to save your changes.  Answer Y to the question
  230.       about building the nodes, etc. (Be sure you read README.DOC about
  231.       testing your system for compatibility with DeePbsp.)
  232.  
  233.    8. If you have the ShareWare or LITE version press Alt+F4 to quit DeeP.
  234.       Otherwise, under File, select the test level option and off you go!
  235.  
  236.    9. Fire up DOOM and try it out!
  237.  
  238.       DOOM -FILE yourfile.WAD -warp e m
  239.  
  240.       If you have already started doom and forgot to add the -warp on the
  241.       command line and you are working on a level higher than E1M1 you can
  242.       go straight there by typing IDCLEVem (after you start the level)
  243.       where e is the episode and m is the mission #.
  244.  
  245.   10. To record a demo of your level (a .LMP file) type this:
  246.  
  247.       DOOM -DEVPARM -WARP e m -SKILL s -RECORD demofile -FILE yourfile.WAD
  248.  
  249.       You must NOT type the .LMP extention and you MUST type the .WAD
  250.       extension. 'e' is for Episode (1, 2 or 3), 'm' is for mission
  251.       (1 to 9) and 's' is for skill level (1 to 5). If you die before
  252.       the end, press SPACE to end the recording and go back to DOS.
  253.  
  254.   11. To play back your demo, type this:
  255.  
  256.       DOOM -PLAYDEMO demofile -FILE yourfile.WAD
  257.  
  258.   12. Moving stuff around and more editing aids.
  259.  
  260.       To move anything in DeeP, select the object to move and press the
  261.       right mouse button. When you move the cursor the object follows like
  262.       a well trained puppy.
  263.  
  264.       You can "soft" select by clicking the Right button when the object
  265.       to move lights up or you can select a whole bunch of them by Left
  266.       clicking on each object and then doing a mass move.
  267.  
  268.       Be sure to keep the cursor on one of the "active" objects. It you move
  269.       it to an object not already selected, DeeP will switch to your new 
  270.       object and discard (clear) all your selections. This is a handy feature
  271.       for jumping around, but can be puzzling in the beginning.
  272.  
  273.       Each edit mode moves objects differently. Experiment with each one and
  274.       see the different options available to change your areas.
  275.  
  276.       If you press the Left button down for over 1/4 of a second (this can 
  277.       be changed by you), a select box is created with the origin at the 
  278.       cursor location. Move the box to enclose all objects you want to select. 
  279.  
  280.       All editing is done to all the objects selected by the box.
  281.  
  282.  
  283.  ┌─────────────────────────────────────────────────────────────────────────┐
  284.  │ Chapter 2: The Adventure Continues                                      │
  285.  └─────────────────────────────────────────────────────────────────────────┘
  286.  
  287.   Now that we have a level, let's put some cool stuff in it.  What
  288.   we will do here is to show ONE possible way to construct some
  289.   special Sectors like doors, stairs and lifts.
  290.  
  291.   Please note that there ARE other ways to do them because there are many
  292.   different types of doors & lifts, etc. Also, you're a little more
  293.   experienced at making vertices, lines and Sectors already so we are not
  294.   going to have as many WAD files to demonstrate the structures, just one
  295.   or two to show each structure.
  296.  
  297.   In the examples below, the changes made are discussed as a., b., etc.,
  298.   describing the objects that were added and changed.
  299.  
  300.   Use the J command to jump to the object number described. Press J and
  301.   then enter the number in the box that pops up.
  302.  
  303.   Toggle the information boxes displayed on the bottom by pressing the I
  304.   key. This will speed up the display as required for some systems, since
  305.   it takes a bit to show each LineDef texture.
  306.  
  307.  
  308.  ┌─────────────────────────────────────────────────────────────────────────┐
  309.  │ Adding a *DOOR* We'll open it for you...                                │
  310.  └─────────────────────────────────────────────────────────────────────────┘
  311.  
  312.   Note: There's now a REAL easy way to make doors. 
  313.         Please search the online Help for DOOR under Misc and also Obj
  314.         
  315.         The following shows how to do it step-by-step so you can
  316.         fix any mistakes easier. 
  317.  
  318.   1. The split LineDef feature can be used to add a vertex which can then
  319.      be dragged to where you want the edge of the door to be.  This is
  320.      helpful if you decide after you build the Sector that you want to have
  321.      a door. If you planned ahead you won't need this. 
  322.      
  323.      You can also go to Vertex mode, press Ins and Left click to drop a vertex 
  324.      on top of a LineDef and it will automatically split where you placed the
  325.      vertex!
  326.  
  327.      Add some vertices & lines to build a new Sector which will later become
  328.      the door.
  329.  
  330.      You may want to add some more vertices and lines to build a Sector on
  331.      the other side of the door so you've got somewhere to go once the door
  332.      is open.
  333.  
  334.      {E2M7 or MAP09}
  335.  
  336.      There's no door here yet, but it'll be coming soon.
  337.  
  338.      a. Split line 0 into lines 0 & 8.
  339.  
  340.      b. Added lines 9,10,11.  Used lines 0,9,10,& 11 to add Sector 2
  341.         (Sector 2 will become the door in the next file.)
  342.  
  343.      c. Added lines 12,13,14.  Added Sector 3 on lines 10,12,13,& 14.
  344.         Sector 3 is the room on the other side.
  345.  
  346.   2. The "Normal" vector of the lines (The side of the arrow with the
  347.      line sticking out of it) must be on the 'outside' of the door.
  348.  
  349.      a. Change the type of the LineDefs on the front and back of the door
  350.         to a DOOR type.  1 DR Open door - closes after 6 seconds is the
  351.         best one for beginners, you'll figure out other types of doors later.
  352.  
  353.      b. Change the first SideDef of the front & back of the door to have
  354.         an Upper Texture only (NO Normal or Lower Texture).  If you want it
  355.         to be obvious, make it a texture that looks like a door.
  356.  
  357.      c. Change the ceiling height of the door Sector to the same level
  358.         as it's floor.  It will rise until it's just below the height
  359.         of the lowest adjacent ceiling.
  360.  
  361.      d. Change the ceiling texture of the door Sector to something that looks
  362.         like the bottom of the door.
  363.  
  364.      On the LineDefs on the sides of the door that are the door frame,
  365.      set the flags to Lo (lower texture unpegged.) This will keep them
  366.      from moving when the door goes up.  Also, you should set the
  367.      Normal texture to something that looks like a door frame.
  368.  
  369.      {E2M8 or MAP10}
  370.  
  371.      a. LineDefs 0 & 10, changed type to Door - DR open door
  372.      b. Changed first SideDefs upper texture (BIGDOOR2).
  373.      c. Set Sector #2 Ceiling height to the same as its' floor.
  374.      d. Changed ceiling texture (FLAT20).
  375.      e. Changed lines 9 & 11 texture (DOORTRAK).
  376.      f. Set 9 & 11 to type Lower Unpegged.
  377.  
  378.      Tada!  A working door!
  379.  
  380.  
  381.  ┌─────────────────────────────────────────────────────────────────────────┐
  382.  │ The STAIRWAY to Hell!                                                   │
  383.  └─────────────────────────────────────────────────────────────────────────┘
  384.  
  385.   Note: You can also build automatic stairs in two EASY ways.
  386.         Search Help under Misc and Obj.
  387.   
  388.         This is a step-by-step for more intricate designs.
  389.  
  390.   1. Add the LineDefs and Sectors that will become the stairs.
  391.  
  392.   2. Individually change the floor heights of each stair Sector.
  393.      Change them in units of 8 or 16 for best results (24 is the
  394.      maximum for a stair you can climb, but it looks pretty tall).
  395.  
  396.      Increment for stairs going up, decrement for stairs going
  397.      down. (obviously)
  398.  
  399.   3. For SideDefs facing a Sector that has a floor height lower
  400.      than its floor, set the lower texture to something that looks
  401.      like a stair.
  402.  
  403.   4. If the ceiling height is changed set the upper texture of SideDefs
  404.      facing Sectors with higher cielings.
  405.  
  406.      {E2M9 or MAP11}
  407.  
  408.      a. Set individual floor heights on Sectors 4,5,6,7,8
  409.      b. Set ceiling height on Sectors 4,5,6,7,8,9
  410.      c. Set first SideDef lower texture on lines 13,16,19, & 22.
  411.      d. Set second SideDef upper texture on line 13.
  412.  
  413.      Also, for demonstration set the floor height on Sector 9
  414.      lower so that you could 'fall' down into it and not be able
  415.      to get out because 64 units is too tall to climb.
  416.      Because Sector 9 is lower, set a lower texture on the second
  417.      SideDef of line 28.
  418.  
  419.  
  420.  ┌─────────────────────────────────────────────────────────────────────────┐
  421.  │ Hey Buddy! Need a *LIFT*?                                               │
  422.  └─────────────────────────────────────────────────────────────────────────┘
  423.  
  424.   Note: You can also build an automatic lift.  Select a sector and 
  425.         then create a lift from sector (Misc).
  426.   
  427.   1. It's best to make the LineDefs on the sides of the lift that
  428.      you can walk across have their "Normal" sides (the one with the
  429.      little line sticking out) on the outside of the lift.
  430.  
  431.   2. Change the TYPE of the LineDef facing the Sector with the lower
  432.      floor height to "Raise lift & switch to lower...".
  433.  
  434.   3. Set the TYPE of the LineDef facing the Sector with the same floor
  435.      height to "WR - lower lift...".
  436.  
  437.   4. Verify or set the floor height of the lift Sector to its maximum
  438.      height.
  439.  
  440.   5. Set the FLAGS for LineDefs on the side (that you don't cross) to
  441.      Upper texture unpegged.
  442.  
  443.   6. Set a lower texture on the SideDef of the LineDef which will be
  444.      higher than the lift when it is down.
  445.  
  446.   7. Set a floor texture on the lift Sector to something that looks
  447.      like a lift floor. (optional, but it looks good).
  448.  
  449.   8. Assign the lift Sector a LineDef TAG number.  Use the lowest
  450.      available tag number.
  451.  
  452.   9. Assign the LineDefs with the Lift TYPES the Sector TAG number
  453.      that you assigned to the lift Sector.
  454.  
  455.      {E3M1 or MAP12)
  456.  
  457.      a. Flipped LineDef 28.
  458.      b. Set LineDef 28 type to Raise lift...
  459.      c. Set LineDef 25 type to Lower lift...
  460.      d. Set LineDefs 26 & 27 flags to upper texture unpegged.
  461.      e. Set floor height of Sector 9 to it's up position.
  462.      f. Set floor texture of Sector 9 to STEP2.
  463.      g. Set lower texture of LineDef 25 second SideDef.
  464.      h. Assigned TAG #1 to Sector 9.
  465.      i. Assigned TAG #1 to LineDefs 25 & 28.
  466.  
  467.  
  468.  ┌─────────────────────────────────────────────────────────────────────────┐
  469.  │ *TRANSPORTER PAD * 1 to beam up!                                        │
  470.  └─────────────────────────────────────────────────────────────────────────┘
  471.  
  472.   Note: You can also build an automatic pad.  Select a pedestal 
  473.         in create a Rectangle Object (Obj), make it 64 x 64.
  474.   
  475.   {for the next few examples you will want to also try out the WADs to
  476.    see how they look in DOOM}
  477.  
  478.   1. First create two Sectors, either use Vertex mode and Ins as described
  479.      in the beginning or created a predefined object.
  480.  
  481.      One has to be a multiple of 64x64 units. It will be the 'pad' and has
  482.      to be aligned on a vertex with a multiple of 64 (turn on snap-to-grid if
  483.      you turned it off) or else the texture for the pad will be offset and
  484.      will look bad.
  485.  
  486.      {E3M2 or MAP13}
  487.  
  488.   2. Make sure the lines on the side of the pad are the right way, the
  489.      player will transport when he travels from side 1 to side 2 of the
  490.      line.
  491.  
  492.   3. Edit the line type and change it to 97 WR Transport to other Sector
  493.      (Go to line type, then special) or 39 W1 if you want it to work
  494.      only once.
  495.  
  496.   4. Set the Sector tag number of the lines to an unused number.
  497.  
  498.   5. Next, you'll need to decide where you want to transport. Select a
  499.      Sector and set the LineDef tag to the same as above.
  500.  
  501.   6. Lastly, add a transporter exit Thing somewhere in the destination
  502.      Sector.
  503.  
  504.  
  505.  ┌─────────────────────────────────────────────────────────────────────────┐
  506.  │ OK! Let's make everything look good!                                    │
  507.  └─────────────────────────────────────────────────────────────────────────┘
  508.  
  509.   1. {E3M3 or MAP14} is the same as above, but with textures aligned. Now
  510.      you know why I took that weird texture!
  511.  
  512.   2. Look at SideDef #2 & #5 (first SideDefs of lindedefs #2 & #5).
  513.      You'll see that they have a texture X alignment.
  514.  
  515.   3. Here's how to figure it out: go to maximum zoom (press + a few
  516.      times), then display the smallest grid (press SHIFT-G once). Each
  517.      square of the grid is 8 alignment points. To move a texture to
  518.      the left, X needs to be positive and to move it to the right,
  519.      X has to be negative. The way you have to look at it is taking
  520.      the wall itself and moving it over (or behind) the other one
  521.      as to blend the two together.
  522.  
  523.   4. So, if you look at SideDefs #2 and #5, you'll see that #2 has an
  524.      X offset of -64 and #5 of +64.
  525.  
  526.  
  527.  ┌─────────────────────────────────────────────────────────────────────────┐
  528.  │ TEXTURE alignment, line them up!                                        │
  529.  └─────────────────────────────────────────────────────────────────────────┘
  530.  
  531.   Now, we do some heavy math stuff! Aligning vertically for stairs and
  532.   more complex horizontal alignments. (NOTE: You can also automatically 
  533.   align X textures!).
  534.  
  535.  
  536.   1. {E1M1 or MAP01} is a test WAD with two stairs in it. One has varying
  537.      ceiling heights and the other has the same ceiling. This one
  538.      needs a LOT of work!
  539.  
  540.   2. {E1M2 or MAP02} is the aligned one. Looks a lot better hey! Here's how
  541.      it's done. NOTE that this is only for NORMAL textures, not
  542.      UPPER or LOWER textures, they are aligned in a different way.
  543.  
  544.   3. For starters, go back to A1, you'll notice that when the ceiling
  545.      is the same height, the textures align (vertically that is!) and
  546.      that's because DOOM displays a texture starting from the top left
  547.      of the panel.
  548.  
  549.      So, to align a texture vertically all you need to know is the difference
  550.      in ceiling height.
  551.  
  552.      In {E1M2 or MAP02} look at the Y offset of LineDefs #5, #13, #12 and #3.
  553.  
  554.   4. There's a problem with aligning all these LineDefs because you'd
  555.      need to be able to align beyond the -100 to 100 limit.
  556.  
  557.      The trick is to do a little adding and subtracting.
  558.  
  559.      If you need to align a texture by 128 points, then you'll need to move
  560.      one 100 points one way and the other -28 the other.
  561.  
  562.      In {E1M2 or MAP02} look at the X offsets of LineDefs #14 and #0.
  563.  
  564.   5. Another problem is when the LineDef is longer than the size of
  565.      a given wall. In the case of SKY2, it's 256 points wide and the
  566.      length of the wall composed of LineDefs #2, #4, #11 and #10 is a
  567.      total of 464 points, so SKY1 fits almost twice.
  568.  
  569.      Next, how we got the X offsets for the above lines.
  570.  
  571.   6. Here's how it's done;
  572.  
  573.      a. lines #2, #4 and #11 together are 256 points long, so lines #2
  574.         and # 10 will have the exact same offset.
  575.  
  576.      b. Next, if you left line #2 with an offset of 0, you would
  577.         need to move line #4 by 128 (or -128 which is the same because
  578.         the texture is 256) and line #4 by 128+64=192 (or -64 which is
  579.         192-256).
  580.  
  581.      c. You can't do that! Remember, you have a limit of -100 (SBS note,
  582.         we think its -255 to 255) to 100, so 128 (or -128) will not do, so
  583.         we need to use two lines to do it.
  584.  
  585.      d.  If you move line #2 by -100, then you only need to move
  586.         line #4 by 28 (-100 - 28 = -128) and line #11 by 92 (28
  587.         + 64 = 92). Then all you do is set line #10 the same as line
  588.         #2 which is -100.
  589.  
  590.   7. This might look complicated and most of the time you don't have to
  591.      do any of this at all. If you are bothered by some lines out of joint,
  592.      this is how you do it.
  593.  
  594.      DeeP has an automatic align texture X. It helps to know how it works
  595.      so you can calculate an initial offset value for the first texture.
  596.  
  597.  
  598.  ┌─────────────────────────────────────────────────────────────────────────┐
  599.  │ MORE alignment ................!                                        │
  600.  └─────────────────────────────────────────────────────────────────────────┘
  601.  
  602.   OK, here's the best you can do to align the textures for windows and
  603.   secret doors...
  604.  
  605.   1. Look at {E3M4 or MAP15}
  606.  
  607.      Run DOOM as described earlier, go to each side of the window one
  608.      side is aligned and the other is not. Now look at each of the
  609.      secret doors, one is aligned vertically and the other is not. Can
  610.      you figure out how to align UPPER textures? OK, I'll tell you.
  611.  
  612.      (The X offset alignment is the same as described in the last few 
  613.      paragraphs.)
  614.  
  615.      {Check the MAP (press TAB) , you can only see a door (yellow line)
  616.      on the WEST side. The Secret bit is set for that LineDef, also the
  617.      Sector behind the EAST door is also of type "secret".}
  618.  
  619.   2. First, for windows, you'll just need to set the flag "Upper
  620.      Texture is Unpegged" because normally an UPPER texture is drawn
  621.      from the bottom left corner up (remember a NORMAL texture is
  622.      drawn from the TOP left corner down) and changing this flag will
  623.      make it drawn just like a NORMAL texture.
  624.  
  625.      This will align the texture vertically (assuming the ceiling height is
  626.      the same as the adjoining walls).
  627.  
  628.   3. Second, for doors, you don't want to set the "unpegged" flag
  629.      because the door would not look right when oppening, so you want
  630.      to adjust the texture with an offset. In W1, the ceiling is 100
  631.      high and STARTAN3 is 128 high, so you want the Y offset to be
  632.      -28 (128 - 100 = -28).
  633.  
  634.   4. Third, you'll want to know how to align the bottom part of a
  635.      window. Well, unless somebody proves otherwise, it can't be
  636.      done. Sure, you can use textures that LOOK aligned (because
  637.      of the Window height and texture type) but you can't REALLY
  638.      do it.
  639.  
  640.      Here's why: 
  641.      
  642.      LOWER textures and NORMAL textures are drawn from TOP left 
  643.      corner down, unless you set the "Lower texture is unpegged" flag. 
  644.  
  645.      In that case it starts from wherever the upper texture ended. 
  646.      Look at the WEST side of the window in E3M4 or MAP15 (the side that 
  647.      isn't aligned). 
  648.      
  649.      I set the upper and lower textures to unpegged. See the difference?
  650.  
  651.      The LOWER texture of the "aligned" side is the same as the
  652.      UPPER texture there, but on the "un-aligned" side, it is the
  653.      continuity of the UPPER texture.
  654.  
  655.   ──────────────────────────────────────────────────────────────────────────
  656.  
  657.   Well that's all for now...
  658.  
  659.   The rest you can probably figure out from looking at the original
  660.   levels from id software.  We suggest the first level from either DOOM
  661.   or DOOM II. HERETIC is complicated right up front. So search around for
  662.   one that looks simpler!
  663.  
  664.   It takes a while to get the hang of all the details. Don't feel stupid,
  665.   it took me a month to finally understand all of this!
  666.  
  667.   ──────────────────────────────────────────────────────────────────────────
  668.  
  669.   This was originally compiled by Steve Bareman and Jean-Serge Gagnon with 
  670.   guidance from Raphael Quinet and numerous helpful suggestions from DEU 
  671.   and DeeP users.
  672.  
  673.   Modified and extended by Mike Vermeulen, SBS using extra DeeP functionality.
  674.