|
Post by thecrayghost on Nov 10, 2020 12:43:31 GMT -5
Essentially I'm trying to create a visual effect on a Sim that I can toggle with an interaction instead of adding it to a specific outfit.
So far I've been able to apply visual effects to an always-on buff, but I'm stuck after that.
Ideally I want the interaction to toggle the Sim having a buff which supplies the effect and removing the visual when the interaction (or a separate one to turn it off) is selected. I'm pretty sure I could attach it to a timer, but there must be a better way. I glanced around in TDESC and other mods but I don't see much for removing vfx, just applying them.
Thanks for your time either way.
|
|
|
Post by MizoreYukii on Nov 12, 2020 16:05:06 GMT -5
Hopefully I understood what you meant. You can either make everything combined (one interaction with one loot) or make two separate interactions and loots. It really depends on what you comfortable with and prefer. But you need to create an immediate interaction, a loot to add and remove the buff with the appropriate tests, and a buff with the VFX, which you did already.
In the interaction make it a single outcome with a loot list, reference the loot you're making. In the loot add a buff removal and addition sections. Add in some tests under each section so the loot understands to only add or remove the buff when it is or isn't present (you can also do this in the interaction, but better to do it here). Then just link your buff in the loot. You will need XML Injector to add the interaction to your sims. If you want your interaction to change names based on if they have the buff or not, you can do that as well, just refer to the TDESC under...I think the main Interactions section has it.
|
|
|
Post by pixaratv on Nov 14, 2020 13:41:24 GMT -5
Hopefully I understood what you meant. You can either make everything combined (one interaction with one loot) or make two separate interactions and loots. It really depends on what you comfortable with and prefer. But you need to create an immediate interaction, a loot to add and remove the buff with the appropriate tests, and a buff with the VFX, which you did already. In the interaction make it a single outcome with a loot list, reference the loot you're making. In the loot add a buff removal and addition sections. Add in some tests under each section so the loot understands to only add or remove the buff when it is or isn't present (you can also do this in the interaction, but better to do it here). Then just link your buff in the loot. You will need XML Injector to add the interaction to your sims. If you want your interaction to change names based on if they have the buff or not, you can do that as well, just refer to the TDESC under...I think the main Interactions section has it. Hey thecrayghost, I would do it the exact way as MizoreYukii had described. You can not remove an vfx, when it is linked to a buff. Thus, you must remove the buff in order to remove the vfx. There is one small thing I would add: Trait. With a trait you could control which Sims get the ability to toggle the vfx. Of course it depends on what you are planning to do. Have a nice day!
|
|