That should work, please provide a minimal repro file if you see otherwise, then I can look into it.
You’re setting rain properties on the server. This has no effect on the client, where the rain is rendered. You should not be requiring the rain module on the server.
Does this work with other particles or only rain? I’m looking for something that can stop snow from going through blocks. If this works for that or you have any alternative solutions, let me know, I would appreciate it!
You can try swapping out the rain texture with a snow texture and tweaking other variables to make it look like snow. It might not look very good because this module is tuned for rain effects (I can cut some corners because of the fact rain typically falls very fast so you don’t notice certain sloppy details compared to if it were moving slow and the individual particles were more important, like with snow).
Ill give it a try, the snow will be falling fairly fast so it might work.
How would I change the size of the texture? These snowflakes are more like snowballs.
Well, I’m sure there’s a way to make this work but I’m not sure how, Ill just go back to particle emitters. I could get the size of the snow outside fine but when I walked inside it was still massive. It also looks a bit odd because it follows the camera. Worth a try.
You’d probably get best results with a dense texture, e.g. multiple snow particles on one sheet. This is not meant to emphasize each individual particle as mentioned before.
How can I enable and disable it in another script (my random weather script)
Answer already given earlier in the thread, please have a read through.
Good luck!
I know this is an ooold thread, but I’m having problems. The rain is going through roofs. Is this a Studio thing?
Answer already given earlier in the thread, please have a read through.
Good luck!
Tried that already, did not work. And yes the settings are correct.
Edit: Nevermind, just realized you meant the modulescript and not the settings in the plugin’s UI. I got it figured out.
Where up did you find the way to stop rain from coming through blocks?
I’ve been messing around with this a in game I’ve been working on and it makes my environment feel so nice! Thanks for this will be tinkering with it even more:
Sorry about the late reply. Anyways, there should be some variable in the scripts the plugin inserts somewhere. I’ll try to find the exact variable later.
I’ve added this module into our release version test server for Ultimate Edition and it’s really quite amazing how well it works with very little tinkering!
Attached some GIFs below. These are low FPS bc gyazo, it looks amazing ingame!
https://gyazo.com/84aeeabb464b8519f22a561381c90eb0
Another con: the rain stops when you die. Pretty good though.
Nope, this works fine out of the box throughout player deaths. You are likely doing something wrong elsewhere in your code.
Feel free to use #help-and-feedback:scripting-support since that is off-topic here.