Brainstorming - Flexible staff enchanting.

Post » Fri Jun 22, 2012 4:23 am

I'm still pretty new to Papyrus and Skyrim modding and I know this is certainly the deep end, but I have a lot of experience with both Oblivion modding, and object orientated programming. So, it's mostly an architecture question more than a walk-through I'm seeking.


Basiclly, I want to make custom enchanted staves - and I see nobody has done this yet. To be clear I do NOT seek to make "craftable stock staves". I want to take a cast spell - ANY cast spell, even stuff from other mods, and turn it into an enchantment on a staff, this'll provide widest cross compatibility if it's achievable. (For example a staff of befuddle from apocalypse pack would be possible, without needing to make combination mods)


I have a few ideas, but I wondered if a programmer more experienced in Skyrim editing could point me in the right direction of what functions or properties I need to be looking to and whether it's even physically possible; either through stock papyrus scripts, or through SKSE extentions.

The first part the puzzle, is whether it's even possible to copy magic effects between a spell and a staff enchantment (And simultaneously retain it's functionality), obviously if the attached scripts got lost along the way then the spell is rendered inert. Next up, I know GetNthEffectMagicEffect provides a means of fetching the magic effect in a spell or (presumably?) enchantment, but is there a sister function for either directly copying a magic effect between two spells/enchantments, or creating a new magic effect and filling out it's properties from the source spell?



Once those two hurdles are clearred, the rest of it seems pretty easy (Scaling magnitudes, charge costs, combining enchantment with a staff etc)





On the same note, besides the ones that use blacksmithing to just "make" a new staff with a preset value. Are there any mods that have either beaten me to it, or add staves and staff enchantments to enchanting tables?
User avatar
Ludivine Dupuy
 
Posts: 3418
Joined: Tue Mar 27, 2007 6:51 pm

Post » Fri Jun 22, 2012 2:14 am

I am pretty sure that the only way to do anything like what you're talking is through java or C++ or some other out-of-the-box solution and not via SKSE and Creation Kit. To my knowledge, SKSE just provides more hooks for papyrus to grab onto; it can't do anything like dynamically create new database entries from scratch, which is what would be necessary for what you're discussing.
User avatar
priscillaaa
 
Posts: 3309
Joined: Sat Dec 30, 2006 8:22 pm


Return to V - Skyrim