Jump to content

New Varla and Welkynd stones


Recommended Posts

I'm working on a mod, and I've made copies of the original Varla and Welkynd stones, but I have added new meshes and textures to them. For some odd reason, I can't get them to work like stones, rather than just plain miscellaneous items. There's no recharging available for the new Varla stones or restoring magicka for the new Welkynds. As far as I can tell, there are no scripts attached to the vanilla stones at all, so where does the effect come from? I've scoured the CS for everything I can think of, and I have turned up nothing. :sad:

 

How do I get my new Varla stones and Welkynd stones to act like the originals? I'm stumped. :confused:

Edited by AurianaValoria1
Link to comment
Share on other sites

Unfortunately, I have no idea how to script. :blush:

 

If anyone would be willing to help me with that, I would be grateful. :smile:

Link to comment
Share on other sites

Try changing the meshes and textures of the original stones and/or changing the ID's if you want.

 

I've done that already. They have new meshes and textures, and totally unique ID's. The only problem I've run into is that I cannot find the spell/enchantment effects or scripts.

Link to comment
Share on other sites

Create these scripts and then attach the scripts to your items. Make sure you open up the CS with the obse_loader by creating a shortcut to it with the target being something similar to "D:\Oblivion\obse_loader.exe -editor".

 

scriptname WelkyndStoneScript

Begin OnEquip

Player.ModAV2 Magicka 10000
Message "You have used a Welkynd Stone's power to restore your magicka, and now it is gone."
RemoveMe

End

 

scriptname VarlaStoneScript

ref container
ref item
ref base

short max

Begin OnEquip

let container := PlayerRef
ForEach (item <- container)
	let base := item.GetBaseObject
	let max := GetObjectCharge base
	if (GetObjectCharge base > 0)
		item.SetCurrentCharge max
	endif
loop
Message "You have used a Varla Stone's power to restore your enchanted items charge, and now it is gone."
RemoveMe

End

Edited by fg109
Link to comment
Share on other sites

Wow! Thank you very much for those scripts!

 

Excuse my noobishness, but I can't seem to find the obse_loader editor thingy. Can you give me the exact name you want my shortcut to point to? Is it just "obse_loader?"

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...