iTz Rossss X Posted March 21, 2010 Share Posted March 21, 2010 Hi. As most of you know Welkynd Stones have an effect that once used they restore your magic. Well, I would like to make my own type of ayleid stone that restores health but I don't know how to make it restore my health once used. I viewed the settings of a normal welkynd stone but it has no script on it. How do I make it so that when I use my custom ayleid stone it restores my health? Thanks in advance. ~~iTz Link to comment Share on other sites More sharing options...
Pronam Posted March 21, 2010 Share Posted March 21, 2010 It's hard-coded. I don't know where they've hidden it either :confused: The thing is that you could simply put a script on an object, but the downside is that it's bad for the saves in terms of bloating as every script on an object that is added to the player is saved. Now, the simple solution would be to add it as an ingredient..as Bethesda did with the Hearts of the order in the shivering isles.Then you can put a script on an effect...and that wouldn't harm the save games. How about that? If it's full health to be recovered to it'll be a simple script, but you do know how to put a script on an effect :happy: ?Otherwise I'll provide some more info. Link to comment Share on other sites More sharing options...
Zephyr2011 Posted March 21, 2010 Share Posted March 21, 2010 If memory serves I believe the Dremora Companion mod added a temple/dungeon with retextured welkynds that restored health. I know they werent ingredients but i never looked into it to see jif it was just scripting or something more. May be worth checking out. Unfortunately I recently reinstalled and deleted all of my old mods so i cant check it for you. Link to comment Share on other sites More sharing options...
Pronam Posted March 21, 2010 Share Posted March 21, 2010 Create Red Welkynd Stones: Now you can create your own Red Welkynd Stones in the Red Welkynd Cave. Red Welkynd Stones restore health to 100%. To create one use the Executioner's Hood spell to command NPCs to lie on the altars. Then place a regular Welkynd Stone in the holder, and cast a fire damage spell at the activator in the ceiling directly overhead. The life force will be sucked out of the NPCs and transferred to the stone making it a Red Welkynd Stone (only non-essential actors will work as victims have to be killed in the process).Yep, downloading. I'm interested how they did it as well :) ===== It's a script on the welkeyd stone.Basically it's not a problem if it's not used often. So the circumstances would decide whether it's safe to use it or not.As you'll have to sacrifice a body to get a stone in that mod, it's not something you would do 10-20 times.Yet if it's more than 7 times used I'd highly recommend to set it as an ingredient, as they did it with the hearts of the the order for a good reason. As these days people have a lot of mods that do the same, which pose some trouble in the end.However, it's all up to you. ==From you posts I can see that you know what you're doing and are known with scripting. You'll need to use GetBaseAv to store the max current health to a variable and ForceAv to be sure it's applied correctly,so it's this for a script on the welkeyd stone if it's set as an misc item: short Healthcalc Begin OnEquip set Healthcalc to Player.GetBaseAv Health Player.ForceAv Health Healthcalc End Again, only do this when it's used a limited amount of times. Or set as a magic effect at the editor, being a spellscript for an ingredient: short Healthcalc Begin ScriptEffectStart set Healthcalc to Player.GetBaseAv Health Player.ForceAv Health Healthcalc End It would have to be set as a script effect at the ingredient effects. Link to comment Share on other sites More sharing options...
Recommended Posts