- Feb 27, 2020
- 341
- 1,611
Only a little bit, but I bet someone else can answer this better... Tuning is a pain in the ass so I avoid it as much as possible. What to do is familiarize yourself with each section of the xml and what can function in those sections, like for instance adding in "basic_extras" or better yet a tuning that has one already lets you call python from it and from there you have a better chance of sorting out what buffs to add to a sim based on situations or criteria. In tuning though the whitelist solution is using the testing category or whitelist and blacklist. That might work out better for you if you are unfamiliar with python scripting. Below is a super rough outline that will point you in the right direction. Actor is the sim that directs the action at TargetSim. Actor has the trait that makes them apt to tell dirty jokes where TargetSim has the trait that makes them embarrased by it. The buffs are assigned by the trait and the filter below does a check true or false weither this passes or not. And then you have to do a continuation or loot to add the embarrased buff. See in python I find it so much easier than this confusing shit lol. You loop through the sims traits using siminfo and if they have a trait that causes a sim to get embarrased then you give them that buff with sim_info.add_buff(tuning id)anyone who makes custom traits or does any xml modding willing to help me out?
HTML:
<L n="test_globals">
<V t="sim_info">
<U n="sim_info">
<V n="species" t="specified">
<U n="specified">
<L n="species">
<E />
</L>
</U>
</V>
<E n="who">TargetSim</E>
</U>
</V>
<V t="sim_info">
<U n="sim_info">
<V n="ages" t="specified" />
<V n="species" t="specified">
<U n="specified">
<L n="species">
<E />
</L>
</U>
</V>
<E n="who">Actor</E>
</U>
</V>
<V t="buff">
<U n="buff">
<V n="whitelist" t="enabled">
<L n="enabled">
<T>123456<!--put buff for trait they have here like rude--></T>
</L>
</V>
</U>
</V>
<V t="buff">
<U n="buff">
<L n="blacklist">
<T>789012<!--put buff for trait they have here like idk easily embarrased--></T>
</L>
<E n="subject">TargetSim</E>
</U>
</V>
</L>