Jump to content

Giving weapons disintegrate perk


OPTIMVSCHRIST

Recommended Posts

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

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 by LargeStyle
Link to comment
Share on other sites

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...