# Incremental Sector Raise/Fall

This Sector Effector applies only to the PPak; it is not available with the 1.3 version of Duke3d.

Create three sectors, two room-sized sectors and a dividing door-like sector. We're going to have the middle door-like sector lower incrementally from the ceiling so that we can pass through. |

Insert an Activator and a Sector Effector in the door-like sector. Place a switch on the wall nearby. Change the Sector Effector lotag to 18. Change the Activator lotag to a unique switch number; I'm using 1 here. Give that same number to the switch lotag. The Sector Effector hitag is the rate at which the sector will move. Setting this hitag to 1 will cause the sector to lower one unit at a time. One unit is defined as one PgUp or PgDn in Build. Set the Sector Effector hitag to 2.
Switch over to 3d mode and move the SE-18 all the way to the ceiling. Change the SE-18 palette to 1, by pointing at it and hitting [ALT] +P. Changing the palette to a number other than 0 will cause the sector to start at the SE-18 height when playing the game, and then move to where the sector height is in Build. Otherwise, the sector would start where it is in Build, then move incrementally to the SE-18 height when playing the game.
The SE-18 sprite can also move the ceiling. Simply change the angle of the SE-18 sprite so that it points downwards. You might be wondering exactly what value the SE-18 sprite would be. In our example, we've only got one switch, and it takes 10 or so flips to lower the sector floor down. Seems kinda tiring to the player, doesn't it? You can use Touchplate sprites scattered about to do the lowering, setting their hitag to 1 so they only activate once. That way, Duke will have to walk across multiple areas to lower it all the way.
Another example: say you have a room with 4 dipswitches mounted about. As soon as Duke walks in, a Touchplate sprite closes the door behind him. One of the dipswitches opens another door to get out. The other 3 are linked to a SE-18 and cause the ceiling to lower by 20 notches... but the ceiling is only 40 notches over the floor. Two wrong guesses and Duke's toast :) Play with it, and see what you can come up with.

###
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