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 Talk:World generation"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(on random seeds and pocket worlds.)
(page needs update to current version)
Line 31: Line 31:
 
[[Image:Pocket example.png]]<br />
 
[[Image:Pocket example.png]]<br />
 
With v0.27.176.38c, in world generation you can now select the size of the world.  For example - a pocket world (above) - thats it, thats the whole thing. --[[User:Shagie|Shagie]] 17:26, 29 February 2008 (EST)
 
With v0.27.176.38c, in world generation you can now select the size of the world.  For example - a pocket world (above) - thats it, thats the whole thing. --[[User:Shagie|Shagie]] 17:26, 29 February 2008 (EST)
 +
:Yeh this page needs some updating for v0.27.176.38c. Has anyone managed to create a pocket sized world? All mine generate 10,000's of rejects and I give up. [[User:Yvain|Yvain]] 03:07, 21 March 2008 (EDT)

Revision as of 07:07, 21 March 2008

If you guys can think of anything to add to this, let me know. Schm0 19:58, 30 October 2007 (EDT)

I would suggest changing the region numbers to 101-107 etc, as they're unlikely to be already used, and most pregen maps (packs and non-packs) are unlikely to ever use that range either. --Edward 23:01, 3 January 2008 (EST)

Oh yeah, and I can't get the last graphic to show, even though it exists. Schm0 20:17, 30 October 2007 (EDT)

It took me *way* too long to figure out, but I know why the last picture isnt showing. It has "ad" in the URL, and you are using AdBlock.

Thank you, anonymous. :)

From my own little experiments, it looks like the /wait commands aren't needed. There may be a difference in OS here, but under Windows XP Home SP2, I can create a .bat file with

dwarfort.exe -gen 1

dwarfort.exe -gen 2

right after the other. When one creation ends, the window closes and the next begins. The two [RANDOM]s aren't required, either. If the .bat is in the same folder as your executable, you don't have to go through the whole "C:\df\whatever" tree, either. Mephisto 16:08, 9 November 2007 (EST)

Well, like I said, it's for you to use or modify if necessary. I know that it will be compatible on all copies of XP and beyond... I don't care to bother and check what version of XP I have, but the batch program will not function correctly unless I use the /wait commands. Obviously you wouldn't need to include the directory of the files, unless you ran it from the desktop. Some good observations, nonetheless. Schm0 22:15, 5 December 2007 (EST)
I just tried this without the "start /wait" part, and it didn't work for me (Win XP SP1) - it generates only one map, then stops. Leave the code as it is.--Siliziumleben 21:32, 2 January 2008 (EST)
Like it more this way. If you'll have any problems with 'wait's, just add it.--Dorten 01:42, 11 January 2008 (EST)

i dont get seeds.. sure theyre not random... but what do they do? a list of different seeds and what they create? Twiggie 10:16, 5 December 2007 (EST)

seeds define the world that is generated; unless you want a world that somebody else has generated, then using the 'random seed' option will give you a more-or-less random map, (don't be confused by all the pseudorandom stuff, it's random enough -_-) well, I doubt anybody has a list of pregenerated worlds and their seeds, but I think it'd be better to create your own. There'll be areas with low difficulty and areas with high difficulty, so there's no problem there. Jc100 06:18, 12 December 2007 (EST)

On random seeds... It is very difficult to make a number that is truly random on a computer. Instead of doing something like hooking up a Geiger counter and a source[1] to generate a pseudo random number, you pick a starting point - a seed. You can run this number through a function[2] and get another number. This new number is returned and used in the next iteration. This is a pseudo random number sequence[3]. One of the things that is useful about a pseudo random number sequence is that it is deterministic - if you start with the same seed, you will get the same random numbers. Thus, when you use the seed someone has provided, you will get the same world generated. --Shagie 17:26, 29 February 2008 (EST)

Pocket example.png
With v0.27.176.38c, in world generation you can now select the size of the world. For example - a pocket world (above) - thats it, thats the whole thing. --Shagie 17:26, 29 February 2008 (EST)

Yeh this page needs some updating for v0.27.176.38c. Has anyone managed to create a pocket sized world? All mine generate 10,000's of rejects and I give up. Yvain 03:07, 21 March 2008 (EDT)