Difference between revisions of "Map generator features"

From Luanti Wiki
Jump to navigation Jump to search
m (→‎flat: fix plural)
(Replaced content with "[https://dev.luanti.org/Mapgen/ This page has been moved to the new Luanti Developer Wiki!]")
Tag: Replaced
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Incomplete}}
+
[https://dev.luanti.org/Mapgen/ This page has been moved to the new Luanti Developer Wiki!]
 
 
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. All of these are enabled by default.
 
 
 
{| class="wikitable"
 
! width=5%|Name
 
! width=10%|Blocks
 
! Supported mapgens
 
! Setting
 
! Default?
 
! Description
 
! width=355px|Images
 
|-
 
| '''Cobblestone dungeon'''
 
| [[Cobblestone]], [[Mossy Cobblestone]], [[Stair|Cobblestone Stair]]
 
| v5, v6, v7, valleys, flat, fractal
 
| <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 dungeon'''
 
| [[Desert Stone]], [[Sandstone Brick]]
 
| v5, v7, valleys, flat, fractal
 
| <code>mg_flags=dungeons</code>
 
| Yes
 
| Desert dungeons are similar to cobblestone dungeons, but they have larger rooms and longer stairways. They are either made out of [[Desert Stone|desert stone]] or [[Sandstone Brick|sandstone brick]]. Desert dungeons made out of desert stone appear inside desert stone and dungeons made out of sandstone bricks appear inside [[sandstone]]. In [[Subgames/Minetest Game|Minetest Game]], desert dungeons can thus be found in deserts and sandstone deserts.
 
| [[File:Desert dungeon desert stone.jpg|thumb|350px|Desert dungeon with desert stone, as of 0.4.13]] [[File:Desert dungeon sandstone.jpg|thumb|350px|Desert dungeon with sandstone brick, as of 0.4.13]]
 
|}
 
 
 
 
 
== v7 ==
 
{| class="wikitable"
 
! width=5%|Name
 
! Setting
 
! Default?
 
! Description
 
! width=355px|Images
 
|-
 
| '''Mountains'''
 
| <code>mgv7_spflags=mountains</code>
 
| Yes
 
| Enables mountains.
 
|
 
|-
 
| '''Ridges'''
 
| <code>mgv7_spflags=ridges</code>
 
| Yes
 
| Enables rivers which aggressively cut through the terrain and create canyon-like structures. Since these rivers can make the terrain quite difficult to navigate, it may make sense to disable them.
 
|-
 
| '''Floatlands'''
 
| <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.
 
| [[File:Mapgen v7 floatlands.jpg|thumb|350px|Floatlands in 0.4.15]]
 
|}
 
 
 
== 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 [[trees]], apple trees, jungle trees and [[Jungle Grass|jungle grass]] in jungles and pine trees in snow 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 snowy biomes and [[ice]] sheets.
 
| [[File:Snow pines.jpg|thumb|350px|Pine trees in a snowy region, as of 0.4.13]]
 
|-
 
| '''Jungle biomes'''
 
| <code>trees,jungles</code><br/>or<br/><code>trees,snowbiomes</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 ==
 
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]]
 
|}
 

Latest revision as of 17:17, 15 December 2024