Difference between revisions of "Map generator features"

From Luanti Wiki
Jump to navigation Jump to search
(Replaced content with "[https://dev.luanti.org/Mapgen/ This page has been moved to the new Luanti Developer Wiki!]")
Tag: Replaced
 
Line 1: Line 1:
{{Languages}}
+
[https://dev.luanti.org/Mapgen/ This page has been moved to the new Luanti Developer Wiki!]
{{Incomplete}}
 
 
 
This article shows the various special features which [[Map generator|map generators]] have and explains how to use them.
 
 
 
 
 
== Shared features ==
 
These map generator features are shared by multiple map generators: v5, v6, v7, valleys, flat and fractal. All of these are enabled by default.
 
 
 
{| class="wikitable"
 
! width=5%|Name
 
! width=10%|Blocks
 
! Setting
 
! Default?
 
! Description
 
! width=355px|Images
 
|-
 
| '''Cobblestone dungeon'''
 
| [[Cobblestone]], [[Mossy Cobblestone]], [[Stair|Cobblestone Stair]], [[Air]]
 
| <code>mg_flags=dungeons</code>
 
| Yes
 
| Dungeons are [[Air|hollow]] underground structures made of a mixture of [[cobblestone]] and [[Mossy Cobblestone|mossy cobblestone]]. Many pathways and [[Stair|cobblestone stairs]] connect a complex system of rooms.
 
| [[File:Dungeon 0.4.7.jpg|thumb|350px|Cobblestone dungeon, as of 0.4.7]]
 
|-
 
| '''Desert stone dungeon'''
 
| [[Desert Stone]], [[Stair|Desert Stone Stair]], [[Air]]
 
| <code>mg_flags=dungeons</code>
 
| Yes
 
| Desert stone dungeons are similar to cobblestone dungeons, but they have larger rooms and longer stairways which also may go diagonally. They are made out of [[Desert Stone|desert stone]] and their stairways made from [[Stair|desert stone stairs]]. These dungeons appear inside desert stone. In [[Games/Minetest Game|Minetest Game]], desert dungeons can thus be found in deserts.
 
| [[File:Desert dungeon desert stone.jpg|thumb|350px|Desert stone dungeon, as of 0.4.13]]
 
|-
 
| '''Sandstone dungeon'''
 
| [[Sandstone Brick]], [[Stair|Sandstone Block Stair]], [[Air]]
 
| <code>mg_flags=dungeons</code>
 
| No
 
| Sandstone dungeons are identical to desert stone dungeons in shape. They are made out of [[Sandstone Brick|sandstone bricks]] and may have stairways made out of [[Stair|sandstone block stairs]]. These dungeons appear inside [[sandstone]]. In [[Games/Minetest Game|Minetest Game]], sandstone dungeons can thus be found in sandstone deserts. In the v6 map generator, no sandstone dungeons are generated because of the lack of sandstone.
 
| [[File:Desert dungeon sandstone.jpg|thumb|350px|Sandstone dungeon, as of 0.4.13]]
 
|-
 
| '''Decorations'''
 
| ''(depends)''
 
| <code>mg_flags=decorations</code>
 
| Yes
 
| Decorations are additional structures placed by mods on top of the surface. Decorations can be small plants such as [[grass]], [[flower]]s, [[Cactus|cacti]], or they can even be entire trees or buildings.
 
The v6 mapgen is an exception here, because regular trees, apple trees, jungle trees and pine trees and [[jungle grass]] are generated the map generator itself and are not considered decorations and are thus not affected by this setting. But mods can still add additional decorations on top of that. See also: [[Biomes#v6]]
 
|-
 
| '''Caves'''
 
| [[Air]]
 
| <code>mg_flags=caves</code>
 
| Yes
 
| Caves are [[air]] pockets found underground at any [[Coordinates|height]]. Caves can be very small hollow places or can be very complex interconnected tunnel systems. Cave entrances can commonly found on the surface. The cave style greatly varies between the different map generators.
 
| [[File:Minetest_Game_underground.jpg|thumb|350px|Cave in Minetest Game 5.0.0]]
 
|-
 
| '''Underground lava lakes'''
 
| [[Lava]], [[Ores]], [[Air]]
 
| <code>mg_flags=caves</code>
 
| Yes
 
| These lakes are caverns flooded with [[Lava|lava]]. [[Ores]] are very common around these lakes (see screenshot). However, often these caverns are not linked to, and it is very difficult to reach them. Lava lakes are a subset of caves and only appear when caves are used. See [[Lava]] more more information.
 
| [[File:Lava lake 0.4.7.jpg|thumb|350px|A lava lake in v6, as of Minetest 0.4.7]]
 
|-
 
| '''Underground water lakes'''
 
| [[Water]], [[Air]]
 
| <code>mg_flags=caves</code>
 
| Yes
 
| Like lava lakes, these lakes are caverns flooded with [[water]] and can appear at any height. Water lakes are a subset of caves and only appear when caves are used.
 
| [[File:Underground water lake.jpg|thumb|350px|A water lake in v7, as of Minetest 0.4.15]]
 
|}
 
 
 
== v7 ==
 
{| class="wikitable"
 
! width=5%|Name
 
! Setting
 
! Default?
 
! Description
 
! width=355px|Images
 
|-
 
| '''Mountains'''
 
| <code>mgv7_spflags=mountains</code>
 
| Yes
 
| Enables mountains.
 
|
 
|-
 
| '''Rivers'''
 
| <code>mgv7_spflags=ridges</code>
 
| Yes
 
| Enables rivers at sea level. They which aggressively cut through the terrain and sometimes create canyon-like structures. Since these rivers can make the terrain quite difficult to navigate, it may make sense to disable them.
 
| [[File:Mapgen_v7_ridge.jpg|thumb|350px|Typical ridge in v7, Minetest Game]]
 
|-
 
| '''Floatlands''' (experimental)
 
| <code>mgv7_spflags=floatlands</code>
 
| No
 
| With this setting, large chunks of land will be created in the sky at a height at Y=1280 or above. The terrain is a bit different than on the surface, but the biomes are more or less the same. This setting is experimental and subject to change. (Floatlands have been removed from Minetest 5.2 and will be added back in 5.3.)
 
| [[File:Minetest_Game_floatland_coniferous_forest.jpg|thumb|350px|Minetest Game floatlands in 5.0.0]]
 
|-
 
| '''Caverns'''
 
| <code>mgv7_spflags=caverns</code>
 
| Yes
 
| This enables the creation of caves with very large rooms, also called caverns. There's typically no lava or water in or near them.
 
|}
 
 
 
== v6 ==
 
V6 features are configured via map generator flags with the setting <code>mgv6_spflags</code>.
 
 
 
{| class="wikitable"
 
! width=5%|Name
 
! Flags
 
! Default?
 
! Description
 
! width=355px|Images
 
|-
 
| '''Trees'''
 
| <code>trees</code>
 
| Yes
 
| Enables regular [[trees]], apple trees, jungle trees and [[Jungle Grass|jungle grass]] in jungles and pine trees in taiga biomes.
 
| [[File:Mapgen_v6_0_4_9.jpg|thumb|350px|A forest of regular trees in 0.4.9]]
 
|-
 
| '''Snow biomes'''
 
| <code>snowbiomes</code>
 
| Yes
 
| Enables the Tundra and Taiga biomes. This also automatically enables the <code>jungles</code> setting
 
| [[File:Snow pines.jpg|thumb|350px|Pine trees in a snowy region, as of 0.4.13]]
 
|-
 
| '''Jungle biomes'''
 
| <code>jungles</code>
 
| Yes
 
| Adds the Jungle biome which includes [[Jungle Tree|jungle trees]] and [[Jungle Grass|jungle grass]]
 
| [[File:Jungle 0.4.7.jpg|thumb|350px|Jungle biome as of 0.4.7]]
 
|-
 
| '''Biome blending'''
 
| <code>biomeblend</code>
 
| Yes
 
| Enables a smooth transition between biomes.
 
| [[File:Mapgen v6 biomeblend.jpg|thumb|350px|Biome blending in action between plains and a desert]]
 
|-
 
| '''Mud flow'''
 
| <code>mudflow</code>
 
| Yes
 
| The “mudflow” parameter adds soil erosion. It moves [[dirt]] that sits on the edge of vertical drops and moves it to the base of that drop.
 
|-
 
| '''Flat'''
 
| <code>flat</code>
 
| No
 
| Will generate a flat world in the v6 style with lakes, trees and caves. Note that this is a bit different than the “flat” map generator
 
|}
 
 
 
== flat ==
 
This mapgen has support for lakes and hills which are disabled by default.
 
 
 
{| class="wikitable"
 
! width=5%|Name
 
! Setting
 
! Default?
 
! Description
 
! width=355px|Images
 
|-
 
| '''Hills'''
 
| <code>mgflat_spflags=hills</code>
 
| No
 
| Increases the terrain height at some points to form hills. These hills become quite big sometimes.
 
| [[File:Mapgen flat hills.jpg|thumb|350px|Hill in the flat mapgen]]
 
|-
 
| '''Lakes'''
 
| <code>mgflat_spflags=lakes</code>
 
| No
 
| Lowers the terrain at some points to form lakes. These lakes can become quite large sometimes.
 
| [[File:Mapgen flat lakes.jpg|thumb|350px|Small lake in the flat mapgen]]
 
|}
 
 
 
== See also ==
 
* [[How to emulate mapgen v6 using a customised mapgen v7]]
 
 
 
[[Category:Map]]
 

Latest revision as of 17:17, 15 December 2024