r1975 - in trunk: Docs/server data

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Dec 3 07:56:25 EST 2006


Author: div0
Date: 2006-12-03 07:56:25 -0500 (Sun, 03 Dec 2006)
New Revision: 1975

Modified:
   trunk/Docs/server/server.cfg
   trunk/data/default.cfg
Log:
doc improvements about maplist shuffle


Modified: trunk/Docs/server/server.cfg
===================================================================
--- trunk/Docs/server/server.cfg	2006-12-03 12:53:52 UTC (rev 1974)
+++ trunk/Docs/server/server.cfg	2006-12-03 12:56:25 UTC (rev 1975)
@@ -42,7 +42,8 @@
 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)

Modified: trunk/data/default.cfg
===================================================================
--- trunk/data/default.cfg	2006-12-03 12:53:52 UTC (rev 1974)
+++ trunk/data/default.cfg	2006-12-03 12:56:25 UTC (rev 1975)
@@ -217,6 +217,7 @@
 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 @@
 set sv_allow_shownames 1
 
 alias teamstatus "set _scoreboard 1"
-alias g_maplist_shufflenow "set _g_maplist_shufflenow 1"




More information about the nexuiz-commits mailing list