Linedef type 2

From SRB2 Wiki
Jump to navigation Jump to search

Linedef type 2, Custom Exit, is a type of linedef special which changes the next level the player will go to for a given Exit Sector.


This linedef should be tagged to a sector with the Exit Sector special. When the player then touches the exit sector, they will exit to a specified level, overriding the one set in the level header (this will not work in Race mode). The map number of the level to go to is specified by the control sector's floor height.

Checking Flag [6] / Not Climbable will make the game skip the score tally screen when switching to the new map. If Flag [1] / Block Enemies is checked, the map number to switch to will depend upon whether or not the player has collected all seven Chaos Emeralds. If the player has all seven Chaos Emeralds, the game will go to the map number indicated by the control sector's ceiling height. If the player does not have all seven Chaos Emeralds, the game will go to the map number indicated by the control sector's floor height.


Example file: ex_ld002_customexit.wad (MAP01) 
  • This example WAD skips the score tally screen and warps to MAP03 upon completion. With all emeralds, it warps to MAP04 instead. 
  • Play this map in Single Player mode.
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_ld002_customexit.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld002_customexit.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 – Parameters [view]
Custom ExitZoom Tube ParametersSpeed Pad ParametersSpecial Sector PropertiesChain ParametersRope Hang ParametersRock Spawner ParametersBustable Block ParametersFan Particle Spawner ParametersMinecart ParametersContinuously Appearing/Disappearing FOF