

The practical impact of this is that someone else can generate exactly the same world that you generated by entering the same seed value that you used.

Basically this means that if you run world generation with a certain seed value on your computer, and someone else runs world generation with the same seed value on their computer, the same sequence of random numbers will be generated on both computers. A PRNG will produce a sequence of numbers that "looks" random, even though the actual sequence of numbers will always be the same if the PRNG is started with the same seed value. The world generation process uses a PRNG (Pseudo Random Number Generator) algorithm. Non-square maps may result in crashes Bug: 2928. If you restrict the number of historical events, you can significantly speed up the process. Creating larger worlds does not necessarily mean longer world generation time - the essential factor for the gen duration is the history. Larger maps take longer to generate and may limit FPS in-game.Ĭhanging the dimensions of the world will reset the parameters, because many of them have different defaults depending on the surface area available. The size of the map to be generated can be selected with u i o p. You can force a particular name for your world using n or set it back to the default random setting using N.įor a random name, simply don't use this token. Here's the one for the title.Īs previously mentioned, the title of the parameter set doesn't affect the name of the world. The tokens used in world_gen.txt are at the bottom of each parameter description. To get the parameters used to generate a world you are already playing, press ESC then choose export images exporting any image will also create the world generation parameter file, for more information see this post. (See below for more info.) The F1 key comes in handy when editing this file while the game is still running.

This is particularly useful because people will often post their parameter sets on the forum or wiki in text form. The world_gen.txt file can also be edited with a text editor. You will need to save the world gen parameters to this file, before you hit Enter to generate the world. The F1 and F6 keys will load and save all of the parameter sets to this file. Parameter sets are stored in the data/init/world_gen.txt file in the main DF directory. Using t you can change the name of the parameter set, but note that this will not affect the name of the world that is generated. You can also copy an existing set to a new one, allowing you to base a new set on an existing one. Hitting a will add a new set to the end of the list. You can select the current set that you want to work with using the up and down directional keys. The list of already-defined parameter sets is in the upper-right corner. 8.45 Minimum Number of Mid/Low/High Characteristic Squares.8.42 Allow Init Options to Show Tunnels.8.41.1 Minimum/Maximum Natural Cave Size.8.37 Do Orographic Precipitation and Rain Shadows.

