Page 1 of 1
number of rounds set per map basis
Posted: Wed Sep 05, 2012 8:59 pm
by freddy
Any one knows how to do this? I want to be able to run some maps in the map rotation for four rounds and another for two and so on.
Re: number of rounds set per map basis
Posted: Fri Sep 07, 2012 5:54 pm
by freddy
Iwé tried alot but i couldnt figure this one out, theres two commands that works together in this
Code: Select all
game.serverNumberOfRounds 2
game.setnrOfRounds 2
The important one is game.setnrOfRounds
It works when using console either directly or via a file and using the include command, it also works if i just drop the "game.setnrOfRounds" in the ServerAutoexec.con file witch means that its fine to activate immedeately when the server starts.
However if i drop it in a map, only the game.serverNumberOfRounds activates, the other command just doesnt apply.
game.setnrOfRounds 2 will change the server to show 5 of 6 played 5/6 witch is ok, but just using game.serverNumberOfRounds 2 will get just set the countdown to -3/2 (start parameters set to 6)
