home *** CD-ROM | disk | FTP | other *** search
- =====================================================================
- *** Tempest's BUILD Tutorial ***
- Lesson 2 : Making doors that move up
- =====================================================================
- Purpose:
- A tutorial on making doors that move up in Duke Nukem 3D using
- Build.
-
- Step 1:
- Make a door opening. Choose some cool textures.
-
- Step 2:
- Move the ceiling of the door to the floor. Do this by aiming at the
- wall or the ceiling of the door sector and pressing PgDn. If you
- want the door to open without the walls also moving, press 'O' on
- the sides of the wall. You'll notice that when you move the ceiling
- up or down, that the walls move differently. In fact, they don't
- move at all anymore.
-
- Step 3:
- Now that you have moved the ceiling of the door sector all the way
- down to the floor, we're ready to make the door work.
-
- Step 4:
- For a door that opens up by moving upwards, you have to give the
- door sector a Lo-tag value of 20. Do this by going to 2D-mode,
- moving the mouse cursor to the door sector, press 'T' and then
- enter the value "20". You'll see a white rectangle within the
- sector with the text "0,20" in it. That's it!
- If you want the door to make a sound, insert a Music & SFX sprite.
- Insert a sprite in 2D-mode by pressing 'S'. In 3D-mode you'll have
- to point to the floor and then press 'S'. Press 'V' twice to
- get a listing of all sprites. Select the blue M, that's sprite #5.
- You can press 'G' to select the sprite# to jump to. Move the
- sprite inside the door sector and give it a Lo-tag value of 166
- or any other sound you want for the door. Giving sprites a Lo-tag
- value requires you to be in 2D-mode, moving the mouse cursor on
- the sprite and then press 'Alt-T'.
- Give the door a certain speed by adding a Speed-sprite (sprite#10).
- It's Lo-tag value must be the speed of the door. I used 256 in
- my example map.
- You can make the door close after a while by adding a Sector
- Effector sprite (sprite#1). The Lo-tag value must be 10. The
- Hi-Tag value must be the time that the door waits before closing.
- Give the SE (Sector Effector) a Hi-tag value by pressing 'Alt-H'
- in 2D-mode.
-
- =====================================================================
- Cho Yan Wong (aka Tempest)
- pwong@pobox.leidenuniv.nl
- http://www.wi.leidenuniv.nl/~cwong/myindex.html
- =====================================================================