Look at my ambidexterity mod on how to get particles in and showing in game.
The main way will be using the engine particle editor to create whatever effect you want on its own. Save that as a prefab. Use DFU mod asset manager method to import the prefab. Use Unity Instantiate() method to create the effect where you want with the spell duration being passed to its Instantiate time. If the spell doesn't have a timer, just ensure the effect gets destroyed with the end of the spell by either attaching it to the spell effect object (if there is one) or using straight Destroy() method to manually remove it.
You would use the DFU spell manager method to access the individual spells and attach the prefabbed effect to them.
Nice work on the fireball knock back.
[Feature request] Better spells visual (and audio?) feedback
-
- Posts: 1406
- Joined: Mon Aug 12, 2019 4:32 pm
- Contact:
Re: [Feature request] Better spells visual (and audio?) feedback
My Daggerfall Mod Github: l3lessed DFU Mod Github
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.