Number of babies odds modifier (outdated)

34,442 Downloads 476 Thanks  Thanks 184 Favourited 88,269 Views
Uploaded: 7th Jan 2015 at 4:03 AM
Updated: 29th Jun 2016 at 10:16 PM - No update needed
June 2016 - This mod doesn't work anymore. Please, don't download until I update it.

15/06/2015 - This mod doesn't need to be updated for the 1.8.61 version.

Please, make a new comment if you want a personalized flavour. I wrote a "tutorial" so you can learn how to personalize it yourself. It's at the end of this post.

This mod modifies the chances of having 1 baby, twins and triplets.

You have to install one of these flavours:
  • Pre-december patch: the odds will be like before the last patch: 89% 1 baby, 10% twins, 1% triplets.
  • 94 - 5 - 1: 94% 1 baby, 5% twins, 1% triplets
  • 75 - 20 - 5: 75% 1 baby, 20% twins, 5% triplets
  • 70 - 20 - 10: 70% 1 baby, 20% twins, 10% triplets (asked by PM)
  • 50 - 35 - 15: 50% 1 baby, 35% twins, 15% triplets (asked by Melons)
  • 33 - 33 - 33: 33% 1 baby, 33% twins, 33% triplets
  • 25 - 50 - 25: 25% 1 baby, 50% twins, 25% triplets (asked by tomedwardbell)
  • 20 - 30 - 50: 20% 1 baby, 30% twins, 50% triplets (asked by Cat_Sims_3_LOVE)

If you want new flavours, look for the tutorial below or just ask!

Unzip the package file to your Mods folder.

Having ONE flavour of this mod installed while your sim gives birth changes the default probability for having single, twins and triplets babies. Note that if your sims have fertile trait then the odds for a multiple birth will be higher.
You don't need to have any of them installed during the conception.

Resource overrides and compatibility:
This just modifies the S4_03B33DDF_00000000_06F6554A25E46FD0 XML resource.
It is incompatible with XML mods that modify the same resource. For example, MasterDinadan's "Longer/Shorter Pregnancy Lenght" or my "Choose number of babies". But it is likely to be compatible with script mods like java7nerd's "Pregnancy Scan".

This mod is updated to work with version 1.7.62 or 1.7.65 (May 14-15, 2015).

Additional Credits:
velocitygrass for the Sims4XmlExtractor.
Kuree and all Sims4Group for the s4pe.
morgade for the Sims 4 Tuning Tool.
"XML Tuning How-To" tutorial by plasticbox.
@hashtyhashtag for sending me the prepatch files.



What do you need?
s4pe -

1.- Choose your odds. Let's say you want to make a mod where the odds are 40% (1 baby) - 35% (2) - 25% (3 babies).
Then you need to download one of my mods. You are going to modify it. For example I'm going to use the "pekesims_nBaby-odds-modifier_75-20-5".

2.- Extract the .package and open it with the s4pe.

3.- Look for the file tagged "ITUN" on the left column.

Click on it with the right botton and choose "Notepad".

4.- Divide: (percentage of having 1 baby)/44.982.
For example: I want to have 1 baby the 40% of the pregnancies, so I divide 40/44.982=0.889.

5.- In the Notepad that you have opened, Edit > Find >
<T n="size">1</T>

6.- Insert your result
<T n="weight">HERE</T>
in the following line.

7.- Edit > Find >
<T n="size">2</T>

8.- Change the value
<T n="weight">HERE</T>
for your percentage of having two babies. This time you don't need to divide anything.
For example, I want to have twins the 35% of the times, so I write:
        <T n="size">2</T>
        <T n="weight">35</T>

9.- Repeat 7 and 8 for triplets:
<T n="size">3</T>
<T n="weight">25</T>

10.- Save your changes and close Notepad.

11.- "Yes" when s4pe asks if you want to commit changes.

12.- File > Save as...

13.- Your new mod is ready!!

EXTRA changes you can make easily

You can change any of the following at the same time:

-Percentage of multiplets that are identical: find
and change the 33.33 that follows for the percentage you want. By default, the 33.33% of the multiplets are going to be identical.

-How many hours does the pregnancy last: divide 1/(number of hours you want the pregnancy to last). For example, I want it to last 8 hours, then 1/8 = 0.125.
and change the following number (0.016667) for your result. In my case:
<T n="PREGNANCY_RATE">0.125</T>