Linedef type 2
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.
Binary 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 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.
|
Sample
- 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 toMAP04
instead. - Play this map in Single Player mode.
How to use |
---|
|
UDMF setup
This linedef's tag should match the tag of a sector with the Exit flag. When the player then touches the exit sector, they will be sent to the map number specified by Argument 1, overriding the one set in the level header. Note that this will not work in Race mode.
Argument 2 contains a number of settings: checking Flag [1] / Skip score tally will make the game skip the score tally screen when switching to the new map. If Flag [2] / Check emeralds 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, they will be sent to the map number specified by Argument 3. If the player does not have all seven Chaos Emeralds, the game will fall back on the map number indicated by Argument 1.
|
Sample
- Example file: exUDMF_ld002_customexit.wad (MAP01)
- This example WAD contains two custom exits. The first skips the score tally screen and warps to
MAP03
upon completion. The second warps toMAP02
by default, but with all emeralds, it warps toMAP04
instead. - Play this map in Single Player mode.
How to use |
---|
|