Project Zomboid

Project Zomboid

Vehicle Doors Hotkey
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
Tiax  [author] 22 Dec, 2024 @ 3:50am 
I pushed an update for B42 unstable, hope it still works on B41 - I cannot be bothered to downgrade right now ;)
Linben 22 Dec, 2024 @ 12:00am 
Hello, author! Nice mod! any plans to update this mod for B42?
Tiax  [author] 10 Feb, 2022 @ 12:51am 
The "Switch seats" hotkey works from outside vehicles and lets you enter any seat without struggling with going to the exact green floor outline near the door.
G-t01l3t. 7 Feb, 2022 @ 10:20pm 
What do you guys do for the lost functionality of Shift+E to get to the driver seat from any door(if it's open)?

Just do it manually?
G-t01l3t. 6 Feb, 2022 @ 5:55pm 
@UluKator "Before this mod...never be same again" literally same, I found out right now.
UluKator 3 Jan, 2022 @ 12:20pm 
Before this mod I did not know you can use seats as containers being OUTSIDE of the car. I always entered, dumped items to seat, exited car. My life will never be same again :tinder:
Tiax  [author] 28 Dec, 2021 @ 12:06pm 
Thanks! :steamhappy:
nurver 26 Dec, 2021 @ 11:56pm 
Confirmed working in 41.65 MP, dedicated server. This consistently remains my favorite hidden gem on the workshop. Words cannot describe the amazing functionality and change in gameplay that this mod provides.
Kalmorph 18 Dec, 2021 @ 5:49pm 
@RunYouCleverBoy Also, SHIFT+E is already used to open/close curtains.
Tiax  [author] 13 Oct, 2021 @ 2:52am 
Not possible with lua mods. That kind of stuff is hardcoded in the Java classes.
RunYouCleverBoy 10 Oct, 2021 @ 9:21am 
oh great moder. Pls make the thing - i hope you can istead of developers. i wana edit keys for open/close windows e.t.c. and go throuh it. Just when i running with shift it seem more native to use SHIFT+E to get in window but stpd developers made it HOOOOOOLD E.. it really long and im died many times because of it.. pls, it seems easy for you..
Kauffy 31 Jan, 2021 @ 12:42am 
Can this be expanded to give an option to enter the vehicle when you're next to it, but not necessarily in the green square?

It's way too often that I CAN. NOT. GET. IN. TO. MY. CAR. because I'm to close, or too far, or too... something, and I have to walk away and come back. It's infuriating on its own, let alone if I'm being chased.
Tiax  [author] 11 Jan, 2021 @ 10:44am 
Oh wow, thanks for the hint - Corrected now! :D
nurver 11 Jan, 2021 @ 3:00am 
I only noticed now that this mod's title is misspelled. It makes it literally impossible to find. I've gotten a handful of people to grab this mod, great work. It really is an amazing feature and is one of the most game changing mechanics I can think of as of late.

10/10 Looking forward to what you create. :spiffo:
ContradictMe 19 Nov, 2020 @ 11:00am 
Ahh, ok now I understand thanks for the clarification.
Tiax  [author] 19 Nov, 2020 @ 2:15am 
That's... that's literally what it's supposed to do. It simply opens the door to allow you to access the inventory of the seats from the outside.
ContradictMe 18 Nov, 2020 @ 6:18pm 
Your mod makes the open door sound but does not open radial menu, Seat Menu, or enter the vehicle. In fact it makes it impossible to open enter the vehicle without releasing the shift key. I tested with no other mods active BTW.