Set Speed - Set Player Speed with Hotkeys 1.2.0

Please do not ask when mod authors will update their mods to 3.10
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Quickly change between pre-set walk speeds using hotkeys

A simple mod that lets you change your walk speed using configurable keybinds.

Supports up to 5 pre-set walk speeds, and custom keybinds, configurable in the F12 menu.

Installation

1) Open the downloaded zip file in 7-zip

2) Select the folders in the zip file in 7-zip

3) Drag the selected folders from 7-zip into your SPT folder


Demonstration Video (Yes, it's SAIN, but the same concept applies to all of my mods, I'm not making mod-specific extraction example videos):

vKRw58b.gif


Usage

Press your configured hotkey to set your walk speed.


Defaults:
Numpad 1: 0%

Numpad 2: 25%

Numpad 3: 50%

Numpad 4: 75%

Numpad 5: 100%



If you enjoy my work, you can feed my caffeine addiction

  • Version 1.2.0

    This version will only work with SPT 3.10.x

    • Update for SPT 3.10.0
  • Version 1.1.0

    This version will only work with SPT 3.9.x

    • Update for 3.9.0
  • Version 1.0.0

    This mod was written to be generic, and support as many versions of SPT as possible. Currently tested and known working on SPT 3.5.8 - 3.8.0



    Initial Release

    • Should work on most versions of SPT
  • Your SPT portfolio is crazy. Imagine no longer having to scroll while looking bottom left to know how fast I'm walking. Thank you. ;(

  • Awesome mod.
    I was wondering would you be able to add an option to disable the walk speed keybind that is currently scroll mouse wheel.

    I use that for optics zoom and every time I come back out of it my walk speed is all over the place.
    Thats one of the reasons I installed this mod so I could reset it quickly back to max speed with numpad 5.

    Plus I just prefer the key binds from this mod for adjusting the walk speed.

    Thanks in advance :)

  • It seems entierly harmless, but it does throw an exception when a button is pressed while not in raid.


    Code
    [Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
    Stack trace:
    DrakiaXYZ.SetSpeed.SetSpeedPlugin.SetPlayerSpeed (System.Int32 speed) (at <e2fbcd65e0cf463c9e1f305a3693371b>:0)
    DrakiaXYZ.SetSpeed.SetSpeedPlugin.Update () (at <e2fbcd65e0cf463c9e1f305a3693371b>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    Class358:UnityEngine.ILogHandler.LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
  • Would it be possible (perhaps through config file editing) to bind them to the scroll wheel? I would like to set scroll-wheel forward and backward to both set it to 100%

  • essential mode for QoL appreciate it a lot!

    Heart 1
  • Paired this with SPT Realism/Fontaine Combat stance plays so smoothly together, well done! such a nice quality of life for my gameplay.

    Heart 1
  • @DrakiaXYZ, works great. Can "slow" the walking speed by 5 levels. Any chance we can get some percentages on "increased" speed?

    • The walking speed is set specifically to the % you configure in the F12 menu. So by default, if you hit Numpad 1, it will set it to 0%, if you hit Numpad 5, it will set it to 100%


      This isn't meant to work around the games built in speed limits, if you're overloaded, you will still be restricted to the maximum walk speed based on weight, strength, etc.