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!
Quick Reply
Search this Thread
Lab Assistant
Original Poster
#1 Old 27th Sep 2014 at 2:16 AM
Default Ading custom interaction
I've made a custom interaction resource that works ok when it replaces the some of the game's interaction instance like n="DebugEmotionIntensity_Angry" s="8268"
But when I try to give a new instance id using the rules from the TS4_Custom_Content_Guide it won't show up in the game (i'm using a FNV64 with high bit set rule as id).

It's like
(working package with single resource)
Res id E882D22F_00000000_000000000000204C
<I m="interactions.base.super_interaction" n="DebugEmotionIntensity_Angry" s="8268" c="SuperInteraction" i="interaction">
my interaction
</i>

(not working package with single resource even with TS4_Custom_Content_Guide example's name and hash id)
Res id E882D22F_00000000_A586620A4681B704
<I i="interaction" n="typewriterNovelist_Reminisce" c="SuperInteraction" m="interactions.base.super_interaction" s="11927328459409438468">
my interaction
</i>

Am i missing something ? A DATA resource is needed for a custom interaction ?
Advertisement
Sir Not Appearing In This Film
#2 Old 27th Sep 2014 at 2:40 AM
I ran your instance ID (A586620A4681B704) through several hex to dec converters and most gave 11927328459409439000 as the result, only 1 gave 11927328459409438468. Not sure where the error lies there...

EDIT: Now I've found one that gives 11927328459409438420 as the result.

Maybe try going simpler. Some of my unlocked objects needed their tuning tweaked a bit, what I did was use an FNV32 hash and leave the first 4 bytes set to 0. Something like 000000001950B766 is "s=424720230" That has worked for me. But I don't have much experience with tuning mods, so this could be completely irrelevant and I'm just wasting your time.
Lab Assistant
#3 Old 27th Sep 2014 at 11:22 AM Last edited by Fogity : 27th Sep 2014 at 1:44 PM.
Snaitf: the reason you get those other numbers is because those converters can't handle ulong numbers correctly and therefore looses precision. The problem does not lie there.
Edit: I added the functionality to my Hasher tool, can be found here: http://www.den.simlogical.com/denfo....php?topic=3279

morgade: There should not be a DATA resource to accompany your interaction. Sadly I can't help you as I have not looked into interactions. Have you got the setup for tuning mods working properly?
Lab Assistant
Original Poster
#4 Old 27th Sep 2014 at 1:01 PM
I figured out the problem. I was creating a Sim "self" action, but its id had to added to the "_super_affordances" TunnableList into the default "sim_object" (B61DE6B4_00000000_0000000000003A75) to appear in the sim pie menu.

This actually sucks, because I have to replace the entire sim_object resource just to add the interaction. Is there a way to make something like an "aditive" tunning resource to a default instance?
Back to top