Project Zomboid

Project Zomboid

Not enough ratings
Fix Melee Context Menu
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
110.047 KB
9 Jun, 2023 @ 1:33am
9 Jun, 2023 @ 5:27am
8 Change Notes ( view )

Subscribe to download
Fix Melee Context Menu

Description
This mod fixes melee combat so your context menu does not pop up while melee attacking zombies.

You know how when you're melee fighting zombies and your context menu pops up at the worst times? This mod fixes that!
(If you hold down right-mouse button for melee then your context menu will not pop up. You can still right-click normally and the context menu will work perfectly.)


Shouldn't interfere with any other mods.
(But if you notice any issues or conflicts please inform me in the comments below!)


Works in Singleplayer + Multiplayer






Workshop ID: 2986816238
Mod ID: FixMeleeContextMenu
7 Comments
DETOX 16 Sep, 2023 @ 4:13am 
holy shit this fixes my mouse issue fkng razer deathadder right click problem lel
iCrazy  [author] 10 Jun, 2023 @ 2:20am 
FYI Guys ~ The way this mod works is basically if you hold down your Right-Mouse for 0.1s then your context menu will not appear.

If 0.1s is too short, I can tweak it to 0.2s or w/e. (Maybe I can even add a Mods Options for it)
Poltergeist 9 Jun, 2023 @ 6:22am 
ah, this will be perfect for... a friend, he sometimes jumps when a zombie comes from behind and triggers the context menu.
iCrazy  [author] 9 Jun, 2023 @ 6:01am 
@Poltergeist
No, I don't think so.

This mod is primarily for PC Players who use Mouse & Keyboard.

I did not implement any controller, gamepad, or joypad support.
But if the context menu during melee combat is also a problem for players who use Controller please let me know and I will see about updating my code to support Controllers, too! :steamhappy:
Poltergeist 9 Jun, 2023 @ 5:41am 
Is this a joypad issue?
iCrazy  [author] 9 Jun, 2023 @ 5:34am 
@MyNameis_Mati

Yes, sorry. Just uploaded this - planned on updating the description after testing.

Basically how it works is... you know when you're fighting zombies and you hold down Right-Click to Melee attack?
Well this makes it so the Context Menu doesn't pop-up randomly while Melee Fighting zombies.

If you hold down your Right-Click or Right-Mouse then the Context Menu won't open and interrupt your melee combat. (which has gotten me killed many times)
MyNameis_Mati 9 Jun, 2023 @ 5:17am 
care to xplain more?