From 10cb2a8e1d6b2a4ec1f77d464c811bb4e7ce21e4 Mon Sep 17 00:00:00 2001 From: div0 Date: Sun, 3 Dec 2006 12:56:25 +0000 Subject: [PATCH] doc improvements about maplist shuffle git-svn-id: svn://svn.icculus.org/nexuiz/trunk@1975 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- Docs/server/server.cfg | 3 ++- data/default.cfg | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Docs/server/server.cfg b/Docs/server/server.cfg index cc3e757fe..ffdd92574 100644 --- a/Docs/server/server.cfg +++ b/Docs/server/server.cfg @@ -42,7 +42,8 @@ set "bot_prefix" "[BOT]" // prepend to all botnames set "bot_suffix" "" // append to all botnames set "sv_mapchange_delay" "5" // how long the pause between maps will be -set "g_maplist_shuffle" "0" // if "1", a random map from g_maplist will be chosen as next map +set "g_maplist_shuffle" "0" // if "1", the first map of g_maplist will always get chosen as next map and inserted at a random place in the list +g_maplist_shufflenow // you probably want to call this command when you use the above option // remove the // from the beginning of one g_maplist line to play those maps only // arena mode (1on1 tourney) diff --git a/data/default.cfg b/data/default.cfg index 90eea6427..228e7b285 100644 --- a/data/default.cfg +++ b/data/default.cfg @@ -217,6 +217,7 @@ seta g_maplist $g_maplist_defaultlist seta g_maplist_index 0 // this is used internally for saving position in maplist cycle seta g_maplist_selectrandom 0 // if 1, a random map will be chosen as next map, DEPRECATED in favor of g_maplist_shuffle seta g_maplist_shuffle 0 // new randomization method: like selectrandom, but avoid playing the same maps in short succession. This works by taking out the first element and inserting it into g_maplist with a bias to the end of the list. +alias g_maplist_shufflenow "set _g_maplist_shufflenow 1" // call this in server.cfg when using g_maplist_shuffle // timeout for kill credit when your damage knocks someone into a death trap set g_maxpushtime 8.0 @@ -760,4 +761,3 @@ seta cl_shownames 1 // show player names pointed to (0: never, 1: teamplay only, set sv_allow_shownames 1 alias teamstatus "set _scoreboard 1" -alias g_maplist_shufflenow "set _g_maplist_shufflenow 1" -- 2.39.2