ihateregisteringeverywhere Posted November 9, 2008 Share Posted November 9, 2008 Can't you just create a scripted spell? Cast script for 0 seconds on self; script = player.ResetHealth. Or something like that. Link to comment Share on other sites More sharing options...
MrSly Posted November 10, 2008 Author Share Posted November 10, 2008 Can't you just create a scripted spell? Cast script for 0 seconds on self; script = player.ResetHealth. Or something like that. Here's what I've tried:Make spell of RestoreHealth 0 (Target), have her cast on me before ResetHealth; I get healed immediately while she WALKS to me to cast spell but gets stuck in her own Heal spell (mostly).Make spell of RestoreHealth 400 (Target), have her cast on me instead of ResetHealth; she WALKS to me to cast spell but gets stuck in her own Heal spell. I have to work on getting the correct distance from her to actually get the spell to work.Tried same as above with a Touch Heal spell, same as above.The ResetHealth is working like a charm, but I'm just missing the EFFECT of the Heal Spell. Here's the code for that section, maybe someone can figure out how to fix it. I have no ideas left... if (GetItemCount Book2CommonManualSpellcraft >= 1) if (healLock2 == 0) if (hpCurrent < hpMax) && (GetDistance Player <= 2000) if (hpCurrent > 0) && (GetIsAlerted == 0) && (MenuMode == 0) Cast 1ncmNeeshkaHealSpell NeeshkaRef set healTimer2 to 2 set healTimer1 to 0 set healLock2 to 1 endif endif else if (healTimer2 > 0) && (healLock2 == 1) set healTimer2 to (healTimer2 - GetSecondsPassed) return else if (healTimer2 <= 0) && (healLock2 == 1) ;Cast 1ncmHealPlayerSpell Player Player.ResetHealth set healLock1 to 0 set healLock2 to 0 set healTimer1 to 0 set healTimer2 to 0 endif endif endif endif The commented out Cast 1ncmHealPlayerSpell Player line is where I was trying all of the spell options. Again, the Player.ResetHealth activates first, then she WALKS to me to Cast... Any help is appreciated!!! Oh, and where can I find a reference for these commands? Like Cast and GetIsAlerted... Link to comment Share on other sites More sharing options...
ihateregisteringeverywhere Posted November 10, 2008 Share Posted November 10, 2008 http://cs.elderscrolls.com/constwiki/index...ortal:Scripting Link to comment Share on other sites More sharing options...
MrSly Posted November 11, 2008 Author Share Posted November 11, 2008 I can't seem to get the healing effect to work. So I reinstalled Neeshka from the original download. Still nothing. She messes up my health like normal, but no healing effect. Must be something with my computer. So it might be working, but I just can't see it. So I guess I should have someone else test the fix. Now all I have to do is figure out how to do that. :confused: Link to comment Share on other sites More sharing options...
Guest Posted November 16, 2008 Share Posted November 16, 2008 I'll check it out for you. Send it to me. I'll PM you with my email. I will let you know if it works on my computer. of if not. :) Link to comment Share on other sites More sharing options...
MrSly Posted November 25, 2008 Author Share Posted November 25, 2008 Any reports yet Weird? I still haven't gotten it to show on my computer. Might be my test environment. I'll try making a couple new characters and seeing how they work with the old, and new. At least I don't get the change to the Max HP any more. Oh, and I did a little modification of her face, because that was the only other real complaint out there. I thought she looked fine, but I made her a little nicer looking (at least to me, on my machine). Let me know about that, too. Link to comment Share on other sites More sharing options...
Guest Posted December 10, 2008 Share Posted December 10, 2008 Weird, somehow lost my last post here. Anyway, been busy with life so haven't had much time to test. sorry. I used Neeshka for about 4 hours the other day: I like the updated face. I think she looks better now. Not like a model, but good enough. The heal bug seems to be fixed. She healed me a bunch of times and I didn't end up with extra health after. She seems to have some kind of weird double face problem, tho. One is just a straight face, and the other one underneath does the talking. It is weird to see. But I think that problem was in the original one too. I don't know how to describe it any better. It doesn't happen all the time, just once in a while. But when it does happen, it stays that way until I exit the game. Overall I'd say it looks good. Just the weird face thingy. What's up with that? :blink: I've never seen that with any other NPC or anything. Link to comment Share on other sites More sharing options...
MrSly Posted December 14, 2008 Author Share Posted December 14, 2008 Thanks for the info. Yeah, I see that too, sometimes. Like you said, it seems to happen once in a while, not all the time. Anybody have any ideas on how this could happen, and how to fix it? I don't think I've seen this with any other NPC, either. Link to comment Share on other sites More sharing options...
MrSly Posted December 21, 2008 Author Share Posted December 21, 2008 I'm wondering if it has to do with the custom dialog included with the mod. She has about 200 or so phrases she says when asking her to do things (as I recall). I wonder if this is why the double face shows up? May be trying to run one of the "custom" dialogs at the same time it tries to run a "standard" dialog, creating two mouths. Or maybe trying to run two custom ones at once... Just a theory. No idea how to prove it. Unless I remove all of the custom dialogs and see if it happens again. Then I could add them back one at a time until I find out which one causes the problem. However, it only occurs infrequently in the first place. It'd take weeks to figure out which one it was (or if that's the problem at all). There must be an easier way to figure this out. Thoughts? Link to comment Share on other sites More sharing options...
MrSly Posted January 4, 2009 Author Share Posted January 4, 2009 I'm back working on getting the healing effect to work. I think maybe the problem lies in the order that things get run. I set it up that Neeshka will cast a PlayerHealSpell directed at the Player at the same time as the ResetHealth command. The ResetHealth fires first (I'm guessing because it doesn't have any animations associated with it), then Neeshka casts the heal spell. Since the Player doesn't need healing, there is no visual effect. Maybe need to figure out a way to cast a heal spell, wait a second, then ResetHealth. I don't know... I find it fascinating that I could fix the healing bug in about 30 seconds (with help, of course), but have spent over 20 hours trying to get Neeshka to LOOK like she's healing me!! Maybe this is just to much for me to handle, and why nobody has fixed this bug in the past. Just no way to make it work correctly. I've tried:Touch Heal Spell - she WALKS to my side to heal me (not optimal if separated at all)Target Heal Spell - again WALKS to within short range to blast me (again, not optimal)Self Heal Spell with Player as target - No effect on Player, just looks like she's healing herselfRun to my side first - never could get that to workTouch Heal Spell with area of effect - worked(!!), but looked crazy with a brilliant flash lighting up the entire area every time I got hurt I don't remember if I tried making a Scripted Heal Spell... I think I did, but maybe should look at that again, might be able to figure out how to make one work now. Otherwise, maybe I'll just leave it for now and come back to it in a few months when I get more experience modding. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.