0 of 0

File information

Last updated

Original upload

Created by

modguymath

Uploaded by

modguymath

Virus scan

Safe to use

About this mod

this mod increases your movement speed whenever your out of combat

Permissions and credits
this mod increases movement speed outside of combat,
and returns movement speed to normal inside combat

INSTALLATION:
click download

FOR MOD AUTHORS:

FILE PATHS:
Character > Quest > outofcombat_movementbootQUEST
Magic > Magic Effect > outofcombat_movementboostEFFECT
Magic > Spell > outofcombat_movementboostSPELL

CHARACTER > QUEST > QUEST ALIASES:



IMPORTANT NOTE:
Under alias spells (box in the middle of reference alias, second to the left) the spell is added. ^^^^^






MAGIC > SPELL > EFFECTS:



MAGIC > MAGIC EFFECT:

SCRIPTS:
In the bottom right of the magic effects box there is a script that makes this all come together (I am bad at this, and scripts are my excuse)

Here's the script

Scriptname outofcombat_movementboost_init extends activemagiceffect  
float movementboostval = 300.0
Event OnPlayerLoadGame()
Debug.Notification("ooc_movementboost has been activated")
Game.GetPlayer().setav("SpeedMult", movementboostval)
Game.GetPlayer().ModActorValue("weight", 1.0)
Game.GetPlayer().ModActorValue("weight", -1.0)
EndEvent
Event OnEffectStart(Actor akTarget, Actor akCaster)
Debug.Notification("movement speed has increased")
Game.GetPlayer().setav("SpeedMult", movementboostval)
Game.GetPlayer().ModActorValue("weight", 1.0)
Game.GetPlayer().ModActorValue("weight", -1.0)
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
Debug.Notification("speedmult has been decreased")
Game.GetPlayer().setav("speedmult", 100.0)
Game.GetPlayer().ModActorValue("weight", 1.0)
Game.GetPlayer().ModActorValue("weight", -1.0)
EndEvent

Event OnPlayerLoadGame()
Loads up the the mod whenever you load a save so it works (should work) every time, sets the initial speed boost since you might not be in combat, could probably glitch it if your in combat and you use it, maybe not, idk.

Event OnEffectStart()
This block checks if the "magic effect" is applicable, meaning it checks if your not in combat currently, and if you ain't, it sets your movement speed multiplier to 3 times normal.

Event OnEffectFinish()
This block checks if your in a state of combat, and if you are, it removes the movement speed boost. usually takes like a second or two for the game to notice.