theMilkmen-OmniSprint icon

OmniSprint

Lets you sprint in any direction instead of only within a forward-facing cone.

Last updated 21 hours ago
Total downloads 184
Total rating 0 
Categories Mods Player Characters Tweaks
Dependency string theMilkmen-OmniSprint-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2100 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2100

README

OmniSprint

Removes Risk of Rain 2's forward-facing-cone restriction on sprinting, so you can sprint in any direction.

How it works

RoR2.CharacterBody already has a BodyFlags.SprintAnyDirection flag that the game engine itself checks before gating the sprint speed bonus behind an aim/move-direction dot-product threshold. This plugin just sets that flag on every player body as it spawns.

Building

Requires the .NET SDK. First build will restore RiskOfRain2.GameLibs and MMHOOK.RoR2 from the BepInEx NuGet feed (configured in the .csproj), so you need an internet connection the first time.

dotnet build

The compiled OmniSprint.dll lands in bin\Debug\netstandard2.1\.

Installing

Requires BepInEx 5 installed for Risk of Rain 2 (e.g. via r2modman/Thunderstore Mod Manager, or manually).

Copy OmniSprint.dll into:

<RoR2 install dir>\BepInEx\plugins\OmniSprint\OmniSprint.dll

Multiplayer note

This only sets the flag on bodies spawned locally. In co-op, host and clients should all run the mod to avoid mismatched sprint behavior between players.