Project Zomboid

Project Zomboid

Fix Melee Context Menu
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?