mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Mgv5/v7/fractal: Add 'large_cave_depth' parameter to replace fixed value
The value cannot be fixed because we can shift terrain vertically. This also makes these mapgens consistent with mgflat and mgvalleys which have 'large_cave_depth' parameters.
This commit is contained in:
parent
e6a9e6066a
commit
b8237099b2
8 changed files with 72 additions and 40 deletions
|
@ -1028,6 +1028,9 @@ mgv5_spflags (Mapgen v5 specific flags) flags caverns caverns,nocaverns
|
|||
# Controls width of tunnels, a smaller value creates wider tunnels.
|
||||
mgv5_cave_width (Cave width) float 0.125
|
||||
|
||||
# Y of upper limit of large pseudorandom caves.
|
||||
mgv5_large_cave_depth (Large cave depth) int -256
|
||||
|
||||
# Y-level of cavern upper limit.
|
||||
mgv5_cavern_limit (Cavern limit) int -256
|
||||
|
||||
|
@ -1134,6 +1137,9 @@ mgv7_spflags (Mapgen v7 specific flags) flags mountains,ridges,nofloatlands,cave
|
|||
# Controls width of tunnels, a smaller value creates wider tunnels.
|
||||
mgv7_cave_width (Cave width) float 0.09
|
||||
|
||||
# Y of upper limit of large pseudorandom caves.
|
||||
mgv7_large_cave_depth (Large cave depth) int -33
|
||||
|
||||
# Controls the density of floatland mountain terrain.
|
||||
# Is an offset added to the 'np_mountain' noise value.
|
||||
mgv7_float_mount_density (Floatland mountain density) float 0.6
|
||||
|
@ -1251,6 +1257,9 @@ mgflat_np_cave2 (Cave2 noise) noise_params 0, 12, (67, 67, 67), 10325, 3, 0.5, 2
|
|||
# Controls width of tunnels, a smaller value creates wider tunnels.
|
||||
mgfractal_cave_width (Cave width) float 0.09
|
||||
|
||||
# Y of upper limit of large pseudorandom caves.
|
||||
mgfractal_large_cave_depth (Large cave depth) int -33
|
||||
|
||||
# Choice of 18 fractals from 9 formulas.
|
||||
# 1 = 4D "Roundy" mandelbrot set.
|
||||
# 2 = 4D "Roundy" julia set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue