|
Post by AlainBM on Jul 16, 2020 13:50:10 GMT -5
Hi! I made an interaction that adds a buff, but I want this one to show up only for those sims who are in a romantic relationship. I don't know how to add that specific test. Can someone help? Thanks❤
|
|
|
Post by MizoreYukii on Jul 16, 2020 15:27:29 GMT -5
In your interaction...I think under the buff? I don't remember, actually might be easier to add it to your loot if the buff is added by loot, try adding this testset I found. It seems to cover all the romantic options, even the ones before BF/GF, so you don't have to specify multiple. 7df2169c!00000000!0000000000006d1e.testSet_RomanceSocialsAutonomous.snippet.xml ID 27934. Could also try this one? 7df2169c!00000000!0000000000009b41.TestSet_RelationshipBasedSocialAvailability_MarriedOREngagedORBoyfriendORGirlfriend.snippet.xml<?xml version="1.0" encoding="utf-8"?> <I c="TestSetInstance" i="snippet" m="event_testing.tests" n="testSet_RomanceSocialsAutonomous" s="27934"> <L n="test"> <L> <V t="social_context"> <U n="social_context"> <L n="required_set"> <T>24078<!--SocialContextBit: relbit_SocialContext_Romance_Suggestive--></T> </L> </U> </V> </L> <L> <V t="social_context"> <U n="social_context"> <L n="required_set"> <T>24076<!--SocialContextBit: relbit_SocialContext_Romance_Amorous--></T> </L> </U> </V> </L> <L> <V t="social_context"> <U n="social_context"> <L n="required_set"> <T>24080<!--SocialContextBit: relbit_SocialContext_Romance_Steamy--></T> </L> </U> </V> </L> <L> <V t="relationship"> <U n="relationship"> <U n="required_relationship_bits"> <L n="match_any"> <T>15816<!--RelationshipBit: romantic-Engaged--></T> <T>15822<!--RelationshipBit: romantic-Married--></T> <T>15825<!--RelationshipBit: romantic-Significant_Other--></T> <T>10150<!--RelationshipBit: romantic_FirstKiss--></T> <T>15818<!--RelationshipBit: romantic-GettingMarried--></T> <T>34619<!--RelationshipBit: romantic-HaveDoneWooHoo--></T> <T>15811<!--RelationshipBit: romantic-Broken_Up--></T> <T>15815<!--RelationshipBit: romantic-Divorced--></T> </L> </U> </U> </V> </L> <L> <V t="mood"> <U n="mood"> <T n="mood">14638<!--Mood: Mood_Flirty--></T> </U> </V> </L> <L> <V t="relationship"> <U n="relationship"> <U n="relationship_score_interval"> <T n="lower_bound">10</T> </U> <L n="target_sim"> <E>Listeners</E> </L> <T n="track">16651<!--RelationshipTrack: LTR_Romance_Main--></T> </U> </V> </L> </L> </I>
|
|
|
Post by AlainBM on Jul 16, 2020 17:15:53 GMT -5
|
|
|
Post by AlainBM on Jul 20, 2020 18:41:31 GMT -5
Hi MizoreYukii , sorry to bother you, but it's not working, this is what I did: <?xml version="1.0" encoding="utf-8"?> <I c="LootActions" i="action" m="interactions.utils.loot" n="AlainBardelas:loot_SD" s="17404512037298337131"> <L n="loot_actions"> <V t="buff"> <U n="buff"> <U n="buff"> <V n="buff_reason" t="enabled"> <T n="enabled">0x6DDE2519</T> </V> <T n="buff_type">11045280375943944999<!--AlainBardelas:buff_FD--></T> </U> <L n="tests"> <L> <V t="test_set_reference"> <T n="test_set_reference">39745<!--TestSet_RelationshipBasedSocialAvailability_MarriedOREngagedORBoyfriendORGirlfriend--></T> </V> </L> </L> </U> </V> </L> </I> Can you please tell me what I did wrong?😔
|
|
|
Post by MizoreYukii on Jul 22, 2020 10:03:09 GMT -5
Hmmm, what exactly about it isn't working? Is the buff not appearing at all? Is the test not working so all sims receive the buff?
|
|
|
Post by AlainBM on Jul 22, 2020 10:26:01 GMT -5
MizoreYukii no, I think the test is working 'cause the buff is not appearing at all. It doesn't matter if the sim is a boyfriend or a girlfriend, or if it's not. And the buff is okay cause it works without the test.
|
|
|
Post by MizoreYukii on Jul 22, 2020 11:02:55 GMT -5
So looking at it, I think the test_based_score is what is blocking your buff. Normally this testset is used in 2 socialmixer romance interactions and I believe this is saying they need to have flirted for a bit before these options are available. So try removing that (regardless it wouldn't be necessary for your test). You could also try removing/replacing the target_sim options as well if removing it doesn't work.
<V t="test_based_score_threshold"> <U n="test_based_score_threshold"> <T n="test_based_score">24566<!--TestBasedScore: scores_socialoutcomes_romance_availability--></T> <U n="threshold"> <T n="value">15</T> </U> </U> </V> You'll need to make the testset a custom one now of course, so it doesn't override the original.
|
|
|
Post by AlainBM on Jul 22, 2020 13:14:20 GMT -5
MizoreYukii I already did that, and nothing. I don't know what else can I do. And I'm using a married sim, so it should work. 😔
|
|
|
Post by MizoreYukii on Jul 22, 2020 18:47:25 GMT -5
Did you switch or remove the target_sim as well?
Maybe try adding the tests directly to the loot? I found this in an interaction.
<V t="buff">
<U n="buff">
<U n="buff_type">
<T n="buff_type">129283<!--Buff_Jealousy_Cheater--></T>
</U>
<L n="tests">
<L>
<V t="relationship">
<U n="relationship">
<U n="prohibited_relationship_bits">
<L n="match_any">
<T>15822<!--romantic-Married--></T>
<T>15825<!--romantic-Significant_Other--></T>
<T>15816<!--romantic-Engaged--></T>
<T>15818<!--romantic-GettingMarried--></T>
</L>
</U>
</U>
</V>
</L>
</L>
</U>
</V>
|
|
|
Post by AlainBM on Jul 22, 2020 18:51:15 GMT -5
MizoreYukii yes, I did. I removed it, I changed it to Actor, and nothing. And I also added it directly to the loot, like in that example but changing the "prohibited_relationship_bits" to "required_relationship_bits" and nothing.
|
|
|
Post by MizoreYukii on Jul 22, 2020 19:02:24 GMT -5
Hmmm....Well I'm stumped. It should work, there's no reason it shouldn't. All I can suggest is to double check everything, including your sims (were they married normally, or through MCCC? How high is their relationship?), sometimes it's always something small that escapes us. I'd also recommend adding the test or buff differently if you still can't get it to work, like adding the buff and test as a basic extra to your interaction (if it's an interaction).
|
|
|
Post by AlainBM on Jul 22, 2020 20:14:39 GMT -5
MizoreYukii Ok, I'll see if I can do something. Thank you so much for your help. Take care❤
|
|
|
Post by valse on Aug 20, 2023 9:53:42 GMT -5
This part used to work in my mod, but not anymore, did they change something? {Spoiler} <V t="relationship"> <U n="relationship"> <U n="relationship_score_interval"> <T n="lower_bound">70</T> <T n="upper_bound">100</T> </U> <T n="track">16651</T><!--Romance score--> <E n="subject">TargetSim</E> </U> </V>
|
|
|
Post by MizoreYukii on Aug 20, 2023 11:50:14 GMT -5
This part used to work in my mod, but not anymore, did they change something? {Spoiler} <V t="relationship"> <U n="relationship"> <U n="relationship_score_interval"> <T n="lower_bound">70</T> <T n="upper_bound">100</T> </U> <T n="track">16651</T><!--Romance score--> <E n="subject">TargetSim</E> </U> </V> Is that inside a loot, or something else? You need to give more details. I recommend making your own thread though, but no those haven't been changed last I saw.
|
|
|
Post by valse on Aug 20, 2023 15:46:02 GMT -5
This part used to work in my mod, but not anymore, did they change something? {Spoiler} <V t="relationship"> <U n="relationship"> <U n="relationship_score_interval"> <T n="lower_bound">70</T> <T n="upper_bound">100</T> </U> <T n="track">16651</T><!--Romance score--> <E n="subject">TargetSim</E> </U> </V> Is that inside a loot, or something else? You need to give more details. I recommend making your own thread though, but no those haven't been changed last I saw. Oh I put in a wrong place, now it's working. Thanks for the answer.
|
|