Project Zomboid

Project Zomboid

114 ratings
Vehicle Doors Hotkey
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
77.881 KB
17 Nov, 2020 @ 12:38pm
12 Jan @ 5:35am
3 Change Notes ( view )

Subscribe to download
Vehicle Doors Hotkey

Description
Updated to work on B42 unstable!

Allows you to Shift+Interact to open/close vehicle doors. Same behaviour as with the Radial Menu, just with 100% less Radial Menus!

--------

See sources on Github[github.com].

Workshop ID: 2290459371
Mod ID: VehicleDoorsHotkey
27 Comments
xDant 1 Feb @ 11:13am 
I can try alt key instead, where can i check the keycodes?
xDant 1 Feb @ 11:12am 
I did what we talked but it's not working...
The animation shows the door open and close rt back (im using the animated doors mod), and the door never opens.

Is this because of the ctrl key?
xDant 31 Jan @ 5:07pm 
ohh wait, that changes everything ahaha
Didn't know you could do '[Switch Seat]+[1]', thanks!!
Tiax  [author] 31 Jan @ 1:14pm 
Yup, you can actually easily change it yourself:

Just open this file with Notepad:

(Steam Dir)\steamapps\workshop\content\108600\2290459371\mods\VehicleDoorsHotkey\42\media\lua\server\VehicleDoorsHotkey.lua

and change where it says isKeyDown(42) to a isKeyDown(29) for left control

Ooooor you could just press [Switch Seat]+[1] when near the vehicle to goto driver seat 🤷‍♂️
xDant 30 Jan @ 6:07pm 
Well ,something like control + E would work.

If i change the interact key i still lose the feature to enter to driver from every door. I was wandering if it was possible to use your mod and keep the vanilla feature (i use it a lot).
Tiax  [author] 30 Jan @ 10:58am 
@xDant I'm extending the OnUseVehicle function, so it's whatever your interact key is. The only thing you'd be able to customize is the modifier key (SHIFT).
xDant 29 Jan @ 3:35pm 
Great mod, a must !

Can u make the keybindings modifiable? Not to lose the Shit + E vanilla feature.

Thanks!
Tiax  [author] 12 Jan @ 5:33am 
Haha fixed, thanks
Pommesgabel 11 Jan @ 5:32pm 
maybe add a C to the mod title? vehi[C]le doors hotkey