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.

Editing 40d:World generation

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{av}}{{Quality|Exceptional}}
 
 
:''For information on advanced parameters, see [[Advanced World Generation]].''
 
:''For information on advanced parameters, see [[Advanced World Generation]].''
  
Line 56: Line 55:
 
| <center>{{k|c}}</center> || Copy parameter set || Creates a copy of the currently selected parameter set
 
| <center>{{k|c}}</center> || Copy parameter set || Creates a copy of the currently selected parameter set
 
|-
 
|-
| {{K|&uarr;}} {{K|&darr;}} {{K|PgUp}} {{K|PgDown}} ({{k|8}} {{k|2}} {{k|9}} {{k|3}}) || Navigate the parameter sets || {{k|8}} and {{k|2}} move up and down  
+
| {{K|&uarr;}} {{K|&darr;}} {{K|PgUp}} {{K|PgDown}} ({{k|8}} {{k|2}} {{k|9}} {{k|3}}) || Navigate the parameter sets || {{k|8}} and {{k|2}} &rarr; move up and down  
{{k|9}} and {{k|3}} page up and down
+
{{k|9}} and {{k|3}} &rarr; page up and down
 
|-
 
|-
 
| <center>{{k|t}}</center> || Enter title || Edits the name of your parameter set
 
| <center>{{k|t}}</center> || Enter title || Edits the name of your parameter set
Line 71: Line 70:
 
| <center>{{K|F1}}</center> || Load world parameters || Resets the world parameters to their default values
 
| <center>{{K|F1}}</center> || Load world parameters || Resets the world parameters to their default values
 
|-
 
|-
| <center>{{K|F6}}</center> || Save world parameters || Saves the world parameters under the current [[#Title|title]]
+
| <center>{{K|F6}}</center> || Save world parameters || Saves the world parameters under the current [[#Title | title]]
 
|-
 
|-
 
| <center>{{K|e}}</center> || Enter advanced parameters || Lets you edit advanced options for generating the world
 
| <center>{{K|e}}</center> || Enter advanced parameters || Lets you edit advanced options for generating the world
Line 84: Line 83:
 
[[Image:Worldgen_advanced_finished.png | none | frame | 400px | World creation screenshot.]]
 
[[Image:Worldgen_advanced_finished.png | none | frame | 400px | World creation screenshot.]]
  
When the world is created, you will be given the option to export the map to a graphic file by pressing {{k|p}}. This will create a '''large''' BMP format [[Main:CP437|ASCII]] graphic of the created world. You can run the compress_bitmaps.bat batch file that comes included with the game (as of 33g) in the main dwarf fortress folder to convert the bitmap files to about 90% smaller .png files.
+
When the world is created, you will be given the option to export the map to a graphic file by pressing {{k|p}}. This will create a '''large''' BMP format [[CP437|ASCII]] graphic of the created world. You can run the compress_bitmaps.bat batch file that comes included with the game (as of 33g) in the main dwarf fortress folder to convert the bitmap files to about 90% smaller .png files.
 +
 
 +
[[Image: | none | frame | 400px | Example exported map image.]]
  
 
When you are finished, press {{k|Enter}} or {{k|Space}} to return to the title screen.
 
When you are finished, press {{k|Enter}} or {{k|Space}} to return to the title screen.
Line 123: Line 124:
 
</pre>
 
</pre>
  
You can also type (or copy-and-paste) this file into an interactive shell (if you use [http://en.wikipedia.org/wiki/Bash Bash]).  If you type it in by hand, you can leave out the line with <tt>#!</tt> and the following blank line, since they won't do anything.
+
You can also type (or copy-and-paste) this file into a interactive shell (if you use [http://en.wikipedia.org/wiki/Bash Bash]).  If you type it in by hand, you can leave out the line with <tt>#!</tt> and the following blank line, since they won't do anything.
  
 
=== How World Generation Works ===
 
=== How World Generation Works ===
Line 129: Line 130:
 
You may be curious about what's happening behind the scenes while your world is being generated, these are the steps the program goes through:
 
You may be curious about what's happening behind the scenes while your world is being generated, these are the steps the program goes through:
  
:'''Note:''' ''Information on this list is largely taken from the [http://www.gamasutra.com/view/feature/3549/interview_the_making_of_dwarf_.php?page=7 10 page interview] of [[Main:Toady|Toady]] at Gamasutra''
+
:'''Note:''' ''Information on this list is largely taken from the [http://www.gamasutra.com/view/feature/3549/interview_the_making_of_dwarf_.php?page=7 10 page interview] of [[Toady]] at Gamasutra''
 
# '''Preparing Elevation/Setting Temperature:''' Fractal maps are generated, laying out basic information about the world:
 
# '''Preparing Elevation/Setting Temperature:''' Fractal maps are generated, laying out basic information about the world:
 
#* Four main maps, used to generate biomes:
 
#* Four main maps, used to generate biomes:
Line 143: Line 144:
 
# '''Creating Biomes:''' Biomes are created based on elevation, temperature, rainfall, and drainage (for instance, if rainfall is >=66/100 and drainage is less than 50, then an area is a swamp).
 
# '''Creating Biomes:''' Biomes are created based on elevation, temperature, rainfall, and drainage (for instance, if rainfall is >=66/100 and drainage is less than 50, then an area is a swamp).
 
# '''Running Rivers:''' Now erosion and the creation of [[river]]s are simulated.  
 
# '''Running Rivers:''' Now erosion and the creation of [[river]]s are simulated.  
#* To quote [[Main:Toady|Toady]]:  "It picks out the bases of the mountains (mountains are all squares above a given elevation), then it runs temporary river paths out from there, preferring the lowest elevation and digging away at a square if it can't find a lower one, until it get to the ocean or gets stuck. This is the phase where you see the mountain being worn away during world creation. I have it intentionally center on a mountain at that point so you can watch. ... This will generally leave some good channels to the ocean, so it runs the real rivers after this."
+
#* To quote [[Toady]]:  "It picks out the bases of the mountains (mountains are all squares above a given elevation), then it runs temporary river paths out from there, preferring the lowest elevation and digging away at a square if it can't find a lower one, until it get to the ocean or gets stuck. This is the phase where you see the mountain being worn away during world creation. I have it intentionally center on a mountain at that point so you can watch. ... This will generally leave some good channels to the ocean, so it runs the real rivers after this."
 
# '''Forming Lakes:''' Lakes are created and rivers are finalized.
 
# '''Forming Lakes:''' Lakes are created and rivers are finalized.
 
#* River loops created by the previous step are fixed.
 
#* River loops created by the previous step are fixed.
Line 162: Line 163:
  
 
{{World}}
 
{{World}}
 +
[[Category:World]]

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: