Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lemente/tidesandfloods


https://github.com/lemente/tidesandfloods

flood minetest minetest-mod tides

Last synced: about 18 hours ago
JSON representation

Awesome Lists containing this project

README

        

# tides & floods - Work in Progress

# How to use

In its current state, the tide level has to be changed with the /sealevel [height] command.
Raising or lowering the sea level by more than one node is possible, but not necessarily the goal of the mod.

(previously the command was /tide, now it is /sealevel)

https://user-images.githubusercontent.com/27686967/181780041-55fcae91-813f-4605-8ac4-0f45167a755d.mp4

# Goal

The goal of this mod is to make simulation of water level rising and lowering in realtime in a visually pleasant way.
It uses multiple liquid nodes :
- seawater : the main water node that fills the ocean. Doesn't contain any ABM.
- shorewater : a node generated where the sea meets the land. It contains a slow ABM that will start the receding tide process
- offshorewater : a node generated at the surface, at every cmapblock corner. It uses a slow ABM too trigger rising tides starting at the edge of the map (when it neighbours a "ignore" node)
- waves : a flowing liquid node with a fast ABM that takes care of everything inbetween and disappear once it is finished.

Some of those nodes contain an LBM so loading mapblocks will "catchup" instantaneously to to current sea level

https://user-images.githubusercontent.com/27686967/181780172-42193b2a-f621-4290-a7fa-0ac9d0f1ff4f.mp4

# To Do
(any help or advice will be greatly appreciated!)

## high-priority
- replace water during terrain gen (still keep LBMs as an option to support already loaded worlds)
- re-implement filling "pools" that stays filled at low tide
## low priority
- fixe shorewater forming around vegetation
- fixe shorewater lines forming with LBMs
## next
- re-implement naturally occurring tides
- load visible mapblock once to update their tide levels (avoid messy looking horizon)
- add plantmatter layer node
- make plants turn into plantmatter layer, make it float, react to moving water, deposit as wrack lines
- or turn plants into items
- trigger falling lilypads/float group
## later/maybe
- tweak texture colors
- make all water nodes work with the bucket
- create new seawater node not affected by tides
- add sound
- add mechanic to allow formation of pockets of air in coastal caves
- make game agnostic?
- add tidal currents/water currents?
- improve river connections?
- settingtype option for tidal range, supertide events, water continuously rising, speed

https://user-images.githubusercontent.com/27686967/181776097-257afdd9-03cc-4dd6-96d9-9ea23b6b80a6.mp4

# Futur plans

- adapt mod for lava and eruptions
- make it work with dynamic liquid?