View Full Version : Dynamic Game Modes?
05-21-2002, 04:55 PM
I was playing on a server where every time the map changed, a new game mode arose. For example, ctf_bespin would be CTY, and the next map would be holocron. I'd like to know how to do this automatically, if it IS possible.
05-21-2002, 05:55 PM
You just need to include the relevant changes in the map rotation. Here is an example:
set d1 "set g_gametype 0; set fraglimit 20; set timelimit 15; map ffa_bespin; set nextmap vstr d2"
set d2 "set g_gametype 7; set capturelimit 8; set timelimit 20; map ctf_bespin; set nextmap vstr d3"
set d3 "set g_gametype 3; set fraglimit 8; map duel_carbon; set nextmap vstr d4"
set d4 "set g_gametype 1; set fraglimit 20; map ffa_bespin; set nextmap vstr d5"
set d5 "set g_gametype 8; set map ctf_yavin; set nextmap vstr d1"
That would rotate through FFA, CTF, Duel, Holocron, CTY, then start over. The trick is to make sure you adjust the fraglimit and timelimit. duel_fraglimit and capturelimit are only used for their respective game types, while fraglimit means different things for FFA and Duel and the timelimit may vary based on how long you want each stage to last.
vBulletin®, Copyright ©2000-2015, Jelsoft Enterprises Ltd.