Linedef type 66

From SRB2 Wiki
Jump to navigation Jump to search

Linedef type 66, Move Floor by Displacement, is a type of linedef special which is used to move the floor of every tagged sector by changing the floor height of the linedef's front sector. It behaves in a similar manner to displacement plane scrollers (linedef types 512, 515, 522, 525, 532, and 535), but instead of scrolling the plane, it changes its height.


On its own, this linedef will not move the tagged sector's floor. Rather, the floor will move whenever the floor of the control sector moves, which can done by using linedef executors. The length of the control linedef determines how the movement of the control sector floor is translated to the target sector floor. A value of 256 means the movement is translated 1:1, i.e., the target sector floor always moves the same distance as the control sector floor. Lower values mean the target sector floor moves slower, higher values mean it moves faster. If Flag [6] / Not Climbable is set, the target sector floor moves in the opposite direction of the control sector floor.

If this linedef is used in conjunction with linedef type 400, the target sector floor will immediately jump to the specified height. If this linedef is used in conjunction with linedef type 403, the floor will move continuously until the control sector floor reaches the given height. If this linedef is used in conjunction with linedef type 405, the floor will only move as long as the linedef executor is being continuously triggered.


Example file: ex_ld066_movefloorbydisplacement.wad (MAP01)
How to use
  • You may load this file into your favorite map editor, such as Zone Builder. Select MAP01 as the map to load.
  • You may also load this file in the game:
    1. Save ex_ld066_movefloorbydisplacement.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld066_movefloorbydisplacement.wad.
    3. Start the game in Single Player mode.
    4. Press the Console button (~), and type in the command MAP MAP01 to access the example map.
  • When you load this file in the game, it replaces Greenflower Zone Act 1.

  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 Moving PlatformActivate Moving Platform (Adjustable Speed)Crusher (Ceiling to Floor)Crusher (Floor to Ceiling)Move Floor by DisplacementMove Ceiling by DisplacementMove Floor and Ceiling by Displacement