Skip to content

Lemente/tidesandfloods

Repository files navigation

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)

FYWHkUlWYAY0_mN.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

FYXeHxSWQAAkyC8.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
FYWPhCRXwAMmyTn.mp4

Futur plans

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages