Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to prevent a specific type of world-gen rejection from the start?  (Read 587 times)

Geoclasm

  • Bay Watcher
    • View Profile

I've got a checkerboard-patterned large region that I fully suspect will result in an endless number of "Too many distinct sub-region" rejections (even at the cap of 5000). I want to know if it is possible to do a world-gen that skips any number of checks for an acceptable world from the start, rather than having to do it once it fails enough times. (I've modded the civs to be able to start anywhere, so that's not an issue).
Logged
99 little bugs in the code. 99 little bugs.
Take one down, patch it around.
117 bugs in the code.

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: How to prevent a specific type of world-gen rejection from the start?
« Reply #1 on: October 02, 2014, 01:13:00 pm »

I've got a checkerboard-patterned large region that I fully suspect will result in an endless number of "Too many distinct sub-region" rejections (even at the cap of 5000). I want to know if it is possible to do a world-gen that skips any number of checks for an acceptable world from the start, rather than having to do it once it fails enough times. (I've modded the civs to be able to start anywhere, so that's not an issue).
It was in the init files, I think.  Hang on.

nope.  This is what I saw

http://dwarffortresswiki.org/index.php/v0.34:D_init.txt
Change this to YES to output the reasons for world map rejection into a file.

[LOG_MAP_REJECTS:NO]
« Last Edit: October 02, 2014, 01:18:44 pm by pisskop »
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Geoclasm

  • Bay Watcher
    • View Profile
Re: How to prevent a specific type of world-gen rejection from the start?
« Reply #2 on: October 02, 2014, 01:32:25 pm »

nope.  This is what I saw

http://dwarffortresswiki.org/index.php/v0.34:D_init.txt
Change this to YES to output the reasons for world map rejection into a file.

[LOG_MAP_REJECTS:NO]

Yeah I remember that I have that marked YES.
Logged
99 little bugs in the code. 99 little bugs.
Take one down, patch it around.
117 bugs in the code.

wuphonsreach

  • Bay Watcher
    • View Profile
Re: How to prevent a specific type of world-gen rejection from the start?
« Reply #3 on: October 02, 2014, 02:43:09 pm »

If you are getting too many sub-regions, the absolute limit is 5000 (can't go higher), then you need to reduce your X/Y variances or go with a smaller value for the mesh count.

The last 2 numbers in the following tags are the variance values:

   [ELEVATION:1:400:1600:1600]
   [RAINFALL:0:100:400:400]
   [TEMPERATURE:25:75:400:400]
   [DRAINAGE:0:100:400:400]
   [VOLCANISM:0:100:400:400]
   [SAVAGERY:0:100:400:400]

Min is zero, max is 3200.  You will need to decrease your variance values until you get a map to generate with less then 5000 regions.
Logged