Linedef Type 532
| 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.0. |
Linedef Type 532, Scroll Floor Texture And Carry Objects (Displacement), is a type of linedef special which scrolls every tagged sector's floor flat and carries Things touching the same floors. Unlike Linedef Type 530, it can be specifically set to start and stop at defined intervals.
Setup
The direction of the control linedef determines the direction the floor flat will scroll and the Things 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 floor nor carry Things. Rather, the flat will scroll and Things 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 is equal to the base speed × the control sector's movement speed. The direction of the scroll and carrying will be reversed if the floor or ceiling height of the control sector is lowered instead of raised.
To keep things simple and easier to control, the best thing to do is just use a base speed of 1 fracunit per tic (by giving the control linedef a length of 32 fracunits), and control the scrolling/carrying speed by moving the floor or ceiling of the control sector.
If this linedef is used in conjunction with Linedef Type 401, the scroller will immediately jump to the specified distance (and any Thing will move said distance). If this linedef is used in conjunction with Linedef Type 404, the scroller and carrier will move continuously until the control sector reaches the given ceiling height. If this linedef is used in conjunction with Linedef Type 408, the scroller and carrier will only work as long as the linedef executor is being continuously triggered.
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".
|
||||||||||||||
Sample
- This example WAD can be played in Single Player mode. It uses
MAP01, replacing Greenflower Zone Act 1.