Linedef type 61

From SRB2 Wiki
Jump to navigation Jump to search
An example of using a linedef 61.

Linedef type 61, Crusher (Ceiling to Floor), is a type of linedef special which makes the ceiling of a specified sector continuously crush down from the ceiling to the floor and retract upwards at half the speed until it is even with the ceiling of the bordering sectors. If a player is caught beneath the sector when it crushes, they will be killed instantly. This is the simplest way to create a crusher, but there are several other types of linedefs which will allow you to make more specialized crushers.

Setup

The control linedef should be tagged directly to the specified target sector. If you want, you can actually put the control linedef on the target sector itself, but this isn't necessary; you can also use a control sector. The length of the linedef determines the crusher's speed. One fracunit of length equals 0.125 fracunits per tic.

Checking Flag [9] / Solid Midtexture / Effect 4 makes the crusher move at twice the provided speed, keeping a constant speed while crushing or retracting. With this flag checked, the speed is determined by the linedef X distance.

Sample

Example file: ex_ld061_crusher_ceilingtofloor.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_ld061_crusher_ceilingtofloor.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld061_crusher_ceilingtofloor.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