Mods / RiverGen

Tags: #Worldgen
Author: Nyuhnyash
Side: Server
Created: Dec 12th 2024 at 11:18 PM
Last modified: Dec 15th 2024 at 11:04 PM
Downloads: 5311
Follow Unfollow 197

Recommended download (for Vintage Story v1.20.x):
RiverGen_v1.0.0.zip  1-click install


A server-side river terrain generation mod.

Also works in singleplayer. Tested in 1.20.1 and 1.19.8. No Harmony patching (Runs on ARM64).

Features:

  1. Сustomizable branching rivers.
  2. Clay deposits (optional).
  3. Mossy boulders and fallen logs (optional).

Also read the original mod changelog.

Currently unavailable features (from the original mod):

  1. Water flow.
  2. Alluvial clay deposit expansion.

Known bugs:

  1. Grass grows on top of the boulders.

How to set up:

Recommended world configuration: 40-50% Landcover, 300-400% Оcean scale (a.k.a. Landcover scale).

Add this into "WorldConfig" in serverconfig.json before the world generation.
"WorldConfiguration": {
    "landcover": "0.5",
    "oceanscale": "3"
}

A fork of the original Rivers mod created by Sneeze.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.0 5311 Dec 15th 2024 at 11:04 PM Show RiverGen_v1.0.0.zip 1-click install

34 Comments (oldest first | newest first)

💬 IAMspEeDex, May 10th at 1:39 PM

Doesnt generate rivers on 1.20.4, configs added.

any solution?

💬 GlooMeGlo, May 9th at 7:53 PM

Any chance you can make sure this mod is capable to be used as a replacement for the original rivers mod? Mod dev had a crashout with the moderators and got banned for a year. I have a rather large vs server that might be at risk of corrupting in the future if we don't get another version. We use v 4.0.2, haven't updated since, but for future vs updates when we need to update the mod, there needs to be a new version out there. If not, that's understandable. I just know that others are already working on a new fork, and seeing as you already have a fork, you might be of some help.

💬 NukeACitrus, Mar 23rd at 5:14 PM

Loving the mod! Whish there was a way to lower the chance of these giant tunnels tho. Using terra pretty, you end up with these huge tunnels cutting through mountains and hills. They are impressive, don't get me wrong, but they look a bit too fantasy-like for my taste. 

 

 

Examples of the "issue":

💬 Ixcatl, Mar 17th at 1:30 AM

absolutely love this mod, but just one thing. could i ask for a config to set which types of clay can spawn in rivers? i'd like to set it to blue clay only since it's a lot rarer in 1.20 (not to mention more realistic)

💬 Faeldray, Feb 27th at 4:45 PM

Is there a way to have rivers continue through deserts? I can understand not having them start in deserts but for there to be a chunk of it just missing because it's going through a desert feels a bit strange to me. Love the mod otherwise, it makes travelling much more fun and interesting.

💬 Stroomschok, Feb 20th at 10:03 PM

What do the two unavailable features do exactly?

💬 Zujani, Feb 16th at 4:54 PM

I love this mod, but I'm having trouble getting it to work on a 3rd party hosted multiplayer server. It's showing in the log that it's loading, and I'm not getting any errors.
It's not a settings issue, as I'm comparing it to a single player world with the exact same seed and settings, and it works just fine there.
I've also tried it with every other mod disabled, and still no luck. Does anyone have any ideas on solving this issue?

💬 Shazza, Feb 6th at 2:32 AM

I went about 50 hours into a new save - having jumped on RiverGen first thing in my release candidate save, plug n' play no issues - only to find out that the setup is no longer automatic. Not a single river across 15K blocks. Disappointing, gonna see if doing the config change mid-world helps. :c
No dice. Sad to see this break so late into the world, I loved the no-flow rivers because it enabled access with the canoes mod and sailboat much better than just jacking up the ocean size.

To tack on, yes I did also try this on fresh saves with and without the serverconfig changes to see if I could salvage it through worldediting my base to a new worldsave. Anything lower than 80 landcover and higher than 200 scale spawned nothing but tiny little islands for thousands of blocks, but on 80/200 I did actually have rivers appear again!

💬 wary_asparagus, Jan 30th at 2:42 PM

My config also resets to the default. I'm going to see if setting it to read-only will help.

💬 Proner, Jan 29th at 6:48 PM

@Jaidaken

I was able to change the configs by being wholly faithful to the numbers' structures, whole numbers, etc.

💬 Jaidaken, Jan 26th at 11:17 PM

Proner

I agree, it's impossible to change the modconfig file as it is overwritten every time I start the server.

💬 Aldor, Jan 26th at 8:19 PM

Hey Nyuhnyash! Thanks for making this, LOVE it! At this point, can't play the game without it.

I was curious though - can you explain what each of the custom settings in the config file do?

If not, also curious - is it possible to have rivers follow the curvature of the surface? Having a love-hate relationship with a lot of these massive, perfectly sphereical caves caused by the river generation.

Thanks mate.

💬 Robul, Jan 26th at 3:16 PM

Cant get this mod to work, i have endless loading screen, what could cause this? What mods are incompatible? 

 

💬 Nyuhnyash , Jan 25th at 5:34 PM

Yelb %appdata%\VintagestoryData\ModConfig\rivers.json

💬 Yelb, Jan 25th at 5:32 PM

Hello, where is the file i may change so there are more/less rivers, forks, dephs, caves, etc ?

💬 stinkstank, Jan 25th at 12:57 AM

  Being able to travel in boats and rafts as a viable travel mode in the interior is amazing.  Thanks for taking the river flow feature out. The original mod leaves entire chunks as empty space you can fall into.  I had to load a few world seeds to finally not spawn on an island but the mainland is not far away.  Works for me on 1.20.0

💬 Zanzi00, Jan 24th at 10:33 PM

I'm only getting put on islands. I tried the settings above and the ones mentioned by Irakonul

💬 Proner, Jan 23rd at 5:42 PM

Whenever i try to open a save or a server with the mod, it's ModConfig file just resets to default

💬 Isochronous, Jan 19th at 6:49 PM

How well does this mod work for previously generated worlds? I would assume I'd have to change the land coverage for it to work? Is that possible to do in a previous gen world? Tyia

💬 Nyuhnyash , Jan 19th at 1:35 PM

PetraTheSquishy Husarior I've tested the mod on fresh install of the 1.20.1 server (Windows x64). Default Server config + landcover = 0.5, oceanscale = 3. Default mod config. And rivers are there (you can show them on the map with /riverdebug full command) and no errors.

balloonhead666 oceanscale called "Landcover scale" in the World generation menu.

Rivers (and oceans) would not generate with landcover = 1 (default). Also rivers are not generated near the initial spawn area. If you're struggling to find a river it doesn't mean the mod does not work. Try to adjust mod config/world config.

If you thing you have errors, check the logs and if there are exceptions, post the logs here or in Discord.

💬 balloonhead666, Jan 19th at 10:55 AM

1.20.1 When generating a new world I have to manually change the parameters when creating the game to change landcover to 0.5 but there is no option for oceanscale. When I just change both in the json and create the new world it sets back both parameters to 1. Only saw 2 Rivers on the starting Continent thats all. Maybe this really only works for Serverstart and not Singleplayer.

💬 Husarior, Jan 19th at 7:40 AM

Does not work on 1.20.1.

Edit: Doesn't work on 1.20.0 too.

💬 PetraTheSquishy, Jan 18th at 7:27 PM

As of v1.20.1 the generation of rivers does not work it seems. Even with the mod and nothing else but this mod, it still will not generate rivers, even with recommended world Config. This also occurs with the Rivers mod by Sneeze.

💬 Zaldarr, Jan 12th at 6:02 AM

quartzar how did you generate that world map?

💬 quartzar, Dec 23rd 2024 at 4:46 PM

UPDATE: Figured it out - it's a problem with having more than 1 thread for the following settings in `servermagicnumbers.json`:
```
"MaxPhysicsThreads": 1,
"MaxWorldgenThreads": 1,
```

ORIGINAL:
So, I cannot generate a new world with this mod active on 1.20.0-rc.5.
I need to disable it, delete cache, then create a world first. Then I quit, enable to mod, reload, run `/wgen autogen 0`, `/db prune 30 drop confirm` and `/db vacuum`, then re-enable world gen with `/wegen autogen 1`.
That generates rivers just fine and as expected.
However, if I then save the world and try to reload it, I hit an infinite worldgen loop that prevents the world from loading whatsoever.

I've tried it with vanilla terrain generation mostly but it also doesn't work with Plains and Valleys.

Edit: Also just tried it with only this mod installed, same error on start up.

Pastebin: pastebin.com/EEGqPfih

💬 Dirty_Shisno, Dec 23rd 2024 at 3:05 PM

I agree, the water currents are too strong in original.

💬 Ardail, Dec 20th 2024 at 5:10 PM

kinda glad this mod doesn't have flowing rivers, the other one's flow is so strong that you can't go up river at all
maybe if boats were more powerful but they're rather slow

💬 Cyberboi, Dec 17th 2024 at 8:05 PM

Mers Well yeah this fork doesn't come with any water flow

💬 Mers, Dec 17th 2024 at 5:32 PM

I can vouch for rivers not flowing on our server, currently static with 40% landcover, 400 scale

💬 Irakonul, Dec 17th 2024 at 2:13 PM

I am very much enjoying this fork. In combination with Terra Prety, the rivers create wonderful vallies edged by sweeping hills and cliffs, and, since the water is static and not flowing, travel by boat is possible along the rivers in both directions, leading to a world where boats are actually useful.

Below is a link to a pastboard image of the world map. (World generation settings used were: seed 703041901; Landcover: 80%; Landcover Scale: 300%; Landform Scale: 300%; World Width/Height: 5120; Polar-Equator Distance: 15k blocks; World Height: 320 blocks)

Thanks again for the mod!

💬 Nyuhnyash , Dec 16th 2024 at 9:57 AM

Yelb So it could be run on the server-side and/or on ARM64. If it's crucial to someone.

💬 Yelb, Dec 16th 2024 at 8:46 AM

Hi, i don't quite get it, why the fork ?

💬 ptrk, Dec 16th 2024 at 2:22 AM

I'm ngl, this is exactly what I was thinking would be great when I was looking for server mods last night. So funny it just drops the next day

💬 AzuliBluespots, Dec 16th 2024 at 12:18 AM

The fact that this runs on arm64 is really interesting, ngl

 (edit comment delete)