[Closed] /randomMap

2 replies [Last post]
¯¯__█ALI█¯¯__
xpaliminium's picture
Offline
Joined: Nov 2005
Posts:

Hi,

Can you add pls a command that switches to a random map present in the current rotation ?

and executes what is inside rotation map
[code:1]q3dm1 { ... }[/code:1] ? Happy

regards,

Wanna avoid seeying mow, skull & co Surprise

Check this peacefull place

mistress
mistress's picture
Offline
Joined: Jul 2006
Posts:
[Closed] /randomMap

won't implement. Tongue

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
[Closed] /randomMap

Won't implement.

Reason is that you can achieve same effect (rotate to a random map) with the following command (needs Dec 25 server update or later):

[code:1]/rcon execstr rotate $(sv_serverid)[/code:1]

Edit: I just found that currently its not possible to have a totally unattended random rotation. So for that i implemented a new cvar: xp_rotateStep, to control how many maps to rotate on automatic rotations (i.e. rotations at the end of the map without an explicit /rotate command). So, on next server update if you want to have a totally random rotation you can put something like this on the crontab:

[code:1]* * * * * /execstr set xp_rotateStep $(sv_serverid)[/code:1]

Había una vez un barco chiquito...