mirror of
https://gitlab.com/gaelysam/mapgen_rivers.git
synced 2024-12-29 12:20:41 +01:00
Some changes in default settings
- blocksize = 15 by default - base noise is eased - added tectonic compensation radius in settings
This commit is contained in:
parent
32bc9561b6
commit
8ce20816e1
@ -9,6 +9,7 @@ mapgen_rivers.noise_params = {
|
||||
spread = {x=2048, y=2048, z=2048},
|
||||
persist = 0.6,
|
||||
lacunarity = 2,
|
||||
flags = "eased",
|
||||
}),
|
||||
|
||||
distort_x = def_setting('np_distort_x', 'noise', {
|
||||
|
@ -42,7 +42,7 @@ local def_setting = mapgen_rivers.define_setting
|
||||
|
||||
mapgen_rivers.settings = {
|
||||
center = def_setting('center', 'bool', true),
|
||||
blocksize = def_setting('blocksize', 'number', 12),
|
||||
blocksize = def_setting('blocksize', 'number', 15),
|
||||
sea_level = tonumber(minetest.get_mapgen_setting('water_level')),
|
||||
min_catchment = def_setting('min_catchment', 'number', 25),
|
||||
max_catchment = def_setting('max_catchment', 'number', 40000),
|
||||
@ -57,6 +57,7 @@ mapgen_rivers.settings = {
|
||||
K = def_setting('river_erosion_coef', 'number', 0.5),
|
||||
m = def_setting('river_erosion_power', 'number', 0.4),
|
||||
d = def_setting('diffusive_erosion', 'number', 0.5),
|
||||
compensation_radius = def_setting('compensation_radius', 'number', 50),
|
||||
},
|
||||
tectonic_speed = def_setting('tectonic_speed', 'number', 70),
|
||||
evol_time = def_setting('evol_time', 'number', 10),
|
||||
|
@ -7,7 +7,7 @@ mapgen_rivers_center (Center map) bool true
|
||||
# a square of this size.
|
||||
# For example if the grid size is 1000x1000 and block size is 12,
|
||||
# the actual size of the map will be 12000.
|
||||
mapgen_rivers_blocksize (Block size) float 12.0 2.0 40.0
|
||||
mapgen_rivers_blocksize (Block size) float 15.0 2.0 100.0
|
||||
|
||||
# Minimal catchment area for a river to be drawn, in grid cells
|
||||
# (1 cell = blocksize x blocksize).
|
||||
@ -79,6 +79,10 @@ mapgen_rivers_river_erosion_power (River erosion power) float 0.4 0.0 1.0
|
||||
# Smoothes peaks and valleys, and tends to prevent sharp cliffs from forming.
|
||||
mapgen_rivers_diffusive_erosion (Diffusive erosion) float 0.5 0.0 10.0
|
||||
|
||||
# Radius of compensation for isostatic/tectonic processes
|
||||
# Tectonic uplift forces will have a diffuse effect over this radius
|
||||
mapgen_rivers_compensation_radius (Tectonic compensation radius) float 50 1.0 1000.0
|
||||
|
||||
# Speed of evolution of tectonic conditions between steps
|
||||
# Higher values means tectonics will be very different from one step to the other,
|
||||
# resulting in geologically unstable and more varied landforms (plateau, gorge, lake...)
|
||||
@ -89,7 +93,7 @@ mapgen_rivers_tectonic_speed (Tectonic speed) float 70 0 10000
|
||||
# Y level of terrain at a very large scale. Only used during pre-generation.
|
||||
# X and Z axes correspond to map's X and Z directions, and Y axis is time.
|
||||
# Successive XZ slices of this noise represent successive tectonic states.
|
||||
mapgen_rivers_np_base (Terrain base noise) noise_params_3d 0, 300, (2048, 2048, 2048), 2469, 8, 0.6, 2.0
|
||||
mapgen_rivers_np_base (Terrain base noise) noise_params_3d 0, 300, (2048, 2048, 2048), 2469, 8, 0.6, 2.0, eased
|
||||
|
||||
# This noise will shear the terrain on the X axis,
|
||||
# to break the regularity of the river grid.
|
||||
|
Loading…
Reference in New Issue
Block a user