litterSizeCurve What is it?

Started by Redfire1200, November 01, 2017, 05:24:44 PM

Previous topic - Next topic

Redfire1200

in the core def files in the animal section every animal has a       <litterSizeCurve>    file to it with certain values to it. is this the size of the cubs/babies/kittens/whatever to the mother or what, how is it calculated because im finding the values here a little confusing           <li>(0.5, 0)</li>
yeh no idea
The Red Empire shall rise, The Red Empire shall grow... POTATOES!!!

CannibarRechter

CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

kaptain_kavern

#2
I'm lacking the exact English word; it's a probability of the number of offsprings.

Crap I don't know that words.

Edit: distribution curve?


<points>
          <li>(0.5, 0)</li>
          <li>(1, 1)</li>
          <li>(5, 1)</li>
          <li>(5.5, 0)</li>
</points>


You have 0 chances of having 0.5 or 5.5 youngster per litter, but 1 chance to have from 1 to 5 youngster per litter

Redfire1200

So those this work with eggs for chickens too? Also  if i put a  value thats higher than the maxium numer of eggs/babies should i expect the error message or will it be okay?im currently not at my comp so i cant test
The Red Empire shall rise, The Red Empire shall grow... POTATOES!!!

CannibarRechter

Having hacked around with this, I think the litter size does work with eggs, but be careful. That would mean multiple chickens per egg. Pretty sure that's what happens.
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects