Shaders on weapons or armor
From The Elder Scrolls Construction Set Wiki
[edit] Question
Is it possible to apply an effect or particle shader on an equipped weapon or piece of armor?
For example, I would like to have a sword or a pair of gloves that continually have a shock effect.
-- Diablerie 23:55, 16 May 2006 (EDT)
[edit] Discussion
Look up the Visually Enchanted mod - he has flames, frost, and lightning for weapons that have those types of damage. I assume whatever he did can also be done for armor and clothing. --DragoonWraith 11:53, 18 May 2006 (EDT)
It looks like the creator of the Visually Enchanted mod did it by changing the default effect shaders for elemental damage (effectFireDamage, effectFrostDamage and effectShockDamage). This works, but it has some limitations as well:
- It's a global effect, so it will affect all enchanted weapons.
- It won't work on armour.
This script worked pretty well for me in creating some Boulders that have a constant electric shock effect. The time is required so the effect isn't spammed. But It might be possible to use this to apply to armor or anything you can attach a script to.
Example:
scn ElectricRockScript float timer short FirstSecond begin Gamemode if Timer > 2 || FirstSecond == 0 set Timer to 0 set FirstSecond to 1 PlayMagicShaderVisuals effectShockDamage endif set Timer to Timer + GetSecondsPassed end

