[mod] Rain and Snow [snow]

Post Reply
Oil_boi
Member
Posts: 139
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

[mod] Rain and Snow [snow]

by Oil_boi » Post

This is a mod which adds rain and snow to minetest. It is more of a proof of concept but is stable enough to try out for yourself.

The commands are /snow, /clear, /rain to activate the weather

A few features:
  • *commands: rain, snow, clear
    *weather is dynamic, it changes to the environment so you can build a shelter from it
    *rain leaves puddles or floods
    *snow leaves snow on the ground
    *only updates when your position changes (might change this)
    *looks nice
    *isn't too too laggy
problems:
  • *buggy weather clearing
    *poor coding because this was a proof of concept
    *rain and snow overlap (will be fixing this tomorrow)
    *need to find a better way to clear the weather because they are node based
License: cc0 (will add this to the folder tomorrow)

Github: https://github.com/oilboi/snow

Download: https://github.com/oilboi/snow/archive/master.zip (remove -master off the folder name)

A video of it in action: https://youtu.be/y-yKSn8ayj4

Screenshots:

Image

Image
Attachments
screenshot_20190130_003124.png
screenshot_20190130_003124.png (804.73 KiB) Viewed 612 times
screenshot_20190130_003134.png
screenshot_20190130_003134.png (825.28 KiB) Viewed 612 times
This account is no longer active

User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [mod] Rain and Snow [snow]

by Andrey01 » Post

Snow looks like good. I hope does it add snow layers? Also, drop of the rain should look like smaller and more narrow. And still suggestion: if it is much raining, it should sometimes add water half-blocks (it will look when default water is leaking).

Oil_boi
Member
Posts: 139
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [mod] Rain and Snow [snow]

by Oil_boi » Post

Andrey01 wrote:Snow looks like good. I hope does it add snow layers? Also, drop of the rain should look like smaller and more narrow. And still suggestion: if it is much raining, it should sometimes add water half-blocks (it will look when default water is leaking).
It does all that, and the rain loops faster than the snow so it looks thinner, but imma have to thin it out even more.

Snow adds default:snow

Rain adds default:water_flowing level 3 to create puddles

:D
This account is no longer active

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [mod] Rain and Snow [snow]

by Chem871 » Post

That snow looks incredibly heavy, maybe make it a little lighter?
What is SCP-055?

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [mod] Rain and Snow [snow]

by Desour » Post

he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

Oil_boi
Member
Posts: 139
Joined: Mon Jan 28, 2019 13:12
GitHub: oilboi
IRC: oilboi
In-game: oilboi
Contact:

Re: [mod] Rain and Snow [snow]

by Oil_boi » Post

ADDITIONAL FEATURES ADDED AND TWEAKS:
  • *Heavy performance optimizations
    *weather will no longer spawn inside your house with a torch in it
    *The radius of weather is now 25 instead of 30
    *weather will no longer linger and get stuck in the world, old weather is removed
    *Removing old weather on weather change and going to clear sky is moved into voxel manipulator
Thank you for that!
Chem871 wrote:That snow looks incredibly heavy, maybe make it a little lighter?
Lightened it up a bit!
This account is no longer active

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests