jlryan Posted October 24, 2017 Author Share Posted October 24, 2017 (edited) I wanted to alter the dawnguard script to create new one but it wouldn't let me see it like i could the other scripts. FYI - In order for the Creation Kit to see DLC and mod scripts you have to ensure that their source file(s) are located in the main script source folder. Since there is script overlap between base game and DLC, you have to copy them in the same order as your load order. i.e. base game > Dawnguard > Hearthfires > Dragonborn I can see and edit other dlc scripts, but for some reason this script wont allow me to view source. I searched for it in the file folders and found it, still having trouble adapting it for power attacking. This is the hammer script unedited Scriptname DLC1testPhilRuneHammerAbilitySCRIPT extends ActiveMagicEffect SPELL PROPERTY runeSpell AUTO EVENT OnEffectStart(Actor target, Actor caster) if(caster == game.getPlayer()) if(RegisterForAnimationEvent(game.getPlayer(), "bashExit") == true) debug.trace("bashExit registered") endif endif ENDEVENT EVENT OnAnimationEvent(ObjectReference akSource, string asEventName) if(asEventName == "bashExit") Debug.trace("the RUNE of me... get it?") ; //cast the rune and remove the stamina runeSpell.cast(game.getPlayer()) game.getPlayer().damageAv("stamina", 25) endIf ENDEVENT EVENT OnUnload() UnregisterForAnimationEvent(game.getPlayer(), "bashExit") ENDEVENT Its ok now, I used information you gave me and the dawnguard rune hammer script mixed together. I changed the bashExit to HitFrame and I did the condtion Ispowerattacking == 1. I'm not a scripter and was having a hard time figuring out the stuff you posted but comparing it with the original dawnguard runehammer script I was able to figure it out and create unqiue scripts for my hammer. vid of it so far, more work to be done i think ;-) Thank You for all the help :-) Edited October 24, 2017 by jlryan Link to comment Share on other sites More sharing options...
GSGlobe Posted October 24, 2017 Share Posted October 24, 2017 Good, let me know IF you need more help. I will IF I can. And.. you're welcome :) Best regards Link to comment Share on other sites More sharing options...
Recommended Posts