It looks like you're new here. If you want to get involved, click one of these buttons!
BCaesar wrote: »
I've got a question. I've added an item that does protection from spell school, but it also adds an animation (the swirly white lights that circle in 3d around the person). I want to make the animation go away (I want to have the protection without the animation).
Is there any way to do that? I assume immunity to specific animation might do that, but I don't know which animation file it would be.
Bubb wrote: »
@BCaesar: It's a hardcoded visual effect which is applied by the majority of the spell-related protection opcodes. Looks like the only graceful way of disabling the graphic is to apply Opcode #291 to the target creature, as described by the IESDP. Unfortunately, this has the side effect of disabling the animations for all of the described opcodes - unless you want to go to the trouble of adding the graphics back to each spell manually.
As for the graphics files, these protection opcodes are hardcoded to use "spturni2" and "spmagglo", though I think nothing short of the above opcode or deleting them from the game will do anything.
Caedwyr wrote: »
I can't speak to the specifics, but I remember this being an issue back in the old pre-EE engine. I think that several of @LavaDelVortel 's mods have an option to update savegames as well and I would thin that was meant to deal with this type of scenario.
jastey wrote: »
@Ratatoskr @BCaesar I would start debugging by commenting out triggers, e.g. the "HaveKnownSpell(WIZARD_POLYMORPH_SELF)" and see whether it triggers then, in case you haven't done already.
jastey wrote: »
@BCaesar I never experienced this. If the script is attached to the NPC and the triggers are met the script block is executed. I know you checked this but my first guess would be that in your old saves the script in question is not set for the NPC for some reason.
return (constRandVal % Range) + 1 == Value