|
Post by savanahdm on Jun 15, 2019 1:22:30 GMT -5
I know this may be weird, but the way sims show love is different from how we do. And as someone who loves realism. I would like to be able to change some of those bland interactions. Such as simply changing the text of "Express Admiration" to "Say "I love you". I know there is a way to change interactions with objects, but im not sure if its that same process. Anyone who could give a link or tutorial or even a yes or no if it can be done? Thanks!
|
|
|
Post by Basemental on Jun 20, 2019 7:25:18 GMT -5
Yes. It can be done, and it's not that hard, even without much prior knowledge to creating tuning mods.
First of all you need to find the social mixer interaction you are going to change the text in.
* Create an empty package in S4S * Extract tuning, search for "Express Admiration", add the correct social mixer interaction to your empty package
Now you need to find the String Table entries for the interaction.
* Scroll down the social mixer interaction until you find the <T n="display_name">0x12341234<!--String: Express Admiration--></T> part. (mind you, I am not having S4S in front of me right now so the 0x part is just an example
The <T n="display_name"></T> bit is the code for the display name of the interaction The 0x12341234 bit is the hash for the string table entry, ie. where the "Express Admiration" text is stored The <!--String: Express Admiration--> bit is just notes that aren't part of the actual tuning, but for easier means of navigating through it when you are working on it.
So, what you need to alter is the hash for the string table entry, that is the 0x12341234 bit. One way of achieving that is to override the exact string table entry with a new and custom one.
First of all, let's set up some new String Tables for all languages.
* Open the Hash Generator, and in the text field, type in something like: savanahdm:express_admiration_stringTables * This will generate a FNV32 and FNV64 Hexadecimal value underneath. Copy the FNV64 Hexadecimal value and close the hash generator * Click the "Add" button at the bottom left hand corner of S4S * Scroll down until you find StringTable, select that. Leave the "Group" field as is, and in the "Instance" field, paste your copied FNV64 Hexadecimal value * At the top menus of S4S, go to Tools > Modding > "Copy String Tables to all Languages" * Delete the String Table with no flag in front of it by selecting it and hitting "Delete" at the bottom of S4S
Now it's time to override that 0x12341234 String Table entry.
* Click on the String Table file with the US flag. * In the window on the right hand side of the screen you'll see "Entries" - Click the "Edit Items" at the right of that. * Click "Add" * Change the key to the numbers from the 0x12341234 string you found in the interaction, but skip the 0x part. Meaning, only 12341234 * Add in your new custom text underneath, going by your example that would be: I Love You * Click Save * Go to Tools > Modding > "Copy String Tables to all Languages" again (this will make sure the string table is overridden in all languages.
Now, it's time to finalize the package. First you should make sure you aren't overriding files that doesn't need to be overridden, like that social mixer interaction we added to the package earlier. Even though you haven't made any direct changes to that tuning file, if it's in your package and there is an update to the game that alters that particular file your package might cause issues with the game.
* Select the Express Admiration social mixer interaction in your package, hit the Delete button at the bottom of S4S to delete it * Save your package by clicking "Save" at the bottom right hand corner of S4S * Drag your package into your Mods folder.
That should do the trick. Now you don't do any crucial overrides of anything apart from the "Express Admiration" text, which should now read "I Love You" instead.
|
|