DanielShougun Posted July 31, 2012 Share Posted July 31, 2012 This is either a request to make the mod or a request for help editing a current one. Problem: I use both Abo's Backwards Running Updated (http://oblivion.nexusmods.com/mods/10901) and Beni's Pretty Woman - animation replacer (http://oblivion.nexusmods.com/mods/32572). The problem is that I like the backwards run animation and would still like to see it occasionally. Idea for a solution: I'd like to edit the script in Abo's Backwards Running Updated so it only kicks in when a weapon or fists are out/unsheathed. While I can read a script and understand the logic in it enough to edit it to my liking, I have no skills in adding lines or in the actual scripting language. This is where I need help or a mod request (which ever some nice person is willing to do). Abo gives permission as long as he's credited. The following is the actual script from the mod: ----------------------------------------------------------------------------------------------------------------------------------------------- Scriptname aaNoRunBackwards ; Running is toggled off by either disabling (runState == 1) or holding (runState == 2); the run key. When running has been toggeled off it takes one frame to take effect.; After togging running off, debounce is set to give one frame for it to take effect. ; This can also be done less reliably by increasing fQuestDelayTime to longer ; than one frame. short initScriptshort runKeyshort backKeyshort runStateshort debouncefloat fQuestDelayTimefloat backRunTimefloat timePassed Begin GameMode ; Initialise settings for v2 if (initScript != 2) set fQuestDelayTime to 0.01 set runKey to GetControl 10 ; Run Key Code set backKey to GetControl 1 ; Back Key Code set initScript to 2 endif set timePassed to GetSecondsPassed if IsKeyPressed2 backKey if (backRunTime < 0.33) ; accumulate backwards running time set backRunTime to backRunTime + timePassed elseif debounce ; last frame we toggled run, give it a frame to take effect. set debounce to 0 elseif player.IsRunning ; backwards running time limit reached, force walk if IsKeyPressed2 runKey ; running because run key pressed so disable it. ReleaseKey runKey DisableKey runKey set runState to 1 else ; running because run key not pressed, so hold it. EnableKey runKey HoldKey runKey set runState to 2 endif ; set debounce to allow next fame for toggle to take effect. set debounce to 1 endif else ; decrement backwards running time to zero if (backRunTime > 0.0) set backRunTime to (backRunTime > timePassed) * (backRunTime - timePassed) endif ; toggle running back if it was toggled if runState == 1 EnableKey runKey set runState to 0 elseif runState == 2 ReleaseKey runKey set runState to 0 endif endif End---------------------------------------------------------------------------------------------------------------------------------------------- It ought to be fairly simple, but I just don't understand how to write scripts... Thank you for your time Link to comment Share on other sites More sharing options...
Recommended Posts