Project Zomboid

Project Zomboid

评价数不足
Long press hold to sit
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
297.660 KB
8 月 19 日 下午 6:25
8 月 19 日 下午 6:46
2 项改动说明 ( 查看 )

订阅以下载
Long press hold to sit

描述
Hold a key to sit. By default the key is C and it takes 500 milliseconds to activate. You can change both in the mod options.

Other QoL mods here: https://psteamcommunity.yuanyoumao.com/profiles/76561198045899180/myworkshopfiles/?appid=108600

Workshop ID: 3552365182
Mod ID: LongPressToSit
13 条留言
wubby woowoo 8 月 26 日 上午 2:45 
You could use controller here through Steam's remapping , no?
I don't know if it'd require a macro or if it would just work naturally.

1. Remap a controller input to a key press (naturally)
2. Remap the controller to the macro (specifically press, hold, release)

I don't have a controller anymore so I can't go see if it would work naturally. just an idea tho
Батюшка 8 月 22 日 下午 8:50 
when bro says something so controller-fed you have to give them the kb/m stare
Tuck Davis 8 月 22 日 上午 2:07 
The mod I didn't knew I was waiting for. Awesome Idea :)
ribs  [作者] 8 月 21 日 下午 7:38 
I mean it could take dozens of hours to make just one implementation and hundreds if we want to support every kind of key interaction. That is why I asked because I have never played this game with a controller.
ribs  [作者] 8 月 21 日 下午 7:32 
It’s not that. The problem is that this long press method uses three event implementations: press key, hold key, and release key. If you find a mod that already handles long press, it makes things much easier. Otherwise, I’d have to spend hours digging through the code to find a solution. I’m thinking about creating a mod that supports long press, double tap, and single tap interactions, but it’s very time-consuming. If there’s already a mod that does this, it would save a lot of time.
DrVonBoogie 8 月 21 日 下午 6:20 
Also, I'd like to add. If you don't want to add controller support that's okay! Make what you want to make. Sorry if I came off a bit demanding.
DrVonBoogie 8 月 21 日 下午 6:17 
While you don't have to hold the button to preform these actions, jump, roll, true crawl, and lethal stealth all have controller support. Though I think you can hold a button on true crawl to go prone.
ribs  [作者] 8 月 21 日 下午 4:57 
Show me a mod that uses a hold button on the controller to perform an action, and I’ll see if I can implement it here.
DrVonBoogie 8 月 21 日 下午 4:10 
Because I can
bear 8 月 21 日 下午 2:52 
why r u asking for controller support on a desktop game