JohnEdwa-RTAutoSprintEx icon

RTAutoSprintEx

RT AutoSprint fixed and enhanced with more features. Sprint automatically, but only when you would be allowed to do so in the first place.

Last updated a week ago
Total downloads 83780
Total rating 36 
Categories Tweaks
Dependency string JohnEdwa-RTAutoSprintEx-1.3.2
Dependants 34 other mods depend on this mod

This mod requires the following mods to function

bbepis-BepInExPack-5.4.9 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.9
tristanmcpherson-R2API-3.0.1 icon
tristanmcpherson-R2API

A modding API for Risk of Rain 2

Preferred version: 3.0.1

README

RT AutoSprint Extended | Game ver. 1.1.0.1

Fixed & Extended by JohnEdwa, Original by Relocity and Thrawnarch.

The code can be found at the Github repo here. If you find something that doesn't work, please open an issue on Github.
Kudos to Relocity and Thrawnarch for creating the original mod, and Rein and Harb (among many others) from the modding Discord for help.

The Basics

Your character will automatically sprint whenever the base game would allow you to sprint. This includes sprinting during some less obvious situations, such as when charging certain attacks or immediately after using utility skills.
The special (useless) sprinting crosshair is disabled, holding sprint now makes you walk instead, and you can configure FOV and related settings.

Features and Changes

  • Shows the correct crosshair while sprinting instead of the useless chevron.
  • You can modify the the FOV, sprinting FOV change, and speedline effect in the config.
  • Works for all default survivors, many of which can auto-sprint while charging skills even though starting the cast normally makes you walk.
  • Custom survivors have basic support, but issues with some skills are inevitable.
  • Automatic animation cancelling when you stop attacking - no need to manually press "Sprint".
  • Artificer Flamethrower mode is configurable between the default Toggle and a "Hold to Cast".

Configuration

Survivors

  • CustomSurvivorDisable: [] : List of custom survivors names that won't auto-sprint. The name is printed to the chat at spawn. Example: "CustomSurvivorDisable: = SNIPER_NAME AKALI".
  • ArtificerFlamethrowerToggle: [true]/false: Sets the flamethrower mode. Default is toggle cancellable by pressing the sprint key, alternative is a "Hold to cast" mode.
  • AnimationCancelDelay: [0.2], 0.0-1.0: How long to wait after attack button is released to animation cancel and sprint anyway.

Movement

  • HoldSprintToWalk: [true]/false: Holding down sprint disable auto-sprinting, forcing the character to walk.
  • ToggleAutoSprint: true/[false]: Pressing the Sprint key toggles between walking and auto-sprinting. Overrides HoldSprintToWalk.
  • SprintInAnyDirection: true/[false]: (Cheat) Allows you to sprint in any direction.

Visual

  • CustomFOV: [60], 1-359: Sets a custom (vertical) FOV. 60V is roughly 90H.
  • DisableFOVChange: true/[false]: Disables the FOV change when you sprint.
  • SprintFOVMultiplier: [1.3] 0.1-2.0: Sets the Sprinting FOV multiplier, if not disable with the above setting.
  • DisableSprintingCrosshair: [true]/false: Disables the useless special sprinting chevron crosshair.
  • DisableSpeedlines: true/[false]: Disables the speedlines effect shown when sprinting.

Console commands

  • Console Command: rt_help will list all possible console commands.
  • Console Command: rt_enabled can be used to disable/enable most of the sprinting functionality.
  • Console Command: rt_fov changes CustomFOV.
  • Console Command: rt_artificer_flamethrower_toggle sets the flamethrower mode.
  • Console Command: rt_sprintcheat disables angle checking and allows you to sprint in any direction.

Known Issues

  • Visions of Heresy will animation cancel as you sprint between every shot.
  • Acrid M1 animation cancelling is even more broken than vanilla.
  • Arti flamethrower has a small animation glitch at the start.
  • Custom survivors aren't properly supported, but the mod now shouldn't break them either - if it does, they can be disabled in the config.
  • Bandits revolver has a winddown animation which blocks autosprinting. Shooting or tapping sprint will cancel this.

To-Do

  • Rewrite the mod to work from detecting what skill is being used, instead of editing each skill.
  • Make all config console commands update at runtime.
  • Figure a better way to handle custom survivors, specifically a skill-by-skill disable workaround.
  • Add an option to disable REX burrowing under the ground on sprint.

Contact

Open an issue at the Github repo or find me on the RoR2 modding discord (JohnEdwa#7903).

Changelog

Full changelog is in CHANGELOG.MD.

1.3.2 [2021-04-06]

  • Forgot to add command helper back.

1.3.0 [2021-04-06]

  • Back to R2API. Otherwise identical to 1.2.1

1.2.1 [2021-04-03]

  • MUL-T dualwield should now work properly.

1.2.0 [2021-03-30]

  • Updated for Anniversary, switched from R2API to EnigmaticThunder.
  • [KNOWN ISSUE] Bandits revolver has a winddown animation which blocks autosprinting. Shooting or tapping sprint will cancel this.

1.1.3 [2020-10-08]

  • Added ToggleAutoSprint option, with it enabled pressing Sprint will toggle between walking and auto-sprinting.

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2021-4-6 1.3.2 4855 Version 1.3.2 Install
2021-4-6 1.3.1 27 Version 1.3.1 Install
2021-4-3 1.2.1 4110 Version 1.2.1 Install
2021-3-31 1.2.0 4487 Version 1.2.0 Install
2020-9-4 1.1.2 38126 Version 1.1.2 Install
2020-8-23 1.1.1 7122 Version 1.1.1 Install
2020-8-22 1.1.0 1632 Version 1.1.0 Install
2020-8-18 1.0.8 3224 Version 1.0.8 Install
2020-4-4 1.0.6 11948 Version 1.0.6 Install
2020-4-3 1.0.5 1052 Version 1.0.5 Install
2020-1-26 1.0.4 4550 Version 1.0.4 Install
2020-1-9 1.0.3 1574 Version 1.0.3 Install
2020-1-9 1.0.2 156 Version 1.0.2 Install
2020-1-2 1.0.1 917 Version 1.0.1 Install