Linedef type 61

From SRB2 Wiki
Jump to: navigation, search
Warning icon.png
This article or section should contain one or more images. Please spruce up the article by adding an image.

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 a slower rate (half the speed, to be exact) 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 actually many other kinds of linedefs which will allow you to make more specialized crushers.

Setup

The controlling linedef should be tagged directly to the specified target sector. If you want, you can actually put the controlling 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 the Solid Midtexture flag 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 WAD: ex_ld061_crusher_ceilingtofloor.wad
  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 Floating PlatformActivate Floating Platform (Adjustable Speed)Crusher (Ceiling to Floor)Crusher (Floor to Ceiling)