Linedef type 64

From SRB2 Wiki
Jump to: navigation, search
Player walking over a bridge whose pieces appear and disappear at an amount of time.

Linedef type 64, Continuously Appearing/Disappearing FOF, is a type of linedef special which makes an FOF appear and disappear at a set rate. This effect can also be used to simulate horizontally moving platforms, but it can cause lag when used excessively, so PolyObjects are usually preferable for this purpose. This effect is used extensively in Egg Rock Zone Act 1 for various purposes.

Setup

To use this effect, create both a regular FOF control sector and a separate control sector with the appearing/disappearing FOF effect. This effect should be tagged to the in-level target sector, not to the FOF control sector.

Additionally, you can specify different settings for different FOFs in the same target sector by giving the FOF control sector and control sector that contains the appearing/disappearing FOF effect the same tag. This can be useful, for example, if you wish to have multiple "horizontal moving platforms" at different heights and with different parameters within the same target sector.

If the Block Enemies flag is checked, this effect should instead be tagged to the FOF control sector. In this case, the tag of the appearing/disappearing FOF control sector will do nothing.

The X distance of the linedef determines the amount of time in tics that the FOF is visible and tangible, and the Y distance of the linedef determines the amount of time in tics that the FOF is invisible and intangible. The floor height of the control sector indicates the amount of delay before starting the process.

The FOF will play a "ding" sound effect (sound sfx_appear) whenever it appears, unless the Not Climbable flag is checked.

Note that this effect will not work properly if the appearing/disappearing FOF has a sector effect; this effect will still happen whether or not the FOF is visible.

Sample

Example WAD: ex_ld064_appdisappfof.wad
  • This example WAD can be played in any gametype. It uses MAP23, replacing Egg Rock Zone Act 2.
  • This map shows a horizontally moving platform made with the use of this effect.
  • This map uses the Not Climbable flag on every instance of linedef type 64, so that it does not make "ding" noises as the platform moves.

  Linedef types - Parameters [view]
Custom ExitZoom Tube ParametersSpecial Sector PropertiesChain ParametersRope Hang ParametersRock Spawner ParametersContinuously Appearing/Disappearing FOFBridge Thinker