Ending Games
Unlike the original Doom games where the only way to exit or end a stage was to press the exit switch, Odamex server operators can utilize more modern methods of ending games if they choose. All of these variables are useful when creating a Map List.
Contents
fraglimit
Usage: fraglimit (#)
Ends a game when the specified number of frags is reached.
timelimit
Usage: timelimit (#)
Ends a game after the server has been on a map after a specified period of time. Time is measured in minutes.
scorelimit
Usage: scorelimit (#)
Typically used for Capture the Flag and Team Deathmatch. Ends a game when the specified score is reached.
In Capture the Flag mode, the score is calculated by flags captured. In Team Deathmatch, the score is calculated by a team's combined frags.
Other Useful Map Related Commands/CVARs
allowexit
Usage: allowexit (0-1)
If enabled, this cvar will allow clients to exit the map using an exit switch at any time. An exit by a player will send the server to the nextmap if a map list exists.
fragexitswitch
Usage: fragexitswitch (0-1)
If enabled, this cvar will automatically kill any player who tries to use the exit switch during a game. Some modern wads have been designed with this type of behavior in mind.