Post by Leniad on Mar 25, 2017 22:16:35 GMT -5
This tutorial assumes you have the following: Sims4Studio, a text editor program (wordpad,notepad,word etc.)
and some photo editor to create your images in .dds or .png format.
This is not for the faint of heart and can get confusing, so take your time.
This is set up for the way I work and I have tried to be clear, but I think you can figure it out if I missed something.
I have used Wooden Helicopter recipes.
Basically I take the name of the toy I am making and replace the name in this document with the new name.
Examples of what I mean:
If I start with Car and want to make Truck
Car0 becomes Truck0
recipe_Woodwork_Toy_LeniadWoodenSportsCar0 becomes recipe_Woodwork_Toy_LeniadWoodenTruck0
etc.
EA suggests naming convention beginning with YOUR user name, so replace Leniad with your name.
Create a copy of this text file and change the name, to your own food name.
Then working in the copy make changes in the document as you make them.
Comments are within ( ) so don't use that text in number generation or code replacement.
When I say instance number I mean KEY instance number.
I make all the text changes for a section, then make the changes in Sim4Studio then move to next section.
I copy the HASH section names and numbers and insert in the bottom of the section I am working,
so I don't have to scroll up and down the page 100 times.
------------------------------------------------------------------------------------------------------------------
CLONE SECTION
Open Sims4Studio and choose selective clone, under Object button, type the name of the toy you want to make.
Create clone of toy Car with Sims4Studio
Name Clone 0Toy_WoodenSportsCar1
Next extract the recipe from WoodenHelicopter1
3771190847<!--recipe_Woodwork_Toy_LeniadWoodenHelicopter1.xml
--------------------------------------------------------------------------
HASH section
Returning to the new object 0Toy_WoodenSportsCar1
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 toy name in the names below, then add text to hash generator to get YOUR numbers.
LeniadToy_WoodenSportsCar1 hex32 = 00000000E3814D5F dec32 = 3816901983
recipe_Woodwork_Toy_LeniadWoodenSportsCar1 hex32 = 00000000C2BE1A8B dec32 = 3267238539
WoodenSportsCar1_name 0xB56F7A0B hex32 value of WoodenSportsCar1_name
value = Wooden Toy Sports Car 1
LeniadWoodenSportsCar1_phase_interaction_name 0x9C1995AD hex32 value of LeniadWoodenSportsCar1_phase_interaction_name
value = Craft Wooden Sports Car
LeniadWoodenSportsCar1_recipe_description 0x2B7D08DE hex32 value of LeniadWoodenSportsCar1_recipe_description
value = A lovely wooden toy Sports Car for your child.
---------------------------------------------------------------------------------
OBJECT DEFINITION
In the 0Toy_WoodenSportsCar1
On the Warehouse Tab
object definition - Leniad_toyHandSmallGENCar_201612031830484314_set1 (only object in clone)
Change randomly generated instance number to 00000000E3814D5F and name to LeniadToy_WoodenSportsCar1
Makes sure Group (data above instance) is 00000000
Change Object Catalog instance to 00000000E3814D5F
Makes sure Group (data above instance) is 00000000
change tuning to object_toyHandSmallGENCar_01
tuningid 36897
Save
------------------------------------------------------------------------
OBJECT CATALOG
Go to Tags
Edit items
Remove ALL Buy... tags to prevent showing in Buy mode
Scroll down to Unused2 and unclick any that are checked.
Save
------------------------------------------------------------------------
RECIPE FILE RENAMING
Go to extracted file
recipe_Woodwork_Toy_LeniadWoodenHelicopter1.RecipeTuning.xml etc. and alter the name (replacing with your recipe names and numbers above)to
EB97F823!00000000!00000000E0C7CE3F.recipe_Woodwork_Toy_LeniadWoodenHelicopter1.RecipeTuning.xml
becomes
EB97F823!00000000!00000000C2BE1A8B.recipe_Woodwork_Toy_LeniadWoodenSportsCar1.RecipeTuning.xml
(First part of name is type, group, followed by hex64 of name, then name)
Open 0Toy_WoodenSportsCar1 in Sims4Studio and import the recipe file
Move to the Studio tab change the name to Wooden Toy Sports Car, Price to 1
Change description to A homemade wooden toy Sports Car. Recipe by Leniad derived from K9DB
Save
------------------------------------------------------------------------------------------------
STRING TABLE
We begin with String Table English.
Highlight line and in data tab on right select Entries/ Edit Items (Adding numbers for WoodenSportsCar1_name etc. calculated above)
Add a new entry with key FD872693 value = Wooden Toy Sports Car 1
Add a new entry with key 9C1995AD value = Craft Wooden Sports Car
Add a new entry with key 2B7D08DE value = A lovely wooden toy Sports Car for your child.
Hit save at bottom of popup
-------------------------------------------------------------------------------------------------
ALTERING RECIPE
Open recipe_Woodwork_Toy_LeniadWoodenHelicopter1 Recipe Tuning file, go to Data Tab and change name to
recipe_Woodwork_Toy_LeniadWoodenSportsCar1
go to XML tab
Make the following changes
ln2 n="recipe_Woodwork_Toy_LeniadWoodenSportsCar1" s="3267238539"> (s = Dec32 value recipe_Woodwork_Toy_LeniadWoodenSportsCar1)
ln47 n="_retail_price">50
ln68 n="definition">3816901983<!--decimal32_value_of_LeniadToy_WoodenSportsCar1-->
ln103 n="name">0xFD872693<!--hex32 value of WoodenSportsCar1_name in string table-->
ln104 n="phase_interaction_name">0x9C1995AD<!--hex32 value of LeniadWoodenSportsCar1_phase_interaction_name in string table-->
ln106 n="recipe_description">0x2B7D08DE<!--hex32 of LeniadWoodenSportsCar1_recipe_description in string table
ln113 <T n="lower_bound">3<!--sets available for crafting lvl 3 or higher--></T>
Save
------------------------------------------------------------------------------------------
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
Pull dec 32 value of recipe instance, format like below.
<T>3267238539<!--Recipe: recipe_Woodwork_Toy_LeniadWoodenSportsCar1--></T>
Add a snippet tuning, tutorial on that is posted HERE.
And see how it works.
and some photo editor to create your images in .dds or .png format.
This is not for the faint of heart and can get confusing, so take your time.
This is set up for the way I work and I have tried to be clear, but I think you can figure it out if I missed something.
I have used Wooden Helicopter recipes.
Basically I take the name of the toy I am making and replace the name in this document with the new name.
Examples of what I mean:
If I start with Car and want to make Truck
Car0 becomes Truck0
recipe_Woodwork_Toy_LeniadWoodenSportsCar0 becomes recipe_Woodwork_Toy_LeniadWoodenTruck0
etc.
EA suggests naming convention beginning with YOUR user name, so replace Leniad with your name.
Create a copy of this text file and change the name, to your own food name.
Then working in the copy make changes in the document as you make them.
Comments are within ( ) so don't use that text in number generation or code replacement.
When I say instance number I mean KEY instance number.
I make all the text changes for a section, then make the changes in Sim4Studio then move to next section.
I copy the HASH section names and numbers and insert in the bottom of the section I am working,
so I don't have to scroll up and down the page 100 times.
------------------------------------------------------------------------------------------------------------------
CLONE SECTION
Open Sims4Studio and choose selective clone, under Object button, type the name of the toy you want to make.
Create clone of toy Car with Sims4Studio
Name Clone 0Toy_WoodenSportsCar1
Next extract the recipe from WoodenHelicopter1
3771190847<!--recipe_Woodwork_Toy_LeniadWoodenHelicopter1.xml
--------------------------------------------------------------------------
HASH section
Returning to the new object 0Toy_WoodenSportsCar1
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 toy name in the names below, then add text to hash generator to get YOUR numbers.
LeniadToy_WoodenSportsCar1 hex32 = 00000000E3814D5F dec32 = 3816901983
recipe_Woodwork_Toy_LeniadWoodenSportsCar1 hex32 = 00000000C2BE1A8B dec32 = 3267238539
WoodenSportsCar1_name 0xB56F7A0B hex32 value of WoodenSportsCar1_name
value = Wooden Toy Sports Car 1
LeniadWoodenSportsCar1_phase_interaction_name 0x9C1995AD hex32 value of LeniadWoodenSportsCar1_phase_interaction_name
value = Craft Wooden Sports Car
LeniadWoodenSportsCar1_recipe_description 0x2B7D08DE hex32 value of LeniadWoodenSportsCar1_recipe_description
value = A lovely wooden toy Sports Car for your child.
---------------------------------------------------------------------------------
OBJECT DEFINITION
In the 0Toy_WoodenSportsCar1
On the Warehouse Tab
object definition - Leniad_toyHandSmallGENCar_201612031830484314_set1 (only object in clone)
Change randomly generated instance number to 00000000E3814D5F and name to LeniadToy_WoodenSportsCar1
Makes sure Group (data above instance) is 00000000
Change Object Catalog instance to 00000000E3814D5F
Makes sure Group (data above instance) is 00000000
change tuning to object_toyHandSmallGENCar_01
tuningid 36897
Save
------------------------------------------------------------------------
OBJECT CATALOG
Go to Tags
Edit items
Remove ALL Buy... tags to prevent showing in Buy mode
Scroll down to Unused2 and unclick any that are checked.
Save
------------------------------------------------------------------------
RECIPE FILE RENAMING
Go to extracted file
recipe_Woodwork_Toy_LeniadWoodenHelicopter1.RecipeTuning.xml etc. and alter the name (replacing with your recipe names and numbers above)to
EB97F823!00000000!00000000E0C7CE3F.recipe_Woodwork_Toy_LeniadWoodenHelicopter1.RecipeTuning.xml
becomes
EB97F823!00000000!00000000C2BE1A8B.recipe_Woodwork_Toy_LeniadWoodenSportsCar1.RecipeTuning.xml
(First part of name is type, group, followed by hex64 of name, then name)
Open 0Toy_WoodenSportsCar1 in Sims4Studio and import the recipe file
Move to the Studio tab change the name to Wooden Toy Sports Car, Price to 1
Change description to A homemade wooden toy Sports Car. Recipe by Leniad derived from K9DB
Save
------------------------------------------------------------------------------------------------
STRING TABLE
We begin with String Table English.
Highlight line and in data tab on right select Entries/ Edit Items (Adding numbers for WoodenSportsCar1_name etc. calculated above)
Add a new entry with key FD872693 value = Wooden Toy Sports Car 1
Add a new entry with key 9C1995AD value = Craft Wooden Sports Car
Add a new entry with key 2B7D08DE value = A lovely wooden toy Sports Car for your child.
Hit save at bottom of popup
-------------------------------------------------------------------------------------------------
ALTERING RECIPE
Open recipe_Woodwork_Toy_LeniadWoodenHelicopter1 Recipe Tuning file, go to Data Tab and change name to
recipe_Woodwork_Toy_LeniadWoodenSportsCar1
go to XML tab
Make the following changes
ln2 n="recipe_Woodwork_Toy_LeniadWoodenSportsCar1" s="3267238539"> (s = Dec32 value recipe_Woodwork_Toy_LeniadWoodenSportsCar1)
ln47 n="_retail_price">50
ln68 n="definition">3816901983<!--decimal32_value_of_LeniadToy_WoodenSportsCar1-->
ln103 n="name">0xFD872693<!--hex32 value of WoodenSportsCar1_name in string table-->
ln104 n="phase_interaction_name">0x9C1995AD<!--hex32 value of LeniadWoodenSportsCar1_phase_interaction_name in string table-->
ln106 n="recipe_description">0x2B7D08DE<!--hex32 of LeniadWoodenSportsCar1_recipe_description in string table
ln113 <T n="lower_bound">3<!--sets available for crafting lvl 3 or higher--></T>
Save
------------------------------------------------------------------------------------------
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
Pull dec 32 value of recipe instance, format like below.
<T>3267238539<!--Recipe: recipe_Woodwork_Toy_LeniadWoodenSportsCar1--></T>
Add a snippet tuning, tutorial on that is posted HERE.
And see how it works.