Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
So, this is cool - Custom icons and tool-tips for CAS thumbnails.
First, take a look at the attached screenshot, and be impressed.
Ok, so here's a "brief" explanation of how I did it.
First, I noticed that the animal hats from the Deluxe edition (the ones with the icon over the thumbnail in CAS with a tool-tip) had a unique RK in their TGI list. The Type ID (0x0x6017E896) however was nowhere to be found. I looked in every .package file that came with the game, and nothing.
So, I looked for the Instance ID instead. And I found both a data file and an image file. Then, to test, I cloned an item, changed the first RK in the TGI list (the one that's all zero's), to the same Type and Group IDs as the animal hat, giving it a unique Instance ID.
I then exported the image and data file from the animal hat. Then I edited the data file and changed the references of icon and icon_highlight to the same unique Instance ID I created above. Then I imported both the data file and the image into my cloned item, giving them that same Instance ID as well. Tested it in the game, and sure enough, there was the icon on my cloned item's thumbnail, with the accompanying tool-tip.
Next, I opened the image in photo shop, and for some reason it just showed up as a small black square. I've noticed this happens with a lot of the small images I export from the .package files. Anyhow, I took the image I wanted to use, shrunk it to the same size as the 'black square' and copied it over it. Saved as a DDS, and re-imported. Then tested in game, and it worked. The icon now had the my image.
Now, in the data file, there were two references to keys in the STBL file. One was the buff_name (the top line of the tool-tip), and one was the buff_description (the bottom line). So, I gave each reference a unique key, and then created a STBL file with my 2 strings using those keys. (I made a new STBL with the same Type and Instance IDs as the original, but with a unique Group ID, so I didn't have to include the entire original STBL that might cause conflicts with other CC.)
And finally, I thought that my item might give the sad buff when worn because of the data file I had used, but for some reason it didn't, which was a good thing. But just to make certain, I edited the data file again and changed the refrences to audio_string_on_add, audio_string_on_remove, and mood_type to all zero's. I wanted to make sure I could use these files on any of my creations without them changing my sims moods.
Phew, that's a lot of work for a little icon, but if you decide to give it a go, I wish you luck and happy simming.
EDIT: Attached example, and could someone without the version with the animal hats please let me know if this works for them, thanks.
EDIT: Attached example updated to work in all languages (hopefully). Can someone confirm? Thanks...
EDIT: Ok, it seems that using the first RK in the TGI list (the one that's all zeros) can cause some items to crash, so, unfortunately, to do this properly, you need to insert a new RK into the TGI list, and then edit the mBuffResKey BYTE to point to your new RK. Currently, this requires hex editing your CASP file. The attached example has been updated.
Very nice discovery! A lot of creators will appreciate being able to personalize like this. I don't suppose you could upload the package as an example? Have you tested in a non-deluxe installation?
Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.
Visit my blogs for other Sims content: Online Sims - general mods for Sims 3 Offline Sims - adult mods for Sims 3 and Sims 4
Very nice discovery! A lot of creators will appreciate being able to personalize like this. I don't suppose you could upload the package as an example? Have you tested in a non-deluxe installation?
Example attached to first post, and no, I haven't tested with non-deluxe yet, hopefully someone without the animal hats will try this and let me know if it works for them.
Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.
Visit my blogs for other Sims content: Online Sims - general mods for Sims 3 Offline Sims - adult mods for Sims 3 and Sims 4
I have a trouble here.
my game is in Spanish and the file doesn't work correctly
I changed settings in windows registry to put my game in english and the file works fine.
I think the STBL file needs multi language support
I have a trouble here.
my game is in Spanish and the file doesn't work correctly
I changed settings in windows registry to put my game in english and the file works fine.
I think the STBL file needs multi language support
Hmm, thanks for letting me know, something I'll have to look into.
I've been trying for hours to figure this out but it seems that I can't even find the Type ID that you're saying was unique. So I looked for the unique instance ID and went through all the files and nothing even came up.