Linedef type 64

From SRB2 Wiki
Jump to navigation Jump to search
Player walking over a bridge whose pieces appear and disappear at a fixed rate.

Linedef type 64, Continuously Appearing/Disappearing FOF, is a type of linedef special which makes an FOF appear and disappear at a fixed 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.


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 Flag [1] / Block Enemies 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 (sfx_appear) whenever it appears, unless Flag [6] / Not Climbable is checked.

Note that if the appearing/disappearing FOF has a sector effect, that effect will still apply when the FOF is invisible.


Example file: ex_ld064_appdisappfof.wad (MAP01) 
  • This map showcases two uses of this effect: The blue FOF to the right of the player simply disappears and reappears every 32 tics. In front of the player is a series of FOFs that use this effect to create the illusion of a horizontally moving platform.
  • The horizontally moving platform uses Flag [6] / Not Climbable to prevent the "ding" sound from being played as the platform moves.
How to use
  • You may load this file into your favorite map editor, such as Zone Builder. Select MAP01 as the map to load.
  • You may also load this file in the game:
    1. Save ex_ld064_appdisappfof.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld064_appdisappfof.wad.
    3. Start the game in Single Player mode.
    4. Press the Console button (~), and type in the command MAP MAP01 to access the example map.
  • When you load this file in the game, it replaces Greenflower Zone Act 1.

  Linedef types – Parameters [view]
Custom ExitZoom Tube ParametersSpeed Pad ParametersSpecial Sector PropertiesChain ParametersRope Hang ParametersRock Spawner ParametersBustable Block ParametersFan Particle Spawner ParametersMinecart ParametersContinuously Appearing/Disappearing FOF