Linedef type 10

From SRB2 Wiki
(Redirected from Culling Plane)
Jump to navigation Jump to search
Sprite rendering stops after the player climbs the stairs.

Linedef type 10, Culling Plane, is a type of linedef special which creates an invisible plane within any tagged sector. This effect halts rendering of any sprites or FOFs above or below this plane in the sector. This effect is useful if you have an indoor level with multiple floors and the game is lagging from rendering a lot of sprites and FOFs that you can't see from the current floor.

Currently, none of the default levels in SRB2 use this effect.

Setup

The height of the culling plane is determined by the floor height of the control sector. If Flag [6] / Not Climbable is active, the player's camera is required to be inside one of the sectors tagged by this linedef in order for the culling effect to show.

Sample

Example file: ex_ld010_cullingplane.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_ld010_cullingplane.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld010_cullingplane.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