ButteryStancakes-MeleeFixes icon

MeleeFixes

Fixes several gamebreaking bugs with shovels and knives.

Last updated 5 days ago
Total downloads 994863
Total rating 30 
Categories BepInEx Client-side Equipment Items Bug Fixes
Dependency string ButteryStancakes-MeleeFixes-1.5.1
Dependants 695 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305

README

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.