Ceiling_CrushAndRaiseDist

168:Ceiling_CrushAndRaiseDist (tag, dist, speed, damage [, crushmode])

  • tag: Tag of affected sector
  • dist: Lowest height above the floor during movement
  • speed: How quickly the ceiling moves
  • crush: Amount of damage to apply
  • crushmode: Sets the crushing mode

Usage

Lowers and raises the ceiling of the affected sectors continually, applying crushing damage to anything underneath it. If tag is 0, then the sector on the line's back side is used. The ceiling rises and lowers at the same speed, a behavior different from Ceiling_CrushAndRaise (which is why a dist parameter couldn't simply be added to that one).

Contrarily to other crushing specials, this crusher will stop before reaching the floor, making it possible to have crushers that affect tall actors but not shorter ones.

Examples

This replicates accurately Doom's linetype 49:

Ceiling_CrushAndRaiseDist (tag, 8, 8, 10)

This replicates accurately Strife's linetype 49:

Ceiling_CrushAndRaiseDist (tag, 8, 8, 0, 2)

Conversions from linedef types

The following Doom map format types can be converted as Ceiling_CrushAndRaiseDist:

TypeConversionTrigger
Doom 6:W1 Start Crusher, Fast DamageCeiling_CrushAndRaiseDist (tag, 8, 16, 10)Player Cross
Strife 6:W1 Start Crusher, Very Fast DamageCeiling_CrushAndRaiseDist (tag, 8, 32, 10)Player Cross
Doom 25:W1 Start Crusher, Slow DamageCeiling_CrushAndRaiseDist (tag, 8, 8, 10)Player Cross
Strife 25:W1 Ceiling To 8 Above Floor ContinuallyCeiling_CrushAndRaiseDist (tag, 8, 8, 0)Player Cross
Doom 49:S1 Start Crusher, Slow DamageCeiling_CrushAndRaiseDist (tag, 8, 8, 10)Player Use
Strife 49:S1 Ceiling To 8 Above Floor ContinuallyCeiling_CrushAndRaiseDist (tag, 8, 8, 0, 2)Player Use
Doom 73:WR Start Crusher, Slow DamageCeiling_CrushAndRaiseDist (tag, 8, 8, 10)Player Cross, Repeatable
Strife 73:WR Start Crusher, Slow DamageCeiling_CrushAndRaiseDist (tag, 8, 8, 0)Player Cross, Repeatable
Doom 77:WR Start Crusher, Fast DamageCeiling_CrushAndRaiseDist (tag, 8, 16, 10)Player Cross, Repeatable
Strife 77:WR Start Crusher, Very Fast DamageCeiling_CrushAndRaiseDist (tag, 8, 32, 10)Player Cross, Repeatable
Boom 164:S1 Start Crusher, Fast DamageCeiling_CrushAndRaiseDist (tag, 8, 16, 10)Player Use
Boom 183:SR Start Crusher, Fast DamageCeiling_CrushAndRaiseDist (tag, 8, 16, 10)Player Use, Repeatable
Boom 184:SR Start CrusherCeiling_CrushAndRaiseDist (tag, 8, 8, 10)Player Use, Repeatable
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.