Mapgen Carpathian: Add optional rivers (#7977)
Rivers are disabled by default and will not be added to existing worlds. Rewrite getSpawnLevelAtPoint() to be simpler and more consistent with generateTerrain().
This commit is contained in:
parent
c44eb57c25
commit
f19c465a91
|
@ -1578,11 +1578,20 @@ mgv7_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 500), 0, 2
|
|||
[*Mapgen Carpathian]
|
||||
|
||||
# Map generation attributes specific to Mapgen Carpathian.
|
||||
mgcarpathian_spflags (Mapgen Carpathian specific flags) flags caverns caverns,nocaverns
|
||||
mgcarpathian_spflags (Mapgen Carpathian specific flags) flags caverns,norivers caverns,nocaverns,rivers,norivers
|
||||
|
||||
# Defines the base ground level.
|
||||
mgcarpathian_base_level (Base ground level) float 12.0
|
||||
|
||||
# Defines the width of the river channel.
|
||||
mgcarpathian_river_width (River channel width) float 0.05
|
||||
|
||||
# Defines the depth of the river channel.
|
||||
mgcarpathian_river_depth (River channel depth) float 24.0
|
||||
|
||||
# Defines the width of the river valley.
|
||||
mgcarpathian_valley_width (River valley width) float 0.25
|
||||
|
||||
# Controls width of tunnels, a smaller value creates wider tunnels.
|
||||
mgcarpathian_cave_width (Cave width) float 0.09
|
||||
|
||||
|
@ -1642,6 +1651,9 @@ mgcarpathian_np_ridge_mnt (Ridged mountain size noise) noise_params_2d 0, 12, (7
|
|||
# 2D noise that controls the shape/size of step mountains.
|
||||
mgcarpathian_np_step_mnt (Step mountain size noise) noise_params_2d 0, 8, (509, 509, 509), 2590, 6, 0.6, 2.0, eased
|
||||
|
||||
# 2D noise that locates the river valleys and channels.
|
||||
mgcarpathian_np_rivers (River noise) noise_params_2d 0, 1, (1000, 1000, 1000), 85039, 5, 0.6, 2.0, eased
|
||||
|
||||
# 3D noise for mountain overhangs, cliffs, etc. Usually small variations.
|
||||
mgcarpathian_np_mnt_var (Mountain variation noise) noise_params_3d 0, 1, (499, 499, 499), 2490, 5, 0.55, 2.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue