Map Generator with RiversI'm happy to introduce this new mapgen that I've been developing since April!
I had already posted my ideas on a previous topic and showed some screens, but now I consider this is out, even if I still need to rework parts of the code.
The concept is to generate landscapes that look realistic, by reproducing surface geological phenomenons like river flowing and erosion.
Its main particularity compared to conventional Minetest mapgens is that rivers flow strictly downhill, and combine together to form wider rivers, until they reach the sea. Another notable feature is the possibility of large lakes above sea level.
Important note: Unlike most other Minetest mods, it does not contain standalone Lua code, but it requires pre-processing with a separate Python program (included). The Python side deals with a data grid that represents the world at large scale. The Lua side performs actual map generation in-game. It upscales the grid data, and adds smaller-scale features.
Usagecontains by default a demo grid of 400x400 cells (corresponding to a 4800x4800 map), so you can start the game directly and it will generate using this demo grid, but it's better if you generate a new (and larger!) grid before every world creation.
- You need Python 3 with the libraries
For example if you use package manager :
Code: Select all
pip install numpy scipy noise
, and . Install them if they are not present.
- Execute the script documentation for advanced use of the script.
Code: Select all
and it will generate a 1000x1000 grid in 15-30 minutes. For basic use, use no arguments, or just append to specify a size in cells per edge (default 1000). Check
- You can start Minetest and create your world ; the grid will be copied on world init.
DownloadDownload zip / Browse on Github
--> biomegen was originally designed for being part of this project, until I realized it may have other uses.
License: GNU LGPL v3.0
Showcase server by Gundul:
, port , come and have fun exploring the map!