Pillar linedef types

From Eternity Wiki
Jump to navigationJump to search

A pillar is a linedef type that moves both floor and ceiling in opposite directions. All pillar linedefs are parameterized; there are no regular, extended, or generalized pillar types. Instant pillar motion is not possible.

Back to Linedef types

Pillar varieties[edit]

  • Build

The pillar's floor and ceiling move up and down respectively until they meet at a parameter-specified height. If the specified height is 0, the floor and ceiling will meet at a point directly half-way between their current heights. The speed parameter for this type specifies the speed of the surface which must move the greater distance. The other surface's speed will be set such that it arrives at the destination at the same time. No crushing damage is done by this type. If motion is blocked, both surfaces will wait until the obstruction is removed.

  • Build and Crush

This is exactly the same as build, but variable crushing damage will be inflicted on all objects that are blocking the pillar's motion.

  • Open

The pillar's floor and ceiling move apart (down and up respectively), opening a closed pillar. The distances that the floor and ceiling should move are specified separately as parameters. If the floor distance is zero, the floor will move to the lowest surrounding floor. If the ceiling distance is zero, the ceiling will move to the highest surrounding ceiling. The speed parameter specifies the speed of the surface which must move the greatest distance. The other surface's speed will be set such that it arrives at its destination at the same time. This type of action can only be performed on a sector which has the floor and ceiling heights equal. Return to Table of Contents

Pillar linedef types[edit]

There are currently three types of parameterized pillar specials, each performing a different type of pillar action. See the Parameterized Pillar Types section for full information on how to use these specials.

Parameterized Pillar Types
-------------------------------------------------------------------------------
#      Class   Function                           ExtraData Name

362    Param   Build pillar                       Pillar_Build
363    Param   Build pillar and crush             Pillar_BuildAndCrush
364    Param   Open pillar                        Pillar_Open