Linedef type 64
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.
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 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.
|
Sample
- 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 |
---|
|