How To : Create A Mod in The Sims 4 (Part 2)
We all know and love the mods that the community comes up with. Have you ever wanted to make one of your own?Once you know the ropes, it really isn’t that hard to do. All you need to do is read up on the right guides and learn the basics before trying to skip ahead to the good stuff.
Note – This Aging Mod is compatible for the patch today (June 23rd). However, I will be releasing a tutorial in the next few days on how to check if your mods need updated. That way you will know how to check yourself for next time.
Create A Mod (Beginner) – Let’s Make a Mod is the second part of my Create A Mod series of tutorials. Before you begin this tutorial, please make sure that you’ve done everything in Create A Mod (Beginner) – Programs for Modding.
Let’s Make a Mod
Today I’m going to show you how to make your very own Aging Mod so that you can set your sims age spans to your very own desired lengths. I’ll be showing you many different things that you can do later in the series. For now, I just want you to get your toes wet a little before we dive completely in. There’s a few things we need to do first before we make our Aging Mod, so let’s get started!
Setting the Folders Up
Note – Although you don’t have to name the folders the way I have them below, I suggest that you do so that you know which folders I’m referring to. They’ll be used in later tutorials as well.
- Right-click on your Desktop and select New > Folder and name it Mod Creating.
- Open your new Mod Creating folder and create a folder inside named Sims 4 Studio:
The Sims 4 Studio folder looks lonely now, but we’ll be adding more folders here in later tutorials.
3. Open the Sims 4 Studio folder and create two new folders inside it, name them: 6_16 and Modded XMLs. So it looks like this:
Note – The 6_16 folder is the date of the most recent patch (June 16th) at the time this was written. If the most recent patch for you now is a later date, then go ahead and name this folder to that date instead. For example, you’re following this tutorial in late July and the last patch for you was on July 7th then you’d name the folder 7_7 instead of 6_16.
Now we need to use Sims 4 Studio to extract the XML resources from the game. These extracted resources are what we will be using to create mods.
Note – Always make sure that you have the latest version of Sims 4 Studio before extracting. Sometimes you’ll have to wait for an update to the program after a patch or pack release.Thank you to simjennkim for the reminder 🙂
- Open Sims 4 Studio.
- In the upper-left click on Tools>Extract Tuning…
3. When the Extract Tuning window pops up, tick the Use Subfolders and Extract All boxes as shown below, then click Export:
4. A window will pop up telling you to Browse for Folder. Navigate to and select your 6_16 folder (Mod Creating>Sims 4 Studio>6_16), then click OK:
5. It will take several minutes, just let it go. Once it’s done, your 6_16 folder will pop up and the extracting will be complete.
Note – Each time there’s a new patch, you’ll have to extract. Before you do, make a new folder as you did in Step 3 of the Setting the Folders Up section above. Name the folder so that it corresponds with the date of the new patch. For example, if the next patch is on June 23rd this month, you’ll name your new folder 6_23. Do not delete your old patch folders until you have checked to see if your mods need updated. I will show you how to do that in the next tutorial.
Creating the Mod
Now for the fun part (finally, right?). Let’s get started on making our Aging mod.
- Open your 6_16 folder (inside Mod Creating>Sims 4 Studio).
- In the search box where it says Search 6_16, let’s go ahead and type in aging.
- Several resources will pop up, we want the one that’s named sims.aging.aging_tuning.Tuning.xml, as shown below:
- Double-click to open it.
Note – If it doesn’t automatically open with Notepad ++, right-click on the XML and selectProperties. Where it says Opens with, click on the Change button, navigate to and select your notepad++.exe and click open, then click Apply. Close the window and redo Step 4.
- Now that you have your XML open in Notepad++, it’s time to do some editing. Scroll down until you find <E n=”key”>ADULT</E>. A little down from there you will see <T n=”age_transition_threshold”>20</T> which is the age span in days for an adult sim:
- Double-click on the number 20 and it will automatically highlight in green. Now just enter your desired age length for adult. Don’t delete or move anything else, just change the number.
Note – The words in green are called comments. Reading these will usually help you recognize what it’s for and what it means. I will go into more detail on reading these and other elements in XMLs later in this series.
6. Let’s scroll down and change the lengths for BABY, CHILD, ELDER, TEEN, AND YOUNG ADULT. Change them to your desired length or leave them at their defaults:
8. When you’re done, go to File>Save As (*Do NOT click File>Save) . Then Save it in your Modded XMLs folder (Mod Creating>Sims 4 Studio). Do NOT rename it, otherwise it will not load when you import it into Sims 4 Studio for packaging next.
*Note – You don’t want to click File>Save because that will overwrite the original which you will need later when checking your Mods for needed updates after a patch.
Packaging the Mod
- Open Sims 4 Studio.
- Go to Tools>Create Empty Package, it will then ask you to save your package. PutAgingMod in the File name box and click Save (have it save to your Desktop so you can easily find it):
3. Now that your empty package is loaded into Sims 4 Studio, click on the Batch Importbutton at the bottom:
4. Navigate to your Modded XMLs folder (inside Mod Creating>Sims 4 Studio). Select your edited XML and click Open:
6. Click on the Tuning file in the left box and the XML will show in the right. Just go through and double-check your changes. You can edit your XML right there in the box if you need to.
7. If everything is as you want them, then go ahead and click Save.
Note – You could do all of your edits right in Sims 4 Studio like this, however doing it the way we did is better because Notepad++ will warn you with a pop-up if you delete anything that you’re not supposed to.
- Congratulations, you just finished your mod!! Now move it from your Desktop to your Documents\Electronic Arts\The Sims 4\Mods folder so you can test it!
Testing the Mod
Now it’s time to test your mod. You will ALWAYS want to test your mod. Even if you’re absolutely sure you did everything perfectly, test just to be on the safe side. There’s different ways to test different mods to ensure they’re working as you intended. For this one, the best way to test is to do the following:
- Create a new “Test” save.
- Create a family with a sim for each of the age groups that you changed, they don’t have to be perfect just randomize everything they’re only to test.
- Move them into a lot.
- Press Y to open up Simology, then hover over the age bar.
Note – There’s currently a game bug where the number of remaining days won’t show unless you hover over the green area of the bar. If you experience this, then you’ll have to fast forward until you see some green that you can hover over.
- If the days until age up is the same as you set them to, then your mod is working correctly!
Note – The days will be less than the number you set if you have to fast forward through more than a day in order to hover over green.
If it’s not working properly, try going through the tutorial one more time. If you continue having problems then feel free to contact me and I’ll take a look at your mod and do what I can to help.