v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "40d:Advanced world generation"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(→‎Maximum Natural Cave Size: Explained based on experiment.)
(→‎World Painter Parameters: Combined the tiles from here with the table from Biome and added the things that weren't in that table. Hopefully it's easier to read now.)
Line 115: Line 115:
  
  
When using the world painter tool the following parameters produce these regions:<br />
+
{|{{prettytable}}
- low mountain - elevation > 299 {{Biome|∆|∆|#808080|#808080}}
+
|-style="background:#dddddd"
- mountain - elevation > 332 {{Biome|▲|▲|#808080|#808080}}
+
!Icon !!Biome !!Elevation !!Rainfall !!Drainage
- high mountain - elevation >365 {{Biome|▲|▲|#C0C0C0|#C0C0C0}}
+
|-
- peak - elevation = 400 {{Raw Tile|^|#808080|#000000}} (verify?)
+
|{{Biome|~|≈|#0000FF|#0000FF}}
 +
|[[Ocean|Water]] ||0-99 ||Any ||Any
 +
|-
 +
|{{Biome|~|≈|#FFFF00|#FFFF00}}
 +
|[[Sand]] [[Desert]] ||rowspan="13"|100-299 ||0-9 ||0-32
 +
|-
 +
|{{Biome|,|´|#808000|#808080}}
 +
|Rock [[Desert]] ||rowspan="3"|0-9 ||33-49
 +
|-
 +
|{{Biome|n|∩|#808080|#808000}}
 +
|[[Desert]] [[Badlands]] A ||50-65
 +
|-
 +
|{{Biome|V|√|#808000|#808000}}
 +
|[[Desert]] [[Badlands]] B ||66-100
 +
|-
 +
|{{Biome|.|ⁿ|#00FF00|#00FF00}}
 +
|[[Grassland]] ||rowspan="2"|10-19 ||0-49
 +
|-
 +
|{{Biome|n|∩|#00FF00|#00FF00}}
 +
|[[Hills]] ||50-100
 +
|-
 +
|{{Biome|"|ⁿ|#00FF00|#00FF00}}
 +
|[[Savanna]] ||rowspan="2"|20-32 ||0-49
 +
|-
 +
|{{Biome|n|∩|#00FF00|#00FF00}}
 +
|[[Hills]] ||50-100
 +
|-
 +
|{{Biome|"|"|#008000|#008000}}
 +
|[[Marsh]] ||rowspan="3"|33-65 ||0-32
 +
|-
 +
|{{Biome|"|γ|#00FF00|#00FF00}}
 +
|[[Shrubland]] ||33-49
 +
|-
 +
|{{Biome|n|∩|#00FF00|#00FF00}}
 +
|[[Hills]] ||50-100
 +
|-
 +
|{{Biome|⌠|⌠|#008000|#008000}}
 +
|[[Swamp]] ||rowspan="2"|66-100 ||0-32
 +
|-
 +
|{{Biome|↑|↨|#00FF00|#00FF00}}
 +
|[[Forest]] * ||33-100
 +
|-
 +
|{{Biome|∆|∆|#808080|#808080}}
 +
|Low [[Mountain]] ||300-332 ||Any ||Any
 +
|-
 +
|{{Biome|▲|▲|#808080|#808080}}
 +
|[[Mountain]] ||333-365 ||Any ||Any
 +
|-
 +
|{{Biome|▲|▲|#C0C0C0|#C0C0C0}}
 +
|High [[Mountain]] ||366-399 ||Any ||Any
 +
|-
 +
|{{Raw Tile|^|#808080|#000000}}
 +
|[[Peak]] ||400{{verify}} ||Any ||Any
 +
|}
  
The rest of the regions can be obtained mostly through choice of rain and drainage values.<br />
 
For rain 0-9 and:<br />
 
drain 0-32 - sand desert {{Biome|~|≈|#FFFF00|#FFFF00}}
 
drain 33-49 - rock desert {{Biome|,|´|#808000|#808080}}
 
drain 50-65 - badlands {{Biome|n|∩|#808080|#808000}}
 
drain 66-100 - badlands {{Biome|V|√|#808000|#808000}}
 
  
For rain 10-19:<br />
+
<nowiki>*</nowiki> The forest regions can be changed between conifer, to broadleaf types by varying the temperature (to around > 65, depending on rain value).
drain 0-49 - grassland {{Biome|.|ⁿ|#00FF00|#00FF00}}
 
drain 50-100 - hills {{Biome|n|∩|#00FF00|#00FF00}}
 
 
 
For rain 20-32:<br />
 
drain 0-49 - savanna {{Biome|"|ⁿ|#00FF00|#00FF00}}
 
drain 50-100 - hills {{Biome|n|∩|#00FF00|#00FF00}}
 
 
 
For rain 33-65:<br />
 
drain 0-32 - marsh {{Biome|"|"|#008000|#008000}}
 
drain 33-49 - shrubland {{Biome|"|γ|#00FF00|#00FF00}}
 
drain 50-100 - hills {{Biome|n|∩|#00FF00|#00FF00}}
 
 
 
For rain 66-100:<br />
 
drain 0-32 - swamp {{Biome|⌠|⌠|#008000|#008000}}
 
drain 33-100 - forest {{Biome|↑|↨|#00FF00|#00FF00}}
 
 
 
The forest regions can be changed between conifer, to broadleaf types by varying the temperature (to around > 65, depending on rain value).
 
  
 
The magma value (at 100%) can produce volcanoes if painted on the same tile as a mountain.
 
The magma value (at 100%) can produce volcanoes if painted on the same tile as a mountain.

Revision as of 01:58, 10 June 2009

World generation allows advanced options for customizing worlds. These parameters are not all well understood, so please contribute here as you experiment. This forum post has additional information on the parameters.


Advanced Parameters

To access advanced parameters, press 'e' when at the screen for creating new worlds with parameters screen. This will bring you to an editable list of various guidelines the world-gen process will use when creating your new world.

Parameter sets are stored in world_gen.txt in the \data\init folder, using world tokens. You can copy and paste other player's sets of parameters into your world_gen.txt to use their parameter sets, and some are provided at Pregenerated worlds. Another place to find parameter sets is the Worldgen cookbook thread on the official forums.

Seed Parameters

Use Seed

This determines the seed number that will be used by the random-number generator in determining the randomness factors that go into creating your world.

Use History Seed

Same as above but instead of determining terrain and world structure it handles historical figures and event outcomes. Some experimenting will need to be done to see if the same seed and a different World seed produce different events and figures.

Use Name Seed

Same as above but used to determine the randomly selected name used by the program.

Terrain Parameters

Minimum Savagery/Maximum Savagery

Defines the minimum and maximum savagery per tile.

  • 0 - 32: Benign
  • 33 - 65: Neutral
  • 66 - 100: Savage

Humans and Dwarves will not settle in savage areas.

Minimum Volcanism/Maximum Volcanism

From what I have found out so far I can say Igneous extrusive layer are only found in areas with a volcanism higher than 90. Volcanoes are only placed on tiles with a volcanism of 100.

Minimum Volcano Number

Places volcanoes on tiles with a volcanism of 100. If there are not enough viable tiles the world is rejected.

Minimum Mountain Peak Number

Places mountain peaks on tiles with an pre-erosion elevation of at least 380. If there are not enough viable tiles the world is rejected.

I'm not exactly sure what effect the peaks have but I suppose they withstand erosion better.

Erosion Cycle Count

Higher numbers make the mountains less steep and river canyons deeper.

Historical Parameters

End Year

Used to determine when the program will cease its generation and allow for play. As of right now other factors prevent the generator from getting to this date and is often cut off long before reaching it.

Population Cap after Civ Creation

How many creatures can exist in the game once civilizations have been added into generation.

Percentage Beasts Dead for Stoppage

Determines how many megabeasts need to be dead before the world gen stops creating history. Is one likely cause for why the generator rarely reaches the entered End Date.

Year to Begin Checking Megabeast Percentage

Determines when the game begins checking for the above precentage to see when the game should stop generating the world.

Cull Unimportant Historical Figures

Instead of listing every event that happens, this option removes those events without related importance to the wider world, effectively reducing the number of events reviewable in the legends screen.

Reveal All Historical Events

Determines whether all events are open to review in the legends screen when you choose to begin a game. Setting this to no would require the usual exploration, talking, and engraving searching as before.

Creature Parameters

Maximum Natural Cave Size

Determines the size and depth of caves formed by world-gen. A cave with a greater "size" will be deeper and more sprawling, and therefore have more and more dangerous creatures.

Number of Mountain Caves

Determines the number of caves to be placed in mountain regions.

Number of Non-Mountain Caves

Determines the number of caves to be placed in other regions.

Make Caves Visible

Makes caves visible on the world location selection screen.

Number of Civilizations

Determines how many civilizations will be seeded into the generated world. Five is the typical number to produce the usual Dwarves, Humans, Elves, Goblins, and Kobolds.

  • Error Code: Not enough entity placement locations: Decrease the Number of Civilizations, edit the settings so proper biomes are generated or generate bigger map.

Playable Civilization Required

If set, all worlds where the no playable civilization has been placed at the beginning of history are rejected.

  • Error Code: No controllable entity definitions available: Add some high (mountain) elevations to the map. Dwarf civ's will only appear on these tiles.

Experimenting with Parameters

To experiment with the parameters and to effectively see why rejections are coming back because of changes to the parameters, first you need to edit your init.txt and set [LOG_MAP_REJECTS:NO] to YES. This will create a text document that will describe why each copy of the generated world is rejected.

By going back and forth between this document and the parameters, you can begin to get an idea as to why endless cycles of rejected worlds come up. As you experiment please share your findings under each heading.


World Painter Parameters

Icon Biome Elevation Rainfall Drainage
~
~
Water 0-99 Any Any
~
~
Sand Desert 100-299 0-9 0-32
, ´
´ ,
Rock Desert 0-9 33-49
n
n
Desert Badlands A 50-65
V
V
Desert Badlands B 66-100
.
.
Grassland 10-19 0-49
n
n
Hills 50-100
"
"
Savanna 20-32 0-49
n
n
Hills 50-100
" "
" "
Marsh 33-65 0-32
" γ
γ "
Shrubland 33-49
n
n
Hills 50-100
Swamp 66-100 0-32
Forest * 33-100
Low Mountain 300-332 Any Any
Mountain 333-365 Any Any
High Mountain 366-399 Any Any
^ Peak 400[Verify] Any Any


* The forest regions can be changed between conifer, to broadleaf types by varying the temperature (to around > 65, depending on rain value).

The magma value (at 100%) can produce volcanoes if painted on the same tile as a mountain.