Linedef type 52

From SRB2 Wiki
Jump to: navigation, search
A continuous falling lava FOF in Red Volcano Zone Act 1.

Linedef type 52, Continuously Falling Sector, is a type of linedef special which makes an FOF continuously fall a certain height and then respawn at its start point. This effect is useful for gimmicks like intermittently falling lava. It was also used in v2.0's Deep Sea Zone Act 2, where the player had to jump across a pit over several FOFs using this effect.

Setup

To use this effect, create two control sectors outside of your map, joined by a single linedef. The easiest way to do this is to create two small squares of equal size which share a linedef. The linedef which joins together the two control sectors should be set to have linedef type 52 and be tagged to the affected FOF's target sector, i.e., it should be given the same tag as the FOF linedef. The linedef's front sector should be the FOF's control sector; otherwise, the sector will not move.

The floor and ceiling height of the linedef's front sector will indicate the starting point of the FOF. The heights of the linedef's back sector will indicate the point the sector will fall to, before respawning at the height of the linedef's front sector and repeating the process: The floor height of the linedef's back sector will be the ending point of FOF's ceiling; the ceiling height of the linedef's back sector is unused. You should usually give the back sector a lower floor and ceiling height than the front sector. The length of the linedef indicates the speed of the movement; one fracunit of length equals one fracunit per tic.

If the Not Climbable flag is checked, the FOF will rise instead of falling and the ceiling height of the linedef's back sector will be used for the ending point of FOF's floor, the floor height of the linedef's back sector is unused. In this scenario, you should give the back sector a higher floor and ceiling height than the front sector.

Sample

Example WAD: ex_ld052_continuouslyfallingsector.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)