Ludeon Forums

RimWorld => Mods => Help => Topic started by: kosh401 on May 27, 2017, 01:51:36 PM

Title: A17 Population Cap Increase
Post by: kosh401 on May 27, 2017, 01:51:36 PM
Hi all,

Previously, you could adjust the pop cap of the story tellers by going to \Core\Defs\StorytellerDefs and (for each story teller) changing:

    <desiredPopulationMin>#</desiredPopulationMin>
    <desiredPopulationMax>#</desiredPopulationMax>
    <desiredPopulationCritical>#</desiredPopulationCritical>

This has changed in A17 and I'm wondering if anyone has come across where these variables are now? I can't seem to find them.

Thanks!
Title: Re: A17 Population Cap Increase
Post by: kaptain_kavern on May 27, 2017, 01:57:08 PM
 Defs/Storyteller/Storytellers.xml
Title: Re: A17 Population Cap Increase
Post by: jamaicancastle on May 27, 2017, 02:06:01 PM
The way it tracks preferences has changed. You should find a populationIntentFromPopCurve key in each of the core Storyteller defs. This is a curve made of ordered pairs of (population, relative odds of new population events). So instead of having a single "minimum" or "maximum" population where the odds of these events changes, odds change gradually as your population increases (or decreases).

For instance, for Cassandra the curve looks like this:

  <populationIntentFromPopCurve>
    <points>
      <li>0, 8</li>
      <li>1, 4</li>
      <li>5, 1</li>
      <li>9, 0.5</li>
      <li>13, 0</li>
      <li>18, -1</li>
    </points>
  </populationIntentFromPopCurve>
Title: Re: A17 Population Cap Increase
Post by: kosh401 on May 27, 2017, 02:17:18 PM
Ok thanks, I had seen that def and those values before but didn't really understand them. I see what you mean with the pop curve and +/- event chance now. Thanks again!
Title: Re: A17 Population Cap Increase
Post by: ArguedPiano on May 27, 2017, 03:30:40 PM
As I understand it, the relative odds at 0 would mean new population events stop happening.
But what happens at relative odds of -1?

Please correct me if I am mistaken.
Title: Re: A17 Population Cap Increase
Post by: EldrickTobin on May 28, 2017, 10:41:42 AM
Well -1 matched up to critical from before... so I imagine

Start the Killing.


As for the thread itself. THANK YOU. I knew they wrere pairs... and I was guessing in the right direction... but the second pair had me about 65% stumped.

(insanity)
With this new data it might even be possible to have multiple comfort and craze zones... start out get to 10... but getting to say 20 is a heavy slog of prison breaks and dead rescuees... so you have time to build. Then you claw your way through 20's lil pop barrier and poof a breeze again. rinse and repeat all the way to a real hard cap where it feels like you're a THRIVING lil city. Only now... well you're TOO BIG.
(/insanity)