Garry's Mod

Garry's Mod

Simple Weather
 This topic has been pinned, so it's probably important
V92  [developer] 14 Jan, 2020 @ 8:54am
The Feedback Loop
Want to complain? Want to suggest a change? Want to request a feature? You've got the right place, pal. Hit me with your best shot.

Preferably report on GitHub
https://github.com/ReverendV92/SimpleWeather
Last edited by V92; 2 Jan, 2024 @ 11:46am
< >
Showing 1-15 of 121 comments
Vuthakral 31 Jan, 2020 @ 5:32am 
I forget the map entity which controls the sun direction's name, but while this addon controls the skypaint sun flawlessly, it does not account for the map entity which controls the actual lighting direction, resulting in awkward phong reflections in the lighting like in these two images linked below, showing the light reflecting off a viewmodel from where the sun's default position is in the map, vs where it is with the addon and should be cast from.

https://i.imgur.com/kf3nuTV.jpg

https://i.imgur.com/egMJQ0u.jpg
Jackass 17 Feb, 2020 @ 4:31am 
Tried to look up command sw_enabletime as if it were a variable.

That line is spammed in my console..
BruceyBoyo 18 Feb, 2020 @ 12:33pm 
I really wish for a way to just remove the entire system of messing with the sun. When running Stranded for example, there's already a day/night cycle that controls the sun, which means that even with Simple Weather's passage of time disabled, Simple Weather still causes major flickering in the sky as it forcibly teleports the sun around once per second. The only way I can seem to stop it is, oddly, by adding other weather mods on top of it - although other servers appear to prevent it somehow...

Really, I just want to have the weather features and let the gamemode handle the day/night cycle (which has gameplay effects, so disabling it is impractical).
Loving it so far!
I̶s̶ ̶t̶h̶e̶r̶e̶ ̶a̶ ̶s̶p̶e̶c̶i̶f̶i̶c̶ ̶f̶o̶l̶d̶e̶r̶ ̶I̶ ̶w̶o̶u̶l̶d̶ ̶p̶u̶t̶ ̶t̶h̶e̶ ̶c̶o̶n̶f̶i̶g̶ ̶i̶n̶s̶i̶d̶e̶ ̶o̶f̶,̶ ̶o̶n̶ ̶a̶ ̶d̶e̶d̶i̶c̶a̶t̶e̶d̶ ̶s̶e̶r̶v̶e̶r̶?̶ ̶I̶'̶v̶e̶ ̶t̶r̶i̶e̶d̶:̶ ̶l̶u̶a̶/̶,̶ ̶l̶u̶a̶/̶a̶u̶t̶o̶r̶u̶n̶,̶ ̶l̶u̶a̶/̶a̶u̶t̶o̶r̶u̶n̶/̶s̶e̶r̶v̶e̶r̶ ̶

Okay I think I got it, if you're running a dedicated server; it goes in: "/home/gmodserver-username/serverfiles/garrysmod/lua/autorun/client". For example setting "SW.ShouldDrawClock" to false now hides the clock! <3

But using the config in the description, the weather still hasn't auto-changed... Setting "SW.DayTimeMul" to 10.01 or higher doesn't seem to make time go by any faster, either ;~; Is there a variable I'm missing to make the weather change by itself? The day and night cycles work great too, and I can force weather with ulx; just no auto-weather for some reason?
Last edited by Pandela⚞⚝; 25 Apr, 2020 @ 11:17am
V92  [developer] 25 Apr, 2020 @ 2:33pm 
Originally posted by Pandela❦:
Okay I think I got it, if you're running a dedicated server; it goes in: "/home/gmodserver-username/serverfiles/garrysmod/lua/autorun/client". For example setting "SW.ShouldDrawClock" to false now hides the clock!

The file path is included on the PasteBin. That's not the right path, and everything before the "garrysmod" folder is irrelevant, as those are unique local directories.

The auto weather is a server-side variable, and you incorrectly put the config inside of the client-side directory. Fix your file path, and it should work.
Vuthakral 26 Apr, 2020 @ 12:03pm 
Little thing I just noticed this morning while working on some guns:
the AM/PM for noon and mignight are flipped. It displays "AM" at noon, and "PM" at midnight. It should be the other way around.
V92  [developer] 27 Apr, 2020 @ 12:27am 
Originally posted by Vuthakral:
the AM/PM for noon and mignight are flipped. It displays "AM" at noon, and "PM" at midnight. It should be the other way around.

I'll take a look.
Originally posted by V92:
Originally posted by Pandela❦:
Okay I think I got it, if you're running a dedicated server; it goes in: "/home/gmodserver-username/serverfiles/garrysmod/lua/autorun/client". For example setting "SW.ShouldDrawClock" to false now hides the clock!

The file path is included on the PasteBin. That's not the right path, and everything before the "garrysmod" folder is irrelevant, as those are unique local directories.

The auto weather is a server-side variable, and you incorrectly put the config inside of the client-side directory. Fix your file path, and it should work.

I have it inside the folder you said, but it's still not working regardless. https://i.imgur.com/fL7t5E1.png

I tested by setting SW.ShouldDrawClock = false, as well as all the other clock related flags to false. Waited 3 hours too, still clear skies. They only seem to change (turn clock off or set it to the bottom of the screen) if I have the config in the "/garrysmod/lua/autorun/client" folder.
Last edited by Pandela⚞⚝; 27 Apr, 2020 @ 2:33pm
V92  [developer] 28 Apr, 2020 @ 1:57am 
Originally posted by Pandela❦:

I have it inside the folder you said, but it's still not working regardless. https://i.imgur.com/fL7t5E1.png

I tested by setting SW.ShouldDrawClock = false, as well as all the other clock related flags to false. Waited 3 hours too, still clear skies. They only seem to change (turn clock off or set it to the bottom of the screen) if I have the config in the "/garrysmod/lua/autorun/client" folder.

Well, that's weird.
Originally posted by V92:
Originally posted by Pandela❦:

I have it inside the folder you said, but it's still not working regardless. https://i.imgur.com/fL7t5E1.png

I tested by setting SW.ShouldDrawClock = false, as well as all the other clock related flags to false. Waited 3 hours too, still clear skies. They only seem to change (turn clock off or set it to the bottom of the screen) if I have the config in the "/garrysmod/lua/autorun/client" folder.

Well, that's weird.
Indeed it is o: Any further help would be mucho appreciate!
Have you tried it on your own dedicated server? I'm using linuxGSM to host mine.

Here's the only "workaround" I've came up with so far, it forces server to always be in a thunderstorm: https://pastebin.com/wJ1ckp9U
Kassogore 29 Apr, 2020 @ 5:51pm 
Really love the mod, but sometimes I wish I could turn off the day/night cycle while I'm in sandbox, and just keep the weather. I looked at the code and noticed you had an enable/disable option for that, but I couldn't seem to get it working after tweaking with it.
frosty 8 May, 2020 @ 2:30pm 
so i ran into a problem where when its raining the ground is normal but when i walk on it the ground turns dark gray in a short area and it makes no sense so can you try to fix that unless a have to do something specific cause its really annoying and it sometimes happens when i noclip too
pathos 19 Jun, 2020 @ 11:43pm 
Some surfaces are way too bright in daytime
ZachNohKap 17 Aug, 2020 @ 6:44pm 
all maps including gm_construct and gm_flatgrass have lighting issues for the day night cycles. when it is night time on a map that is usually day. it keeps the maps default lighting so they have day lighting textures while the sky is dark. great mod just one problem with it.
here is an example https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2200986263
Last edited by ZachNohKap; 17 Aug, 2020 @ 6:51pm
V92  [developer] 17 Aug, 2020 @ 8:51pm 
The lighting is baked into the map, so it can't change the baked lighting itself; merely fake it.
< >
Showing 1-15 of 121 comments
Per page: 1530 50