home *** CD-ROM | disk | FTP | other *** search
/ Duke!Zone / D3DZONE.iso / d3dzone / build / parallax.d! / PARALLAX.TXT < prev    next >
Encoding:
Text File  |  1996-05-30  |  2.5 KB  |  51 lines

  1. ---------------------How to Parallax Ceilings and Walls----------------------
  2. Joe Giddings
  3. goldcard@intrstar.net
  4.  
  5. Everyone wonders how the space scenes were created in episode 2 of Duke.  This
  6. is probably the easiest thing to do, and can be used to create all kinds of
  7. interesting effects.  Refer to BIGSKY.MAP and SPACE.MAP to see my meaning.
  8.  
  9. First, draw out your room in 2d mode.  Any type of room will suffice.  For now
  10. though, stick to a large rectangular room.
  11.  
  12. Second, use lines to draw a sector inside your room.  Use ALT-S to make the 
  13. new sector valid.  Put the cursor on the lines and make them blocking, if you
  14. like, but this is not necessary. You should now have a room like so :
  15.  
  16.                         ___________________________________
  17.                         I _______________________________ I
  18.                         I I                             I I
  19.                         I I                             I I
  20.                         I I                             I I
  21.                         I I                             I I
  22.                         I ------------------------------- I
  23.                         I_________________________________I
  24.  
  25. Now, go into 3d mode and pick whatever texture you want for the OUTSIDE sector.
  26. Don't use Big Orbit in this example.  Use the LA texture for simplicity.  Once it is in
  27. place, press P to parallax the texture.  Then, move the pointer to the ceiling
  28. of the outer sector and hold down the left mouse button.  Press PgDn, until
  29. the ceiling in this part touches to floor.  Now place the same texture on the
  30. ceiling and parallax it.  All you should have now is a floor and a cityscape.
  31. The city will look weird, but when you play the level it will look normal.
  32.  
  33. Space scenes are a little different.  Big Orbit has an annoying tendency to
  34. kill you.  Do the same for space, but then make a sector inside the inner
  35. sector and make it something else, like a room.  Make sure the walls block so
  36. no one can wander out into space and die.  This time, parallax the floors as
  37. well.
  38.  
  39. IMPORTANT!!!! :
  40.         The only ceiling you have to pull down is the outermost sector.  This
  41.         is because if you pull down the other sectors as well, you cannot 
  42.         place sprites in space.  See SPACE.MAP for example.
  43.  
  44. Once finished, you can use standard wall masking to put in glass or force
  45. fields.
  46.  
  47. Using this method, one could surround an entire level and make it look like
  48. the level is in space, using windows and such.
  49.  
  50. Have fun!
  51.