Loading...
Home | Download | Discussion | Help | Site Map | New Posts | Sign in
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 10:40 PM - Updated 13th Oct 2018 at 10:29 PM by n8smom8496
Open thumbnail gallery
38 Thanks  Thanks     14 Favourited
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.
Download files
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 9.0 KB 3,228 14th Oct 2018
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
 
3 Comments / Replies (Who?) - 1 Feedback Posts, 1 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)

Expansion/Stuff packs required:
Cats and Dogs

Built with Game Version: 1.46.18.10

3 Comments / replies (Who?)

3,228 Downloads

5,508 Views

Type: Motive gain Fixed