Advice Request: Custom Spell "Extract Ore" for Minin

Post » Tue Nov 20, 2012 4:34 pm

Making a new thread for this: I've got my advanced transmutation and smelting spells working well without too much trouble, now I'm looking to get the last spell working. Unlike the others, I have no idea where to start.

So what I'd like to have happen: You equip the spell, aim at an ore deposit, and channel it. While the spell is channeling, the deposit gets mined, and the ore is added to your inventory.

I'm presently exploring how ore deposits work in the CK: it's never something I've looked into before. I figured before I started fiddling with it I'd ask here, see if anybody here has any ideas of what this is going to take to make work. Thanks in advance!
User avatar
Matt Terry
 
Posts: 3453
Joined: Sun May 13, 2007 10:58 am

Post » Tue Nov 20, 2012 4:44 pm

Well, apparently this was much easier than I thought it would be. I didn't even have to write a new script: all I had to do was add the spell in question to the formlist mineOreToolsList and the ore deposit recognizes the projectiles of the spell and treats them just like the strikes of a pickaxe. I've got some tweaking to do, since right now the spell is just a straight-up blast of fire that cleans out the deposit in less than a second, but this turned out to be pretty easy.
User avatar
Racheal Robertson
 
Posts: 3370
Joined: Thu Aug 16, 2007 6:03 pm

Post » Tue Nov 20, 2012 8:19 am

congrats :D
User avatar
Wanda Maximoff
 
Posts: 3493
Joined: Mon Jun 12, 2006 7:05 am


Return to V - Skyrim