Contrary to reports, MTS is NOT compromised, and it IS safe to download from here. For more information, see this thread.
Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 3rd Nov 2024 at 5:51 PM
Default Creating a String Override Mod
Hello:

I'm trying to make my first mod using Sims 4 Studio. To get my feet wet, I decided to just make a simple string table replacement mod to customize some of the game strings to my liking. These strings may be in base game or other mods.

I created a string table with a unique identifier and add a string entry for the key I want to override. I can see the mod is loaded when I view loaded mods via the options screen. It's a package file only--no script.

My guess is that I need my custom strings to be applied last, and what's happening is that the game is applying my strings, and then some other string over it. Is there a way to control the order in which string tables are applied?
Advertisement
Test Subject
Original Poster
#2 Old 3rd Nov 2024 at 11:44 PM Last edited by rucifeld : 4th Nov 2024 at 12:00 AM.
I found out the issue! I was reading this tutorial:
https://sims4studio.com/thread/3653...ext-used-tuning

And the important thing I had done wrong was in step 2. It said copy all but the first 2 characters of the FNV64 field as the instance ID. I had copied the whole thing. But changing the first two characters of the StringTable's instance ID to 00 everything worked just fine! It overrides Base Game and Mod strings no problem.

Well, almost. The order that the mods load matters. I change to change the name of the package and the folder name to ensure my mod would be loaded after anything else that might have strings I want to change. So I just appended "ZZZ_" to my mod name and the package name to ensure that my strings have the final word (no pun intended).
Forum Resident
#3 Old 4th Nov 2024 at 3:56 AM
Glad you figured it out!

You can also use the Resource.cfg text file in the Mods folder to assign a specific file or folder higher load priority.
The Z trick is very nostalgic to me though, this was used in older modding communities for games that had no inbuilt way to manipulate load order (I know it from Zoo Tycoon 2- there were some mods with a hilarious amount of Z's in their determination to load last.)

Cardinal has been taken by a fey mood!
Back to top