Linedef type 54

From SRB2 Wiki
Jump to: navigation, search
Warning icon.png
This article or section should contain one or more images. Please spruce up the article by adding an image.

Linedef type 54, Continuous Floor Mover, is a type of linedef special which moves the floor of a sector or an FOF vertically back and forth between two specified heights. It is identical in function to linedef type 53, except that it moves only the floor, rather than both the floor and the ceiling. This linedef type can be used to replace floating platforms in some cases, where only the floor is required to move.

Setup

To use this effect, create two control sectors outside of your map, joined by a single linedef. The easiest way to do this is to create two small squares of equal size which share a linedef. The linedef which joins together the two control sectors should be set to have linedef type 54, and be tagged to the desired target sector(s) within the map or FOF control sector(s).

The target sector's/FOF's floor will first move to the floor height of the linedef's front control sector, then to the floor height of the linedef's back control sector, then to the front sector again, and so on. The length of the controlling linedef determines the speed of the movement; one fracunit of length equals 0.25 fracunits per tic.

It is possible to add a delay before the floor begins to move, by setting the time in tics in the control linedef's front texture Y offset. If you want the floor to delay every time before changing direction, you can do so by setting the time in tics in the control linedef's front texture X offset.

Sample

Example WAD: ex_ld054_continuousfloormover.wad
  Linedef types - Plane movement [view]
Continuously Falling SectorContinuous Floor/Ceiling MoverContinuous Floor MoverContinuous Ceiling MoverContinuous Two-Speed Floor/Ceiling MoverContinuous Two-Speed Floor MoverContinuous Two-Speed Ceiling MoverActivate Floating PlatformActivate Floating Platform (Adjustable Speed)Crusher (Ceiling to Floor)Crusher (Floor to Ceiling)