You are viewing a potentially older version of this package. View all versions.
JohnEdwa-RTAutoSprintEx-1.0.4 icon

RTAutoSprintEx

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

Date uploaded 4 years ago
Version 1.0.4
Download link JohnEdwa-RTAutoSprintEx-1.0.4.zip
Downloads 4746
Dependency string JohnEdwa-RTAutoSprintEx-1.0.4

This mod requires the following mods to function

bbepis-BepInExPack-5.4.1801 icon
bbepis-BepInExPack

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

Preferred version: 5.4.1801
RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3

README

RT AutoSprint Extended

Fixed & Extended by JohnEdwa, Original by Relocity and Thrawnarch

Made and tested for RoR2 build-ID 4478858 - Hidden Realms Update

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, and holding sprint now makes you walk instead, if for some reason you wish to do so.

Features and Changes

  • Works, for one thing.
  • 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.
  • Should work for all default survivors, many of which can auto-sprint while charging skills even though starting the cast normally makes you walk.
  • 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

  • ArtificerFlamethrowerToggle: [true]/false: Sets the flamethrower mode. Default is toggle cancellable by pressing the sprint key, alternative is a "Hold to cast" mode.

    • Console Command: rt_artificer_flamethrower_toggle.
  • HoldSprintToWalk: [true]/false: Holding down sprint disable auto-sprinting, forcing the character to walk.

  • DisableSprintingCrosshair: [true]/false: Disables the useless special sprinting chevron crosshair.

  • DisableSpeedlines: true/[false]: Disables the speedlines effect shown when sprinting.

  • DisableFOVChange: true/[false]: Disables the FOV change when you sprint.

  • SprintFOVMultiplier: [1.3] 0.5-2.0: Sets the Sprinting FOV multiplier, if not disable with the above setting.

  • CustomFOV: [60], 1-359: Sets a custom (vertical) FOV. 60V is roughly 90H.

    • Console Command: rt_fov.
  • AnimationCancelDelay: [0.2], 0.0-1.0 : How long to wait after attack button is released to animation cancel and sprint anyway.

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

Known Issues

  • Acrid M1 animation cancelling is even more broken than vanilla.
  • Arti flamethrower has a small animation glitch at the start.
  • Custom survivors block sprinting based on button input: as long as Primary, Secondary or Special is held down you won't sprint.

To-Do

  • Make all config console commands update at runtime.
  • Figure a better way to handle custom survivors.
  • 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).

Changelog

1.0.4

  • Tiny tweak to the IL codes to remove an incompatibility with Rein's Rogue Wisp survivor.

1.0.3

  • Removed a debug F2 disable, whoops.
  • Edited readme to (maybe) work with the Thunderstore Markdown parser.

1.0.2

  • Added FOV configuration and disabling speedlines.
  • Arti, Engi, Commando and Loader use the animation duration instead of a static delay between shots.
  • Automatic animation cancellation for the above.
  • Added MUL-T Scrap Launcher logic.
  • Fixed the readme and manifest version.
  • Other small tweaks.

1.0.1

  • Initial release.

0.2.0

  • Cleaned/rewrote the code.
  • Added and fixed support for all survivors.
  • Removed the useless sprinting crosshair.
  • Added special workarounds to allow most survivors to sprint during more skills.
  • Added config items for disabling crosshair and enabling walking.

0.1.0

  • Initial Version (Based on RT AutoSprint 1.0.5), fixed, and added Artificer flamethrower config.