MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Pet Pregnancy Motive Decay Fix

by n8smom8496 Posted 14th Oct 2018 at 9:40 PM - Updated 13th Oct 2018 at 9:29 PM by n8smom8496
4 Comments / replies (Who?) - 3 Feedback Posts, 1 Thanks Posts
Brief Overview

If you've played The Sims 4: Cats and Dogs for a while, you may have noticed that pregnancy seems to have no effect on a pet's motives. (more noticeable if you use the playable pets mod) For a while, I just assumed this was intentional, until I looked at the XML's for pet pregnancy while working on Dog Pregnancy Overhaul .

Apparently, the XML's do contain data pertaining to motive penalties, as well as for a pregnant walkstyle, but they mistakenly point to the human versions of these motives, and as a result, this data has no effect.

So, I've corrected this mistake and redirected this data to the dog and cat versions of these motives as needed and assigned a pet walkstyle for the pregnant walkstyle (they won't develop a waddle like humans, but they will stop trotting and running, making them appear less energetic).

Detailed Description
In human sim pregnancies, the hunger and bladder motives decay between one-and-a-half times to twice as fast as usual, depending on the trimester. This is dictated by XMLs containing decay modifiers, which are tied to the pregnancy moodlets, much like how certain traits and moodlets can affect the decay of motives. Decay modifiers consist of a number and the ID of the motive that it affects.

Dog and cat pregnancies have near-exact duplicates of these XMLs associated with them, including the decay modifiers, which is where the problem occurs. The game actually considers human, dog, and cat motives to be completely separate things, with their own IDs (ie. human hunger has a different ID than dog hunger, which has a different ID than cat hunger). The pregnancy XMLs, however, do not account for this, and instruct their decay modifiers to affect the human motives. That's what this mod takes care of; it changes the IDs of the decay modifiers found in the pet pregnancy XMLs from the human motive IDs to the dog and cat motive IDs as appropriate, so that these decay modifiers now actually work.

Similarly, once human sims reach the second trimester, they lose the ability to run, gaining a sort of waddle, which is also dictated by the pregnancy XMLs. This is also included in the pet pregnancy XMLs but was never changed to a pet-valid locomotion. This mod corrects that too, though the pets will not develop a special locomotion, just lose the ability to run.

Installation
Extract this file into your Documents\Electronic Arts\The Sims 4\Mods directory and make sure mods are enabled in-game. Also, if using Dog Pregnancy Overhaul, make sure that that mod loads first (ordinarily it will, I named this file to account for this).

Conflicts

This mod will conflict with any mods containing the resources"buff_pregnant_(name of trimester)_PetCat" and "buff_pregnant_(name of trimester)_PetDog, though anyone who needs to can forward these fixes into their own mod without repercussion, just make sure your mod loads before this one. Dog Pregnancy Overhaul is fully compatible and can be used in conjunction with this, so long as the former loads first, which it should since its file's name comes before this file's in the alphabet.

You must have the expansion, game version or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 4 Cats and Dogs
Built with Game Version: 1.46.18.10
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
bugfix - pet pregnancy.zip

Size: 9.0 KB · Downloads: 8,325 · 14th Oct 2018
9.0 KB 8,325 14th Oct 2018
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
2. Extract: Use WinRAR (Windows) to extract the .package file(s) (if included, ts4script as well) from the .rar or .zip file(s).
3. Cut and paste the .package file(s) (if included, ts4script as well) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\

Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
  • Mod still not working? Make sure you have script mods enabled
 
4 Comments / Replies (Who?) - 2 Feedback Posts, 1 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Mad Poster
THANKS POST
#2 Old 14th Oct 2018 at 11:33 PM
Thanks for fixing this EA oversight. I wonder if they actually know this needs correcting?
Test Subject
#3 Old 5th Dec 2018 at 12:22 PM
Is this mod still needed or did EA fix this bug? Does this mod still work after the November update?
Test Subject
Original Poster
#4 Old 7th Dec 2018 at 1:39 AM
Quote:
Originally Posted by Scorten
Is this mod still needed or did EA fix this bug? Does this mod still work after the November update?


Yes, I believe this is still needed, and it does work with the patch.
Lab Assistant
#5 Old 21st Jun 2019 at 5:11 PM
Is this mod still working? Going to remove it just in case for the time being, though I don't see why they'd have been touching anything related to pet pregnancy in the recent updates lol.