• Environment Systems - Time-Of-Day and Weather for your server
    93 replies, posted
This doesn't work on my Linux server. None of the addons should be conflicting with it. I have tested it on a local server with the same addons. It does not give me a error so I can not pin point what the problem is.
The last post on this was Feb and as it is now june I can imagine this has been abandoned... If its not on workshop the likelihood of it working a month down the line is unlikely.
Darn shame too this is a nice looking addon
[QUOTE=Effektiv;41230210]The last post on this was Feb and as it is now june I can imagine this has been abandoned... If its not on workshop the likelihood of it working a month down the line is unlikely.[/QUOTE] Crap I didn't see the post date. Are there any other day/night scripts with night that looks like this ones?
Last time I ran this addon (early June), it still worked.
The thing is, this addon worked when I tried it on a local server. I tried it today. It just didn't work when it was on a dedicated Linux box. I do not see why it is not working tbh.
[QUOTE=bran92don;41234265]The thing is, this addon worked when I tried it on a local server. I tried it today. It just didn't work when it was on a dedicated Linux box. I do not see why it is not working tbh.[/QUOTE] Is it loading at all? If it is try using a vanilla server with only this addon loaded.
If it isn't even loading, make sure that the addon's folder name is entirely lower case. A recent update made it so that all files and folders must be so.
[QUOTE=Bletotum;41234910]If it isn't even loading, make sure that the addon's folder name is entirely lower case. A recent update made it so that all files and folders must be so.[/QUOTE] *slams head into keyboard multiple times* I feel like an idiot. I read about the lowercase stuff and it did not click in my head. Also I can verify this still works now.
[QUOTE=bran92don;41235578]*slams head into keyboard multiple times* I feel like an idiot. I read about the lowercase stuff and it did not click in my head. Also I can verify this still works now.[/QUOTE] Hmm, this addon used to work for me, then all of sudden not anymore. :/
I'm getting this error am I missing something? [code] [ERROR] addons/environmentsystem/lua/sv_weather.lua:248: attempt to index upvalue 'paint' (a nil value) 1. fn - addons/environmentsystem/lua/sv_weather.lua:248 2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183 [/code]
[QUOTE=kklouzal23;41503622]I'm getting this error am I missing something? [code] [ERROR] addons/environmentsystem/lua/sv_weather.lua:248: attempt to index upvalue 'paint' (a nil value) 1. fn - addons/environmentsystem/lua/sv_weather.lua:248 2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183 [/code][/QUOTE]Your not the only one, I'm getting it as well.
I took a peak at the code and the value of "paint" is trying to be set to an "ents.Create" entity of which does not exist as far as I can tell.
i never understood why people had such huge issues with making rain look good i mean look at this [media]http://www.youtube.com/watch?v=mnscnAt1WfQ[/media]
[QUOTE=kklouzal23;41504852]I took a peak at the code and the value of "paint" is trying to be set to an "ents.Create" entity of which does not exist as far as I can tell.[/QUOTE]It may be a conflicting addon. I'm about to see if I can find out whether it is or not by messing around with my subscribed addons. I will let you know if I come up with anything.
I even tried changing "paint" to "es_paint" everywhere it's called in the script then it just gave me the same error complaining about "es_paint" instead of "paint" sigh
Is there a way to make nights darker? So far I only found how to make it darker during specific weather types.
[QUOTE=kklouzal23;41503622]I'm getting this error am I missing something? [code] [ERROR] addons/environmentsystem/lua/sv_weather.lua:248: attempt to index upvalue 'paint' (a nil value) 1. fn - addons/environmentsystem/lua/sv_weather.lua:248 2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183 [/code][/QUOTE] Autorefresh issue, I've fixed it. [QUOTE=Death_God;41505108]i never understood why people had such huge issues with making rain look good i mean look at this[/QUOTE] I've just improved the rain. I hadn't worked with particles much before this, so it's understandable I missed stuff. [QUOTE=Kiplis;41518863]Is there a way to make nights darker? So far I only found how to make it darker during specific weather types.[/QUOTE] There's a limit for the amount you can modify the engine lighting, because otherwise it jumps to pitch black too easily. I've just added a workaround that should improve darkness significantly In addition to these fixes, I've also fixed a long-standing bug that caused all entities to disappear eventually during rain or snow. Surprised that wasn't mentioned in this thread, tbh, it's a pretty big bug I'll update the first post soon
Autorefresh issue? How did you fix it?
Is there an easy way we can set the time with this addon? At the moment I can only see that the actual weather parts (rain, sun, snow... etc) can be set and not the time (dawn, day, dusk, night). If anyone knows how this can be done, please let me know. If this sort of feature isn't already implemented then I reckon it'd be a good idea to do so.
Can you make it so disabling hud effects server side forces that do be default on clients? Then they can re-enable it if they please to do so? I get a lot of complaints that the hud effects are obnoxious. I agree. If you do this, and I hope you do, you can also print a message to clients when they join telling them how to re-enable it. That way the feature doesn't get lost.
[QUOTE=kklouzal23;41682879]Can you make it so disabling hud effects server side forces that do be default on clients? Then they can re-enable it if they please to do so?[/QUOTE] At the top of the cl_ file there's a line saying [lua]local HUDEffects = CreateClientConVar( "weather_hud_effects", 1, true, false )[/lua] Change that 1 to a 0 and it'll default off
Is there a way to make night time not dim regular lights around the map? All my street lights go out and its impossible to see anything during night.. Or, is there a specific type of light I should be using in my map so the addon wont dim them?
For some reason setting the default random weather ConVar off doesn't work and the random weather is always on regardless. I also would really like there to be a command to set the time to dawn, day, dusk and night.
Quick Suggestions: - Lightning - Earthquakes - Tornados - Fog (Weather) - Hail? o.O
no offense but this looks disgusting, the rain looks absolutely terrible same with the snow. I don't get it but why is it so hard to go out and get some half decent particle effects and actually take advantage of them. You could also tune the colours a bit more as well as adding some dustmotes into the skybox. I'm pretty disappointed in this, it seemed cool but it just looks awful and unattractive.
[QUOTE=Johnny Guitar;41744121]no offense but this looks disgusting, the rain looks absolutely terrible same with the snow. I don't get it but why is it so hard to go out and get some half decent particle effects and actually take advantage of them. You could also tune the colours a bit more as well as adding some dustmotes into the skybox. I'm pretty disappointed in this, it seemed cool but it just looks awful and unattractive.[/QUOTE] What systems are similar to this but are better?
[QUOTE=ShadowRanger;41703798]For some reason setting the default random weather ConVar off doesn't work and the random weather is always on regardless. I also would really like there to be a command to set the time to dawn, day, dusk and night.[/QUOTE] I added a new console command the other day for time, you can now run weather_time [dawn/day/dusk/night] or weather_time [hour] [optional mins]. There's also now a global function in the Weather table to set the time, if you're doing it via code. [QUOTE=ShadowRanger;41744101]Quick Suggestions: - Lightning - Earthquakes - Tornados - Fog (Weather) - Hail? o.O[/QUOTE] There's already fog, and a lightning-like effect in the storm weather. I'll look into the other effects for you [QUOTE=Johnny Guitar;41744121]no offense but this looks disgusting, the rain looks absolutely terrible same with the snow. I don't get it but why is it so hard to go out and get some half decent particle effects and actually take advantage of them. You could also tune the colours a bit more as well as adding some dustmotes into the skybox. I'm pretty disappointed in this, it seemed cool but it just looks awful and unattractive.[/QUOTE] "No offence" is the leading way to state something offensive. You say the rain and snow is disgusting, but you fail to mention why, or an alternative. You say you dislike colours. Personally, I dislike garish pinks. That statement is about as helpful as yours. Dustmotes in the skybox? Under what conditions? For what effect? Really, you are just obscenely rude. You are welcome back when you've learned how to voice your opinion [i]without[/i] attacking people.
[QUOTE=smithy285;41744586]What systems are similar to this but are better?[/QUOTE] the rain in vein is a good example.
my_hat_stinks this is the best and only environment system addon I know of. You've done a fantastic job. There are only a few tweaks here and there to be made. May I suggest, until this is on the workshop, do resource.add to force download the needed textures so players are not seeing purple and black checkers all over the place, and when it is on the workshop you can remove the resource.add's and put in the function to force download the addon straight from the workshop <3 second suggestion is lights, the lights inside buildings and such should not dim when its night time, its quite, I don't want to use this word, but, annoying :/ third issue, a few places around my map rains/snows where it shouldn't, I can only attribute this to either the ceiling being too thin or the room being too tall. Lightning to randomly strike (and possibly players :P ) would be marvelous! ;)
Sorry, you need to Log In to post a reply to this thread.