You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -115,9 +115,13 @@ Geo Mapgen can calculate automatically the positions of rivers with the elevatio
115
115
Be aware that rivers calculation can be *very* slow (around 15 minutes for a 6000x6000 map).
116
116
117
117
## Configuration file
118
-
A config file `heightmap.dat.conf` is generated in the world directory. It has the same syntax than `minetest.conf`, and currently supports 6 parameters:
118
+
A config file `heightmap.dat.conf` is generated in the world directory. It has the same syntax than `minetest.conf`, and currently supports the following parameters:
119
119
-`scale_x`, `scale_y`, scale_z`: set the scale for each axis. Size of objects is **divided** by this value.
120
120
-`offset_x`, `offset_y`, `offset_z`: Offset of the world rectangle in nodes.
121
+
-`rivers`: Enable or disable land cover. Default to `true`.
122
+
-`landcover`: Enable or disable land cover.
123
+
-`plants`: Enable or disable decorations (grass, ferns, trees etc.)
124
+
-`trees`: Enable or disable schematic decorations (trees)
121
125
122
126
For example if you have generated a map with a resolution of 100 meters by pixel, and you set this in `heightmap.dat.conf`:
table.insert(schems_to_generate, {pos={x=x-2,y=h+1,z=z-2}, schem=deco}) -- Schem size is not known. Assuming that most of schematics have a size of 5, hardcode offset to 2. TODO: Change that when schematic flags will be available on minetest.place_schematic_on_vmanip
257
+
ifenable_treesthen
258
+
table.insert(schems_to_generate, {pos={x=x-2,y=h+1,z=z-2}, schem=deco}) -- Schem size is not known. Assuming that most of schematics have a size of 5, hardcode offset to 2. TODO: Change that when schematic flags will be available on minetest.place_schematic_on_vmanip
0 commit comments