RiversAndLakes
Draw rivers, lakes and waterfalls in your world: flowing currents, shaped banks, fish, lava. Multiplayer.Changelog
1.1.0
World generation
- Rivers and lakes can now come with the world. A new world's dialog has a Rivers and Lakes dropdown: "Default Generator" (preselected) fills the whole world with rivers, lakes and waterfalls, "None" leaves it as before. Generated water is ordinary water: edit or delete it in plan mode like water you drew.
- Each island gets a few main river systems with a headwater lake, plus creeks rising from springs; rivers cut through
low ridges, fall over cliffs, split round islands, and run into and out of large lakes on flat ground. Every river
ends in the sea, a lake or another river (a small creek may end in a pond). The Mistlands' tall hills get waterfalls
from their tops down their sides (
[WorldGen] HillFalls, a few per Mistlands region). Small locations can stand in those lakes as islands or on their shores as headlands. - Generated lakes are deeper the bigger they are: ponds and small lakes 2 m, the largest lakes up to 8 m (their "Target depth" in plan mode).
[WorldGen] Waterfalls(Many / Few / None, Few by default): how many waterfalls generated rivers have. Few turns most steps of the ground into rapids cut into it and keeps falls for taller steps; None lets rivers flow gently (small gorges in hilly ground, falls only at tall cliffs); Many makes a fall at every steep step.- Rivers end in open sea, not in a narrow inlet of sea reaching inland.
[WorldGen] MinRiverWidth(off by default): the narrowest a generated river may be, in metres. Every river is made at least that wide, carrying as much more water; one that cannot be that wide everywhere is left out, with the rivers joining it.- Generated water flows round locations and builds and leaves them as they were. The stones, trees and plants standing in it are cleared away (ore stays).
- Generated water keeps clear of water already in the world (rivers and lakes you drew, or kept from an earlier run): no generated river or lake overlaps it. Generated rivers may flow into it, or one per body start from it, as they would a lake of their own.
[WorldGen] RiverPaintGround(on by default): off, generated rivers leave the ground's paint as it is (plan mode's "Paint ground"; their banks are still shaped). Lakes always paint.[WorldGen] CarveShore(on by default): off, generated rivers and lakes are placed with their shoreline carve off (plan mode's "Shoreline carve"): the ground is left as it is, so the water may stand above or below it.- Existing worlds and dedicated servers: the console command
riversandlakes_worldgen(admins, needsdevcommands):generate whole(the whole world) orgenerate newland(only land nobody has visited yet),status,cancel, andremove(takes away the generated water you have not edited). On a dedicated server,[WorldGen] NewWorldsgenerates water for new worlds. Back up your world before generating water in a save you care about: it reshapes the ground along the water. - The
[WorldGen]config section sets how much water, which biomes stay dry, the river systems, the lakes and more. Generation runs on the host, so the host's config applies. Worlds made bigger with Expand World Size are covered to their edge.
New
- Rivers and lakes are drawn on the world map and the minimap (
[Map] DrawWater, on by default; fog of war still applies). - Rivers can gather water on their way: a knot's "Water gathered to the next knot" adds springs and brooks too small to draw, and "Water here" shows how much water the river carries past the knot.
- Plan mode's keys can be changed in the config's new
[Keys]section (or a config manager); the on-screen hints show the keys you set. - For mod makers: other mods can place rivers and lakes, and add their own water generators to the new-world
dropdown, through a public API (
RiversAndLakes.Api).
Changes and fixes
- Rivers are drawn and carved at least 2 m wide; very narrow creeks no longer show ground through their water.
- A river linked to a lake can no longer run under the lake's surface. River knots that lie just under a lake's level are lifted onto it.
- Waterfalls are rebuilt: the sheet's edges follow the water, and each part of it lands in the water below, also where the river turns or runs steeply on below the fall. No more rock gaps between the river and the sheet, sheets inside the ground, sawtooth or dark crease along the lip, bare faces where a rock sits on the lip, strips of river hanging down beside the sheet, or walls and spikes of ground beside tall falls; the splash ends where a river drops on without a pool.
- A river joining other water less than 0.75 m below runs smoothly into it instead of making a tiny waterfall.
- Shaped banks follow the water: the ground along narrow creeks no longer dams them every few metres or shows a sawtooth waterline when they run diagonally.
- Worlds made bigger with Expand World Size: rivers and lakes outside the Ashlands are no longer tinted red.
- Rivers no longer stand still below a short steep drop or a dry band across them.
- Works with the Seasons mod (which used to throw errors on plan water), and with mods that change the vanilla water's material.
- Large worlds with many rivers and lakes: changes are sent as differences, the water near players is prepared first, and memory use is much lower. Far fewer stutters while flying or walking through a world full of water.
- Multiplayer: a client that misses part of an update asks the host for the whole state again instead of staying out of sync.
1.0.0
First public release: draw rivers, lakes and waterfalls in plan mode, with flowing currents, shaped banks, fish and lava, for single player and servers.
For alpha testers
- Worlds last saved by a plugin older than 0.0.36 no longer load their rivers and lakes (the stored data is kept and
backed up to
BepInEx/RiversAndLakes/failed-imports/). - Water quality now has its own rows in Settings > Graphics. The old
[Waves]tessellation and[LocalWaves]on/off switches are gone, so if you turned those off, set a lower water quality instead. - New server setting
[Server] AllowGroundChanges: off, players cannot turn on "Shoreline carve" or "Paint ground" (water that already has them keeps them). - Developer console commands (
riversandlakes_dump,_watershader,_waves,_carve, ...) now needdevcommands;riversandlakes_wipeis gone (useriversandlakes_clear confirm). - Quieter log; developer tuning values are marked advanced in config managers.
