1.0.0 [2021-04-xx]
Additional module for RTAutoSprintExtended that adds patches for a few custom characters and skill packs, as well as a way to set them up as a configuration file entry.
Included patches:
IceShard, LaserBolt and SnowBall. Sprint disable for CastThunder.HeavyPistol2 and BeamPistol.CombatShotgunEntity, TeslaMineFireState. Sprint disable for DirectiveRoot.TemplarRifleFire.Roulette.EnableDebugLog: If the addons spits out what it's doing in the console or not.SprintDisableEntityStates: List of EntityStates that disable sprinting. separated by ,.AnimationDelayEntityStates: List of EntityStates that check for duration field for a delay, separated by ,.And individual on/off toggles for the included patches/addons.
The rest is for RTAutoSprintEx, i.e what this addon is doing.
You can use SendMessage to register an EntityState to the list of Sprint Disablers and Animation Delayers. Add a soft dependency to ensure RTAutoSprintEx (not RTAutoSprintAddon) is loaded before your mod.
[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");
}
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.
1.0.0 [2021-04-xx]
Full changelog can be found in CHANGELOG.MD.
Open an issue at the Github repo or find me on the RoR2 modding discord (JohnEdwa#7903).