You are viewing a potentially older version of this package. View all versions.
BeiduoduoYaa-DrifterSprintFix-1.3.0 icon

DrifterSprintFix

Fixes Drifter's utility skills (Repossess, bag throw, Tornado Slam) being instantly cancelled when using an auto-sprint mod.

Date uploaded a month ago
Version 1.3.0
Download link BeiduoduoYaa-DrifterSprintFix-1.3.0.zip
Downloads 199
Dependency string BeiduoduoYaa-DrifterSprintFix-1.3.0

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

Drifter Sprint Fix

Makes Drifter's skill definitions stop cancelling themselves when you are sprinting.

The problem

If you play with any auto-sprint mod (RTAutoSprintEx, AutoSprint, ...), Drifter's utility skills get cancelled the moment they start, because the game marks those skills as canceledFromSprinting while the auto-sprint mod keeps you in the sprint state every frame.

Symptoms:

  • Pressing the utility skill does nothing / flashes and disappears
  • Throwing a bagged object flashes and is cancelled

What it does

At startup the plugin scans every SkillDef whose activation state is one of:

  • Repossess
  • RepossessExit / AimRepossess
  • TornadoSlam / ChargeTornadoSlam
  • EmptyBag / AimMagicBag / MagicBag

and sets:

canceledFromSprinting = false;
cancelSprintingOnActivation = false;

It re-scans once per second for the first 40 seconds so late-loaded content is covered too.

Notes

  • Client-side and safe to install without affecting other survivors.
  • No configuration needed.
  • Works with any auto-sprint mod, no dependency on them.

中文说明

装常态奔跑类 mod 后,漂泊者的抓取/投掷技能会因为处于冲刺状态被瞬间取消。这个补丁把这些技能的「冲刺取消」标记关掉,扫描 5 个相关状态,启动后每秒重扫一次共 40 秒。

CHANGELOG

Changelog

1.3.0

  • Continuous scan for 40s after load
  • Include bag throw states (EmptyBag / AimMagicBag / MagicBag)

1.2.0

  • Added EmptyBag / AimMagicBag / MagicBag targets

1.1.0

  • Robust state type name resolution

1.0.0

  • Initial release