Generic_Crusher

From ZDoom Wiki
Jump to navigation Jump to search

205:Generic_Crusher (tag, dspeed, uspeed, silent, crush)
169:Generic_Crusher2 (tag, dspeed, uspeed, silent, crush)
284:Generic_CrusherDist (tag, dspeed, uspeed, silent, crush) (New from 4.11.0)

  • tag: Tag of affected sector
  • dspeed: How quickly the ceiling lowers
  • uspeed: How quickly the ceiling raises
  • silent: Set this to 1 to prevent the crusher from making noise
  • crush: Amount of damage to apply

This special encapsulates Boom's generalized crushers. It is the same as Ceiling_CrushAndRaiseA, except that it takes an argument to control the “noisiness” of the crusher.

Unlike the other crushing specials where the crush mode is a parameter, the generic version uses a different special type because it already has all parameters in use. Generic_Crusher uses Doom mode and Generic_Crusher2 uses Hexen mode.

Generic_CrusherDist is the same as Generic_Crusher except the ceiling stops 8 map units above the floor before rising rather than go all the way down.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.