Linedef type 52
Linedef type 52, Continuously Falling Sector, is a type of linedef special which makes the floor and ceiling of a sector (typically an FOF) continuously fall a certain height and then respawn at their starting 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.
While this effect can be applied to any sector, it usually only makes sense to apply it to an FOF. To do this, 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. The linedef's front sector should be the FOF's control sector.
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 the FOF's ceiling; the ceiling height of the linedef's back sector will be 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 will be unused. In this scenario, you should give the back sector a higher floor and ceiling height than the front sector.
- Example WAD: ex_ld052_continuouslyfallingsector.wad
- This example WAD can be played in any gametype. It uses
MAP01, replacing Greenflower Zone Act 1.