Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [39e] Minimum Rivers after Erosion voided results in no rivers  (Read 1004 times)

Deathworks

  • Bay Watcher
  • There be no fortress without its feline rulers!
    • View Profile

Hi!

This is an oddity I noticed in world generation: If I nullify the minimum number of river starting locations after erosion, I will definitely get a world without any rivers, even if the pre-erosion number is several 100.

If this is a desired behavior, I think calling it a minimum is kind of confusing, as I nullified the value so as to avoid rejects because of one or two of the hundred river locations disappearing after erosion.

Deathworks
Logged

valcon

  • Bay Watcher
  • Experience rivers.
    • View Profile
    • My YouTube Channel
Re: [39e] Minimum Rivers after Erosion voided results in no rivers
« Reply #1 on: August 05, 2008, 01:14:06 pm »

I don't think rivers actually have anything to do with map rejects.

If you notice, it only starts to run the rivers after it has already accepted a map segment.

So by putting the number of post-erosion rivers down to zero, or null value, you might be setting it to have all of the rivers dry up after the erosion has occurred.  Maybe ... Just a theory.
Logged
Still doing Let's Plays, still got a gold toof. 

Adventure Mode:  The Movie!

Deathworks

  • Bay Watcher
  • There be no fortress without its feline rulers!
    • View Profile
Re: [39e] Minimum Rivers after Erosion voided results in no rivers
« Reply #2 on: August 05, 2008, 01:25:03 pm »

Hi!

Well, for your theory, this may be one of the things happening. However, I don't think a minimum value should do something like that.

As for the rejects, surrounding rivers you do have the following:

"Running rivers" is displayed. This is when the number of rivers is compared to the minimum, I think. In addition, some of the region checking seems also to take place. Rejects possible at this stage.

Then, the erosion countdown takes place (that's what you see next to the "Running Rivers").

Then, you have lake creation (I don't know what that countdown is).

After that, region division takes place (I know that because I had tons of rejects because I accidentally set maximum region number to 500) Rejects possible.

Wildlife and vegetation is placed (in older versions at least, wildlife could also cause rejects, I don't know about current versions).

"Recounting Legends" and "Initializing" are displayed. The cave locations are checked. Rejects possible immediately if count fails.

Then caves and civs are generated. (Still "Initializing" displayed). Rejects possible.

Only once the years are counted will be no more rejects possible.

Deathworks
Logged

valcon

  • Bay Watcher
  • Experience rivers.
    • View Profile
    • My YouTube Channel
Re: [39e] Minimum Rivers after Erosion voided results in no rivers
« Reply #3 on: August 05, 2008, 01:33:54 pm »

Well, that shows how far my anecdotal evidence carries me!   I guess never having seen a reject during or after the river stage just means I have good luck. 

AFK, gonna go play the lottery! 
Logged
Still doing Let's Plays, still got a gold toof. 

Adventure Mode:  The Movie!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: [39e] Minimum Rivers after Erosion voided results in no rivers
« Reply #4 on: August 06, 2008, 08:06:41 am »

Okay, I've changed it now to "desired" instead of "minimum", because it also uses that value to set the number of river starts it tries once it confirms it has them.
Logged
The Toad, a Natural Resource:  Preserve yours today!