Jump to content

Help with smoking skin effect (such as reanimated corpses)


andydaring

Recommended Posts

I'm struggling to find the effect that causes reanimated corpses to emit a black smoke. I've been all through everything I can find in the CK to try and find where this effect is applied and how but I'm starting to struggle now.

 

Thanks in advance to anyone that can help.

 

A

Link to comment
Share on other sites

It is probably the ReanimateFXShader which is located in SpecialEffect->EffectShader. This shader is applied using magic effects such as ReanimateFFAimed0 which is located under Magic->MagicEffect. In the MagicEffect form you will see the item Hit Shader with ReanimateFXShader selected from the drop-down list. Also not that it is necessary to have FX Persist checked in the form so that the shader will keep playing after the spell is cast Edited by steve40
Link to comment
Share on other sites

Thanks to both of you for your guidance, I managed to find the Effect Shader by myself in the end and I've been playing around trying to apply it to different things just to get a feel for how every thing works.

 

The real problem is that I want to apply the effect to armor only when it is being worn, and so far I've failed on all attempts to get this to work, if I had hair I would be pulling it out.

 

I'm assuming I will have to script it, so I'm fast trying to reverse engineer as many scripts as possible to learn, experiment etc, but it is so long winded...

 

It has been a good 10 years since I did any real modding... I have some catching up to do!

 

Thanks again

 

A

Link to comment
Share on other sites

Thanks to both of you for your guidance, I managed to find the Effect Shader by myself in the end and I've been playing around trying to apply it to different things just to get a feel for how every thing works.

 

The real problem is that I want to apply the effect to armor only when it is being worn, and so far I've failed on all attempts to get this to work, if I had hair I would be pulling it out.

 

I'm assuming I will have to script it, so I'm fast trying to reverse engineer as many scripts as possible to learn, experiment etc, but it is so long winded...

 

It has been a good 10 years since I did any real modding... I have some catching up to do!

 

Thanks again

 

A

 

You might be able to use a conditional statement to allow the effect to work only when the armor is worn. Study the Conditions box in the spells/abilities forms. Just open any ability form and double-click on a Magic Effect in the Effects field to get the Conditions box to pop up. A condition like "GetEquipped <ObjectID> == 1, Run on subject" might do the trick. Note that you can use Conditions in the Spells forms and also in the Magic Effects forms, so you can control the execution of the whole spell or each of the spells effects separately.

Link to comment
Share on other sites

Steve, I think my last post was slightly misleading, it suggests that I can get the effect shader to work but my problem being it working all the time, although your help on the conditions of the effect is great...

 

So, the problem I'm having is getting the particle effect to work at all, worn, not worn, anything. Since the effect is not connected to a spell, as such, I just want to try and have an armor that emits a nice erie smoke when worn.

 

I'm sorry I wasn't a little more clear in the first place....

 

I was thinking of starting a new thread titled 'Applying Effect Shaders to armor' to be more specific but I don't want to clog up the board.

 

A

Link to comment
Share on other sites

Steve, I think my last post was slightly misleading, it suggests that I can get the effect shader to work but my problem being it working all the time, although your help on the conditions of the effect is great...

 

So, the problem I'm having is getting the particle effect to work at all, worn, not worn, anything. Since the effect is not connected to a spell, as such, I just want to try and have an armor that emits a nice erie smoke when worn.

 

I'm sorry I wasn't a little more clear in the first place....

 

I was thinking of starting a new thread titled 'Applying Effect Shaders to armor' to be more specific but I don't want to clog up the board.

 

A

 

Try adding a script like this to the armor. Once attached, you will have to use the Properties button to assign your shader to the "myShader" property.

 

Scriptname SPSEffectTest extends ObjectReference

EffectShader property myShader auto

Event OnEquipped(Actor akActor)
myShader.Play(akActor)
EndEvent

Event OnUnequipped(Actor akActor)
myShader.Stop(akActor)
EndEvent

 

This script will apply the shader to the WHOLE ACTOR. Applying the effect just to the shield ("self") does not work. :facepalm: I think it's a bug in Skyrim.

 

Alternatively (no scripts required) you could apply the effect as an enchantment. Create a new MagicEffect form (as a constant-effect) and pick the shader you want from the Hit Shader drop-down list (that's right, not the Enchantment Shader list ). Also select the "FX Persist" option. Then create a new Enchantment form and in the Effects box right-click and choose "New" then pick your MagicEffect from the drop-down list. Now go to your Armor form and you should be able to pick your new enchantment from Enchanting drop-down list. (Make sure that you don't have my script attached to the armor this time.) That will apply your effect to the WHOLE ACTOR when the armor is equipped.

 

If you apply the shader as an "Enchantment Shader" instead of a "Hit Shader" you will see the effect when the armor is lying on the ground, and also in your inventory when you examine the 3D model. HOWEVER, the effect disappears as soon as you equip the armor :wallbash: Again, this is either a bug or a deliberate "feature" of Skyrim :down: Anyway, you have the option of putting your shader effect in both the "Hit Shader" and "Enchantment Shader" boxes for a combined effect 8)

 

Unfortunately, it doesn't seem to be possible to apply the effect shader just to the armor piece when it is equipped :wallbash:

 

Kudos are welcome if this help you :tongue:

Link to comment
Share on other sites

Steve,

 

That worked perfectly and does the job I need it to do, I'm playing with things for my own amusement up until the point I do something I think others would be interested in, but you have made me super happy, sorry I didn't reply until now, I was on holiday in the UK for a while and I have just got back.

 

I was close with the previous script I had on the armor, but I was trying to apply the effect to 'self' which is where it was failing.

 

Great work, you will find you are one point of Kudos more :D

 

Thanks again

Link to comment
Share on other sites

  • Recently Browsing   0 members

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