Linedef type 41

From SRB2 Wiki
Jump to: navigation, search

Linedef type 41, Horizon Effect, is a type of linedef special that causes any flats the linedef touches to be rendered all the way up to the horizon, drawing over anything that lies past them, including the linedef's own textures, if any are set. Any FOFs touching the linedef will also be extended visually. The direction the linedef is facing is immaterial to this effect as it will choose what to render based on the direction the camera is facing.

This effect is used in the skyboxes of Deep Sea Zone Act 1 and Deep Sea Zone Act 2 to make the seafloor and sea surface appear to stretch endlessly away from the level.

Setup

This effect should be applied directly to the desired linedef.

Usage tips

In most cases, this effect should only be used on a skybox or thok barrier, as it can cause graphical anomalies if used in-level; any sprites in the sector immediately behind the linedef will still be visible, but if they exit that sector, they will suddenly no longer be visible.

Example

Example file: Ex_ld041_horizoneffect.wad (MAP01) 
  • This WAD shows three examples of the effect: one extending the thok barrier, one extending the skybox (partially covered by a translucent water FOF) and one situated in-level, which can be viewed from either side.
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_ld041_horizoneffect.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select Ex_ld041_horizoneffect.wad.
    3. Start the game in Single Player mode.
    4. Press the Console button (~), and type in the command MAP MAP01 -force 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