OPTIMVSCHRIST Posted February 10, 2013 Share Posted February 10, 2013 I've been attempting to put together a sword that causes targets to disintegrate on death. I created a custom enchantment (modified Soul Trap) that uses the script magicAttachAshPileOnDeath in addition to the regular Soul Trap stuff. The only problem I am now facing is that corpses do not go through the disintegrate animation like they do when killed with a shock attack, they just fall over and disappear and are replaced by an ash pile (sometimes not even in that order, ash pile appearing before the body disappears etc). I have no idea what could be causing this, does anybody have any experience with this? Link to comment Share on other sites More sharing options...
OPTIMVSCHRIST Posted February 10, 2013 Author Share Posted February 10, 2013 bump? Link to comment Share on other sites More sharing options...
cscottydont Posted February 10, 2013 Share Posted February 10, 2013 did you set all the properties of the script? If you don't set the property for the disintegrate effect shader it won't play Link to comment Share on other sites More sharing options...
LargeStyle Posted February 11, 2013 Share Posted February 11, 2013 (edited) I've used a disintegration effect with spells the past few days. Not entirely sure how this may apply to weapons, but FWIW here's how I do a spell. - Make a duplicate of a Magic Effect, set the categorisations for the spell (spell type etc), then added a custom script which detected if an NPC was alive or dead, right clicked the script and changed the properties to a Shock Disintegrate FX event. - Make a duplicate of a Spell, right click the spell event list and add the Magic Effect that I made. I can't share the custom script I made but I imagine that you may not need it, and if you do there may be a pre-existing script available somewhere. I think the most important thing is to do as cscottydont said and set the properties of the script up then all should be ok. Edited February 11, 2013 by LargeStyle Link to comment Share on other sites More sharing options...
OPTIMVSCHRIST Posted February 11, 2013 Author Share Posted February 11, 2013 It looks like the disintegrate shader is in there as I copied the whole script over to the effect. Here is what I am seeing: AshPileObject Activator <<Default>>bSetAlphaToZeroEarly Bool <<Default>>bSetAlphaZero Bool <<Default>>fDelay Float <<Default>>fDelayEnd Float <<Default>>ImmunityList FormList <<Default>>MagicEffectShader EffectShader <<Default>>ShaderDuration Float <<Default>> Link to comment Share on other sites More sharing options...
OPTIMVSCHRIST Posted February 11, 2013 Author Share Posted February 11, 2013 Please excuse my noobishness, I just figured out what cscottydont meant. I'm good to go now, thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts