Rain Module + Plugin

It looks easy! Thank you! Your work is amazing

1 Like

Hello! I’m having a current issue where my rain just randomly stops working and says ‘RainStraight is not a valid member of Attachment’

I’d love if someone could help me, I really like the rain! And yes it does enable, it just randomly stops after around 3-5 minutes.

Please provide a small repro file (.rbxl) where this happens 100% of the time when certain steps are followed, and I can take a look.

1 Like

I’m personally a big fan of the 2018 egg hunt and I think this will be a great asset to my games.

Hello! I was wondering how could I make it so that the rain stops once, and every “Fire” particles turn enabled, then when the rain starts again the fire turns disabled :thinking: ? I hope you can help!

See the API documentation inside the module on how to turn the rain on/off.

If you need help on how to integrate this logically with other parts in your game, please try it yourself first and then use #help-and-feedback:scripting-support if you get stuck on any specific parts.

3 Likes

Is there an option to make the rain less chunky

1 Like

Did you read the pros/cons section? This is a dense rain effect, not something you can use to simulate individual rain droplets or anything like that.

You can change out the textures with your own custom textures if you want to get some more granularity. Refer to the documentation for the API you would need to call.

2 Likes

It’s almost as if someone recreated British weather 24/7 on Roblox. :shock:

In all honesty though, amazing plugin. Thanks!

6 Likes

Wow, this looks really good. Great plugin!

2 Likes

hello could you help me I would like to put a script that activates and deactivates the rain of your plugin as I can do it and tried and nothing

1 Like

Download the module on its own and see the API.

If you can’t figure it out after trying it yourself first, use the #help-and-feedback:scripting-support category to get help. Support outside of the module/plugin itself is off-topic here.

4 Likes

Some of the rain goes through thin-ish roofs, so you might want to put a transparent part on top of your structure.

The rain doesn’t set it’s transparency in the first 10 seconds. What can I do?

When making bug reports about this module please submit a .rbxl that reproduces the issue and give a specific description of what you see and what you expect to happen instead, otherwise I will have to back-and-forth with you several times to understand, and that’s not efficient usage of my time.

Bug reports that don’t have a repro and accurate description will be ignored.

1 Like

Hi, how can I enable/disable the script/rain?
(from code)
like
Module:Enable()
Module:Disable()

You require the rain module and call the respective API. Please read the documentation.

local Rain = require(... route to the module here ...)

-- Call API on Rain
Rain:Enable()
2 Likes

As mentioned before in this topic, you might have to modify the roof thickness, or the constants in the module, to work with very thin roofs like that one.

1 Like

@buildthomas What constants should I look to modify? I have large 2-3 stud thick roofs that are still being penetrated.

2 Likes

How do I use the API functions since I want to get my weather control script to use these rain effects?
In the function that toggles rain do I just simply insert Rain:Enable so the function would look like this:

function Rain()
    Rain:Enable
	Raining = true
end

The function gets called to turn rain on by another part of the script.
or is they more to it like having to add a local to point to whatever script is needed for the API for function.