home *** CD-ROM | disk | FTP | other *** search
/ Home Edutainment Collection 4: Games & Extensions / Aztech-HomeEdutainmentCollection-Vol4-3DGamesExtensions.iso / deu / tutor.doc < prev    next >
Text File  |  1994-04-26  |  19KB  |  444 lines

  1.   DEU TUTORIAL v1.5
  2.  
  3.   Making your first original level.
  4.  
  5.   This document and the accompanying .wad files should help
  6.   you to see what you need to do to build a level.  It's a
  7.   sort of touch-and-see how it works thing.  (sounds like
  8.   fun!)
  9.  
  10.   This tutorial works best it you print out the TUTOR.DOC
  11.   and then follow along with DEU on the computer.
  12.  
  13.   Items appearing in braces {} indicate that there is a file
  14.   that you can load to follow along and see how to do things.
  15.   load the file by typing  "R wadfilename.WAD" at the DEU Main Menu.
  16.   After the file is loaded type "E 2 1" to go into the editor.
  17.   then select the editing mode(s) indicated in the braces
  18.   and move the pointer around to touch things and look at how
  19.   they are structured.
  20.  
  21.  
  22.   Now we begin our journey...
  23.  
  24.    1. First create the new map with the Create command from the 
  25.       main menu (C 2 1).  Go into vertices mode (hit tab) and 
  26.       create some vertices by positioning the cursor where you
  27.       want the vertex and then press "Ins" to place a vertex 
  28.       there.  Using the Grid mode (press G) is helpful if you
  29.       want to line up the vertices.  You will need a minimum of 
  30.       three to create an enclosed polygon.  (Don't be afraid 
  31.       of running out until you're really good at this,
  32.       many doom maps contain well over 800 vertices.)
  33.  
  34.    2. Group the vertices by marking them (highlight them and left click the 
  35.       mouse or press "M") and add linedefs by pressing insert.  It is best
  36.       to mark them in CLOCKWISE order.
  37.  
  38.    3. Mark all of the lines for the sector (you will want to mark the ones
  39.       that aren't already marked) and press "Ins" to add a sector.
  40.  
  41.    4. Repeat steps 1 - 3.  
  42.       (You'll want more than 1 sector, unless you are very dull).
  43.       {S1.WAD - vertices, linedefs}
  44.       Load up this wad and see a very basic 2 sector map.
  45.  
  46.    5. (This step is made mostly obsolete by DEU5.0 and above since
  47.       it now does these things automatically, but you can verify it
  48.       anyway.)
  49.  
  50.       If you have any lines that are shared by 2 sectors and are meant 
  51.       to be the place where you cross from room to room set the Flags 
  52.       to 2S (two-sided and shoot thru) and turn off the Impassable Flag.  
  53.       You will probably want to get rid of any of the Normal/Upper/Lower 
  54.       Textures that are on lines that you walk across (usually, unless 
  55.       you want to create the illusion of walking through a wall.).
  56.       
  57.       {S2.WAD - Linedef} Check out Linedef # 1.
  58.  
  59.  
  60.    6. To change the way the walls look, select a line or a group of lines 
  61.       and change the Normal texture on some of the Sidedefs. (To go to
  62.       line editing mode, press L).
  63.       
  64.       {S3.WAD - Linedef} Take a look at Linedefs #0,2, and 3.
  65.  
  66.  
  67.    7. Change the Floor and Ceiling Textures in a sector. (To go to sector
  68.       editing mode press S).
  69.       
  70.       {s4.wad -Sector}  Look at Sector #1, compare to the default in
  71.       sector 0.
  72.  
  73.  
  74.    8. Add a Player1 Start thing. If you want to play cooperatively you
  75.       will also want to add a Player2, Player3 and Player4 start thing
  76.       and if you want to play in deathmatch mode you must have a MINIMUM
  77.       of 4 deathmatch start things)
  78.       
  79.       {s5.wad -Things}  That's were you start and the direction you're
  80.       facing.
  81.  
  82.    9. Change the type of one of the lines to 
  83.          "Special - Ends level goes to next level."
  84.       If you want to be able to leave the level you will need an exit.
  85.       (Even if just to see the deathmatch frag counts!).
  86.       
  87.       {S6.WAD - Linedefs} Check out Line 5.  Oh yeah, the texture was
  88.       changed to one of the SW1xxxx textures so that it looks like a
  89.       switch too.  Nice touch eh?
  90.  
  91.  
  92.   10. Use Q to quit and save your changes.  Answer Y to the question
  93.       about building the nodes, etc. (unless you use expert mode, 
  94.       in which case... Why are you reading the tutorial?? ;-)
  95.  
  96.   11. Use Q to quit DEU.
  97.  
  98.   12. Fire up doom and try it out!
  99.  
  100.    DOOM -FILE yourfile.WAD
  101.  
  102.         If you are working on a level higher than E1L1 you can
  103.         go straight there by using IDCLEVxy  where x is the episode
  104.         and y is the mission #.
  105.  
  106.   13. To record a demo of your level (a .LMP file) type this:
  107.  
  108.    DOOM -DEVPARM -WARP e m -SKILL s -RECORD demofile -FILE yourfile.WAD
  109.  
  110.         You must NOT type the .LMP extention and you MUST type the .WAD
  111.         extension. 'e' is for Episode (1, 2 or 3), 'm' is for mission
  112.         (1 to 9) and 's' is for skill level (1 to 5). If you die before
  113.         the end, press SPACE to end the recording and go back to DOS.
  114.  
  115.   14. To play back your demo, type this:
  116.  
  117.    DOOM -PLAYDEMO demofile -FILE yourfile.WAD
  118.  
  119.  
  120.  
  121.  
  122.   CHAPTER 2:  The Adventure Continues...
  123.  
  124.  
  125.  
  126.   Now that we have a level, let's put some cool stuff in it.  What
  127.   we will do here is to show ONE possible way to construct some 
  128.   special sectors like doors, stairs and lifts.  Please note that
  129.   there ARE other ways to do them because there are many different
  130.   types of doors & lifts, etc.  Also, you're a little more experienced
  131.   at making vertices, lines and sectors already so we are not going 
  132.   to have as many WAD files to demonstrate the structures, just one
  133.   or two to show each structure.
  134.  
  135.  
  136.  
  137.  
  138.   Adding a *DOOR*.  We'll open it for you...
  139.  
  140.   1. The split linedef feature can be used to add a vertex which 
  141.      can then be dragged to where you want the edge of the door 
  142.      to be.  This is helpful if you decide after you build the 
  143.      sector that you want to have a door.  If you planned ahead
  144.      you won't need this.
  145.  
  146.      Add some vertices & lines to build a new sector which will 
  147.      later become the door.
  148.  
  149.      You may want to add some more vertices and lines to build a sector
  150.      on the other side of the door so you've got somewhere to go once
  151.      the door is open.
  152.   
  153.   {s7.wad - linedefs and sectors}
  154.  
  155.      There's no door here yet, but it'll be coming soon.
  156.      Split line 0 into lines 0 & 8.
  157.      Added lines 9,10,11.  Used lines 0,9,10,& 11 to add sector 2
  158.      (Sector 2 will become the door in the next file.)
  159.      Added lines 12,13,14.  Added sector 3 on lines 10,12,13,& 14.
  160.      Sector 3 is the room on the other side.     
  161.  
  162.   2. The "Normal" vector of the lines (The side of the arrow with the
  163.      line sticking out of it) must be on the 'outside' of the door.
  164.      
  165.      Change the type of the linedefs on the front and back of the door
  166.      to a DOOR type.  1 DR Open door - closes after 5 seconds is the
  167.      best one for beginners, you'll figure out other types of doors later.
  168.  
  169.      Change the first sidedef of the front & back of the door to have
  170.      an Upper Texture only (NO Normal or Lower Texture).  If you want it
  171.      to be obvious, make it a texture that looks like a door.
  172.  
  173.      Change the ceiling height of the door sector to the same level 
  174.      as it's floor.  It will rise until it's just below the height 
  175.      of the lowest adjacent ceiling.
  176.  
  177.      Change the ceiling texture of the door sector to something that looks
  178.      like the bottom of the door.
  179.  
  180.      On the linedefs on the sides of the door that are the door frame,
  181.      set the flags to Lo (lower texture unpegged.) This will keep them
  182.      from moving when the door goes up.  Also, you should set the 
  183.      Normal texture to something that looks like a door frame.
  184.  
  185.      {s8.wad - linedefs and sectors}
  186.  
  187.      Linedefs 0 & 10, changed type to Door - DR open door
  188.      Changed first sidedefs upper texture (BIGDOOR2).
  189.      Set sector #2 Ceiling height to the same as its' floor.
  190.      Changed ceiling texture (FLAT20).
  191.      Changed lines 9 & 11 texture (DOORTRAK).
  192.      Set 9 & 11 to type Lower Unpegged.
  193.      Tada!  A working door!
  194.  
  195.  
  196.   Perhaps you can buy a Stairway to Heaven, but you'll have to
  197.   build the *STAIRWAY* to Hell!
  198.  
  199.  
  200.   1. Add the linedefs and sectors that will become the stairs.
  201.   
  202.   2. Individually change the floor heights of each stair sector.
  203.      Change them in units of 8 or 16 for best results (24 is the
  204.      maximum for a stair you can climb, but it looks pretty tall).
  205.      Increment for stairs going up, decrement for stairs going
  206.      down. (obviously)
  207.  
  208.   3. For sidedefs facing a sector that has a floor height lower
  209.      than its floor, set the lower texture to something that looks
  210.      like a stair.
  211.  
  212.   4. If the ceiling height is changed set the upper texture of sidedefs
  213.      facing sectors with higher cielings.
  214.  
  215.   {s9.wad - linedefs, sectors}
  216.  
  217.      Set individual floor heights on sectors 4,5,6,7,8
  218.      Set ceiling height on sectors 4,5,6,7,8,9
  219.      Set first sidedef lower texture on lines 13,16,19, & 22.
  220.      Set seconds sidedef upper texture on line 13.
  221.  
  222.      Also, for demonstration set the floor height on sector 9
  223.      lower so that you could 'fall' down into it and not be able
  224.      to get out because 64 units is too tall to climb.
  225.      Because sector 9 is lower, set a lower texture on the second
  226.      sidedef of line 28.
  227.  
  228.  
  229.  
  230.      
  231.   Hey buddy!  Need a *LIFT*?
  232.  
  233.  
  234.   1.  It's best to make the linedefs on the sides of the lift that 
  235.       you can walk across have their "Normal" sides (the one with the
  236.       little line sticking out) on the outside of the lift.
  237.  
  238.   2.  Change the TYPE of the linedef facing the sector with the lower
  239.       floor height to "Raise lift & switch to lower...".
  240.  
  241.   3.  Set the TYPE of the linedef facing the sector with the same floor
  242.       height to "WR - lower lift...".
  243.  
  244.   4.  Verify or set the floor height of the lift sector to its maximum
  245.       height.
  246.  
  247.   5.  Set the FLAGS for linedefs on the side (that you don't cross) to 
  248.       Upper texture unpegged.
  249.  
  250.   6.  Set a lower texture on the sidedef of the linedef which will be
  251.       higher than the lift when it is down.
  252.  
  253.   7.  Set a floor texture on the lift sector to something that looks
  254.       like a lift floor. (optional, but it looks good).
  255.  
  256.   8.  Assign the lift sector a linedef TAG number.  Use the lowest
  257.       available tag number.
  258.  
  259.   9.  Assign the linedefs with the Lift TYPES the sector TAG number 
  260.       that you assigned to the lift sector.
  261.  
  262.   {s10.wad - linedefs, sectors)
  263.  
  264.      Flipped linedef 28.
  265.      Set linedef 28 type to Raise lift...
  266.      Set linedef 25 type to Lower lift...
  267.      Set linedefs 26 & 27 flags to upper texture unpegged.
  268.      Set floor height of sector 9 to it's up position.
  269.      Set floor texture of sector 9 to STEP2.
  270.      Set lower texture of linedef 25 second sidedef.
  271.      Assigned TAG #1 to sector 9.
  272.      Assigned TAG #1 to linedefs 25 & 28.
  273.      
  274.  
  275.  
  276.   * TRANSPORTER pad, 1 to beam up! *
  277.  
  278.  
  279.   {for the next few examples you will want to also try out the WADs to
  280.    see how they look in DOOM}
  281.  
  282.   1. First create two sectors. One has to be a multiple of 64x64 units.
  283.      It will be the 'pad' and has to be aligned on a vertex with a 
  284.      multiple of 64 (use G for grid to align the vertex points) or else
  285.      the texture for the pad will be offset and will look bad. {T1.WAD}
  286.  
  287.   2. Make sure the lines on the side of the pad are the right way, the
  288.      player will transport when he travels from side 1 to side 2 of the
  289.      line. 
  290.  
  291.   3. Edit the line type and change it to 97 WR Transport to other sector 
  292.      (Go to line type, then special) or 91 W1 if you want it to work
  293.      only once.
  294.  
  295.   4. Set the Sector tag number of the lines to an unused number.
  296.      
  297.   5. Next, you'll need to decide where you want to transport. Select a
  298.      sector and set the linedef tag to the same as above.
  299.  
  300.   6. Lastly, add a transporter exit thing somewhere in the destination
  301.      sector.
  302.  
  303.  
  304.  
  305.   Ok, now we're cooking!  Let's make everything look good!
  306.  
  307.  
  308.   1. {T2.WAD} is the same as above, but with textures aligned. Now
  309.      you know why I took that weird texture!
  310.  
  311.   2. Look at Sidedef #2 & #5 (first sidedefs of lindedefs #2 & #5).
  312.      You'll see that they have a texture X alignment. 
  313.  
  314.   3. Here's how to figure it out: go to maximum zoom (press = a few
  315.      times), then display the smallest grid (press SHIFT-G once). Each
  316.      square of the grid is 8 alignment points. To move a texture to
  317.      the left, X needs to be positive and to move it to the right,
  318.      X has to be negative. The way you have to look at it is taking
  319.      the wall itself and moving it over (or behind) the other one
  320.      as to blend the two together.
  321.  
  322.   4. So, if you look at sidedefs #2 and #5, you'll see that #2 has an
  323.      X offset of -64 and #5 of +64.
  324.  
  325.  
  326.  
  327.   Line up!  (Texture Alignment) 
  328.  
  329.   Now, we do some heavy math stuff! Aligning vertically for stairs and
  330.   more complex horizontal alignments.
  331.  
  332.  
  333.   1. {A1.WAD} is a test WAD with two stairs in it. One has varying 
  334.      ceiling heights and the other has the same ceiling. This one
  335.      needs a LOT of work!
  336.  
  337.   2. {A2.WAD} is the aligned one. Looks a lot better hey! Here's how
  338.      it's done. NOTE that this is only for NORMAL textures, not 
  339.      UPPER or LOWER textures, they are aligned in a different way.
  340.  
  341.   3. For starters, go back to A1, you'll notice that when the ceiling
  342.      is the same height, the textures align (vertically that is!) and
  343.      that's because DOOM displays a texture starting from the top left
  344.      of the panel. So, to align a texture vertically all you need to
  345.      know is the difference in ceiling height. {In A2.WAD look at the
  346.      Y offset of linedefs #5, #13, #12 and #3}.
  347.  
  348.   4. There's a problem with aligning all these linedefs because you'd
  349.      need to be able to align beyond the -100 to 100 limit. The trick
  350.      is to do a little math (I know, yuck!). If you need to align a
  351.      texture by 128 points, then you'll need to move one 100 points 
  352.      one way and the other -28 the other. {In A2.WAD look at the X
  353.      offsets of linedefs #14 and #0}.
  354.  
  355.   5. Another problem is when the linedef is longer than the size of
  356.      a given wall. In the case of SKY2, it's 256 points wide and the
  357.      length of the wall composed of linedefs #2, #4, #11 and #10 is a
  358.      total of 464 points, so SKY1 fits almost twice. If you look at
  359.      the X offsets for the above lines, you'll probably say: "How the
  360.      heck did he get those!?!?" It's really elementary math skills!
  361.  
  362.   6. Here's how it's done; first, lines #2, #4 and #11 together are
  363.      256 points long, so lines #2 and # 10 will have the exact same
  364.      offset. Next, if you left line #2 with an offset of 0, you would
  365.      need to move line #4 by 128 (or -128 which is the same because
  366.      the texture is 256) and line #4 by 128+64=192 (or -64 which is
  367.      192-256). You can't do that! Remember, you have a limit of -100
  368.      to 100, so 128 (or -128) will not do, so we need to use two
  369.      lines to do it. If you move line #2 by -100, then you only need
  370.      to move line #4 by 28 (-100 - 28 = -128) and line #11 by 92 (28
  371.      + 64 = 92). Then all you do is set line #10 the same as line
  372.      #2 which is -100.
  373.  
  374.   7. I know it looks really complicated, but it really is simple once
  375.      you know how to do it (I know, I sound like your fifth grade math
  376.      teacher!). Anyways, DEU may eventually have an align texture
  377.      feature, so you can wait until then, but if you want to be in the 
  378.      hall of fame of WADs, you'll need to align those textures NOW!
  379.  
  380.  
  381.  
  382.   Wow! I want more! OK, here's the best you can do to align the
  383.   textures for windows and secret doors...
  384.  
  385.   1. Look at W1.WAD (run DOOM with it, type 'doom -file w1.wad', and
  386.      start a new Episode 2 game). Go to each side of the window one
  387.      side is aligned and the other is not. Now look at each of the
  388.      secret doors, one is aligned vertically and the other is not. Can
  389.      you figure out how to align UPPER textures? OK, I'll tell you,
  390.      but I won't explain the X offset alignement, I just did in the
  391.      last few paragraphs!
  392.  
  393.      {Check the MAP (press TAB) when running DOOM with W1.WAD, you
  394.      can only see a door (yellow line) on the WEST side. The Secret
  395.      bit is set for that Linedef, also the Sector behind the EAST
  396.      door is also of type "secret".}
  397.  
  398.   2. First, for windows, you'll just need to set the flag "Upper
  399.      Texture is Unpegged" because normally an UPPER texture is drawn
  400.      from the bottom left corner up (remember a NORMAL texture is
  401.      drawn from the TOP left corner down) and changing this flag will
  402.      make it drawn just like a NORMAL texture. This will align the
  403.      texture vertically (assuming the ceiling height is the same as
  404.      the adjoining walls).
  405.  
  406.   3. Second, for doors, you don't want to set the "unpegged" flag
  407.      because the door would not look right when oppening, so you want
  408.      to adjust the texture with an offset. In W1, the ceiling is 100
  409.      high and STARTAN3 is 128 high, so you want the Y offset to be
  410.      -28 (128 - 100 = -28).
  411.  
  412.   4. Third, you'll want to know how to align the bottom part of a
  413.      window. Well, unless somebody proves otherwise, it can't be
  414.      done. Sure, you can use textures that LOOK aligned (because
  415.      of the Window height and texture type) but you can't REALLY
  416.      do it. Here's why: LOWER textures are drawn the exact same way
  417.      as NORMAL textures (from TOP left corner down) unless you set
  418.      the "Lower texture is unpegged" flag in which case it starts
  419.      from wherever the upper texture ended. Look at the WEST side
  420.      of the window in W1.WAD (the side that isn't aligned). I set
  421.      the upper and lower textures to unpegged. See the difference?
  422.      The LOWER texture of the "aligned" side is the same as the
  423.      UPPER texture there, but on the "un-aligned" side, it is the
  424.      continuty of the UPPER texture.
  425.  
  426.  
  427.  
  428.   Well that's all for now...
  429.  
  430.   The rest you can probably figure out from looking at the original 
  431.   levels from id software.  (Really, we figured it out and we're 
  432.   stupid. You should have much less trouble.)
  433.   
  434.   If you're not registered yet, call 1-800-IDGAMES and register now.
  435.  
  436.   And don't forget, DOOM: Hell on Earth, coming soon! (September 1994)
  437.   [Possessed humans with chain-guns, new bad-ass bosses, more
  438.   wicked enemies, more grim-n-gory death sequences.]
  439.   
  440.   
  441.   The DEUTUTOR was compiled by Steve Bareman and Jean-Serge Gagnon
  442.   with guidance from Raphael Quinet and numerous helpful suggestions
  443.   from DEU users and alt.games.doom.
  444.