Post by foamimi on Jan 10, 2018 22:44:25 GMT -5
I'm in the process of making a Woohoo/TryforBaby Interaction Hider, and I'm at a standstill. My goal is to hide the pie picker options until at least one of the sims is experiencing a specific emotion, like flirty for example. So far I've successfully hidden all the object specific interactions like when clicking on closets, beds, etc. but I can't seem to figure out how to edit the xml coding to hide the interactions for when your sim clicks on another sim.
There seems to be 3 types of xml code layouts for 3 types of interactions;
- interaction/bed_woohoo
- interaction/bed_woohoo_picker
- interaction/generic_bedwoohoo
for all of the picker specific categories, I replaced this:
with this (not counting a bunch of other emotions, this is just to keep it short and more to the point):
.. and it worked great! However, when I tried to use the same code layout for the interaction/bed_woohoo and interaction/generic_bedwoohoo xml categories, that's when things went south and got pretty confusing for me. I'm not sure where to place that chunk of code, how many times I need to place it, or whether or not I need another selection of text on top of that. Orrrrr if I need to use something else entirely?
I tried this as a hopeful alternative, but didn't have any success. ;;
I'm not really familiar with coding, plus this is my first ever mod so I'm pretty clueless on the etiquette of placement and whatnot.
Any help on what my next steps should be or rearrangement ideas would be much appreciated!
There seems to be 3 types of xml code layouts for 3 types of interactions;
- interaction/bed_woohoo
- interaction/bed_woohoo_picker
- interaction/generic_bedwoohoo
for all of the picker specific categories, I replaced this:
<V t="mood">
<U n="mood">
<T n="disallow">True</T>
<T n="mood">14643<!--Mood_Sad--></T>
<V n="tooltip" t="enabled">
<T n="enabled">0xD3FBB440<!--{0.SimFirstName} is too Sad to do this!--></T>
</V>
</U>
</V>
<V t="mood">
<U n="mood">
<T n="disallow">True</T>
<T n="mood">14632<!--Mood_Angry--></T>
<V n="tooltip" t="enabled">
<T n="enabled">0x630A426D<!--{0.SimFirstName} is too Angry to do this!--></T>
</V>
</U>
</V>
with this (not counting a bunch of other emotions, this is just to keep it short and more to the point):
<V t="mood">
<U n="mood">
<T n="disallow">True</T>
<T n="mood">14643<!--Mood_Sad--></T>
</U>
</V>
<V t="mood">
<U n="mood">
<T n="disallow">True</T>
<T n="mood">14632<!--Mood_Angry--></T>
</U>
</V>
.. and it worked great! However, when I tried to use the same code layout for the interaction/bed_woohoo and interaction/generic_bedwoohoo xml categories, that's when things went south and got pretty confusing for me. I'm not sure where to place that chunk of code, how many times I need to place it, or whether or not I need another selection of text on top of that. Orrrrr if I need to use something else entirely?
I tried this as a hopeful alternative, but didn't have any success. ;;
<V t="mood">
<U n="mood">
<L n="blacklist">
<T n="mood">14632<!--Mood_Angry--></T>
<T n="mood">14643<!--Mood_Sad--></T>
</L>
</U>
</V>
I'm not really familiar with coding, plus this is my first ever mod so I'm pretty clueless on the etiquette of placement and whatnot.
Any help on what my next steps should be or rearrangement ideas would be much appreciated!