|
|
|
|
|
February 28th, 2007, 07:53 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: version 0.51 alpha release
it could conceivably take a very long time to generate the terrain for the settings you have. here's a run down of how terrain generation works. mapgen starts by scattering 'seeds' on the map, which must be a certain distance apart, this is the first parameter of the tsize command. it keeps placing seeds until it determines that no more can be placed, which is determined by counting how many times it tries to put a seed on the map, when it has tried and failed enough times, it stops trying. it could take a very long time if every time it tries to place a seed, it gets to the point where it is just about to quit, and then it finds a good spot for a seed, so it starts trying to place another one, which almost doesnt get placed, but just manages to, etc. this is bound to happen with very large maps with relatively small tsize parameters, so i would advise increasing them. i will take a look at the code as well, but i think that if you increase the tsize parameters, you will be fine.
|
February 28th, 2007, 08:11 PM
|
|
Major General
|
|
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
|
|
Re: version 0.51 alpha release
Ah, okay, I'll just let it run then. Suffice to say that it's taking a lot longer than the previous version (which went really fast after the topography was done.)
Does setting the number of provinces low also work, or do I need to specifically set tsize?
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
|
February 28th, 2007, 09:31 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: version 0.51 alpha release
number of provinces have no affect on terrain generation, but terrain does affect province generation.
are you using the same settings you were before? i cant think of any reason it should take much longer on the whole, unless you got really unlucky.
|
March 1st, 2007, 02:00 AM
|
|
Major General
|
|
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
|
|
Re: version 0.51 alpha release
It keeps freezing. I've been letting it run for, like, six or seven hours.
Yeah - same settings as before. I also tried moving the water and mountain limits up and down.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
|
March 1st, 2007, 03:29 AM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: version 0.51 alpha release
wow, crap. you have the seeds file for that one?
|
March 1st, 2007, 04:47 AM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: version 0.51 alpha release
drP dont worry about that seed file, there is definitely a bug in there
|
March 1st, 2007, 05:43 AM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: version 0.51 alpha release
ok, it's fixed now. made sure it worked, generated a map with your script.
|
March 1st, 2007, 05:13 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: version 0.51 alpha release
i'm going to post releases at the top of this thread from here on out, which will eliminate having to delete old releases and make it easier to find
|
March 4th, 2007, 04:21 AM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
just a quick update on progress, mapgen has two new commands. one which allows the filenames of the output to be set, and one which will run in batch mode, so that you can run the program once and get multiple maps. i have also started tackling the issue of getting sprites back into the maps.
|
March 4th, 2007, 04:29 AM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
btw, this a ways off, but i was wondering what everyones thoughts were on how cave provinces might be handled?
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|