Linedef type 2

From SRB2 Wiki
Jump to: navigation, 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.

Setup

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 the Not Climbable flag will make the game skip the score tally screen when switching to the new map. If the Block Enemies flag 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.

Sample

Example WAD: ex_ld002_customexit.wad
  • This example WAD can be played in Single Player mode. It uses MAP01, replacing Greenflower Zone Act 1.
  • This example WAD skips the score tally screen and warps to MAP03 upon completion. With all emeralds, it warps to MAP04 instead.

  Linedef types – Parameters [view]
Custom ExitZoom Tube ParametersSpecial Sector PropertiesChain ParametersRope Hang ParametersRock Spawner ParametersContinuously Appearing/Disappearing FOFBridge Thinker