Difference between revisions of "Ending Games"

From OdaWiki
(Added link to map_list)
Line 4: Line 4:
 
Usage: '''fraglimit (#)'''
 
Usage: '''fraglimit (#)'''
  
Ends a game when the specified number of frags is reached.
+
Ends a game when the specified number of frags is reached. If set to 0, no fraglimit is enforced.
  
 
===timelimit===
 
===timelimit===
 
Usage: '''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.
+
Ends a game after the server has been on a map after a specified period of time. Time is measured in minutes. If set to 0, no timelimit is enforced.
  
 
===scorelimit===
 
===scorelimit===
Line 16: Line 16:
 
Typically used for Capture the Flag and Team Deathmatch. Ends a game when the specified score is reached.  
 
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.
+
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.
 +
 
 +
If set to 0, no scorelimit is enforced.
  
 
==Other Useful Map Related Commands/CVARs==
 
==Other Useful Map Related Commands/CVARs==

Revision as of 08:52, 3 September 2008

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.

fraglimit

Usage: fraglimit (#)

Ends a game when the specified number of frags is reached. If set to 0, no fraglimit is enforced.

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. If set to 0, no timelimit is enforced.

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.

If set to 0, no scorelimit is enforced.

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.