Tips to Create a Mod in Sims 4
The community does come up with some really great mods. However, every now and then, you probably want to have the freedom to create your own. Well, there are a whole new set of tips to help you do just that. If there is something that you would like to change about your maid’s specifications, here is how you can do it:
Create A Mod (Beginner) – Mod Creating Tips will give additional tips so that you can create additional mods. Before we begin, let’s do a quick recap of the previous tutorials:
Mod Creating Quick Overview
- Inside the Mod Creating\Sims 4 Studio folder, open the most recent Patch Date folder.
- In the search box type in a word that relates to the mod you want to create (EX – “aging” to change ages).
- Find the correct XML that you need (you may have to open several to see what they are in order to find what you’re looking for).
- Make your desired edits in Notepad++.
- Click File>Save As, then Save to your Modded XMLs folder.
- Open Sims 4 Studio and go to Tools>Create Empty Package.
- Put the name of your mod in the File Name box and click Save (save it to your desktop).
- Inside S4S click Batch Import.
- Navigate to your Modded XMLs folder, then select your edited XML and click Open.
- Click Save.
- Move your mod package to your Mods folder to test in-game.
Things to remember
- Always make sure that you have the latest Sims 4 Studio version.
- After each patch, create a new folder (name it the date of the new patch) inside your Mod Creating\Sims 4 Studio folder, then extract the resources to the new patch date folder using S4S.
Please see the Let’s Make a Mod tutorial for more detailed instructions.
More XML Editing
Let’s take a look at some edits we can do in the maid XML:
- Open the Service NPC Tuning folder found inside Mod Creating\Sims 4 Studio\(Patch Date)\.
- Double-click on ServiceNpc_Maid.ServiceNPCTuning (highlighted below) to open:Note – My patch date in the screenshot above was the most current patch date at the time the screenshot was taken. Do NOT look for XMLs in old patch date folders when creating mods.With the XML open, scroll down a bit until you see this:cost_hourly and cost_up_front are pretty self-explanatory. The cost_hourly is how much the maid charges per hour while the cost_up_front is what the maid charges up front.
I only changed the cost_up_front to 0 because I got tired of the maid supposedly cleaning while my sim was away from home and charging me that up front price for it:
work_hours, again pretty self-explanatory. This determines days/times that the maid shows up to work. For Saturday and Sunday, I changed false to true. My maids don’t get days off!
Now let’s look at this part of the code:
This represents what time the maid shows up to start work. You can change it to the hour (military hour) that you want the maid to start. I set mine to 6 for 6 am. If you want the maid to start at 6 pm, then you’d need to change it to 18.
So for the whole work_hours code, this is my end result:
Now that I’m done, I’ll click on File>Save As and save it in my Modded XMLs folder. Then, I’ll package the mod using S4S.
Setting Up Tuning Descriptions
So what if there’s something in the XML that’s not self-explanatory? Luckily, we’re provided with Tuning Descriptions (TDESCs) from SimGuruModSquad over on the official forums.
- Go to the Mods & CC Technical section of the forums, then click on the most recent TDESCs topic (which should always be posted as an announcement). So, right now it will be 1.21.32 : TDESCs. Make sure to check back there regularly for updated ones.
- Click on the ZIP file to download it.
- Create a new folder inside the Mod Creating folder, name it DESC.
- Extract 1.21.32-TDESC.zip to your Mod Creating/DESC folder using your extracting program (WinRAR, 7-zip, etc). The Mod Creating folder should now look like this:
Finding the Correct DESC
For your XML, you need to find the corresponding DESC files.
- Open the XML that you want to check the descriptions for.
- At the top, you’ll see this:
- Look at the highlighted part c=”ServiceNpcHireable” i=”service_npc” m=”situations.service_npcs.service_npc_tuning”. Any of the names for c, i, or m can be used in the search box for the DESC folder as shown below:
- For this XML, searching the names for i and m above will result in the same desc,situations-service_npcs.tdesc. This will not always happen, but if it does it’s alright.
Note – If you can’t find what you need using the full names for c, i, or m then break them apart. For example, try searching for just ServiceNpc instead of ServiceNpcHireable.
Using Tuning Descriptions
Now that you have the DESCs set up and you know how to find the ones that correspond to your XML, you need to know how to use them. Let’s find out what _min_duration_left_for_arrival_on_lot in the ServiceNpc_Maid XML means.
- The _min_duration_left_for_arrival_on_lot description is in the ServiceNPC.tdesc. Open the Mod Creating/DESC folder and use ServiceNpc in the search box (broken apart from ServiceNpcHireable as mentioned in the note above)
- Double-click on ServiceNPC.tdesc to open it. Keep it open in Notepad++, we’ll be using it in an upcoming step.
- Open the ServiceNpc_Maid XML and find: _min_duration_left_for_arrival_on_lot
- Double-click anywhere inside the quotation marks where it says _min_duration_left_for_arrival_on_lot and it will automatically highlight in green.
- Right-click the green highlighted text and select Copy:
- Go back to the ServiceNPC.tdesc that you left open in Step 2. In Notepad++ at the top, select Search and click Find. In the Find what box, right-click and select Paste:
- Click Find Next and it will highlight everywhere in the desc that the phrase is found. Close the Find box and take a look:Tip – In Notepad++, click on View and make sure that Word wrap has a check mark next to it. If it doesn’t, then click on Word wrap. This will make it easier to read the descriptions and XMLs as well.Even using the descriptions, it may still not be understandable sometimes. Most descriptions will have an example as the one above does (where it says EX: maid works from…) that will make it easier to understand. I suggest reading through random descriptions to get more practice
Source: The Sims