Medusa30 Posted February 22, 2013 Share Posted February 22, 2013 Hello guys, I am working on a new race mod, called "The Asen" in which you have an alternative start in a dark forsaken dungeon, leashed in heavy chains for thousands of years until the dragons arose again. So far so good, I hope. The new races permanent passive "ability" (I dont know if its the right word for it) is a Medusa like petrification look. Litteraly any creature who jumps into your sight shall be petrified, unless you have blindfolds equiped - dont care about balancing yet, just trying to get it working. Now my problem is, it currently doesnt seem to work at all. I was wondering if anyone of you could help me out? Whats wrong with my settings (Screenshot attached)? Checklist:* Getting perma-paralyse-sight working* Applying stone texture for affected NPCs* Disabling it by equiping blindfolds (instead of helmets, activates a alternative sight) Link to comment Share on other sites More sharing options...
EnaiSiaion Posted February 22, 2013 Share Posted February 22, 2013 Abilities are passive bonuses and do not "cast". Try making a separate paralysis spell and giving your ability a script that does something like this: Spell Property YourParalysisSpell AutoFloat Property UpdateRate = 0.2 AutoEvent OnEffectStart(Actor akTarget, Actor akCaster) RegisterForSingleUpdate(UpdateRate)EndEventEvent OnUpdate() YourParalysisSpell.Cast(GetTargetActor()) RegisterForSingleUpdate(UpdateRate)EndEvent Note: this will cause the IsDualCasting flag to get reset to zero each time the paralysis subspell is cast, breaking things like Impact. Perhaps using RemoteCast on self instead of Cast will fix this. Link to comment Share on other sites More sharing options...
EnaiSiaion Posted February 22, 2013 Share Posted February 22, 2013 As for the stone texture, there's a nice unused Stoneflesh effectshader which you can use directly (field Hit Shader). Blindfold: see how the Stoneflesh spell works, in particular its armor related conditions. Link to comment Share on other sites More sharing options...
Medusa30 Posted February 22, 2013 Author Share Posted February 22, 2013 Thank you very much, I try it. :biggrin: Link to comment Share on other sites More sharing options...
Medusa30 Posted February 22, 2013 Author Share Posted February 22, 2013 Sadly it doesnt seem to work... But do Perks work in any useful way? Maybe through scripts? Link to comment Share on other sites More sharing options...
Medusa30 Posted February 23, 2013 Author Share Posted February 23, 2013 I am using a Fire and Forget casting type now, and it seems to work, at least for the initiation. Only issue I have now is to recast the spell. Self recast scripts of the Magic Effect within the same ability dont seem to work. Do you know any solution for this? Link to comment Share on other sites More sharing options...
Medusa30 Posted February 24, 2013 Author Share Posted February 24, 2013 (edited) I found a good solution by myself. I gave the player actor the following script: Scriptname AsenRaceScript extends ObjectReference {Asen race specific properties and functions.} Spell Property YourParalysisSpell Auto Float Property UpdateRate = 0.2 Auto Actor CasterRef Actor TargetRef EVENT onInit() YourParalysisSpell.cast(Game.GetPlayer(),TargetRef) RegisterForSingleUpdate(UpdateRate) ENDEVENT Event OnUpdate() YourParalysisSpell.cast(Game.GetPlayer(),TargetRef) RegisterForSingleUpdate(UpdateRate) EndEvent Works quite well and brought me a huge laugh when I tested the VoiceIceStorm3 spell with this. I could implement a race specific condition, but since I wanted to start with a new intro an only the Asen race, I made only them playable so its not needed for me anyway. But those who want to make a permanent running spell might find it useful. :biggrin: PS: Im not a good scripter so this code might be a bit messi. Edited February 24, 2013 by Medusa30 Link to comment Share on other sites More sharing options...
Recommended Posts