• Environment Systems - Time-Of-Day and Weather for your server
    93 replies, posted
i am also getting annoyed when the streetlights dim when its nighttime. the only thing i can think of a fix is to many set a table to look for all of the light entities and set the alpha back to 255 but that might cause allot of problem since not all of the light in a map is always full bright.
[QUOTE=gravelhunter;41765494]i am also getting annoyed when the streetlights dim when its nighttime. the only thing i can think of a fix is to many set a table to look for all of the light entities and set the alpha back to 255 but that might cause allot of problem since not all of the light in a map is always full bright.[/QUOTE] I was thinking the same thing but that would royally screw up the lighting
[QUOTE=gravelhunter;41765494]i am also getting annoyed when the streetlights dim when its nighttime. the only thing i can think of a fix is to many set a table to look for all of the light entities and set the alpha back to 255 but that might cause allot of problem since not all of the light in a map is always full bright.[/QUOTE] wait, is this using post processing and not an actual daynight script?
I'm not sure, I'll mess with my post processing the next time night comes and reply back
Is this something I could use in ttt?
Yea, everything seems really saturated, from the new update. The colors do not look like their actual colors, and all the sprays glow.
[QUOTE=Johnny Guitar;41778730]wait, is this using post processing and not an actual daynight script?[/QUOTE] It uses a combination of both, because the biggest recurring complaint was that the darkest possible setting using engine.LightStyle (without going pitch black) wasn't dark enough. This was the only reasonable alternative I could think of that would make it darker. I'd be happy to use any better alternative you can find, though
You have done a good job, but there is a question. When its night, all the lights and rooms in houses go dark aswell. So they look like they are hounted or something. Is it possible to change/fix ?
I made some ULX commands. They need to go into a shared lua file. !wtime day/night/dusk/dawn etc.. !wforce sun/rain/snow/storm etc.. !wstime 1/0 These are admin only by default and will show up under the "Weather" category in the permissions. [code]local CATEGORY_NAME = "Weather" function ulx.wtime( calling_ply, new_time ) ulx.fancyLogAdmin( calling_ply, "#A changed the time to #s", new_time ) game.ConsoleCommand( "weather_time " .. new_time .. "\n" ) end function ulx.wforce( calling_ply, new_weather ) ulx.fancyLogAdmin( calling_ply, "#A changed the weather to #s", new_weather ) game.ConsoleCommand( "weather_force " .. new_weather .. "\n" ) end function ulx.wstime( calling_ply, new_stime ) ulx.fancyLogAdmin( calling_ply, "#A changed the weather systemtime to #s", new_stime ) game.ConsoleCommand( "weather_systemtime " .. new_stime .. "\n" ) end if ( ulx ) then local wtime = ulx.command( CATEGORY_NAME, "ulx wtime", ulx.wtime, "!wtime" ) wtime:addParam{ type=ULib.cmds.StringArg, hint="weather time" } wtime:defaultAccess( ULib.ACCESS_ADMIN ) wtime:help( "Changes weather time." ) local wforce = ulx.command( CATEGORY_NAME, "ulx wforce", ulx.wforce, "!wforce" ) wforce:addParam{ type=ULib.cmds.StringArg, hint="weather force" } wforce:defaultAccess( ULib.ACCESS_ADMIN ) wforce:help( "Changes weather." ) local wstime = ulx.command( CATEGORY_NAME, "ulx wstime", ulx.wstime, "!wstime" ) wstime:addParam{ type=ULib.cmds.StringArg, hint="weather systemtime" } wstime:defaultAccess( ULib.ACCESS_ADMIN ) wstime:help( "Changes weather systemtime." ) end[/code]
In the new weather example the fire rain damages no matter if a player is indoors, How would i make it so it checks if a player is indoor to stop the damage
I'm not sure how he's figuring out if it's inside or outside, I'm assuming it has something to do with the height of the room and/or the thickness of the roof.
[QUOTE=kklouzal23;41858311]I made some ULX commands. They need to go into a shared lua file. !wtime day/night/dusk/dawn etc.. !wforce sun/rain/snow/storm etc.. !wstime 1/0 [/QUOTE] Thank you very much for this. And ofcourse, very good job my_hat_stinks. There's one thing that bothers me, when it's day, it's a very blue unrealistic color. Is it possible to change back to the normal skybox when it's day? Or maybe slowly phase it in during morning then phase it out at the night again?
It would be nice to hear something back from him on our questions. :3
Where do I change the chance for certain weathers? Like, sun is 40% chance, rain 30%, storm 15%, snow 15%.
Does this mod still work? I tested it in SingePlayer and when I joined the map (gm_flatgrass) it was night time straight away. I spawned a few lights around and they look kinda weird, like the saturation or contrast was increased alot! I really want to use this on my server, it seems like such a good addon.
[QUOTE=Jadd;42002995]Does this mod still work? I tested it in SingePlayer and when I joined the map (gm_flatgrass) it was night time straight away. I spawned a few lights around and they look kinda weird, like the saturation or contrast was increased alot! I really want to use this on my server, it seems like such a good addon.[/QUOTE] It does work, it starts at night - type in console: weather_time 0-24, and weather_force snow, rain, storm or sun. The lights are bad sadly.
[QUOTE=Busan1;42003601]It does work, it starts at night - type in console: weather_time 0-24, and weather_force snow, rain, storm or sun. The lights are bad sadly.[/QUOTE] In fact, you can have it use system time too. So if you play at midnight, the moon will be up in the sky.
Does this actually work for TTT or not because I honestly cant seem to find the answer for it in this thread ^^
[QUOTE=sab0tage3;42029978]Does this actually work for TTT or not because I honestly cant seem to find the answer for it in this thread ^^[/QUOTE] It'll work as long as there isn't any other sky-changing scripts in the gamemode, so yes.
[QUOTE=Busan1;41996957]Where do I change the chance for certain weathers? Like, sun is 40% chance, rain 30%, storm 15%, snow 15%.[/QUOTE] Asking this again.
[QUOTE=LittleBabyman;42040988]It'll work as long as there isn't any other sky-changing scripts in the gamemode, so yes.[/QUOTE] Also needs a 3d skybox
is it me or is it just really hard to add weather to this. it just seems to create errors when attempting to add
[QUOTE=Busan1;42042457]Asking this again.[/QUOTE] I just found it. Look for it. Its not too hard.
Some guy has claimed this as theirs "http://steamcommunity.com/sharedfiles/filedetails/?id=176834009"
Also appears to have made a repo on github [URL="https://github.com/SoTotallyXray/Environment-Systems"]https://github.com/SoTotallyXray/Environment-Systems[/URL] All code is identical to my_hat_stinks addon.
[QUOTE=>>FRAG<<;42256040]Also appears to have made a repo on github [URL="https://github.com/SoTotallyXray/Environment-Systems"]https://github.com/SoTotallyXray/Environment-Systems[/URL] All code is identical to my_hat_stinks addon.[/QUOTE] he did add to the description that all credit goes to my_hat_stinks
[B]Readme.md[/B] [QUOTE]Environment-Systems Feel Free To Commit Towards This Project! THIS IS FOR GMOD 13! THIS IS A DEV BUILD of this project! INSTALL To install this DEV build please place the addon into your servers/clients Addons folder! or just simply wait until i publish it on workshop[/QUOTE] [B]addon.txt[/B] [QUOTE]"AddonInfo" { "name" "Environment-Systems" "version" "1" "author_name" "SoTotallyXray" "author_url" "" "info" "" "override" "0" }[/QUOTE] I fail to see him credit my_hat_stinks in any public view on the github page, If someone came across this then it would appear that SoTotallyXray is the sole author, there's no credit in the lua files themselves.
Is there anyone who see the skybox on their map? I've tried many different maps but I only get the single color depending on which time of the day it is.
[QUOTE=Busan1;42280251]Is there anyone who see the skybox on their map? I've tried many different maps but I only get the single color depending on which time of the day it is.[/QUOTE] try gm_construct? and use command weather_force storm If it does not change then there is most likely a problem. make sure your on dx9
I have a question. I subscribed to this on steam workshop, but now it has either been hidden or deleted. is it hidden? because the downloaded version didn't work for me but the workshop one did. (on the same map with a 3-d skybox and blah blah blah.) [editline]2nd October 2013[/editline] [QUOTE=lambodriver2;42382936]I have a question. I subscribed to this on steam workshop, but now it has either been hidden or deleted. is it hidden? because the downloaded version didn't work for me but the workshop one did. (on the same map with a 3-d skybox and blah blah blah.)[/QUOTE] And now I just tried to use the downloaded one. I used gm_construct, but the commands didn't even show up in the console.
Sorry, you need to Log In to post a reply to this thread.