aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-05-25 02:12:44 +0100
committerparamat <mat.gregory@virginmedia.com>2015-05-26 02:08:06 +0100
commitf16ebbfecf89131b81625ef734c6607c5684c2bd (patch)
tree026ece9fb59631719d8260997e2d8bb364d3bdc4
parent6b7fb591cb8d54bc8a43df6adb34a026720b4fe4 (diff)
downloadminetest-f16ebbfecf89131b81625ef734c6607c5684c2bd.tar.gz
minetest-f16ebbfecf89131b81625ef734c6607c5684c2bd.tar.bz2
minetest-f16ebbfecf89131b81625ef734c6607c5684c2bd.zip
Mgv6: Enable snowbiomes by default. Double biome noise spread. 3 octaves, 0.5 persistence for humidity
-rw-r--r--minetest.conf.example6
-rw-r--r--src/defaultsettings.cpp2
-rw-r--r--src/mapgen_v6.cpp4
-rw-r--r--src/mapgen_v6.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/minetest.conf.example b/minetest.conf.example
index 90a5ba48c..76f01bcfc 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -496,7 +496,7 @@
# Map generation attributes specific to Mapgen V6.
# Currently supported: jungles, biomeblend, mudflow, snowbiomes.
# When snowbiomes are enabled jungles are enabled and the jungles flag is ignored.
-#mgv6_spflags = jungles, biomeblend, mudflow
+#mgv6_spflags = jungles, biomeblend, mudflow, snowbiomes
# Controls size of deserts and beaches in Mapgen V6
# When snowbiomes are enabled 'mgv6_freq_desert' is ignored.
#mgv6_freq_desert = 0.45
@@ -551,9 +551,9 @@
#mgv6_np_height_select = 0.5, 1, (250, 250, 250), 4213, 5, 0.69, 2.0
#mgv6_np_mud = 4, 2, (200, 200, 200), 91013, 3, 0.55, 2.0
#mgv6_np_beach = 0, 1, (250, 250, 250), 59420, 3, 0.50, 2.0
-#mgv6_np_biome = 0, 1, (250, 250, 250), 9130, 3, 0.50, 2.0
+#mgv6_np_biome = 0, 1, (500, 500, 500), 9130, 3, 0.50, 2.0
#mgv6_np_cave = 6, 6, (250, 250, 250), 34329, 3, 0.50, 2.0
-#mgv6_np_humidity = 0.5, 0.5, (500, 500, 500), 72384, 4, 0.66, 2.0
+#mgv6_np_humidity = 0.5, 0.5, (500, 500, 500), 72384, 3, 0.50, 2.0
#mgv6_np_trees = 0, 1, (125, 125, 125), 2, 4, 0.66, 2.0
#mgv6_np_apple_trees = 0, 1, (100, 100, 100), 342902, 3, 0.45, 2.0
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index af1aa4140..0cf1dd770 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -299,7 +299,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("water_level", "1");
settings->setDefault("chunksize", "5");
settings->setDefault("mg_flags", "dungeons");
- settings->setDefault("mgv6_spflags", "jungles");
+ settings->setDefault("mgv6_spflags", "jungles, snowbiomes");
settings->setDefault("enable_floating_dungeons", "true");
// IPv6
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp
index a6beb710b..50126ecf0 100644
--- a/src/mapgen_v6.cpp
+++ b/src/mapgen_v6.cpp
@@ -138,9 +138,9 @@ MapgenV6Params::MapgenV6Params()
np_height_select = NoiseParams(0, 1.0, v3f(250.0, 250.0, 250.0), 4213, 5, 0.69, 2.0);
np_mud = NoiseParams(4, 2.0, v3f(200.0, 200.0, 200.0), 91013, 3, 0.55, 2.0);
np_beach = NoiseParams(0, 1.0, v3f(250.0, 250.0, 250.0), 59420, 3, 0.50, 2.0);
- np_biome = NoiseParams(0, 1.0, v3f(250.0, 250.0, 250.0), 9130, 3, 0.50, 2.0);
+ np_biome = NoiseParams(0, 1.0, v3f(500.0, 500.0, 500.0), 9130, 3, 0.50, 2.0);
np_cave = NoiseParams(6, 6.0, v3f(250.0, 250.0, 250.0), 34329, 3, 0.50, 2.0);
- np_humidity = NoiseParams(0.5, 0.5, v3f(500.0, 500.0, 500.0), 72384, 4, 0.66, 2.0);
+ np_humidity = NoiseParams(0.5, 0.5, v3f(500.0, 500.0, 500.0), 72384, 3, 0.50, 2.0);
np_trees = NoiseParams(0, 1.0, v3f(125.0, 125.0, 125.0), 2, 4, 0.66, 2.0);
np_apple_trees = NoiseParams(0, 1.0, v3f(100.0, 100.0, 100.0), 342902, 3, 0.45, 2.0);
}
diff --git a/src/mapgen_v6.h b/src/mapgen_v6.h
index a540c4b02..c71cf3c53 100644
--- a/src/mapgen_v6.h
+++ b/src/mapgen_v6.h
@@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define FREQ_HOT 0.4
#define FREQ_SNOW -0.4
#define FREQ_TAIGA 0.5
-#define FREQ_JUNGLE 0.7
+#define FREQ_JUNGLE 0.5
//////////// Mapgen V6 flags
#define MGV6_JUNGLES 0x01