Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Uncle Zed

Just another weather question

Recommended Posts

I read this post on reddit but it's closed so I can't reply: 

Spoiler

 

My question is about this line:

 weather.GetRain().Set( Math.RandomFloatInclusive(0.0, 0.2), 0, 0);

If I change that line so that the 0,0, 0.2 is something larger, like 0.0, 0.7, does that mean that the intensity can change between those two values during the server session? I want the weather to change, ie: rain tapering off, clouds going away, etc during a session.

Share this post


Link to post
Share on other sites

I usually try to avoid 0.0 tbh with the weather script.

but yes, in theory that would mean it, albeit, Set actually is supposed to set the current rain, and it very much depends whether the weather system itself reacts or not.

maybe better to ask in that reddit post however.

Share this post


Link to post
Share on other sites
9 hours ago, g4borg said:

I usually try to avoid 0.0 tbh with the weather script.

but yes, in theory that would mean it, albeit, Set actually is supposed to set the current rain, and it very much depends whether the weather system itself reacts or not.

maybe better to ask in that reddit post however.

The reddit post is closed so I can't reply.

Share this post


Link to post
Share on other sites

×