Linedef type 62

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

Linedef type 62, Crusher (Floor to Ceiling), is a type of linedef special which makes the ceiling of a sector continuously retract upwards from the floor until it is even with the ceiling of the bordering sectors, and then crush down from the ceiling to the floor at twice the speed. If a player is caught beneath the sector when it crushes, they will be killed instantly. It starts in a different place than crushers made with linedef type 61, which allows you to create unsychronized crushers. This is the easiest way to make a crusher, but there are several other types of linedefs which will allow you to create 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 1/16 of a fracunit 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_ld062_crusher_floortoceiling.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_ld062_crusher_floortoceiling.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld062_crusher_floortoceiling.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