You are viewing a potentially older version of this package. View all versions.
Niro-Dash-1.0.3 icon

Dash

A simple mod that lets you do a dash when double-tapping!

Date uploaded 5 months ago
Version 1.0.3
Download link Niro-Dash-1.0.3.zip
Downloads 1203
Dependency string Niro-Dash-1.0.3

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Rune580-LethalCompany_InputUtils-0.7.4 icon
Rune580-LethalCompany_InputUtils

API/Library for creating Unity InputActions with in-game re-binding support. Provides an alternative UI that allows for supporting mods to have in-game re-bindable keybinds.

Preferred version: 0.7.4

README

A simple mod that lets you dash when double-tapping.

Configuration

Option Description Possible values Default
Enabled Enable / Disable Dash mod (syncing with host!) true / false true
StaminaCost Stamina cost for one dash. 0 - 1 0.15
Cooldown Cooldown in seconds. 0 - 2 0.75
Precision Time in which a key of the double-tap has to follow to the previous one. Higher = Easier. 0.1 (fast) - 0.5 (easy) 0.2
Power The power of a dash. 1 (very light) - 100 (yeet) 15
Speed The duration / speed of the dash. 0.1 - 1 0.4
SizeFrom Player minimum size to be able to dash (value included). Default player size is 1. any number 0
SizeTo Maximum size (value included). Use 0 to enable dashing for any size. any number 0

Planned features

  • Controller support

Got more ideas?

Send me a message on discord

  • niro1996

Anti-Cheat

This mod is client-sided, but can be disabled for any clients in the lobby, if the host has the "Enabled" config set to false.

Additionally, other Anti-Cheat mods can disable this mod by calling the following line as host, after a new player joined:

NetworkManager.Singleton.CustomMessagingManager.SendNamedMessage"Niro.Dash_DisabledReceive", clientId, new FastBufferWriter(0, Allocator.Temp), NetworkDelivery.ReliableSequenced);

For a cleaner implementation: Every client with this mod sends a NamedMessage with the following name upon joining, whioch can be reacted on: "Niro.Dash_DisabledRequest"

CHANGELOG

1.1.1

  • Removed "Cooldown" config option limitation

1.1.0

  • Added UseDashKey config to use a single key for dashing. Rejoining the lobby is required after changing
  • Added DashKeyKeyboard & DashKeyGamepad. Requires a restart after being set

1.0.3

  • Fixed bug where settings werent loaded correctly

1.0.2

  • Added Enabled / SizeFrom / SizeTo config options

1.0.1

  • Updated github repo link

1.0.0

  • First version