Set Speed - Set Player Speed with Hotkeys 1.0.0

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.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
  • 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.