You are viewing a potentially older version of this package. View all versions.
itsschwer-SprintingOnTheScoreboard-1.0.0 icon

SprintingOnTheScoreboard

[SotS] Re-enables sprinting (and jumping, and other body inputs) while the scoreboard is open. — (please don't make me fall out of the sky when looking at the scoreboard as artificer)

Date uploaded 2 weeks ago
Version 1.0.0
Download link itsschwer-SprintingOnTheScoreboard-1.0.0.zip
Downloads 40066
Dependency string itsschwer-SprintingOnTheScoreboard-1.0.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2117 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2117

README

Sprinting on the Scoreboard

please don't make me fall out of the sky when looking at the scoreboard as artificer

Only for the Seekers of the Storm patch!

re-enables sprinting (and jumping, and other body inputs) while the scoreboard is open.

body inputs?

  • skills
  • interact
  • jump
  • sprint
  • activate equipment
  • ping

implementation

  • IL hooking RoR2.PlayerCharacterMasterController.Update may be preferrable to limit the set of body inputs that are modified?
[HarmonyPostfix, HarmonyPatch(typeof(RoR2.PlayerCharacterMasterController), nameof(RoR2.PlayerCharacterMasterController.CanSendBodyInput))]
private static void PlayerCharacterMasterController_CanSendBodyInput(bool __result, ref bool onlyAllowMovement)
{
    if (!__result) return;
    onlyAllowMovement = false;
}

notes

  • haven't uploaded the source code yet — please report any issues to https://github.com/itsschwer/ror2-experimental/issues
  • not thoroughly tested
    • works in multiplayer
      • appears to be client-side (i.e. not required by host; host having it does not affect others)
      • appears to generate a lot of the following log message in the console on the host player (not sure of cause/fix):
        [Warning: Unity Log] Instance not found when handling Command message [netId=157]
        

CHANGELOG

1.0.1

  • Add deprecation notice
  • Start assembly versioning
  • Upload source code
  • Use GitHub Actions to generate releases
  • Update manifest website url
  • Log a warning when installed on pre-SotS

1.0.0

  • Initial release