xera
Posts: 3
10:02 PM 09/11/2009 |
Hi, I was wondering if there are any commands (rcon) to change the weather on an obscurity server.
I'm talking about day/night, fog, snow, rain etc.
please get back to me asap.
|
Falcar
(xfire: seamusthefamous)
OBS Dev
Posts: 526
10:43 PM 09/11/2009 |
obs_weatherchance (percentage) The chance of weather starting, and continuing (although note that some stages in the day/night cycle don't support weather, so it won't be constantly raining etc).
obs_forceweather (1/0) Set to 1 to force the worst possible weather (sandstorm, fog or blizzard depending on the map) whenever it reaches a stage in the cycle that allows it.
obs_dntimescale (any number) Modify this to change the speed at which the day/night cycle progresses... The default is 0.3 and note that because of engine limitations we made it always update at the same speed, so higher values can appear jerky (sudden flashes as the light changes).
|
xera
Posts: 3
11:18 PM 09/11/2009 |
/rcon obs_forceweather 1
or /rcon obs_forceweather 0
did nothing for me.
force weather 0 is supposed to clear the weather? And what did i do wrong.
|
Snakelet
(xfire: snakelet)
OBS Dev
Posts: 1330
01:29 AM 10/11/2009 |
From what Falcar explained, forceweather 1 will force the worst weather to play in the cycle, if that weather is supported. Eg: If it gets to a cycle that has the potential to blizzard, if this is set, then it will blizzard and if it is not set then it will blizzard on the rare occasion.
I guess if you wanted to switch the weather off, change the percentage to 0.
To freeze the day/night cycle set that function to 0.
|
Audioghost
Posts: 40
07:55 AM 10/11/2009 |
@Xera
Just applying the commands via rcon doesn't bring them into effect straight away. When changing a dvar via rcon, you must do a /rcon map_restart for the new settings to be read and executed.
|
Falcar
(xfire: seamusthefamous)
OBS Dev
Posts: 526
10:34 AM 10/11/2009 |
Negative audioghost, they should kick in right away but the thing is you won't see any effects until the day/night cycle reaches the next stage, because that's when the weather is initiated in obs.
|
Audioghost
Posts: 40
12:25 PM 10/11/2009 |
Ah right, must be different for your d/n cycle :P Oh well, my explanation still works for other stuff xD
|
xera
Posts: 3
08:42 PM 11/11/2009 |
So if I get this right, there is no actual command to force the fog / rain / snow to vanish?
I tried the commands, but forceweather 1 / 0 didn't really make a difference. Even after a cycle (???)
|
Snakelet
(xfire: snakelet)
OBS Dev
Posts: 1330
09:20 PM 11/11/2009 |
obs_weatherchance (percentage) Make this 0 and the weather 'should' stop. Also note that extreme weather such as blizzards and sandstorms are scripted to occur less frequent then rain/storms and fog. Rain has the chance to progress into a thunderstorm etc.
obs_forceweather (1/0) Leave this set to 0. This will not stop the extreme weather effects when off, it will just make them always play when it hits that stage of the cycle if it is on.
obs_dntimescale (any number) Make this zero to stop the day and night cycle, also stopping the weather from occuring. Due to each map starting at a random time of the day, this will mean some maps will start at night etc. Also if the weather options are on, the maps may start with weather in place.
|