number of rounds set per map basis

Ask questions, discuss ideas, get answers
Post Reply
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

number of rounds set per map basis

Post 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.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: number of rounds set per map basis

Post 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)
Image
Post Reply