Sie sind auf Seite 1von 4

Takes out spoon.

Here is how I made the coke.

Fill out your text file like this and see if it starts to make sense

-----------------------------------------------------------------------------------
-------------------------------
CLONE SECTION

Create clone of test can with Sims4Studio and import new mesh and texture
Name Clone 0Snack-CanOfCoke

Next extract the recipe file from beer (you can use coke recipe if you want)

EB97F823!00000000!DC30B22E3F159F7A.AOM_recipe_Beer.RecipeTuning
545AC67A!0097F8C8!DC30B22E3F159F7A.AOM_recipe_Drink_Beer.SimData

--------------------------------------------------------------------------
HASH section

Returning to the new object 0Snack-CanOfCoke


Let's find the hex numbers for names you will need. Replace "Leniad" with your own
name.
Using Sims4Studio tools select hash generator and copy the text into the text box.

Select Hexidecimal at bottom of popup - FNV32 is the Hex32 number FN64 is the Hex64
number.
When decimal numbers are required select decimal at bottom of popup.
You will need both hex and decimal numbers for some objects so be careful.
ONLY change the text Leniad and the food name in the names below, then add text to
hash generator to get YOUR numbers.

Leniad_Drink_Snack_CanOfCoke Hex32 = 00000000550C903E Dec32 =


1426886718
Leniad_recipe_Drink_Snack_CanOfCoke Hex64 = 9AC5D1B064F01893 Dec64 =
11152550607790807187

Leniad_Drink_Snack_CanOfCoke_name 0xAC68EFF4
hex32 value of Leniad_Drink_Snack_CanOfCoke_name

Leniad_Drink_Snack_CanOfCoke_phase_interaction_name Hex32 = 0x991C8027

---------------------------------------------------------------------------------
RECIPE FILE RENAMING

Go to extracted files
AOM_recipe_Beer.RecipeTuning.xml etc. and alter the name (replacing with your
recipe names and numbers above)to

EB97F823!00000000!DC30B22E3F159F7A.AOM_recipe_Beer.RecipeTuningxml
becomes
EB97F823!00000000!
9AC5D1B064F01893.Leniad_recipe_Drink_Snack_CanOfCoke.RecipeTuning.xml
(First part of name is type, group, followed by hex64 of name, then name)
545AC67A!0097F8C8!DC30B22E3F159F7A.AOM_recipe_Drink_Beer.SimData.xml
becomes
545AC67A!0097F8C8!9AC5D1B064F01893.Leniad_recipe_Drink_Snack_CanOfCoke.SimData.xml
(First part of name is type, group, followed by hex64 of name, then name)

Open 0Snack-CanOfCoke in Sims4Studio and import this file

Move to the Studio tab change the name to Coke,Price to 1


Change description to A refreshing soft drink. Recipes by Leniad

Save, close and reopen 0Snack-CanOfCoke in warehouse tab

-----------------------------------------------------------------------------------
-------------
STRING TABLE

We begin with String Table English.


Highlight line and in data tab on right select Entries/ Edit Items
Add a new entry with key AC68EFF4 (the hex32 value
Leniad_Drink_Snack_CanOfCoke_name
value Coke
Add a new entry with key 991C8027 (hex32 value of
Leniad_Drink_Snack_CanOfCoke_phase_interaction_name
value Get Coke
Add a new entry with key C230E9C2 (hex32 value of Manufactured in Willow Creek by
Bella Goth
value Manufactured in Willow Creek by Goth Industries

Hit save at bottom of popup

-----------------------------------------------------------------------------------
--------------
SINGLE OBJECT DEFINITION

Go to the Object Catalog with the same instance number as ObjectDefinition named
Leniad_foodBowlEatSingleGENChili_201611130326007604_set1
Change Object Catalog instance to 00000000550C903E (Hex32 of
Leniad_Drink_Snack_CanOfCoke)
Makes sure Group (data above instance) is 00000000

remove has meat tag

Change name of
Leniad_foodBowlEatSingleGENChili_201611130326007604_set1.ObjectDefinition.binary to

Leniad_Drink_Snack_CanOfCoke

Change Object Definition instance to 00000000550C903E (Hex32 of


Leniad_Drink_Snack_CanOfCoke)
Makes sure Group (data above instance) is 00000000

set tuning to object_drink_proteinShake and tuningid to 26424

Save

-----------------------------------------------------------------------------------
ALTERING RECIPE SINGLE

Open AOM:recipe_Drink_Beer Recipe Tuning file


go to XML tab
Make the following changes
ln2 n="Leniad_recipe_Drink_Snack_CanOfCoke" s="11152550607790807187"> (s =
Dec64 valueLeniad_recipe_Drink_Snack_CanOfCoke
ln54 crafted_by_text">0xC230E9C2<!--Manufactured in Willow Creek by Goth
industies in string table--></T>
ln75 n="definition">1426886718<!--Dec32 Leniad_Drink_Snack_CanOfCoke--></T>
ln89 n="name">0xAC68EFF4<!--hex32 value of Leniad_Drink_Snack_CanOfCoke_name in
string table-->
ln90 n="phase_interaction_name">0x991C8027<!--
Leniad_Drink_Snack_CanOfCoke_phase_interaction_name
ln99 n="restaurant_menu_icon_definition">1426886718<!--Dec32
Leniad_Drink_Snack_CanOfCoke--></T>

Save

-----------------------------------------------------------------------------------
------------
ALTERING SIM DATA

ln2 Leniad_recipe_Drink_Snack_CanOfCoke
ln8 name">0xAC68EFF4</T>
ln23 restaurant_menu_icon_definition">1426886718</T>

-----------------------------------------------------------------------------------
------------
ALTERING IMAGES

Export the DST images if you wish to alter in your photo editor program and
import .dds or .png images to replace

Save

-----------------------------------------------------------------------------------
TESTING

Copy the recipe name and id from line 2 of recipe and reverse them as below

<T>11152550607790807187<!--Recipe: Leniad_recipe_Drink_Snack_CanOfCoke--></T>

This is the recipe link for the snippet to link to fridge

Extract the snippet


7DF2169C!80000000!4D3832B601F5324C.Leniad_FoodEnablerSnack_CanOfCoke.SnippetTuning

Rename like this


7DF2169C!80000000!52130A4C71F02960.Akin_FoodEnablerSnack_CanOfRedBull.SnippetTuning

Import into pkg

open the snippet and only change name in data tab

Change Leniad_FoodEnablerSnack_CanOfCoke
to
Akin_FoodEnablerSnack_CanOfRedBull
Open XML tab and copy you snippet link from above into line 8

Das könnte Ihnen auch gefallen