Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

MTS Movie Night #4 - posted on 19th Feb 2018 at 4:46 PM
Replies: 9 (Who?), Viewed: 1287 times.
Test Subject
Original Poster
#1 Old 25th Jan 2018 at 5:10 PM
Default Modding For Sims 3 Custom Food/Ingredients/Harvestables
Hello all!

I was wondering if there was a tutorial already posted for making custom recipes/indredients/ and Harvestables - but especially the custom recipes. If there is any...would someone show me where it is please - and if there is...would someone be able to create and post it and flag me? I would really appreciate any help that anyone can give with these. I became a pro at making custom recipes with Sims 4 Studio - and I have scavenged the internet trying to find a tutorial for these things with sims 3, but there is only for SimPE and sims4studio.

Thank you for any help,

Laurenbell
Advertisement
Lab Assistant
#2 Old 25th Jan 2018 at 5:42 PM
CC loader http://modthesims.info/showthread.php?t=546986

never used myself but the creator of that tool has made harvestable palm trees, banana plant etc.
Test Subject
#3 Old 26th Jan 2018 at 4:02 PM
I asked this same/similar question a while back, and I was told the info was out there and given a thread link but, it wasn't as helpful as i would have wanted but they tried to help and that all i could have asked for so i'm grateful. I wanted a video and i knew that was asking a lot...lol But i did find this... it was posted here by mephistox . I hope this is helpful to you...


Custom Food Creation (Small Tutorial Included)

I'm not good at writing tutorial, more if I'm not a good user of the Tuning techniques, but i'll try to write the basics.

Making Custom Food

This lil' tutorial will explain how to create custom food for the sims game, by now this doesn't include custom meshes or 'add-on' recipes, so this only can be added as a default replacement. (Until someone creates a kind of script that allow to the users to put all the custom recipes in a folder.

Required Tools

- Sim3PE

STEP #1

With Sims3PE open the Gameplaydata.package from the Sims3 Dir (Well known by all of rookies modders :p) and look for the RecipeMasterList.xml. Here you will find all the recipes from the game.

The recipes can contain the following arguments. (Really don't know how to call them, i mean what goes in <>):

<Recipe_Key> : Key or codename of the recipe in the code.
<Recipe_Name> : Name of the Recipe, used by the STBL
<Recipe_Description> : Description of the recipe
<Recipe_Class> : XML class of the recipe.

Now a break, this last one is really important, because this will be the coded string that the interpreter will read, so for example, if you make a recipe called 'MahiMahi', this will be the name to use to create the 'recipe' class.

Now, all the other <Code> are easily understable, and there are some that i don't know what are used for, so let's pass them, you can play with them to see what its the result. (again mostly of them are well defined to the function or purspose, ex. Skill, level, etc).
------

Now, i suggest you, to make a try, copy the spaguetti recipe and put it at the end of the last recipe, and of course, above the </RecipeMasterList>.

And change the following, let's imagine we will create a Risotto recipe.

Code:
<Recipe_Key>MephRisotto</Recipe_Key>

<Recipe_Name>MephRisottoName</Recipe_Name>

<Recipe_Description>MephRisottoDesc</Recipe_Description>

<Recipe_Class>MephRisotto</Recipe_Class>


As a suggestion, use the same string for the <Recipe_key> and the <Recipe_Class>

I'm using my name as a prefix, just to avoid 'future' conflicts, now, the most important part is the Recipe_Class, remember?.

Also, you can change the ingredients, just adding the following ordinal number to the bracket.

Code:
<Ingredient_1>Tomato</Ingredient_1>

<Ingredient_2>Cheese</Ingredient_2>

<Ingredient_3>Egg</Ingredient_3>


You can put 2 Types of generics: 'Fruit' and 'Vegetable', so it will take any fruit or vegetable and not a specific one.

And as i said, try to play with the others variables to check the result, finally Save the XML.
----

STEP #2

Now we need to create the recipeclass, where it will show all the processes like the meshes that will apear on the cutting board, the things that will appear in the plate, the cartons that will pour, etc.

Let's create a new XML.

- Type => _XML 0x0333406C
- Group => 0

Now, remember that name that i said you remember? (MephRisotto), put it on the NameBox of the Add XML window, then use the FNV64 generator to add the instance automatcly.

This step is very important, because if you don't do this, the interpreter won't find the class that you defined before and instead of 'things' a lot of black balls will appear on your cuttinb board, and your sims will make weird things while cooking this recipe.

An example as images:




-------

Well, now that we have and empty recipe class, we need to take some help (because is really complex to define the recipe process from scratch. Lets find the Spaguetti class.

Find the Spaghetti class in the GamePlayData.package and copy all the content and paste it on the Last XML we created (The Risotto one), and save.

Finally, change the first and last tag that puts spaguetti for your recipe key.

These ones need to be changed
<Spaghetti>
</Spaghetti>
----

In this new content are defined the different processes that happens when cooking (take a pot put things, using the cutting board, pour from a carton...etc), so again, play around and try to change the values from the different recipes found in the Gameplaydata.package.

STEP #3

Finally, you just need to create the STBL files to create the different strings that will appear in the game.
To achieve this, you can follow the Localization tutorial from here in combo with Twallan's Unstranslated key.

If you have problems with the recipe creation you can give a check at my .package file in the first post or ask, maybe i can give a hand.
---------------------


PD: Again, this isn't a real real tutorial, just a few steps to try to create new recipes. The Most important thing to not get the 'black ball's is the creation of the hashkey that i mention before.
Test Subject
#4 Old 26th Jan 2018 at 4:08 PM
You also might wanna try reaching out to icemunmun ,SimsMatthew, douglasveiga, Cinderellimouse, or Arsil they were successful at making many wonderful custom recipes with custom havestable, i dont know of anyone else that has custom recipes out there, but i'm sure it's possible thought .... I hope this helps!
MakeNeedsStaticOn
staff: super moderator
#5 Old 26th Jan 2018 at 6:49 PM
Test Subject
#6 Old 8th Feb 2018 at 12:51 PM
Hello lauren bell16..... i was wondering if you had located any new info about the food or harvestables..............
Forum Resident
#7 Old 8th Feb 2018 at 3:48 PM Last edited by douglasveiga : 8th Feb 2018 at 5:44 PM.
Additional instructions about how to clone (and rename) recipe's model to make the game recognize it in the recipe XML data file.

Step 1
Link to the ModelInstanceKeyHash Tool


Step 2
The Spaghetti Template package is attached to this post


Step 3


Step 4


Step 5


Step 6


Step 7
Screenshots
Download - please read all instructions before downloading any files!
File Type: zip TemplateSpaghetti.zip (610.5 KB, 3 downloads) - View custom content
File Type: zip TemplateApple.zip (430.7 KB, 3 downloads) - View custom content
Instructor
#8 Old 8th Feb 2018 at 5:12 PM
@douglasveiga

Not the OP, but thanks for these detailed instructions! Do they work for ingredients and plants too?

Own Grandma's Canning Station? Check out the Canning Station Overhaul.
Like doing laundry? Check out the Infinite Laundry Buffs Fix.
Forum Resident
#9 Old 8th Feb 2018 at 5:19 PM Last edited by douglasveiga : 8th Feb 2018 at 5:54 PM.
(Sorry about the double post)
Additional Info
1 - I explained how to clone and rename models for new recipes but I didn't told you how to extract them from the game, that is why I provided a template recipe package.
Use the template recipe package to create all the recipes you want, just keep cloning and renaming the model as you need.

2 - After cloning and/or renaming your model, you will be able to edit them in TSR Workshop because the recipe is an object.
However, after exporting the package from TSR Workshop, you must repeat the steps to change the model's instance value because the workshop will automatic change it
and the game won't load the model anymore.

Quote:
Originally Posted by Butterbot
@douglasveiga
Not the OP, but thanks for these detailed instructions! Do they work for ingredients and plants too?


Yes, it works for ingredients but you need a ingredient template package. I attached a TemplateApple for cloning.

Not sure about it, but I guess you don't need to follow these steps for plants because they are normal objects in the game,
so you just need to clone the plant in S3OC and create a new NGMP file and insert a new "FNV hashed plantkey value" <=> "OBJD instance value" pair.
Test Subject
#10 Old 8th Feb 2018 at 6:56 PM
OMG! YOU ARE AWESOME! this is more then i could have asked for! thank you thank you thank you!
Back to top