JohnEdwa-RTAutoSprintEx icon

RTAutoSprintEx

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

Last updated 3 months ago
Total downloads 217000
Total rating 52 
Categories Tweaks Client-side
Dependency string JohnEdwa-RTAutoSprintEx-2.1.2
Dependants 62 other mods depend on this mod

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 2 | Game ver. 1.2.3.1

For custom survivor/skill support, see RTAutoSprintAddon.

Latest changes

2.1.2

  • Fixed for patch 1.2.3.1

Description

Removes the need to manually sprint, instead always sprint when the base game would allow you to. Hold sprint to walk and cancel skills like flamethrower. To supplement that, the sprinting crosshair and speedlines are removed, and the FOV and FOV sprint expanding can be edited.

Kudos to Relocity and Thrawnarch for creating the original mod, and Rein, Harb, ThinkInvisible, Twiner son of Twine, and Aaron (among others) from the modding Discord for help.

Features, Changes and Options.

  • Automatically sprints whenever the game would allow you to - including while charging Artificer or Engineer main attacks.
  • Show the correct crosshair while sprinting instead of the useless chevron.
  • Modify the the FOV, sprinting FOV change, and speedline effect in the config.

Mod compatibility and "API":

For custom survivor/skill support, see RTAutoSprintAddon.

How to implement RTAutoSprintEx support for your mod:

Add a soft dependency for com.johnedwa.RTAutoSprintEx, then use SendMessage to send the EntityStates you want RTAutoSprintEx to look out for. RT_SprintDisableMessage blocks AutoSprinting from activating when the player is in that EntityState. RT_AnimationDelayMessage looks for a field called duration to use as a delay - useful for keeping wind-down animations from being immediately cancelled. As an example, here it is in EntityStates.Mage.Weapon.FireFireBolt

[BepInDependency("com.johnedwa.RTAutoSprintEx", BepInDependency.DependencyFlags.SoftDependency)]

...

if (BepInEx.Bootstrap.Chainloader.PluginInfos.ContainsKey("com.johnedwa.RTAutoSprintEx")) {
    SendMessage("RT_SprintDisableMessage", "EntityStates.Mage.Weapon.Flamethrower"); 
    SendMessage("RT_AnimationDelayMessage", "EntityStates.Mage.Weapon.FireFireBolt"); 
}

Configuration

Movement

  • HoldSprintToWalk: [true]/false : True: Holding sprint makes you walk | False: tapping sprint toggles autosprinting on and off.

Visual

  • FOVValue [60], 1-180: Sets a custom (vertical) FOV. 60V is roughly 90H.
  • SprintFOVMultiplier: [1.3], 0.1-2.0: Sets the sprinting FOV multiplier. Set to 1 to disable.
  • DisableSprintingCrosshair: [true]/false: Disables the useless special sprinting chevron crosshair.
  • DisableSpeedlines: true/[false]: Disables the speedlines effect shown when sprinting.

Misc

  • DisabledAutoSprinting: true/[false]: Disables the autosprinting part of the mod.
  • DisableVisualChanges: true/[false]: Disables the FOV/visual modification side of the mod.

Known Issues / ToDo

  • Disabling FOV change while sprinting not implemented. Anyone knows where it's done, do tell.

Changelog

Full changelog can be found in CHANGELOG.MD.

Contact

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

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  
2022-4-21 2.1.2 24855 Version 2.1.2 Install
2022-3-4 2.1.0 23283 Version 2.1.0 Install
2021-4-26 2.0.2 65822 Version 2.0.2 Install
2021-4-26 2.0.0 622 Version 2.0.0 Install
2021-4-20 1.3.3 4725 Version 1.3.3 Install
2021-4-6 1.3.2 6696 Version 1.3.2 Install
2021-4-6 1.3.1 113 Version 1.3.1 Install
2021-4-3 1.2.1 4196 Version 1.2.1 Install
2021-3-31 1.2.0 4614 Version 1.2.0 Install
2020-9-4 1.1.2 49089 Version 1.1.2 Install
2020-8-23 1.1.1 7212 Version 1.1.1 Install
2020-8-22 1.1.0 1703 Version 1.1.0 Install
2020-8-18 1.0.8 3295 Version 1.0.8 Install
2020-4-4 1.0.6 12105 Version 1.0.6 Install
2020-4-3 1.0.5 1136 Version 1.0.5 Install
2020-1-26 1.0.4 4645 Version 1.0.4 Install
2020-1-9 1.0.3 1659 Version 1.0.3 Install
2020-1-9 1.0.2 239 Version 1.0.2 Install
2020-1-2 1.0.1 991 Version 1.0.1 Install