|
Post by SpinningPlumbobs on Sept 19, 2019 18:28:56 GMT -5
I'm currently having the most frustrating time trying to figure out how to get sims to stand and face each other for social mixer interactions. Even when using a "touching" animation, if the sims are sitting down, the interaction will simply auto-complete and trigger the loot actions. I have no idea how to change the required jig. I've tried assigning a custom SocialSuperInteraction for the actor_mixers on my custom trait, but that just results in the interaction not showing up at all. Does anyone have any advice?
|
|
|
Post by sigma1202 on Sept 19, 2019 19:09:17 GMT -5
try pasting this code inside your interaction XML, it should force sims to get up to interact
<L n="test_globals"> <V t="posture"> <U n="posture"> <L n="prohibited_postures"> <T>15535<!--posture_Sit--></T> </L> <E n="subject">TargetSim</E> </U> </V> </L>
|
|
|
Post by SpinningPlumbobs on Sept 21, 2019 17:36:45 GMT -5
try pasting this code inside your interaction XML, it should force sims to get up to interact <L n="test_globals"> <V t="posture"> <U n="posture"> <L n="prohibited_postures"> <T>15535<!--posture_Sit--></T> </L> <E n="subject">TargetSim</E> </U> </V> </L>
Unfortunately, this just prevents the interaction from showing up while the sim is sitting. :/ It doesn't prevent them from sitting down while the interaction is queued and executing anyway. Typically, you would need to add a constraint so the sim has to use the standing posture, but for some reason socialmixer interactions don't allow you to designate constraints.
|
|
|
Post by sigma1202 on Sept 21, 2019 20:55:04 GMT -5
Can you share the package with the interaction?
|
|
|
Post by naunakht on Apr 7, 2024 21:16:13 GMT -5
OK, so I've done a bunch of trial-and error-testing, and I have a solution. Well, two solutions actually, depending on whether or not you're using the XML injector. For this particular reply, I'll be demonstrating how to do this without the XML Injector (and without scripting).
So, when attaching social mixers to a trait or a buff, you add them as "actor mixers" at the top of the tuning file. This houses the social mixers inside a socialsuperinteraction. For Non-touching animations, you can use sim_Chat, and it'll work fine.
<?xml version="1.0" encoding="utf-8"?> <I c="Trait" i="trait" m="traits.traits" n="trait_OccultWerewolf_Temperaments_WrackedWithGuilt" s="285364"> <L n="actor_mixers"> <U> <T n="key">13998<!--SocialSuperInteraction: sim_Chat--></T> <L n="value"> <T>12448436219146266783<!--Naunakht:mixer_social_GuiltyWerewolf_BemoanCurse--></T> <T>16188275435265569401<!--Naunakht:mixer_social_GuiltyWerewolf_Apologize--></T> </L> </U> </L>
However, the affordance lists included inside sim_Chat are all of the nonTouching variety. If your social mixer includes touching, you need to house it inside a different socialsuperinteraction. I used the following, and got it to work:
<?xml version="1.0" encoding="utf-8"?> <I c="Trait" i="trait" m="traits.traits" n="Naunakht:trait_Hidden_HasHeardGuiltyWerewolfApology" s="13205165429115828091"> <L n="actor_mixers"> <U> <T n="key">13991<!--SocialSuperInteraction: sim_BeAffectionate--></T> <L n="value"> <T>9313290976735039861<!--Naunakht:mixer_social_GuiltyWerewolf_Reassure--></T> </L> </U> </L>
I'm sure OP figured this out by now because they're the SpinningPlumbobs of Expanded Mermaids fame, but I decided to post this anyway on the off chance that it helps someone.
|
|
|
Post by naunakht on Apr 7, 2024 21:23:45 GMT -5
Now for solution #2. If you're using the XML injector, you have to make sure your injector snippets are adding your social mixer to the correct affordance list. Mean, Friendly, Romantic, Funny, etc. interactions all have at least two affordance lists: one touching, and one non-touching. Dig around and make sure you've selected the correct one! <?xml version="1.0" encoding="utf-8"?> <I c="XmlInjector" i="snippet" m="xml_injector.snippet" n="Naunakht:Mean_NonTouching_PlantsimXml" s="10946559234907586541"> <L n="add_mixer_interactions"> <U> <L n="mixer_snippets"> <T>24511<!--social_Mixers_Mean_NonTouching--></T> </L> <L n="affordances"> <T>9640865779396678154<!--Naunakht:mixer_social_MockBeliefinPlantsims--></T> </L> </U> </L> </I>
vs. <?xml version="1.0" encoding="utf-8"?> <I c="XmlInjector" i="snippet" m="xml_injector.snippet" n="Naunakht:Mean_TouchingPlantSimXml" s="15454973245817125135"> <L n="add_mixer_interactions"> <U> <L n="mixer_snippets"> <T>24506<!--social_Mixers_Mean_Touching--></T> </L> <L n="affordances"> <T>10390774840246170533<!--Naunakht:mixer_social_DenouncePlantSims--></T> </L> </U> </L> </I>
|
|