Question about tuning files!

The original catch all. General game help, banter, things you should probably put in the correct forum, This is the place.
Post Reply
User avatar
LeMurphs
Reactions:
Posts: 44
Joined: June 11th, 2020, 1:01 pm

Question about tuning files!

Post by LeMurphs » March 6th, 2021, 9:01 am

I'm quickly posting this again here after originally asking on the mod page at MTS - just in case somebody can help because I'm sure it's quite a general answer.

I have the Cook With Any Ingredient mod by icarus_allsorts and I don't want my Sims to be able to shop from the fridge when using the feature. The creator included some settings you can switch on and off with the cheat console and I'm trying to work out if there's a way for the 'Cooking AllowBuyFromStore' setting to start as false by default, without having to manually type the cheat into the cheat window every time I load the game.

One the mod description page it says that we can edit the Tuning file using S3PE to change the default settings, and when I open the tuning file I can only see this...

<Current_Tuning>
<kShowRecipeMenu value="True" />
<kShowMissingIngredients value="True" />
<kPromptNumServings value="True" />

..and then it moves on to the extra recipes tuning. So there's nothing there for me to change that fridge shopping setting with a simple true/false. Is there anything I can add? To be honest I don't really know how these tuning files work or if they're simple to edit.

User avatar
igazor
Organizer
Reactions:
Posts: 17145
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

Question about tuning files!

Post by igazor » March 6th, 2021, 11:24 am

Try adding the line, where the other three are:
<kAllowBuyFromStore value="False" />
and let's see if that does it.

Or you might want to try Ani's No Fridge Shopping mod. The version available from here, not the one at MTS, is supposed to be compatible with icarus' mod.

User avatar
SimmerZozo
Reactions:
Posts: 10
Joined: February 4th, 2023, 2:08 pm

Question about tuning files!

Post by SimmerZozo » February 14th, 2023, 7:37 am

I know this post is old but I also need help with the tuning.

I did this: <kCookingRenameFood value="False" />
<kCookingChangeFoodQuality value="False" />

And it doesn't work. What's wrong with it?
My Twitter for Contact: https://twitter.com/SimmerZozo --> @SimmerZozo :)

User avatar
igazor
Organizer
Reactions:
Posts: 17145
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

Question about tuning files!

Post by igazor » February 14th, 2023, 9:54 pm

SimmerZozo - Those entries aren't following the correct syntax. I believe they should look like these:

<kRenameFood value="False" />
<kChangeFoodQuality value="False" />

The "Cooking" command is for the cheats console to tell the game where to apply the code that follows, but it's not for the XML tuning file.

User avatar
SimmerZozo
Reactions:
Posts: 10
Joined: February 4th, 2023, 2:08 pm

Question about tuning files!

Post by SimmerZozo » February 15th, 2023, 10:17 am

Ok so I copy the text but it still does not work. I still got the pop up for the rename thingy?
My Twitter for Contact: https://twitter.com/SimmerZozo --> @SimmerZozo :)

User avatar
igazor
Organizer
Reactions:
Posts: 17145
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

Question about tuning files!

Post by igazor » February 15th, 2023, 10:44 am

Let's review all the steps, then.

You have downloaded the tuning file, opened it in S3PE, and using the Notepad function added the two lines above in the section called Current_Tuning at the top where the other three similar lines already are. Then saved changes and placed this Tuning file into Mods\Packages alongside of the original mod being sure not to have any other tuning files for this same mod. And you have cleared (deleted) the scriptCache.package file before staring up the game.

All correct? If so, this should work.

User avatar
SimmerZozo
Reactions:
Posts: 10
Joined: February 4th, 2023, 2:08 pm

Question about tuning files!

Post by SimmerZozo » February 15th, 2023, 10:47 am

<?xml version="1.0" encoding="utf-8"?>
<base>
<Current_Tuning>
<kShowRecipeMenu value="True" />
<kShowMissingIngredients value="False" />
<kPromptNumServings value="False" />
<kRenameFood value="False" />
<kChangeFoodQuality value="False" />

Is this order correct?
My Twitter for Contact: https://twitter.com/SimmerZozo --> @SimmerZozo :)

User avatar
igazor
Organizer
Reactions:
Posts: 17145
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

Question about tuning files!

Post by igazor » February 15th, 2023, 11:41 am

That looks correct to me. I can test these changes in my own game, as I haven't actually done that yet, but other similar changes I have made there have worked. It won't be right away because of other constraints on my time right now, though...possibly by tomorrow.

And to confirm, you have cleared the scriptCache after having made these changes and verified that the edited file is indeed the one in your game folder and not a spare copy? (common mistakes to make with tuning files)

User avatar
SimmerZozo
Reactions:
Posts: 10
Joined: February 4th, 2023, 2:08 pm

Question about tuning files!

Post by SimmerZozo » February 15th, 2023, 11:51 am

Hii yes I did the tuning file in my mod folder. Not elsewhere. And yes I delete the usual 5 caches.

Sure tomorrow sounds good. I've been trying to get it work for awhile xD
My Twitter for Contact: https://twitter.com/SimmerZozo --> @SimmerZozo :)

Post Reply