MeleeFixes
Fixes several gamebreaking bugs with shovels and knives.
About this mod Author’s original text
Melee Fixes
Fixes bugs with the shovel, kitchen knife, and shotgun:
- Fixed shovel sometimes becoming unusable if a player died while holding it mid-swing.
- Fixed hit effects (shovel bounce, knife blood spray) sometimes playing even if your swing misses, providing poor feedback.
- Shovels and knives no longer collide with dead enemies.
- Before v80, enemies would still play their "impact sound" when their corpse was attacked, however this is no longer the case.
- However, hit effects (the aforementioned bounce/blood spray) will still play which seems unintended.
- This is a bigger deal for the knife, which is only allowed to damage one target per swing - now that damage can no longer be wasted on a corpse in proximity to the enemy you are targeting.
- Whenever a melee weapon plays a hit sound, it calls an expensive search function that can cause lag or frame drops on less powerful computers.
- It now references a cached instance of the required object, which should help combat remain more smooth and fluid.
- Damage should now be handled more consistently when firing the shotgun at multiple enemies
- Fixed duration of ear-ringing effect when a shotgun is shot in point-blank range (usually, because you are the one holding it)
- Shovels and knives now play hit effects when colliding with trees, as was the case before v55.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPack