You are viewing a potentially older version of this package. View all versions.
ButteryStancakes-MeleeFixes-1.0.0 icon

MeleeFixes

Fixes buggy collision with shovels and knives, causing invisible walls to make hit sounds and/or block damage.

Date uploaded 2 years ago
Version 1.0.0
Download link ButteryStancakes-MeleeFixes-1.0.0.zip
Downloads 11829
Dependency string ButteryStancakes-MeleeFixes-1.0.0

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 buggy collision with the shovel and kitchen knife:

  • The player being monitored by the ship's radar cameras would have an invisible collider placed on top of them, causing the shovel to always make the wall hit sound even when it's swung in open air or at an enemy.
  • Damaging hits could be blocked by non-solid triggers, causing enemies to not register the damage.
    • I'm not currently aware of a way to replicate this issue in vanilla but it has been fixed just in case to prevent possible issues.
  • Whenever a 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.

CHANGELOG

v1.5.1

  • Shovels/knives no longer collide with dead enemies (as dead enemies no longer make hit sounds in v80+)
  • Shovels/knives now hit trees again (which has been broken in vanilla since v55)

v1.5.0

  • Fixed a bug which would sometimes make snare fleas immune to damage they would've taken in vanilla, after v81

v1.4.1

v1.4.0

v1.3.1

  • Re-upload to update Thunderstore description for v60

v1.3.0

  • Removed many fixes that were implemented into vanilla with update v56
  • Fixed certain cases where hit effects (shovel bounce, knife blood spray) would play even if your swing actually misses

v1.2.0

  • Fixed knife damage not registering for thumpers or spiders
  • Fixed knife damage being blocked by dead bodies
  • Optimized shovel hit fix for better performance

v1.1.1

  • Fixed shovels becoming unusable if the player holding it died in the middle of swinging
  • Fixed shovels and knives still dealing double damage to players, due to another bug unrelated to the previous

v1.1.0

  • Fixed duplicate damage bug (shovels can now only damage individual targets once per swing)

v1.0.0

  • Initial release