Jump to content

Home

Dynamic Game Modes?


Phr00t

Recommended Posts

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.

Link to comment
Share on other sites

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"

 

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...