Linedef type 57
|This article or section should contain one or more images. Please spruce up the article by adding an image.|
Linedef type 57, Continuous Two-Speed Floor Mover, is a type of linedef special which moves the floor of a sector or an FOF vertically back and forth between specified heights. It works like linedef type 56, except it only moves the floor, rather than both the floor and the ceiling. Unlike linedef type 54, this effect does not slow down when it reaches the end of its movement. Instead, it changes instantly from going in one direction to going in the other, and operates at two specified speeds: the speed of the upward movement, and the speed of the downward movement. It is designed for making more sophisticated crushers than the crusher type allows, i.e., crushers with varying rise/crush speeds, FOF crushers, crushers with different start points, and so on.
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 57, 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 speed of the movement is determined by the control linedef's X distance (the first movement, towards the front sector) and Y distance (the second movement, towards the back sector). One fracunit of distance 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.
- Example WAD: ex_ld057_continuoustwospeedfloormover.wad
- This example WAD can be played in any gametype. It uses
MAP01, replacing Greenflower Zone Act 1.
|Linedef types – Plane movement||[view]|
|Continuously Falling Sector • Continuous Floor/Ceiling Mover • Continuous Floor Mover • Continuous Ceiling Mover • Continuous Two-Speed Floor/Ceiling Mover • Continuous Two-Speed Floor Mover • Continuous Two-Speed Ceiling Mover • Activate Moving Platform • Activate Moving Platform (Adjustable Speed) • Crusher (Ceiling to Floor) • Crusher (Floor to Ceiling)|