g_gametype specific map rotation.

Ask us questions.

Moderator: Developers

g_gametype specific map rotation.

Postby system187 » 2013-10-23 17:20:15

hey im trying to setup a private server for my friends and i using the ql ruleset

what i want to do is when a g_gametype is voted in have a different set of map rotations per gametype.

what i have tried, but failed, is in rotation.txt

if ( $g_gametype == 0 ) {
"map1"
"map2"
}
if ( $g_gametype == 1 ) {
"map3"
"map4"
}

also i tried making two rotation.txt one for ffa and one for 1v1 and put in sever.cfg

if ( $g_gametype == 0 ) {
g_rotation 1v1.txt
}
if ( $g_gametype == 1 ) {
g_rotation ffa.txt
}
didnt work either,

and now im alittle stumped...

thank for the help
system187
 

Re: g_gametype specific map rotation.

Postby Cyrax » 2013-12-07 20:20:12

Sorry, but atm you can't change map set or use any conditional checks in rotation files
Cyrax
 
Posts: 99
Joined: 2010-12-13 19:03:22


Return to Contact

Who is online

Users browsing this forum: No registered users and 1 guest

cron