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 World rejection

Jump to navigation Jump to search

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

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

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:
 
+
{{Quality|Superior|01:11, 4 February 2015 (UTC)}}
{{Quality|Fine}}
 
 
{{av}}
 
{{av}}
''Dwarf Fortress'' uses a "belt and braces" method of world generation in that, whilst the map properties are configurable by [[world token]]s, there are also tokens which will cause the rejection and 'reroll' or re-randomisation of the world. By way of example, if you were to leave the world at its default settings, but set a rejection parameter which required there to be a large number of "minimum desert tiles", then a large number of worlds might be rejected until one (by random chance) was finally generated that met that requirement. Because of the high number of possible rejections, this is an inefficient way of generating a world with many deserts; instead, it's recommended to work with broader parameters, such as [[#Weighted Ranges|Weighted Ranges]], to generate the world you want. It is possible to set the parameters in such a way as to result in endless rejections, because they specify a world which is incredibly unlikely or impossible to be generated.
+
''Dwarf Fortress'' uses a "belt and braces" method of world generation in that, whilst the map properties are configurable by [[world token]]s, there are also tokens which will cause the rejection and 'reroll' or re-randomisation of the world. By way of example, if you were to leave the world at its default settings, but set a rejection parameter which required there to be a large number of "minimum desert tiles", then a large number of worlds might be rejected until one (by random chance) was finally generated that met that requirement. Because of the high number of possible rejections, this is an inefficient way of generating a world with many deserts; instead, it's recommended to work with broader parameters, such as [[#Weighted Ranges|Weighted Ranges]], to generate the world you want. It is possible to set the parameters in such a way as to result in endless rejections because they specify a world which is incredibly unlikely or impossible to be generated.
  
 
If a certain number of rejections of the same type happen during world gen, then you will get a notification telling you what is causing the rejections. This can happen after a few hundred rejections or it may take thousands. This is possibly due to the fact that you may have more than one type of rejection occurring, and as such it takes thousands of rejections until any one type hits the threshold for the warning message.  
 
If a certain number of rejections of the same type happen during world gen, then you will get a notification telling you what is causing the rejections. This can happen after a few hundred rejections or it may take thousands. This is possibly due to the fact that you may have more than one type of rejection occurring, and as such it takes thousands of rejections until any one type hits the threshold for the warning message.  
Line 8: Line 7:
 
[[File:Civilization rejection.PNG|framed|center|A message that appears when one of the rejection types hits its threshold]]
 
[[File:Civilization rejection.PNG|framed|center|A message that appears when one of the rejection types hits its threshold]]
  
To log all rejections into a file, change the relevant setting in [[d_init.txt]] from <code>[LOG_MAP_REJECTS:NO]</code> to <code>[LOG_MAP_REJECTS:YES]</code>. This will create a file called <tt>map_rejection_log.txt</tt> in the main ''Dwarf Fortress'' folder, into which the rejection reasons will be saved. Reading this file will give you a better insight into why the world was being rejected than the notification message shown above.
+
To log all rejections into a file, change the relevant setting in [[d_init.txt]] from <code>[LOG_MAP_REJECTS:NO]</code> to <code>[LOG_MAP_REJECTS:YES]</code>. This will create a file called <tt>map_rejection_log.txt</tt> in the main Dwarf Fortress folder, into which the rejection reasons will be saved. Reading this file will give you a better insight into why the world was being rejected than the notification message shown above.
  
 
== Rejection parameters ==
 
== Rejection parameters ==
Line 23: Line 22:
 
   [REGION_COUNTS:GRASSLAND:0:0:0]
 
   [REGION_COUNTS:GRASSLAND:0:0:0]
 
   [REGION_COUNTS:HILLS:0:0:0]
 
   [REGION_COUNTS:HILLS:0:0:0]
 +
<small>'''Note: the above values are arbitrary although these settings effectively disable the region counts.'''</small>
  
 +
  [SUBREGION_MAX:2750]
  
 
 
 
   [ELEVATION_RANGES:0:0:0]
 
   [ELEVATION_RANGES:0:0:0]
 
   [RAIN_RANGES:0:0:0]
 
   [RAIN_RANGES:0:0:0]
Line 32: Line 32:
 
   [VOLCANISM_RANGES:0:0:0]
 
   [VOLCANISM_RANGES:0:0:0]
  
<small>'''Note: the above values are arbitrary although these settings effectively disable the region/range counts.'''</small>  
+
<small>'''Note: the above values are arbitrary although these settings effectively disable the range counts.'''</small>  
  
 
== Placement tokens ==
 
== Placement tokens ==
Line 59: Line 59:
 
   [REGIONAL_INTERACTION_NUMBER:28]
 
   [REGIONAL_INTERACTION_NUMBER:28]
 
   [DISTURBANCE_INTERACTION_NUMBER:28]
 
   [DISTURBANCE_INTERACTION_NUMBER:28]
 
== Placement tokens that will not cause a rejection ==
 
 
Counts exceeding the number of available squares will just make all squares in the desired region size the desired type.
 
  
 
   [GOOD_SQ_COUNTS:0:0:0]
 
   [GOOD_SQ_COUNTS:0:0:0]

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)

This page is a member of 1 hidden category: