Pet Pregnancy Motive Decay Fix
SCREENSHOTS
Downloaded 9,080 times
126 Thanks
32 Favourited
22,909 Views
Say Thanks!
Thanked!
Author n8smom8496
Uploaded: 14th Oct 2018 at 10:40 PM
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.
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.
MTS has all free content, all the time. Donate to help keep it running.
bugfix - pet pregnancy.zip
Download
Uploaded: 14th Oct 2018, 9.0 KB.
9,080 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
Basic Download and Install Instructions:
Need more information?
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
Packs Needed
For a full list of packs with names, see the Packs Needed popup.
Download Details
Uploaded: 14th Oct 2018 at 10:40 PM
Type:
– Motive gain
: Mods increasing or reducing the motive gain for certain interactions
– Fixed
: Fixed EA mistakes
Packs Needed
Base Game | |
---|---|
Sims 4 |
Expansion Pack | |
---|---|
Cats and Dogs |