diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-02 03:58:57 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-02 04:03:37 -0500 |
commit | 68c799bf99bbf624401500e116663d2326331473 (patch) | |
tree | 62dae903915798f182754d3de2a8aec6677d0d2d /minetest.conf.example | |
parent | 78103e622c45cf59130a98de9d9cec2078a70856 (diff) | |
download | minetest-68c799bf99bbf624401500e116663d2326331473.tar.gz minetest-68c799bf99bbf624401500e116663d2326331473.tar.bz2 minetest-68c799bf99bbf624401500e116663d2326331473.zip |
Use setting groups for NoiseParams
Add format example to minetest.conf.example
Add Settings::setU16()
Throw exception on attempted access of NULL settings groups
Diffstat (limited to 'minetest.conf.example')
-rw-r--r-- | minetest.conf.example | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/minetest.conf.example b/minetest.conf.example index 819888278..7b8ab3692 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -443,7 +443,21 @@ #mgv5_np_wetness = 0, 1, (40, 40, 40), 32474, 4, 1.1 #mgv6_spflags = biomeblend, jungles, mudflow + +# +# Noise parameters can be specified as a set of positional values: #mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6 +# +# Or the new group format can be used instead: +#mgv6_np_terrain_base = { +# offset = -4 +# scale = 20 +# spread = (250, 250, 250) +# seed = 82341 +# octaves = 5 +# persistence = 0.6 +#} + #mgv6_np_terrain_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6 #mgv6_np_steepness = 0.85, 0.5, (125, 125, 125), -932, 5, 0.7 #mgv6_np_height_select = 0.5, 1, (250, 250, 250), 4213, 5, 0.69 |