Forum Announcement, Click Here to Read More From EA_Cade.

VFX Duration / Looping settings?

So I've noticed that with some VFX, you can just reference them, like such:
                <L n="basic_extras">
                  <V t="vfx">
                    <U n="vfx">
                      <E n="participant">Actor</E>
                      <V t="on_xevt" n="timing">
                        <U n="on_xevt">
                          <T n="xevt_id">1289</T>
                        </U>
                      </V>
                      <U n="vfx">
                        <T n="effect_name">gp04_vampire_mind_power_beam_succeed</T>
                        <V t="Slot" n="joint_name">
                          <T n="Slot">b__spine2__</T>
                        </V>
                      </U>
                      <V t="interaction" n="vfx_lifetime" />
                      <V t="enabled" n="vfx_target">
                        <U n="enabled">
                          <T n="joint_name">b__Head__</T>
                        </U>
                      </V>
                    </U>
                  </V>
                </L>
And the vfx_lifetime part will work, no matter how long the interaction is. In other words, if the interaction is 5 seconds or 2 hours, the vfx will act upon vfx_lifetime and last the duration. For some VFX (incidentally, one of them being the VFX in this example) it'll only last for some preset duration and no longer.

Kinda like how some animations will loop with looping_animation and some will only run once and need staging_content if you want them to repeat.

Thing is, with animations, it's discernible in the XML that that's the case and you can work with it. With VFX, there doesn't seem to be any way to access where the duration is set and whether it can loop or not.

So I'm wondering (and hoping) I'm just missing something that would enable me to work around this. So far my way of working around it has just been to not use non-looping VFX if I want them for use in a lengthy interaction. I figured I'd ask, see if there's something that can be done, or if it's just one of those "out of scope for modding" things.
Mods moved from MTS, now hosted at: https://triplis.github.io
Sign In or Register to comment.
Return to top