Garry's Mod

Garry's Mod

Simple Weather
682 Comments
V92  [author] 5 Sep @ 10:40pm 
Fixed some things, updated a few things. Got some stuff planned for the next update, stay tuned.
https://gtm.steamproxy.vip/sharedfiles/filedetails/changelog/531458635
resonance 2 Sep @ 2:55pm 
stormfox is too complicated, i just want rain GODDAMNIT
V92  [author] 1 Sep @ 9:12am 
StormFox has better visuals but almost universally runs like crap and crashes too much.
ShyGuy 1229 31 Aug @ 3:12pm 
This is perfect for people who don't want to use stormfox!
Amazing Addon!
CaliforniaEAS 28 Aug @ 6:17pm 
go to workshop go to search and Type Lambda Players Reborn
V92  [author] 28 Aug @ 6:14pm 
I would need to know what it is or where to find it before I could do anything.
CaliforniaEAS 28 Aug @ 4:55pm 
I hope you will make an Update for Simple Weather for Lambda Players
V92  [author] 28 Aug @ 10:43am 
@californiaeas

I have literally no idea what Lambda Players are, as I have never heard of it. I can maybe make a compatibility patch, but that's as much as I'd be willing to guess.
V92  [author] 28 Aug @ 10:43am 
As for area lighting, not in the current system. One of the other quirks with the current system is it has an all-or-nothing approach to the weather. You're either outside, or you're under something that a line trace hits. The other issue is being able to tell where the skybox actually is would require some way to either detect a sky_camera entity and just guess the boundaries of the skybox based on the location, or to make an arbitrary and frankly pain in the ass table of values, similar to the map blacklist that exists in the code currently.
V92  [author] 28 Aug @ 10:43am 
The lighting system is a nightmare that is for the most part the only code left untouched from the original mod I took over. It uses some super janky and arbitrary math I never had the time or the energy to understand/fix. The entire thing needs to be gutted & remade.

The fog is directly tied to the weather types due to the way the mod works. Ideally, fog & sky colors would fade transition instead of popping, but that would require a level of code skill I simply do no possess.
KlutchxKay 27 Aug @ 12:19pm 
Hey, just curious, I have no idea how gmod works really, but some questions:
1: How come sometimes the mod completely blows out the lighting on maps?
2: Sometimes the atmospheric/render distance fog is awful looking, and the only way i've found around it is to spawn some kinda Fog Editor cube that just overrides it and makes it all go away.
3: Any way to make the lighting apply properly to certain maps' "skybox" areas? (the miniscale models outside the map)
CaliforniaEAS 24 Aug @ 10:49am 
imma explain it to you so Lambda Players Reborn: YerMash Edition is a chaotic and unpredictable Garry’s Mod experience where the infamous Lambda Players return in an upgraded, “reborn” state. In this edition, they come with new abilities, behaviors, and interactions that make every sandbox session unpredictable. Players can experiment with their powers, spawn strange events, and watch as the world reacts to their chaotic influence. It’s designed for fans of sandbox mayhem who love testing limits and creating crazy scenarios with AI and custom entities.
V92  [author] 23 Aug @ 11:37pm 
@californiaeas

I don't know what that means.
CaliforniaEAS 23 Aug @ 8:20pm 
I hope it works for Lambda Players when they get struck by a Lightning.
V92  [author] 18 Aug @ 7:53pm 
Stargazer slows down the night progression and makes the days shorter. Is that not what it's doing?
🗲🗲 Quakk 17 Aug @ 7:00am 
Why is stargazer not working?
Tyrian 15 Aug @ 2:29pm 
Whenever I enable weathers -
[Simple Weather] lua/simpleweather/sv_daynight.lua:385: bad argument #1 to 'byte' (string expected, got nil)
1. byte - [C]:-1
2. DayNightThink - lua/simpleweather/sv_daynight.lua:385
3. unknown - lua/simpleweather/sv_init.lua:265
4. unknown - lua/includes/modules/hook.lua:313
Tyrian 14 Aug @ 2:28pm 
Spams this on server join -

[Simple Weather] lua/autorun/sh_simpleweather.lua:515: attempt to call method 'IsAdmin' (a nil value)
1. OnChecked - lua/autorun/sh_simpleweather.lua:515
2. SetChecked - lua/vgui/dmenuoption.lua:128
3. unknown - lua/autorun/sh_simpleweather.lua:510
V92  [author] 12 Aug @ 6:01pm 
Probably needs more tweaks, but it's passable for a first try.
Plague 11 Aug @ 1:13pm 
Woah! Sick! I'll try it out :)
V92  [author] 10 Aug @ 11:00am 
Foggy rain is now included.
V92  [author] 10 Aug @ 10:27am 
So foggy rain? I can do that. I'll see what I can do.

I have still been unable to replicate a lot of the reported bugs about the errors that have been posted. I'm starting to think it might be an issue on dedicated servers, so I'll see if I can find a way to confirm them.
Plague 9 Aug @ 5:51am 
would you be willing to add a super heavy rain style with a lot of fog? I love comfy scenic stuff like that, and would love to see that kind of level of weather.
V92  [author] 7 Aug @ 1:06pm 
I really want to get back to adding new features and bug fixes, I'm just so swamped with real life and my burn out. I'm gonna try to get a new weather type called Haze implemented soon along with the multiple bug fixes you guys have reported. I have been reading them all, so thank you for the feedback and the patience while I sort my life out.
british virus 7 Aug @ 12:42pm 
i just want to say thanks as this is a great addon [:
Kronos 17 Jul @ 8:28pm 
Hello, I just want to say that I love this mod so much, it adds so much immersion to the game. butttttttt. It suddenly stopped working on my end.. kinda. After a few hard crashes on a map titled gm_boreas the mod simply stopped doing the effects when the weather changed. The only exceptions to this is are rain particles and meteors. aside from that everything else doesn't work. The messages won't pop up when heavy weather approaches. The radio does work. uninstalling and reinstalling doesn't do anyhting, same goes for enabling and disabling the mod. or even chaning maps. I get no errors or problems on the console. The screen rain effects also don't work. There is no fog, only in the very far distance which does get slightly closer to me when messing with the dials. Day/night still works, but the little weather icon just stays as a sun even after changing the weather. Oh and the skybox changing and lighting still work.
_MajorFracture_ 16 Jun @ 12:09pm 
[Simple Weather] lua/simpleweather/sv_daynight.lua:703: attempt to index field 'SkyPaint' (a nil value)
1. DNCUpdate - lua/simpleweather/sv_daynight.lua:703
2. DayNightThink - lua/simpleweather/sv_daynight.lua:442
3. v - lua/simpleweather/sv_init.lua:265
4. unknown - lua/includes/modules/hook.lua:102
V92  [author] 28 May @ 3:46pm 
Yeah the original mod before I took over was running a constant check on every map load. I cleaned it up and tied it to those functions just to make it easier.

If I can ever find the time I plan on adding a few more arguments to the function for 0000 and 1200 as well.

I keep the github updated every time I make a change, so if you want to contribute any fixes or improvements, just let me know. I work a full time job and barely turn on my PC these days.

I might not be super active with development but I'm usually available in my discord or in my comments sections. I don't mind if people make changes or such, as long as they tell me & help contribute it to the official mod so everyone can benefit.

If there's anything else I can do for you or help out, don't hesitate to let me know. I might not be active but I am approachable and easy to talk to.
Impulse 27 May @ 9:42pm 
Thanks, didn't know about that part, that will be helpful
V92  [author] 27 May @ 6:44pm 
There's a function dedicated to map logic for that exact thing.

If you name an entity such as a logic_relay day_events or night_events it'll have a Fire Trigger input run at 0600 and 1800.

If you just want to get the time and make your own custom function, call SW.Time

https://github.com/ReverendV92/SimpleWeather/blob/main/.content/SimpleWeather/lua/simpleweather/sv_daynight.lua#L736
Impulse 27 May @ 3:22pm 
Working on an interaction for something, just a quick question. how do you get the time for SimpleWeather?
I need an entity to check what time it is to trigger a functionality of it when it's night time for simple weather
Mr Beko 24 May @ 4:46am 
i need version from 2020 pls!
Valkyries733 15 May @ 6:53am 
Hey, I get an error whenever I disable map lighting updates, I just want the weather I don’t want the time of day and map lighting updates.

I’m not home, but the error mentions sky paint
The_realTv (; 22 Apr @ 2:42pm 
Pov: Me trying to find good mods of rain but all trash. This guy that saved me a lot of time:
V92  [author] 7 Apr @ 7:12am 
@kehmicle

I need more info because that tells me nothing. It's currently working for me outside of the error you already reported. I was completely unable to replicate it.
| Kehmicle | 6 Apr @ 7:40pm 
NEW UPDATE BROKE THIS, PLEASE FIX I NEED IT <3 <3 you are my favorite!
V92  [author] 9 Mar @ 11:50am 
Might explain why I couldn't replicate it.
Tposs 2 Mar @ 4:15am 
I'm getting the same error. Seems to only happen on dedicated servers?
V92  [author] 16 Feb @ 7:53pm 
Thanks for the report. Let me work on this.
| Kehmicle | 16 Feb @ 6:00pm 
changed the time once in-server, now on every server restart I cant load in and console spammed with:

[Simple Weather] lua/simpleweather/sv_daynight.lua:381: bad argument #1 to 'byte' (string expected, got nil)
1. byte - [C]:-1
2. DayNightThink - lua/simpleweather/sv_daynight.lua:381
3. fn - lua/simpleweather/sv_init.lua:265
4. unknown - lua/ulib/shared/hook.lua:109
V92  [author] 14 Feb @ 7:22am 
Christsakes, thought I fixed that. Let me take another look.
_MajorFracture_ 13 Feb @ 12:04pm 
@V92 im getting the following error: [Simple Weather] lua/simpleweather/sv_daynight.lua:703: attempt to index field 'SkyPaint' (a nil value)
1. DNCUpdate - lua/simpleweather/sv_daynight.lua:703
2. DayNightThink - lua/simpleweather/sv_daynight.lua:442
3. v - lua/simpleweather/sv_init.lua:265
4. unknown - lua/includes/modules/hook.lua:96 (x28)
V92  [author] 9 Feb @ 7:58am 
@majorfracture

Not sure. Are you using any other weather mods? Are you using the skybox editor? Could be a few different things.
_MajorFracture_ 6 Feb @ 1:32pm 
The skybox doesn't change no matter the time of day or weather effect. Any ideas on how to fix this?
V92  [author] 23 Jan @ 12:38pm 
@kahmicle

All the commands start with sw_ so try typing find sw_ into the console. Be warned there will be a lot of them. They're all archive flagged so it would be easier to use the options panel in-game.

I can't fix that error unless you provide the line number, as there are several dozen files with a combined several thousand lines of code.
| Kehmicle | 22 Jan @ 10:14pm 
still works great even today, i do have the recurring
attempt to call method 'IsAdmin' (a nil value)

but it works good. My only question is where can i find a list of cvars and commands to use in the operator console, since it "cant change replicated convar from console of client, only server operator can change its value" ?

do I have to change that admin status check depending on what admin mod im using??
V92  [author] 22 Jan @ 5:44pm 
It does not.
does this support gweather and xtwisters?
AnFektor 21 Jan @ 10:14am 
this addon + rtx remix = ultra atmosphere:steamhappy:
JMJGλMING971™ 26 Dec, 2024 @ 6:31pm 
It had randomly started making this error out of nowhere. I am unsure why.