|
Post by orangemittens on Apr 19, 2015 19:27:23 GMT -5
Introduction
This tutorial will show you how to use this feature to make changes to an item's tuning that cause its behavior in the game to change. The example item is a toilet that will only be used by male Sims and they will only use it when standing up.
What you will need
Sims 4 Studio v 2.5.1.2 (Joy) or above
Instructions
1. Open Studio and select Create 3D Mesh under the Object button.
2. Click the Object button.
3. Select the item you wish to clone and click the Next button.
4. Name and save your .package.
5. Click the Warehouse tab. Note: If you plan to add swatches to the item do that after adding the tuning because otherwise you will have to edit the Object Definition for each swatch you add. If you do the tuning steps first each swatch you add will already have the tuning added to it for you. This will save you a lot of time and tedious copy/pasting.
6. Click on the Object Definition line on the left. On the right side scroll down until you see the Tuning line. Copy the Tuning name.
7. Click Tools in the upper menu bar. Select Extract Tuning from the drop down menu.
The first time you use the Extract Tuning feature Studio will index the tuning. Due to the large number of tuning files in Sims 4 this will take up to several minutes depending on how fast your computer is. Just let Studio do its thing during this indexing. You will not have this delay again until EA patches. This indexing step will occur once after each EA patch.
8. When the Export Tuning box pops up paste the Tuning name you copied in step 7 into the search bar. When that tuning appears on the list below click on it. 9. The Add to current package button will turn blue after you click on the tuning name. Click the Add to current package button. 10. There will be a brief pause while Studio adds the tuning to your .package. When it is done click the X in the upper right corner to close the Extract Tuning box.
11. Back in the Warehouse tab scroll down on the left side until you see the new Object Tuning resource that Studio added to your .package. Click on that line and the tuning XML will show up on the right side.
12. On the right side scroll down through the XML until you get to the super affordances section. Select the line that says toilet-use-sitting and delete it completely. Delete any other lines you don't want. I deleted the lines about pregnancy testing, upgrading to bidet, and a second line referring to using the toilet while sitting. Following this editing my xml looked as is shown on the right side of the picture below.
13. Save your work. 14. Click the Data tab.
15. Enter your new tuning name into the Name line. You need to use the format EA has requested tuning modders use. This format is creator name:tuning name. I always add the date to the tuning name as well.
16. Click the TuningID line. As you do this you will see that number change as Studio hashes the tuning name for you. Copy this new longer number.
17. Click on the Object Definition line on the left side again. Scroll down to the TuningId line on the right. Paste the new tuning ID you copied in step 16 into this line.
18. Click back to the Object Tuning resource. Click the Data tab on the right side. Copy the tuning name that you gave to your new tuning.
19. Click back to the Object Definition resource. Scroll down on the right side and paste the new tuning name into the Tuning line. 20. Save your work. If you want to add more swatches to the item click the Studio tab and begin recoloring as usual. Save your final .package and test it in the game.
|
|
|
Post by Bakie on Apr 20, 2015 5:17:15 GMT -5
Looks complicated, but I think it's do-able! Thanks for the explanation and a big respect to all of the S4S team for making this possible. Going to add this to my already far to long to-do-list
|
|
|
Post by untraditionalnerd on Apr 20, 2015 7:18:56 GMT -5
Thank you so much ; ; It works !!!! XD I need to edit the mesh and lower it a bit so kids can use it too. I removed the sitting line and the puke line as well. I don't think someone wants to puke there hehe. Now we can change how sims will behave with an object. Is there a way to create a pose/animation and set it to be used by editing the xml so that animation is used only for this item? I saw that there are many poses set to happen when sitting. I would like to add it because the flush animation and the clean animations are a bit wrong eheh. Hmm I could try to make the item unbreakable and never dirty... Tutorial Hunting session started XD ( never mind can't find anything about it I will leave the item as it is for now then :3) Thank you again Orangemittens for this amazing tutorial and Thank You S4S team for the amazing tool ; ;. I will let you know when I release it.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 16, 2015 11:21:17 GMT -5
There is a new updated Combined Binary tuning as XML at EA Forms
|
|
|
Post by orangemittens on May 16, 2015 12:02:08 GMT -5
Yes Welcome to the joy of tuning mods...every time EA patches anything associated with them usually needs an update :P
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 16, 2015 12:17:58 GMT -5
Ya so I have noticed Just wanted to post the new link so others know where to get it. The link in the tutorial points to the old one. Hope i'm not steeping on any toes doing so.
|
|
|
Post by orangemittens on May 16, 2015 14:42:28 GMT -5
Not at all...the whole tutorial needs to be updated because the process for doing this was improved in the latest version of Studio (Joy). When I get a chance to do that I'll update the link at the same time
|
|
|
Post by Omorfi-Mera on May 16, 2015 16:24:46 GMT -5
Hi, guys. I tried changing the kinara’s lighting options by using this method. My goal is to turn a decorative object into a candle and I was trying to create a single flame. Everything seemed to be working great and I was able to make a single flame, but for some reason I couldn't turn off the light after it was lit. I thought I might have deleted a line by accident so I went back and tested it without removing any lines and I’m still getting the same result. Any idea what I’m doing wrong? I’m using the latest XML files. package file with the unchanged XML: www.mediafire.com/?31u5acxr7buxvv3
|
|
|
Post by orangemittens on May 16, 2015 19:16:09 GMT -5
Hi Omorfi_Mera, I'm able to round trip this .xml and have the candle flame turn on and off. When I tested my object in the game I thought for a second that it wouldn't turn off because I was testing it with the game paused and the light effect doesn't turn off until you unpause after selecting to turn it off. That may be what's happening for you. If that isn't the issue what version of Studio were you using to make your candle with?
|
|
|
Post by Omorfi-Mera on May 16, 2015 19:41:36 GMT -5
Hi, OM. I'm using 2.4.1.9 (Love). I made sure I was in Live mode before testing - it gives the extinguish animation and the room darkens but the flame remains. I also noticed that my XML had a lot of extra green lines that weren't there in your example. Cleaning them up didn't seem to change anything though.
I also tried this on the definitive candle and it worked like a charm. Only problem is the definitive candle has three flames and I just want one.
|
|
|
Post by orangemittens on May 16, 2015 19:51:46 GMT -5
If you're doing tuning you should update to Joy. Tuning is a WIP and the beta version has the latest work that's been done for it. What is the name of the .xml you put into your .package? I used the EA holiday kinara tuning which has several flames not just one. The green lines are comments which provide nothing but information. They aren't going to change the way the tuning works in the game.
|
|
|
Post by Omorfi-Mera on May 16, 2015 20:26:05 GMT -5
I actually downloaded Joy this morning but had a problem with importing a specular map. It would add a new warehouse line every time I tried to replace the map but still kept the original. I was planning on testing it further to see if it was me or the update before reporting but then got caught up trying to fix this.
I used the kinara xml for the package I uploaded. The kinara allows you to light one flame at a time so I can separate the first (center) flame from the others. I was able to find a workaround for my problem by using the xml from the definitive candle and replacing that candle's effect name with the kinara's effect name. This gives me a single flame and I'm able to turn it off like a regular light - I just don't get the cool extinguish effect that I was hoping for (and I still can't adjust the flame height)
I'll download joy and see if I have better luck ^_^
|
|
|
Post by Bakie on Jun 29, 2015 13:04:02 GMT -5
Is this tutorial still up to date? Or Are there steps I can skip. I want to make the tuning of the pond so that there is no possibility anymore to catch frogs, only to "go fishing". I just copied the Tuning "FishingHole_GD_Common_01" and the TuningID "76488" to another object, but in-game the possibility of "Go Fishing" is missing. It only shows "Catch Frogs". (and when I use the tuning from the "go fish sign" I can't use the "Go fishing" option either) I thought maybe if I check through this way and delete the possibility to catch frogs,maybe it will work. Now what I did is: - Open the object that I wanted to make the "fishing hole" (as standalone) - Download the latest 1.8.61-TuningAsXML. - Did step 3,4,5,6 - I did step 7 too, but didn't know what to do with the exported file. (Couldn't find anything in the rest of the tutorial either) Then choose the "Add to package" option, so there appeared an Object Tuning line at the bottom of the warehouse. - Went to step 10, as I already got the Object Tuning line. - Get confused while doing step 11, as the dec number was exactly the same as the TuningID.. So there is no new instance ID? - Wondering why I don't understand how this works as other people do understand.. - ... - Went to step 15 to check if there something that looked like a "No Fishing" option. Found: <L n="_super_affordances"> <T>23835<!--sim-standExclusive--></T> <T>40118<!--fishingLocation_ExamineWater--></T> <T>76348<!--Collection_Frogs_FishingHole--></T> _________________<<<<< This one has to go <T>75494<!--fishing_BaitHook--></T> ___________________________<<<<< *** So this one doesn't work either.. <T>97418<!--fishingLocation_GoFishingAggregate--></T> ____________<<<<< This one doesn't work while just copy-paste the Tuning and TuningID to my new object.*** </L> So, where am I going wrong? I've got a feeling that I'm going wrong in many steps..
|
|
|
Post by orangemittens on Jun 30, 2015 10:11:08 GMT -5
Hi bakie, this tutorial is very out of date and I need to re-write it showing the more streamlined way Studio now does things. There is a mini-tutorial in the beta download thread that shows how things work if you're using Joy (and I would recommend using Joy for tuning because it is vastly improved over the old method Love has). Take a look at that tutorial here: sims4studio.com/thread/562/sims-studio-joy-open-beta. If you're still running into questions about the pond tuning mod please post again.
|
|
|
Post by Bakie on Jun 30, 2015 12:38:41 GMT -5
I think I got it to work now, as I'm not able to catch frogs anymore on my object, so that's a start. But I still can't get the "Go Fishing" option. It just doesn't appear...
|
|