Linedef type 51

From SRB2 Wiki
Jump to navigation Jump to search

Linedef type 51, Instantly Raise Ceiling on Level Load, is a type of linedef special which makes the tagged sectors' ceilings instantly rise on level load to be the same height as the highest ceiling of any bordering sector. Note that this effect is activated after all Things have been spawned. Thus, it can be used to place Things at heights that are beyond the Z offset range of 4096 fracunits. This effect can also be used for making terrain that appears differently in Single Player and multiplayer games, by using the flags [11] / Netgame Only or [12] / No Netgame to disable it selectively. It is also useful for creating ceiling slopes that are lower than the surrounding sector's ceiling on all sides, without the need for Slope Vertices; see Linedef type 50 for an example of the floor equivalent.


Example file: ex_ld051_instantlyraiseceiling.wad (MAP01)
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_ld051_instantlyraiseceiling.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld051_instantlyraiseceiling.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 – Miscellaneous [view]
Per-Sector GravityCamera ScannerSector Flat AlignmentCulling PlaneHeat Wave EffectVisual Portal Between Tagged LinedefsHorizon EffectInstantly Lower Floor on Level LoadInstantly Raise Ceiling on Level LoadFake Floor/Ceiling PlanesFloor Friction