My weather commands resets to automatic every time the server restarts, putting +weather.fog 0 in the .bat didn't do much either. Do I have to run a timed command or something?
Solved Is there a way to save weather commands?
Discussion in 'Rust Discussion' started by Haggbart, Jan 4, 2017.
-
Wulf Community Admin
You can use the Timed Execute plugin to run them automatically. Pretty sure they'd need to be ran after the server has been started, not on initial startup.
-
I use Auto Commands for Rust | Oxide I find it does the job and if you need the plugin I use can send it to you
-
Hmm, funny Rust doesn't save these things to config files.
I put this in a plugin:
void Init()
{
ConsoleSystem.Run.Server.Normal("weather.fog 0");
ConsoleSystem.Run.Server.Normal("weather.clouds 0");
ConsoleSystem.Run.Server.Normal("weather.rain 0");
} -
-
Wulf Community Admin
-
Code:ConsoleSystem.Run.Server.Quiet("weather.fog 0"); ConsoleSystem.Run.Server.Quiet("weather.rain 0"); ConsoleSystem.Run.Server.Quiet("weather.clouds 0"); ConsoleSystem.Run.Server.Quiet("weather.wind 0");
-
Wulf Community Admin
I would suggest using OnServerInitialized though (not Init) for the hook.
-
Thanks guys!
-
I think fog can not be less than 10,
if you set 0 its ever 10, I dont know why, just saying -
A number of 1 means 100%
A number of 0.5 means 50%
And it accepts for sure 0(%)
-
using the weather.report
I ever saw weather.fog 10 -
Probably said 10%, not 10.
And yes, you can't completely remove fog from the game. I think with weather.fog 0, the game is still too foggy for my taste.
-