|
Post by duckonatruck on Sept 30, 2020 11:34:41 GMT -5
As the title says I am having difficulty making the vampire drain interactions drain two statistics at once from the target sim. My goal is to make it so it drains the normal energy stat and the vampire thirst stat, with other mods already letting vampires drink from other vampires. The problem is that I cannot make the interaction drain two statistics at once since I am unsure how to format the statistics in the xml file to cause both statistics to be drained, with all my efforts only resulting in one of them being lowered, or the interaction not working at all. Here is a picture of the xml that controls the energy loss in the unmodified file. All I need to know is how to insert another statistic change within the same interaction tuning, but I cannot figure it out from what I've found. imgur.com/a/re3Azb5
|
|
|
Post by MizoreYukii on Sept 30, 2020 11:47:24 GMT -5
Looks like this, try collapsing the first stat change by clicking the - next to the numbers on the left, copy, then go to the line beneath it by hitting enter (make sure to unselect the first stat to avoid deleting), paste, and that should give you a duplicate stat you can alter. I recommend DocFetcher or other file searching programs to copy/paste structure names and look through EA's files for examples.
<V n="periodic_stat_change" t="enabled"> <U n="enabled"> <L n="operations"> <V t="statistic_change"> <U n="statistic_change"> <T n="amount">-0.5</T> <T n="exclusive_to_owning_si">False</T> <T n="stat">16657<!--motive_Hygiene--></T> <L n="subject"> <E>Actor</E> </L> </U> </V> <V t="statistic_change"> <U n="statistic_change"> <T n="amount">0.5</T> <T n="exclusive_to_owning_si">False</T> <T n="stat">16655<!--motive_Fun--></T> <L n="subject"> <E>Actor</E> </L> </U> </V> </L> <T n="suppress_skill_bars">True</T> </U> </V>
|
|
|
Post by duckonatruck on Sept 30, 2020 12:17:41 GMT -5
Thank you, I managed to figure out how to format it correctly using the example you posted. I almost responded thinking it didn't work until I realized I had it on the actor sim instead of target sim and needed to change the number. imgur.com/a/p6qdMDuEdit: forgot to mention that thirst's stat id is 149541, the -10s were to ensure the results I got were clear.
|
|