Sector effectors

From EDukeWiki
Revision as of 11:42, 17 June 2014 by Daedolon (talk | contribs)
Jump to navigation Jump to search

In vanilla Duke Nukem 3D, Sector Effectors (Tilenum #1) are used to create practically all of the effects that affect sectors in any way as opposed to effects that affect sprites and [Actor|actors]], which are mainly created by CON language. Atomic Edition added a few new Sector Effectors, most of them came with the vanilla game.

Although you can find the complete listing of Sector Effectors in the Sector Effector Reference Guide, this page exists to explain them as well as their particular quirks in detail for advanced level editing.

SE30 - Floor Rise/Fall

Other stuff (needs a name)
Name Lotag Hitag Info
GPSPEED (speed) - Controls the speed of the effect.

NOTE: The speed also affects the destination (see below).

ACTIVATOR

MASTERSWITCH

(first free) - You can use any free tag to toggle or activate the effect with a switch.

SE30 is used to create rising or falling sectors and differs from Sector Tag 17 (Elevator Platform Up) in minor ways. The greatest advantage of SE30 is that the platform does not get activated if the player falls on the sector.

To use the SE30, place the sprite at the desired end height. Once activated, the sector will rise or descend to the Sprite's Z height. In order to make a floor descend, you must lower the sprite below its current height. This is accomplished by either manually setting the sprite's Z in 2D mode (by pressing F8 to edit its properties), or lowering it with the PageDown controls in 3D mode while in progress of raising the sector's floor.

Note that the Lotag of the GPSPEED sprite can affect how the sector reaches its destionation height. For instance, if you're only using increments of PageUp/PageDown in the 3D mode of the editor (1024 build units), the speed set must be power of two.

If you're using a value that's not dividable by 2, the sector will not reach the height given by the SE sprite. If you're using odd values by either manually setting the desired height in 2D mode, holding down Home while pressing PageUp/PageDown in 3D mode or moving either the sector or SE with ALT+Mouse1, please make sure the speed is divisible by the difference between the sector's Floorz and the SE sprite's Z.

SE31 - Ceiling Rise/Fall

Other stuff (needs a name)
Name Lotag Hitag Info
GPSPEED (speed) - Controls the speed of the effect.

NOTE: The speed also affects the destination (see below).

ACTIVATOR

MASTERSWITCH

(first free) - You can use any free tag to toggle or activate the effect with a switch.

SE31 works exactly like SE30, except the ceiling instead of the floor of the sector is moved to the SE sprite's Z.