MrSly
Nov 7 2008, 06:51 AM
I've been playing Oblivion for only 2 months now, and I just found mods about 1 month ago. I've been downloading like crazy, and found this amazing mod!!
Neeshka seems to have a problem with healing the PC to above maximum. I understand what is wrong, and can see it plainly in the script. But I have no idea how to fix this in the CS. I need some guidance, and probably someone to help with the scripting as I've only been looking at the CS for a couple weeks now.
I think it's a shame that this excellent mod suffers from such a major problem. Especially if it can be fixed reasonably easily. I haven't seen any posts from Rsdnt-Evle since mid April of 2007. And he DID say we could modify her, "I do hope you all enjoy this mod, and if something about it doesn't suit your taste, please feel free to change it any way you want."
Besides, I'd maybe like to add a couple of new functions to her. We'll see...
Anyone interested?
MrSly
Nov 8 2008, 05:00 PM
For those that don't know, the problem is in the WAY Neeshka heals you. It uses the command ModAV Health to change your health value. While it LOOKS technically correct, it actually increases your current HP.
For example...
You have 100 HP.
You get hit for 40 HP.
Neeshka will add 40 HP to your Health attribute.
The game SHOWS that you have 100 HP again... because that's how much you have available...
HOWEVER, if you heal yourself fully, you'll see that you now have 140 HP (out of 100).
This keeps happening each time she heals you. I think I currently am at 5460 out of 89 HP. If you ONLY let Neeshka heal you, you're fine. Your numbers will be fine 95% of the time. But if you drink potions, heal yourself, or go to a Temple to get healed, it gets way out of whack.
I'm thinking there has to be a way to just have her invoke a Heal spell, or maybe using OBSE somehow to fix the issue. I'd rather not introduce a dependancy on another mod, but if it's the only way to fix it, it may have to be that way. I'm looking into how other mods that do healing work, so maybe I can figure out how to adapt it to Neeshka. I still want to have her heal at the same times (after a battle, or during a battle if you're below 30%). I've seen other mods that you have to ASK to get healed, but this would change how Neeshka works. And they all seems to be an area of effect spell. I'm thinking that may accidentally heal foes during a battle, which is not what is supposed to happen.
Like I said, any help would be greatly appreciated.
alex2avs
Nov 8 2008, 06:00 PM
QUOTE(MrSly @ Nov 8 2008, 07:00 PM)

For those that don't know, the problem is in the WAY Neeshka heals you. It uses the command ModAV Health to change your health value. While it LOOKS technically correct, it actually increases your current HP.
You could use ResetHealth instead MOD AV

something like player.resethealth
MrSly
Nov 8 2008, 08:33 PM
Thanks!! I'll give it a shot.
Where would I find that documented? I don't know where to look to find a list of commands and their effects.
BobSob2020
Nov 8 2008, 08:44 PM
I don't know if it would be possible, but one option would be spawning a HP-potion (or spell) effect on the player instead of changing the values, or spawning a potion of healing to the player's inventory that would automatically use itself (the first option made the long way).
MrSly
Nov 8 2008, 09:59 PM
The command Player.ResetHealth actually seems to be working just fine. It doesn't increase the Top End of the health at least. BTW, I'm currently at 6992/89 health. I changed Neeshka to use the ResetHealth function, went and took some damage, let her heal me, then kept healing myself until I again arrived at 6992/89. Now I just have to fix my upper end health with that
Stat Restore Ring.
I'll have to create a new character and try using Neeshka now, and see if it is fixed for good.
I'm wondering if there is some other hidden problem with this method as well...
Bob: The idea of using a self-activating potion is a good one, as there is already code that I could modify that gives a Varla stone and activates it, but I'd probably have to make a new potion that heals 1000 or so to let it have the same effect... But that probably could be done, too. For now, I like the simple approach that ResetHealth is providing.
I'll keep you informed after a few more tests.
ihateregisteringeverywhere
Nov 8 2008, 11:59 PM
There is one - she always heals you full

.
Using potions is... not a good way. Consider they're just one time use items with a spell effect attached to them. I'm fairly certain that there's a way to... cast.. a certain spell effect dirrectly on the player.
Then again, what do I know

.
BobSob2020
Nov 9 2008, 09:05 AM
QUOTE(ihateregisteringeverywhere @ Nov 8 2008, 11:59 PM)

There is one - she always heals you full

.
Using potions is... not a good way. Consider they're just one time use items with a spell effect attached to them. I'm fairly certain that there's a way to... cast.. a certain spell effect dirrectly on the player.
Then again, what do I know

.
Oh, you noticed too... however I think that's the purpose
I agree, but I am not sure if the spells can be cast on different than the caster without line of fire. However one option would be to have a spell-effect cast upon area that is equal to the player's position.
WeirdnessMagnet
Nov 9 2008, 07:18 PM
Dude I so use this one! Messing up my health was the on;y prolem. If you fix it you'll be great to me!
What other stuff are you thinking of adding to Neeshka? How about opening locks? I hate doing that with my HTH fighter. She don't have unlock skills. wastes lots of time for me. When your done fighting she should give you some ale, to celebrate your victory! That would be cool to.
Can you make her dance like that one in Shivering Isels? How about she ride a troll instead of the horse? I'd laugh!
Oh, can you fix her face alittle? It's just not pretty enough. She looks like a guy, kindof. And while your at it, fix her body to look like one of the body mod ones. otherwise she's just boring. If you no how. I don't. Maybe you do! That would be great!
Thanks for fixing this mod, i really love it best!
MrSly
Nov 9 2008, 08:41 PM
Ok, I've lost my last 6 attempts trying to reply to this topic... No more long replies.
I'm trying to keep this mod the way it was intended by Rsdnt-Evle. She heals you fully, that's the way I'm making it. The only problem I'm having is getting the "heal effect" to show when she heals you now. Aparently when using the Mod AV command for health, it invoked the "heal effect". Anybody know how to do that inside a script?
After getting her working correctly, I'll release her, if I can get Rsdnt-Evle's permission. But I think I can, even if I don't hear from him... not clear on the rules there.
Then I'll make some changes I'd like to see, like everyone was saying "fix her face", so I'll do that. I'll release her again, if I can get Rsdnt-Evle's permission.
I like the idea of locking and unlocking doors. Or possibly just giving you lockpicks. But like I said, after I get the "core" Neeshka functioning.
And, BTW, how can I quote from multiple reply's? I couldn't figure that one out.
ihateregisteringeverywhere
Nov 9 2008, 09:23 PM
Can't you just create a scripted spell?
Cast script for 0 seconds on self; script = player.ResetHealth.
Or something like that.
MrSly
Nov 10 2008, 01:50 AM
QUOTE(ihateregisteringeverywhere @ Nov 9 2008, 09:23 PM)

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...
CODE
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...
ihateregisteringeverywhere
Nov 10 2008, 01:57 AM
MrSly
Nov 11 2008, 04:21 PM
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.
WeirdnessMagnet
Nov 16 2008, 09:50 PM
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.
MrSly
Nov 25 2008, 04:39 AM
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.
WeirdnessMagnet
Dec 10 2008, 06:21 PM
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?

I've never seen that with any other NPC or anything.
MrSly
Dec 14 2008, 02:00 AM
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.
MrSly
Dec 21 2008, 02:02 AM
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?
MrSly
Jan 4 2009, 02:54 PM
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 herself
Run to my side first - never could get that to work
Touch 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.
MrSly
Jan 6 2009, 12:47 PM
Ok, I tried making a scripted spell. It functions correctly, but there is no "effect" shown. Here's what I did:
Touch - Again, she WALKS to my side from wherever she was to heal me
Target - Same thing, but within very short range
Self - Works instantly, but there is no special effect showing
I guess what I need to know is:
Is there is a way to display a special effect (Restoration) on the Player from within a script?
I don't think this is the proper forum to be asking such a question, so I'll find a more appropriate forum and post the question there.
myrmaad
Jan 6 2009, 01:47 PM
QUOTE(MrSly @ Jan 6 2009, 07:47 AM)

Ok, I tried making a scripted spell. It functions correctly, but there is no "effect" shown. Here's what I did:
Touch - Again, she WALKS to my side from wherever she was to heal me
Target - Same thing, but within very short range
Self - Works instantly, but there is no special effect showing
I guess what I need to know is:
Is there is a way to display a special effect (Restoration) on the Player from within a script?
I don't think this is the proper forum to be asking such a question, so I'll find a more appropriate forum and post the question there.
Yes I'm pretty sure there is, and I think you might get good results by posting on Beth's Elder Scrolls forum. PM me if you can't find the link, but I think there's a link in your default loading screen area of the game (tech support and miscellaneous settings) it will get you to the site anyway.
MrSly
Jan 6 2009, 03:01 PM
Found it! And it works well.
PlayMagicEffectVisuals
PlayMagicShaderVisuals
Works like a
charm!
Thanks for the help!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.