Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

IsharaMeradin

Uploaded by

IsharaMeradin

Virus scan

Safe to use

Documentation

Readme

View as plain text

Controller Walk Run Toggle SSE Version
By IsharaMeradin

Overview:
Adds ability to toggle the player character between walking and running when using a controller. Works when on foot and on horseback.

About:
This is a modified port of Controller Walk Run Toggle ( https://www.nexusmods.com/skyrim/mods/93819 )

By default toggle between walking and running modes with the D-pad Right button.
By default target walk speed is 25
By default target trot speed is 50

Run speed will temporarily be restored under the following scenarios
-- readying weapons / magic
-- pressing the sprint button in order to sprint
-- swimming
-- entering sneak

Walk / trot speed will be restored under the following scenarios
-- sheathing weapons / magic
-- pressing the sprint button a second time
-- when feet hit the ground and no longer swimming
-- exiting sneak

Regarding swimming, an animation event is used to trigger this for the player character with an update loop checking every .25 seconds for when the player is no longer swimming. The horse animations do not trigger the animation event and as such, when mounting your horse an update loop checks every 1 second to determine if the horse is swimming or not.

Regarding sprinting, sprint can switch to run by bumping into something or running out of stamina. When wanting to return to walk, stop moving and press the sprint button. Alternatively, enter and exit any other temporary run scenario i.e. draw and sheathe weapons. Or toggle walk mode off and back on.

Regarding mounts, a new mount is not recognized as the last ridden until it has been ridden. Thus the camera state has been registered and watches for when the camera switches in and out of horse view. This ensures that a new mount gets properly accounted for as soon as it is mounted.

Regarding horse mods, this should work alongside most mods that affect horses even those that greatly increase the base horse speed. If any compatibility issues arise, feel free to point them out.

Customization:
Use the console to change the following as desired:
disable trot mode: set abim_CWRT_Trot_Disable to XX (where XX is any non-zero positive value)
re-enable trot mode: set abim_CWRT_Trot_Disable to 0
-- this must be changed when in normal run mode.

player swim delay: set abim_CWRT_PS_Delay to XX (where XX is the value in seconds to wait between checks)
horse swim delay: set abim_CWRT_HS_Delay to XX (where XX is the value in seconds to wait between checks)
-- update loop delays will take effect on the next registration call. For player when swimming. For horses when mounted.

target walk speed: set abim_CWRT_Walk to XX (where XX is a value between 0.0 and 100.0)
target trot speed: set abim_CWRT_Trot to XX (where XX is a value between 0.0 and 100.0)
-- these should be changed when in normal run mode.

toggle button: set abim_CWRT_HK to XX (where XX is the DSXScanCode for the desired button)
-- Changing the toggle button takes effect as soon as you close the console.

shut down mod: set abim_CWRT_ShutDown to 1
-- when the console closes all registered events will be unregistered, the quest stopped and notification displayed that it is safe to uninstall the mod.

Installation:
Mod manager or manually ensuring files are placed according to structure listed below

Uninstallation:
Ensure the character is in normal run mode
Shut down the mod using console command outlined above
Make a new save.
Remove the mod using your mod manager or deleting the files as listed below.
Re-enter the game and make a new save without the mod active.

Requirements:
SKSE64

Files & Folders:
Controller Walk Run Toggle.esl
Scripts > abim_CWRT_Player.pex
Scripts > abim_CWRT_ToggleScript.pex
Scripts > Source > abim_CWRT_Player.psc
Scripts > Source > abim_CWRT_ToggleScript.psc
Docs > CWRT_InfoFile.txt
Optional > Controller Walk Run Toggle.esp

Future plans:
Possibly add an MCM menu for the customization features.

Known issues:
Does not work with horses that are not actually owned. For example horses that are stolen will not be recognized.

Disclaimer:
This product is not created by, nor associated with, Bethesda Game Studios, Bethesda Softworks, Zenimax Media, nor any of their affiliates.