Linedef type 534
|This article or section should contain one or more images. Please spruce up the article by adding an image.|
|This article or section should contain one or more samples. Please help the SRB2 Wiki by uploading sample WADs that work with 2.1.|
Linedef type 534, Scroll Ceiling Texture and Carry Objects (Accelerative), is a type of linedef special which scrolls every tagged sector's ceiling flat and carries Objects touching the same ceilings. Unlike linedef type 533, the speed can be changed in an accelerative/decelerative fashion.
The direction of the control linedef determines the direction the ceiling flat will scroll and the Objects will be carried. The length of the linedef indicates the base scrolling/carrying speed (32 fracunits of length equal one fracunit per tic), however the actual visible speed is set differently as explained ahead. The target sector must have the Conveyor Belt sector type applied to it, otherwise the carrying doesn't function properly.
On its own, this linedef will not scroll the ceiling nor carry Objects. Rather, the flat will scroll and Objects will move whenever either the floor or ceiling of the control sector moves, which can done by using linedef executors. The actual scrolling/carrying speed, in any given instant, is equal to the base speed × the distance the control sector has moved + the speed in the previous instant. In other words, every time the control sector's floor or ceiling rises, the scroller accelerates, and every time the floor or ceiling lowers, the scroller decelerates. If the floor and ceiling are returned to their original heights, the scroller will stop, and if they are lowered past this point, the scroller will accelerate in the reverse direction. The carrier is always synchronized with the scroller, so any change in one's movement is reflected on the other in the same manner.
If the Not Climbable flag is checked, the control linedef connects the target sector to any target sectors touching it with the same tag, rather than pushing faster over sector borders. This flag should be checked when using the linedef special in conjunction with linedef type 64, otherwise the player will not stand still on the "moving sector".
- This example WAD can be played in Single Player mode. It uses
MAP01, replacing Greenflower Zone Act 1.