# Floor, Ceiling, and Split Doors

Start up BUILD and make two separate sectors, one sector (10 units per side for now) and the other right above it, its bottom wall running parallel to the top wall of the lower sector. Insert two vertices 6 or 7 grid spaces apart on each of the walls of the two sectors. Make another sector (basically joining your two sectors) using the four vertices you just inserted. Your design should be close to the picture shown. |

While in 2d mode, point the mouse pointer inside the new "door" sector (the one sandwiched between the two bigger sectors) and insert a sprite. Move the pointer over a little ways and insert another sprite. It is critical that these sprites be inside that sector. Switch over to 3d mode and change one of the sprites to a Sector Effector (SE), and the other to a MusicAndSndFX. Switch back to 2d mode and set the tags for the SE to 64 hitag, and 10 lotag. The hitag is used for the length of time the door will stay open. 64 is about 2 seconds. The lotag is for Door Auto Close. Change the MusicAndSndFX sprite's lotag to 166, which is the Doom-like sound of a door opening. Set the door sector's lotag to 20, which is for a ceiling door. Finally, when all that is complete, switch back again to 3d mode and lower the door's ceiling all the way to its floor. Just make sure you've picked the tiles you like first :)

To make the door come down from the ceiling, simply change the sector lotag from 20 to 21, and move the door sector's floor and ceiling to the surrounding sector's ceiling.
To make the door split from the middle, simply change the sector lotag from 20 to 22, and move the door sector's floor and ceiling to the middle of the door.

###
Download this page locally

Duke Nukem 3D is copyright ©1996 , All Rights reserved.

### THIS PAGE IS NOT MADE BY OR SUPPORTED BY 3D REALMS

| Copyright ©1996 Tyler Matthews, All Rights reserved. Go back to my Duke FAQ BUILD page Go back to my Duke FAQ BUILD page Text-Only