- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- Praise toddler always available
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- Praise toddler always available
Replies: 4 (Who?), Viewed: 2276 times.
#1
20th Jun 2017 at 4:27 AM
Posts: 10
Praise toddler always available
I'm not sure where else to put this; so if it's in the wrong place please let me know where it should be, thanks.I'm hoping someone can help me with this. I'd like to see a mod that allows for the "Praise" interaction between parents and toddlers to always be available instead of just when the parent is happy. I find it quite annoying that this interaction disappears the moment the parent's mood changes (whether it be a positive mood or a negative one).
I have been trying to figure out how to do it myself, but I have no clue where to start even. I've tried checking out many tutorials, but none of which have explained the process to me in a way that I can understand. Also, the only tuning tutorials I can find involve object tuning (definitely not what I'm looking for).
The only thing I have to base my search on is a suggestion from Deaderpool that I would be looking for a file like this: "socials_Targeted_Friendly_AlwaysOn_STC_Toddler_Compliment" tuning file. But without any knowledge of what I'm looking at I have no idea where to look (or how to change it once I do find the right file). So if anyone is able to help me with this, I'd really appreciate it. I can't be the only one who has found this disappearing interaction annoying.
Advertisement
#2
25th Jun 2017 at 10:07 AM
Last edited by bamrd : 25th Jun 2017 at 6:57 PM.
Posts: 57
Quote: Originally posted by DemonPoster
[Interaction that] allows for the "Praise" interaction between parents and toddlers to always be available instead of just when the parent is happy. The only thing I have to base my search on is a suggestion from Deaderpool that I would be looking for a file like this: "socials_Targeted_Friendly_AlwaysOn_STC_Toddler_Compliment" tuning file. But without any knowledge of what I'm looking at I have no idea where to look (or how to change it once I do find the right file). |
Download and install Sims 4 Studio.
Extract XML Tuning Files to a new folder (Under Tools >> Extract Tuning) (This may take some time. The action will complete without telling you. If you can exit without a warning pop-up the extraction has completed successfully)
Make sure this folder is Indexed (Windows 10: Open XML Tuning File >> View >> Options >> Change Folder and Search Options >> Search >> Make sure "Always search file names and contents" is checked >> Close)
Search for:
socials_Targeted_Friendly_AlwaysOn_STC_Toddler_Compliment
You want XML Tuning File:
0x00000000!0x0000000000025cca
!Remember what "Type" the file is (located underneath the File Name, second column in File Explorer). In this case "0XE882D22F".!
Open the file using a text editor (such as Notepad).
Search for "mood" in your text editor. There are three areas where it will come up. You want the first one (the one earliest in the file) as it pertains to which moods the interaction shows up. The second is the weight the mood gives the interaction. The third one is about the toddler's mood and the failure rates in regards to this.
The code you are looking for:
Code:
<L n="mood_list"> <T>14640<!--Mood_Happy--></T> </L> <L n="mood_preference"> <U> <T n="key">14632<!--Mood_Angry--></T> <T n="value">0</T> </U> <U> <T n="key">14633<!--Mood_Bored--></T> <T n="value">0</T> </U> <U> <T n="key">14634<!--Mood_Confident--></T> <T n="value">2</T> </U> <U> <T n="key">14635<!--Mood_Embarrassed--></T> <T n="value">0</T> </U> <U> <T n="key">14636<!--Mood_Energized--></T> <T n="value">2</T> </U> <U> <T n="key">14637<!--Mood_Fine--></T> <T n="value">3</T> </U> <U> <T n="key">14638<!--Mood_Flirty--></T> <T n="value">1</T> </U> <U> <T n="key">14639<!--Mood_Focused--></T> <T n="value">2</T> </U> <U> <T n="key">14640<!--Mood_Happy--></T> <T n="value">3</T> </U> <U> <T n="key">14641<!--Mood_Inspired--></T> <T n="value">2</T> </U> <U> <T n="key">14642<!--Mood_Playful--></T> <T n="value">2</T> </U> <U> <T n="key">14643<!--Mood_Sad--></T> <T n="value">0</T> </U> <U> <T n="key">14644<!--Mood_Dazed--></T> <T n="value">1</T> </U> <U> <T n="key">14645<!--Mood_Stressed--></T> <T n="value">3</T> </U> <U> <T n="key">14646<!--Mood_Uncomfortable--></T> <T n="value">3</T> </U> </L>
Copy each Mood Instance (other than <T n="key">14640<!--Mood_Happy--></T>) under <L n="mood_preference"> (such as: <T n="key">14632<!--Mood_Angry--></T>).
Paste the code under <L n="mood_list">.
Replace every instance of <T n="key"> with <T>.
!TIP: To keep the code "clean" be sure the line <T>14640<!--Mood_Happy--></T> is between <T>14639<!--Mood_Focused--></T> and <T>14641<!--Mood_Inspired--></T>. This is not necessary for the code to run.!
Your code should now look like this:
Code:
<L n="mood_list"> <T>14632<!--Mood_Angry--></T> <T>14633<!--Mood_Bored--></T> <T>14634<!--Mood_Confident--></T> <T>14635<!--Mood_Embarrassed--></T> <T>14636<!--Mood_Energized--></T> <T>14637<!--Mood_Fine--></T> <T>14638<!--Mood_Flirty--></T> <T>14639<!--Mood_Focused--></T> <T>14640<!--Mood_Happy--></T> <T>14641<!--Mood_Inspired--></T> <T>14642<!--Mood_Playful--></T> <T>14643<!--Mood_Sad--></T> <T>14644<!--Mood_Dazed--></T> <T>14645<!--Mood_Stressed--></T> <T>14646<!--Mood_Uncomfortable--></T> </L> <L n="mood_preference"> <U> <T n="key">14632<!--Mood_Angry--></T> <T n="value">0</T> </U> <U> <T n="key">14633<!--Mood_Bored--></T> <T n="value">0</T> </U> <U> <T n="key">14634<!--Mood_Confident--></T> <T n="value">2</T> </U> <U> <T n="key">14635<!--Mood_Embarrassed--></T> <T n="value">0</T> </U> <U> <T n="key">14636<!--Mood_Energized--></T> <T n="value">2</T> </U> <U> <T n="key">14637<!--Mood_Fine--></T> <T n="value">3</T> </U> <U> <T n="key">14638<!--Mood_Flirty--></T> <T n="value">1</T> </U> <U> <T n="key">14639<!--Mood_Focused--></T> <T n="value">2</T> </U> <U> <T n="key">14640<!--Mood_Happy--></T> <T n="value">3</T> </U> <U> <T n="key">14641<!--Mood_Inspired--></T> <T n="value">2</T> </U> <U> <T n="key">14642<!--Mood_Playful--></T> <T n="value">2</T> </U> <U> <T n="key">14643<!--Mood_Sad--></T> <T n="value">0</T> </U> <U> <T n="key">14644<!--Mood_Dazed--></T> <T n="value">1</T> </U> <U> <T n="key">14645<!--Mood_Stressed--></T> <T n="value">3</T> </U> <U> <T n="key">14646<!--Mood_Uncomfortable--></T> <T n="value">3</T> </U> </L>
This will allow every mood to access the interaction. If you don't want an emotion to allow for "praise" to be visible, do not include it under <L n="mood_list">.
Always, always, ALWAYS Save As when done. This will create a new file. Do not rename, just save to a new location.
Download and install Sims4PE.
Create a new document (File >> New)
Right-Click on your copied XML Rename >> Select All >> Copy >> Click Off (DO NOT actually rename, you just want the name of the file copied). In this case "0x00000000!0x0000000000022655"
In Sims4PE: go to Resource >> Import >> From File
In the drop-down menu under "Exported Files (S4_*.*)" Choose "All Files (*.*)"
Navigate to where you saved your copied XML file. Choose "Open".
A pop-up menu will appear.
Under "Instance" paste the file name. Delete: "0x00000000!" from the file name.
Under "Type" click the drop down menu and find the XML Type (as this is an XML tuning file) from earlier. In this case: "_XML 0xE882D22F".
Leave "Group" as it is.
File >> Save. Name it something identifiable such as "demonposter_praiseTalways" (Just an example).
Close Sims4PE.
Move your new XML to your Mods folder and test. If everything has gone right your Parent Sims will be able to "Praise" their toddlers even if the toddlers are in a mood other than "Happy".
Congratulations, you have just created your first XML tuning mod!
As warning: It is 3 am here where I'm at and I have not tested this code in-game myself. It is possible you will need to edit the other two instances of "mood" in order to allow the game to fully recognize your mod (as in: edit the values under <L n="mood_preference"> to be stronger and/or edit the reactions under <V t="mood"> to not happen). I'm too tired to know for sure.
Edit: You *might* also have to add <U></U> tags around the <T></T> tags (such as <U><T>14640<!--Mood_Happy--></T></U>). I wasn't sure if that was needed or not (it didn't look like it, but this could be a troubleshooting step if the above code won't work).
Well, that didn't work for some odd reason. I'm looking into it and will be back once I know what my error was...
#3
25th Jun 2017 at 7:42 PM
Posts: 10
Thank you so much for the awesome tutorial! It might not have worked because it's the parents' values that need changing. Only when the parent is happy does the option come up, regardless of toddler mood. It fails, of course, when the toddler is in a negative mood.
#4
26th Jun 2017 at 1:02 AM
Posts: 57
Quote: Originally posted by DemonPoster
Thank you so much for the awesome tutorial! |
You're welcome! I forgot to include that when you extract the tuning in Sims 4 Studio you need to check all the boxes on the first screen that pops up.
Quote:
It might not have worked because it's the parents' values that need changing. Only when the parent is happy does the option come up, regardless of toddler mood. It fails, of course, when the toddler is in a negative mood. |
There's a section later on that you can change for the Parent's values, but that didn't change anything in-game, either (it had the same setup as the toddler function). That said, even when I changed the mod to allow Child Sims to use it nothing changed so it might be my game/computer that is the issue (I thought *maybe* I had a outdated XML file, but I haven't gotten around to testing that just yet).
This is the Parent's Original Code:
Code:
<L n="subject"> <E>Actor</E> </L> </U> </V> <V t="mood"> <U n="mood"> <T>14632<!--Mood_Angry--></T> <T>14633<!--Mood_Bored--></T> <T>14634<!--Mood_Confident--></T> <T>14635<!--Mood_Embarrassed--></T> <T>14636<!--Mood_Energized--></T> <T>14637<!--Mood_Fine--></T> <T>14638<!--Mood_Flirty--></T> <T>14639<!--Mood_Focused--></T> <T>14640<!--Mood_Happy--></T> <T>14641<!--Mood_Inspired--></T> <T>14642<!--Mood_Playful--></T> <T>14643<!--Mood_Sad--></T> <T>14644<!--Mood_Dazed--></T> <T>14645<!--Mood_Stressed--></T> <T>14646<!--Mood_Uncomfortable--></T> </U> </V> </L>
And this is what I turned it into:
Code:
<L n="subject"> <E>Actor</E> </L> </U> </V> <V t="mood"> <U n="mood"> <T>14640<!--Mood_Happy--></T> </U> </V> </L>
#5
26th Jun 2017 at 8:48 PM
Posts: 57
Haha! I figured it out! I was "adding in" code when I should have been "taking out" code.
The tutorial is still the same, but, instead of adding in all those mood codes (such as <T n="key">14640<!--Mood_Happy--></T>) everywhere you take a couple lines of code out.
Search and find this code and delete it:
And also this code:
Your Teen+ Sims will now be able to "Praise" their toddlers at all times.
The tutorial is still the same, but, instead of adding in all those mood codes (such as <T n="key">14640<!--Mood_Happy--></T>) everywhere you take a couple lines of code out.
Search and find this code and delete it:
Code:
<L n="mood_list"> <T>14640<!--Mood_Happy--></T> </L>
And also this code:
Code:
<V t="mood"> <U n="mood"> <T n="mood">14640<!--Mood_Happy--></T> </U> </V>
Your Teen+ Sims will now be able to "Praise" their toddlers at all times.
Who Posted
|