Linedef type 62

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 62, Crusher (Floor to Ceiling), is a type of linedef special which makes the ceiling of a sector continuously retract upwards at a slower rate until it is even with the ceiling of the bordering sectors, and then crush down from the ceiling to the floor. 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 actually several other types of linedefs which will allow you to create 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 1/16 of a fracunit 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_ld062_crusher_floortoceiling.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)