Linedef type 194

From SRB2 Wiki
Jump to: navigation, search
Warning icon.png
This article or section should contain one or more images. Please spruce up the article by adding an image.

Linedef type 194, Rising Platform, Intangible from Bottom, Opaque, is a special type of floor over floor platform which can be jumped through and onto from below, and will rise at a constant speed to a specified height when landed or stepped on from above. It will return to its original position at half speed when the player steps off it.

Setup

This linedef requires three control sectors, each of which must be connected to another with at least one linedef. The easiest way to do this is to create three square sectors in a row. The controlling linedef should be attached to the sector in the center, and given an effect of linedef type 194.

The flats, floor height, and ceiling height of the FOF are determined by the flats, floor height, and ceiling height of the central control sector, and the sidedefs of the FOF's walls are determined by the sidedef of the controlling linedef. The speed of the platform's movement is indicated by the length of the controlling linedef. One fracunit of the linedef length equals 0.25 fracunits per tic of speed. The other two control sectors determine the starting and ending heights of the platform, respectively.

The light level of the central control sector will set the light level of the area below the FOF. If the light level of the central control sector is lower than that of the target sector, then it will cast a dark shadow. If the light level of the central control sector is higher than that of the target sector, then the FOF will illuminate the area below it. If the light level of the central control sector is equal to that of the target sector, then the FOF will not affect the light of the area below it.

If the Block Enemies flag is checked, the platform will sink when the player steps on it, rather than rising. If the Not Climbable flag is checked, the player will be required to charge a spindash while standing on the platform to make it rise, and the FOF will not cast a shadow.

Sample

Example WAD: ex_ld194_fofmovingintangiblefrombottomopaque.wad
  Linedef typesFloor over floor [view]
Solid:
Solid, Opaque, ShadowcastingSolid, Opaque, Non-ShadowcastingSolid, TranslucentSolid, Sides OnlySolid, No SidesSolid, InvisibleIntangible from Bottom, OpaqueIntangible from Bottom, TranslucentIntangible from Bottom, Translucent, No SidesIntangible from Top, OpaqueIntangible from Top, TranslucentIntangible from Top, Translucent, No SidesOnly Tangible from Sides
Intangible:
Water, OpaqueWater, TranslucentWater, Opaque, No SidesWater, Translucent, No SidesGoo Water, TranslucentGoo Water, Translucent, No SidesIntangible, OpaqueIntangible, TranslucentIntangible, Sides OnlyIntangible, Invisible
Moving:
Air BobbingAir Bobbing (Adjustable)Reverse Air Bobbing (Adjustable)Floating, BobbingRising Platform, Solid, Opaque, ShadowcastingRising Platform, Solid, Opaque, Non-ShadowcastingRising Platform, Solid, TranslucentRising Platform, Solid, InvisibleRising Platform, Intangible from Bottom, OpaqueRising Platform, Intangible from Bottom, Translucent
Crumbling:
Crumbling, RespawnCrumbling, No RespawnCrumbling, Respawn, Intangible from BottomCrumbling, No Respawn, Intangible from BottomCrumbling, Respawn, Intangible from Bottom, TranslucentCrumbling, No Respawn, Intangible from Bottom, TranslucentCrumbling, Respawn, Floating, BobbingCrumbling, No Respawn, Floating, BobbingCrumbling, Respawn, FloatingCrumbling, No Respawn, FloatingCrumbling, Respawn, Air Bobbing
Special:
Light BlockHalf Light BlockFog BlockMario BlockThwomp BlockShatter BlockShatter Block, TranslucentBustable BlockSpin-Bustable BlockSpin-Bustable Block, TranslucentQuicksandLaserCustom FOF