Project Zomboid

Project Zomboid

评价数不足
Fix Melee Context Menu
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
110.047 KB
2023 年 6 月 9 日 上午 1:33
2023 年 6 月 9 日 上午 5:27
8 项改动说明 ( 查看 )

订阅以下载
Fix Melee Context Menu

描述
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 条留言
DETOX 2023 年 9 月 16 日 上午 4:13 
holy shit this fixes my mouse issue fkng razer deathadder right click problem lel
iCrazy  [作者] 2023 年 6 月 10 日 上午 2:20 
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 2023 年 6 月 9 日 上午 6:22 
ah, this will be perfect for... a friend, he sometimes jumps when a zombie comes from behind and triggers the context menu.
iCrazy  [作者] 2023 年 6 月 9 日 上午 6:01 
@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 2023 年 6 月 9 日 上午 5:41 
Is this a joypad issue?
iCrazy  [作者] 2023 年 6 月 9 日 上午 5:34 
@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 2023 年 6 月 9 日 上午 5:17 
care to xplain more?