[Mod][Merged] Valleys Mapgen [valleys_mapgen]
- Gael de Sailly
- Member
- Posts: 845
- Joined: Sun Jan 26, 2014 17:01
- GitHub: gaelysam
- IRC: Gael-de-Sailly
- In-game: Gael-de-Sailly gaelysam
- Location: Voiron, France
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
I'm trying to make a new biome system with at least 30 biomes. Not for Lua valleys mapgen, but for a possible future subgame.
- Attachments
-
- 30 Biomes.zip
- Rename it to "30 biomes.ggb"
- (11.73 KiB) Downloaded 88 times
Just realize how bored we would be if the world was perfect.
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Wow! You don't do things small. /grinGael de Sailly wrote:I'm trying to make a new biome system with at least 30 biomes. Not for Lua valleys mapgen, but for a possible future subgame.
Believe in people and you don't need to believe anything else.
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Interesting. I like it. Especially with the right scale, this could be really interesting!
I would suggest tuning the size of all the biomes... swamp ones are really larger right now. You could just move up most of the biomes up a bit.
I would suggest tuning the size of all the biomes... swamp ones are really larger right now. You could just move up most of the biomes up a bit.
- Diamond knight
- Member
- Posts: 475
- Joined: Sun Apr 19, 2015 19:50
- GitHub: Diamondknight
- In-game: Ferrumprinceps
- Location: Chilling in Constantinople
- Contact:
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
maybe a setting in a conf file for the size of the biomes, cause i for one think the biomes are too small ( trekking a full size desert in less than a few in game hours ), but some people might like biomes small enough to chose wich biome they live in early on (also micro biomes would look hilarious)
My modding team: https://github.com/basilea-rhomaion
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
You can adjust the 'spread' of heat and humidity noises to tune biome size, see conf.example mapgen section.
- Gael de Sailly
- Member
- Posts: 845
- Joined: Sun Jan 26, 2014 17:01
- GitHub: gaelysam
- IRC: Gael-de-Sailly
- In-game: Gael-de-Sailly gaelysam
- Location: Voiron, France
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
I think the swamp biome is not too large since it has an extreme humidity value that is rarely reached.sofar wrote:I would suggest tuning the size of all the biomes... swamp ones are really larger right now. You could just move up most of the biomes up a bit.
Just realize how bored we would be if the world was perfect.
- Gael de Sailly
- Member
- Posts: 845
- Joined: Sun Jan 26, 2014 17:01
- GitHub: gaelysam
- IRC: Gael-de-Sailly
- In-game: Gael-de-Sailly gaelysam
- Location: Voiron, France
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
We're now out of the topic. If you want to discuss more about this biome system, it's here.
Just realize how bored we would be if the world was perfect.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
duane, see https://github.com/minetest/minetest/issues/4015 any idea how this happens?
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Duane, is there a reason for including the biome noises in MapgenValleysParams? Usually these noises are not included here.
Code: Select all
struct MapgenValleysParams : public MapgenSpecificParams {
u32 spflags;
s16 large_cave_depth;
s16 massive_cave_depth;
u16 altitude_chill;
u16 lava_features;
u16 river_depth;
u16 river_size;
u16 water_features;
NoiseParams np_biome_heat;
NoiseParams np_biome_heat_blend;
NoiseParams np_biome_humidity;
NoiseParams np_biome_humidity_blend;
NoiseParams np_cave1;
NoiseParams np_cave2;
NoiseParams np_filler_depth;
NoiseParams np_inter_valley_fill;
NoiseParams np_inter_valley_slope;
NoiseParams np_rivers;
NoiseParams np_massive_caves;
NoiseParams np_terrain_height;
NoiseParams np_valley_depth;
NoiseParams np_valley_profile;
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
*** Important news for all using the core mgvalleys ***
In this PR https://github.com/minetest/minetest/pull/4032 i will be correcting the names of the parameters from 'mg_valleys_' to 'mgvalleys_', for existng worlds you will need to make this change in worlds -> <worldname> -> map_meta.txt. Make the change after updating your Minetest once that PR thread is 'closed' (PR merged). This also affects the parameter names you might use in .conf.
In this PR https://github.com/minetest/minetest/pull/4032 i will be correcting the names of the parameters from 'mg_valleys_' to 'mgvalleys_', for existng worlds you will need to make this change in worlds -> <worldname> -> map_meta.txt. Make the change after updating your Minetest once that PR thread is 'closed' (PR merged). This also affects the parameter names you might use in .conf.
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Chalk it up to poor C++ skills. I might have been copying from someone else at the time, or just wigged out.paramat wrote:Duane, is there a reason for including the biome noises in MapgenValleysParams? Usually these noises are not included here.
Believe in people and you don't need to believe anything else.
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Is it possible to make the soil layer thicker?
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Core mapgen or lua version?
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
burli wrote:Is it possible to make the soil layer thicker?
Code: Select all
# The depth of dirt or other filler
# type: noise_params
# mg_valleys_np_filler_depth = 0, 1.2, (256, 256, 256), 1605, 3, 0.5, 2.0
Believe in people and you don't need to believe anything else.
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Thx, I set the offset to 1 for now
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
That's the easy way, but will affect all biomes equally. The more powerful way is:
minetest.clear_registered_biomes()
As the first line in a mod (that depends on default) then in that mod re-register all biomes with new values for 'depth_filler', copy-paste biome definitions from mtgame/mods/default/mapgen.lua.
minetest.clear_registered_biomes()
As the first line in a mod (that depends on default) then in that mod re-register all biomes with new values for 'depth_filler', copy-paste biome definitions from mtgame/mods/default/mapgen.lua.
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
How can I get more plains in valleys mg (C++, not lua)? There are always some hills. I'm missing a "plains" biome.
But I still want steep mountains
But I still want steep mountains
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Sounds more like mapgen v7.burli wrote:How can I get more plains in valleys mg (C++, not lua)? There are always some hills. I'm missing a "plains" biome.
But I still want steep mountains
Believe in people and you don't need to believe anything else.
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
In general, yes. But I don't necessarily want to play on Pandora. And I want rivers and lakes
-
- Member
- Posts: 1118
- Joined: Mon Dec 29, 2014 08:07
- Location: USA
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
I agree with burli.
Plains are sadly lacking in the valleys mapgen, which is otherwise, the best mapgen available. Geologic features do seem to be limited to mountains, hills, valleys and caves. Perhaps adding a noise value to a biome definition that could vary the amount by which terrain height is allowed? This would ensure that the awesome mountain ranges in the valleys mapgen remain, while providing a way to allow for flatter areas of the map in general. The width, depth, and general steepness of a valley could be defined separately from a rivers' definition, providing a mechanism to allow areas of flatter terrain within mountain ranges. This would also mimic real world geology.
Plains would also be useful in Sokomines' villages mod, by providing flatter areas for village placement. Using biomes to place the villages could help ensure that a 120m mountain isn't sheared off due to a village. ;)
Plains are sadly lacking in the valleys mapgen, which is otherwise, the best mapgen available. Geologic features do seem to be limited to mountains, hills, valleys and caves. Perhaps adding a noise value to a biome definition that could vary the amount by which terrain height is allowed? This would ensure that the awesome mountain ranges in the valleys mapgen remain, while providing a way to allow for flatter areas of the map in general. The width, depth, and general steepness of a valley could be defined separately from a rivers' definition, providing a mechanism to allow areas of flatter terrain within mountain ranges. This would also mimic real world geology.
Plains would also be useful in Sokomines' villages mod, by providing flatter areas for village placement. Using biomes to place the villages could help ensure that a 120m mountain isn't sheared off due to a village. ;)
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
Not only in valleys. Even v7 has no real plains. I mean really plain. Most plains are still slight hills. Didn't found something similar to this until nowShadMOrdre wrote:Plains are sadly lacking in the valleys mapgen,
- Attachments
-
- Bildschirmfoto vom 2016-06-16 22-21-39.jpg (367.64 KiB) Viewed 780 times
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: Plains
Gael de Sailly (and I) wanted valleys to be realistic. I've never seen a completely flat plain in reality (and I live in the Great Plains). Frankly, it's not a feature I'd want to see in valleys. I don't know of any way to produce completely flat features by modifying the mapgen noises without flattening the mountains as well. If you want more generally flat terrain, try these noises (again, it will not actually be flat):
mg_valleys_np_rivers = 0, 1, (512, 512, 512), -6050, 5, 0.6, 2.0
mg_valleys_np_inter_valley_fill = 0, 1, (512, 1024, 512), 1993, 6, 0.8, 2.0
You could make a mod that produces the terrain you want, but of course, you'd have to handle all the decorations yourself. Or you could use the flat mapgen and create a mod that just adds mountains and seas (since they don't have much decoration). Putting rivers in the flat mapgen shouldn't be difficult, since they'd all be on the same level. Or you could modify the lua version of valleys to produce flat terrain in some regions, though the transitions might be abrupt.
mg_valleys_np_rivers = 0, 1, (512, 512, 512), -6050, 5, 0.6, 2.0
mg_valleys_np_inter_valley_fill = 0, 1, (512, 1024, 512), 1993, 6, 0.8, 2.0
You could make a mod that produces the terrain you want, but of course, you'd have to handle all the decorations yourself. Or you could use the flat mapgen and create a mod that just adds mountains and seas (since they don't have much decoration). Putting rivers in the flat mapgen shouldn't be difficult, since they'd all be on the same level. Or you could modify the lua version of valleys to produce flat terrain in some regions, though the transitions might be abrupt.
Believe in people and you don't need to believe anything else.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod][Merged] Valleys Mapgen [valleys_mapgen]
duane, i have a task for you if you're interested.
I tried boating through mgvalleys and the rivers are too narrow, when a jungletree generates with a root in the river it is impassable.
Also, the noise controlling the river pattern is too small scale, creating little loops.
Since you have experience of editing the noise parameters for a larger scale terrain i feel you are the person for the job.
I feel we cannot continue being completely faithful to the mod original.
I tried boating through mgvalleys and the rivers are too narrow, when a jungletree generates with a root in the river it is impassable.
Also, the noise controlling the river pattern is too small scale, creating little loops.
Since you have experience of editing the noise parameters for a larger scale terrain i feel you are the person for the job.
I feel we cannot continue being completely faithful to the mod original.
Re: Plains
I know that totally flat plains not exist in nature, but look at these picturesduane wrote:Gael de Sailly (and I) wanted valleys to be realistic. I've never seen a completely flat plain in reality (and I live in the Great Plains)
http://m.airpano.com/360Degree-VirtualT ... and-Tulips
Holland is nearly flat and if I look at some pictures mor flat than the great plains
Edit: and even the example on the screenshot is not absolutely flat. There are variations of 1 or 2 nodes.
Who is online
Users browsing this forum: Google [Bot] and 10 guests