Controls: Difference between revisions
No edit summary |
m (Automated Formatting) |
||
(51 intermediate revisions by 19 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Game mechanics|User interface}} | ||
{{ | {{Page version|41.78.16}} | ||
{{About|the general controls of Project Zomboid| | {{About|the general controls of Project Zomboid|customizing controls/key-bindings|Options#Key Bindings}} | ||
[[File:Controls.png|thumb|Screenshot of the in-game key bindings section of the game options.]] | |||
The default '''controls''' are displayed below; most (not all) ''key bindings'' can be customized in the [[Options|game options]] along with gamepad/controller configuration. In order to customize a key binding, the desired key change must be ''left-clicked'', followed by the desired keystroke. If done correctly, the desired key will be displayed within the box. | |||
The default '''controls''' are displayed below; most (not all) ''key bindings'' can be | |||
==General== | ==General== | ||
{| class=" | {| class="wikitable theme-red" | ||
!Key | !Key | ||
!Function | !Function | ||
Line 59: | Line 32: | ||
*Pauses a single-player game. | *Pauses a single-player game. | ||
*Displays the pause menu, allowing the player to adjust [[options]], exit game, etc. | *Displays the pause menu, allowing the player to adjust [[options]], exit game, etc. | ||
|- | *Re-enables {{abbr|HUD|Heads-up Display}} (if hidden). | ||
|} | |} | ||
==Player Control== | ==Player Control== | ||
{| class=" | {| class="wikitable theme-red" | ||
!Key | !Key | ||
!Function | !Function | ||
Line 70: | Line 43: | ||
|{{Key|W}} | |{{Key|W}} | ||
|Move Forward | |Move Forward | ||
|rowspan="4"| | |rowspan="4"| | ||
*The basic directional movement of the player. Holding both a horizontal and vertical movement key will cause the player to move diagonally. | *The basic directional movement of the player. Holding both a horizontal and vertical movement key will cause the player to move diagonally. | ||
*Pressing the '''{{abbr|RMB|Right Mouse Button}}''' and selecting ''move here'', will cause the player to move to that location. | *Pressing the '''{{abbr|RMB|Right Mouse Button}}''' and selecting ''move here'', will cause the player to move to that location. | ||
Line 85: | Line 58: | ||
|{{Key|SHIFT}} | |{{Key|SHIFT}} | ||
|Run/Sprint | |Run/Sprint | ||
|Press and hold (depending on the [[Options#Key Bindings|toggle run option]]) to increase movement speed, at the cost of generating more noise and [[ | |*Press and hold (depending on the [[Options#Key Bindings|toggle run option]]) to increase movement speed, at the cost of generating more noise and [[Endurance|exertion]]. | ||
*Double tapping will cause the player to sprint. | |||
|- | |||
|{{Key|L. ALT}} | |||
|Sprint | |||
|Press and hold (depending on the [[Options#Key Bindings|toggle sprint option]]) to vastly increase movement speed, at the cost of generating significant amount of noise and high [[Endurance|exertion]]. | |||
*Sprinting into a solid object will result in falling over backwards. | |||
*Sprinting through trees and over fences increases chance of tripping, causing damage and dropping equipped items. | |||
|- | |- | ||
|{{Key|E}} | |{{Key|E}} | ||
Line 93: | Line 73: | ||
*Holding will perform the ''follow up'' action on the contextual menu (e.g. Going through a window after opening). | *Holding will perform the ''follow up'' action on the contextual menu (e.g. Going through a window after opening). | ||
*Tapping rapidly will make an ''urgent action'', causing the player to take drastic measures (e.g. Smashing a window with their arm). | *Tapping rapidly will make an ''urgent action'', causing the player to take drastic measures (e.g. Smashing a window with their arm). | ||
|- | |||
|{{Key|SHIFT}} + {{Key|E}} | |||
|Special Interact | |||
| | |||
Most of the time this does nothing. Some objects have special interactions: | |||
*Pressing this near a window will open/close the curtains. | |||
*This list is not comprehensive; please add to it if more are discovered. | |||
|- | |- | ||
|{{Key|ESC}} | |{{Key|ESC}} | ||
Line 100: | Line 87: | ||
==Combat== | ==Combat== | ||
{| class=" | {| class="wikitable theme-red" | ||
!Key | !Key | ||
!Function | !Function | ||
!Description | !Description | ||
|- | |- | ||
|{{Key|L. | |{{Key|C}} | ||
|Aim | |Sneak (Crouch) | ||
| | |||
*Generates less [[noise]]. | |||
*Reduces visibility. Crouching behind objects reduces visibility further (e.g. fences). | |||
*Toggle: pressing will perform the action until pressed again. | |||
|- | |||
|{{Key|L. CTRL}} / '''{{abbr|RMB|Right Mouse Button}}''' | |||
|Aim | |||
| | | | ||
*Holding causes the player to face in the direction of the ''mouse cursor''. | *Holding causes the player to face in the direction of the ''mouse cursor''. | ||
*Moving while held causes the player to | *Moving while held causes the player to generate less [[noise]]. | ||
*The longer it's held down, the more accurate the attack will be. | *The longer it's held down, the more accurate the attack will be. | ||
|- | |- | ||
Line 116: | Line 110: | ||
|Pressing will cause the player to fire or attack in the direction the player is facing. | |Pressing will cause the player to fire or attack in the direction the player is facing. | ||
|- | |- | ||
|{{Key| | |{{Key|SPACE}} | ||
|Melee | |Melee | ||
|Causes the player to perform an unarmed melee ''shove'', or ''stomp'' in the direction the player is facing. | |Causes the player to perform an unarmed melee ''shove'', or ''stomp'' in the direction the player is facing. | ||
Line 122: | Line 116: | ||
|{{Key|X}} | |{{Key|X}} | ||
|Rack Firearm | |Rack Firearm | ||
|Racks a round into a firearm | |Racks a round into the chamber of a firearm, making it ready to fire. A round will be removed from the firearm if there is already a round in the chamber. | ||
|- | |- | ||
|{{Key|R}} | |{{Key|R}} | ||
|Reload Weapon | |Reload Weapon | ||
| | | | ||
* | *Press: inserts/removes a magazine. | ||
** | **Swaps current magazine with a full magazine (if available) | ||
** | **Removes current magazine and fills (if available and not full) | ||
**Removes magazine (if full) | |||
*Hold: opens radial menu. | |||
**Only options that are available will appear: "Rack", "Eject Magazine", "Load Bullets into spare Magazine" | |||
|- | |- | ||
|{{Key|1}} | |{{Key|1}} | ||
| | |Hotbar 1 (Back) | ||
|rowspan=" | |rowspan="5"| | ||
*Equips/Unequips the desired weapon type into the primary weapon slot, thus making it the active weapon/tool. | *Equips/Unequips the desired weapon type into the primary weapon slot, thus making it the active weapon/tool. | ||
|- | |- | ||
|{{Key|2}} | |{{Key|2}} | ||
| | |Hotbar 2 (Belt Left) | ||
|- | |- | ||
|{{Key|3}} | |{{Key|3}} | ||
| | |Hotbar 3 (Belt Right) | ||
|- | |||
|{{Key|4}} | |||
|Hotbar 4 (Holster Left) | |||
|- | |||
|{{Key|5}} | |||
|Hotbar 5 (Holster Right) | |||
|- | |- | ||
|{{Key|F}} | |{{Key|F}} | ||
|Activate/Deactivate Light | |Activate/Deactivate Light | ||
| | | | ||
*Equips a [[ | *Equips a [[Light sources|light source]] as the secondary item if there is one available in the player's main inventory and activates it. | ||
*Activates/deactivates an already equipped light source. | *Activates/deactivates an already equipped light source. | ||
|- | |||
|{{Key|L. ALT}} | |||
|Manual Floor Attack | |||
|Forces targetting prone enemies instead of standing enemies. | |||
|} | |} | ||
==Inventory== | ==Inventory== | ||
{| class=" | {| class="wikitable theme-red" | ||
!Key | !Key | ||
!Function | !Function | ||
Line 173: | Line 179: | ||
|} | |} | ||
==NPC Interaction== | |||
{| class="wikitable theme-red" | |||
!Key | |||
!Function | |||
!Description | |||
|- | |||
|{{Key|Q}} | |||
|Shout | |||
|Causes the player to shout, drawing nearby [[zombies]]. Crouching will result in a quieter shout, reducing the [[noise]] radius and intensity. | |||
|- | |||
|{{Key|Q}} | |||
|Emotes Wheel | |||
|Long press to enable the radial emotes menu. | |||
|} | |||
==Multiplayer== | |||
{| class="wikitable theme-red" | |||
!Key | |||
!Function | |||
!Description | |||
|- | |||
|{{Key|G}} | |||
|Toggle Safety | |||
|Toggles the ability to hurt or be hurt by other players. | |||
|- | |||
|{{Key|T}} | |||
|Toggle Chat | |||
|Opens the chat window to type. | |||
|- | |||
|{{Key|RETURN}} | |||
|Alt Toggle Chat | |||
|Opens the chat windows to type. | |||
|- | |||
|{{Key|TAB}} | |||
|Switch Chat Stream | |||
|Switches between chat modes, e.g., world chat and admin chat. | |||
|- | |||
|{{Key|L. ALT}} | |||
|Push-to-talk Key | |||
|Allows the player to talk in game if voice chat is enabled. | |||
|} | |||
== | ==Debug== | ||
{| class=" | All of these options require the player to be in [[debug mode]], which can be enabled by adding the <code>-debug</code> launch option. | ||
{| class="wikitable theme-red" | |||
!Key | !Key | ||
!Function | !Function | ||
!Description | !Description | ||
|- | |- | ||
| | |{{Key|F11}} | ||
| | |Toggle Lua Debugger | ||
| | |toggles the Lua debugger window, which can be used by [[Modding|modders]]. | ||
|- | |||
|{{Key|"}} | |||
|Toggle Lua Console | |||
|Toggles the Lua Command Console. | |||
|- | |||
|{{Key|N}} | |||
|Toggle God Mode and Invisible | |||
|Toggles God Mode and Invisible. | |||
|- | |- | ||
| | |{{Key|F3}} | ||
|Toggle | |Toggle Models Enabled | ||
| | |Toggles 3D models. I.e. Characters and vehicles. Does not affect world items. | ||
|- | |- | ||
| | |{{Key|F6}} | ||
| | |Toggle Animation Text | ||
| | |Toggles text about the character properties. | ||
|} | |} | ||
==Vehicle== | ==Vehicle== | ||
===General Vehicle Operation=== | ===General Vehicle Operation=== | ||
{| class=" | {| class="wikitable theme-red" | ||
!Key | !Key | ||
!Function | !Function | ||
!Description | !Description | ||
|- | |- | ||
| | |{{Key|W}} | ||
|Accelerate/Forward | |Accelerate/Forward | ||
| | | | ||
|- | |- | ||
| | |{{Key|S}} | ||
|Brake/Reverse | |Brake/Reverse | ||
| | | | ||
|- | |- | ||
| | |{{Key|A}} | ||
|Turn left | |Turn left | ||
| | | | ||
|- | |- | ||
| | |{{Key|D}} | ||
|Turn right | |Turn right | ||
| | | | ||
|- | |- | ||
| | |{{Key|Spacebar}} | ||
|Hand brake | |Hand brake | ||
| | | | ||
|- | |||
|{{Key|SHIFT + W}} | |||
|Increase Cruise Control Speed | |||
| | |||
*If cruise control is off, this will turn it back on at the previous cruise control speed, or the current speed if none exists. | |||
*When cruise control is enabled, pressing this will increase the cruise control speed by 5 MPH. | |||
|- | |||
|{{Key|SHIFT + S}} | |||
|Decrease Cruise Control Speed | |||
| | |||
*If cruise control is off, this will turn it back on at the previous cruise control speed, or the current speed if none exists. | |||
*When cruise control is enabled, pressing this will decrease the cruise control speed by 5 MPH. | |||
|} | |} | ||
===Vehicle Radial Menu=== | ===Vehicle Radial Menu=== | ||
{| class=" | {| class="wikitable theme-red" | ||
!Key | !Key | ||
!Function | !Function | ||
!Description | !Description | ||
|- | |- | ||
| | |{{Key|V}} | ||
|Vehicle Radial Menu | |Vehicle Radial Menu | ||
| | | | ||
Line 238: | Line 301: | ||
[[File:VehicleRadialMenu.png]] | [[File:VehicleRadialMenu.png]] | ||
|- | |- | ||
| | |{{Key|F}} | ||
|Toggle | |Toggle Headlights | ||
|Toggles the headlights between an ''on'' and ''off'' state. | |Toggles the headlights between an ''on'' and ''off'' state. | ||
|- | |- | ||
| | |{{Key|N}} <small>or</small> {{Key|W}} | ||
|Start Engine | |Start Engine | ||
|Attempts to start the engine, either by key or [[Vehicles#Hot-wiring|hot-wiring]]. | |Attempts to start the engine, either by key or [[Vehicles#Hot-wiring|hot-wiring]]. | ||
|- | |- | ||
| | |{{Key|O}} | ||
|Heater | |Heater | ||
|Toggles the heater panel which can be used to adjust the vehicle's heating and cooling. | |Toggles the heater panel which can be used to adjust the vehicle's heating and cooling. | ||
|- | |- | ||
| | |{{Key|U}} | ||
|Info | |Info | ||
|Displays the vehicle mechanics/info, which can take a few seconds - the player must be outside the vehicle, otherwise they'll be removed from the vehicle before opening the panel. | |Displays the vehicle mechanics/info, which can take a few seconds - the player must be outside the vehicle, otherwise they'll be removed from the vehicle before opening the panel. | ||
|- | |- | ||
| | |{{Key|E}} | ||
|Enter/Exit Vehicle | |Enter/Exit Vehicle | ||
|The vehicle can be entered when standing next to a door (displaying a green square) or through the radial menu. The player exits the vehicle from the side based on their current seat. | |The vehicle can be entered when standing next to a door (displaying a green square) or through the radial menu. The player exits the vehicle from the side based on their current seat. | ||
|- | |- | ||
| | |{{Key|Z}} | ||
|Switch Seat | |Switch Seat | ||
|Displays the vehicle's seats, showing the player's and any occupied seats. The player can move seats by either clicking the desired seat, or by pressing the designated numbered hotkey shown on the seat. The player may also choose which seat to exit the vehicle from this menu. | |Displays the vehicle's seats, showing the player's and any occupied seats. The player can move seats by either clicking the desired seat, or by pressing the designated numbered hotkey shown on the seat. The player may also choose which seat to exit the vehicle from this menu. | ||
|- | |- | ||
| | |{{Key|Q}} | ||
|Horn | |Horn | ||
|Sounds the vehicle's horn until the key is released, or if using the radial menu, it will sound for 2 seconds. Attracts any zombies towards the vehicle. | |Sounds the vehicle's horn until the key is released, or if using the radial menu, it will sound for 2 seconds. Attracts any zombies towards the vehicle. | ||
Line 272: | Line 335: | ||
:'''Sleep:''' | :'''Sleep:''' | ||
:: Allows the player to sleep in the vehicle. | :: Allows the player to sleep in the vehicle. | ||
===Vehicle Dashboard=== | ===Vehicle Dashboard=== | ||
: Displays the current status of the vehicle. Some icons can be activated by clicking with the '''{{abbr|LMB| | ''Note: This '''section''' has been updated to version 40.43, and may not match the whole page's last updated version.'' | ||
: [[File: | : Displays the current status of the vehicle. Some icons can be activated by clicking with the '''{{abbr|LMB|Left Mouse Button}}'''. | ||
:<small>''Numbers in <span style="color:#F00">'''red'''</span> are status icons and those in <span style="color:# | : [[File:Dashboard 4043.png]] | ||
====Status==== | :<small>''Numbers in <span style="color:#F00">'''red'''</span> are status icons and those in <span style="color:#00FF80">'''green'''</span> are accessories and other interactables.''</small> | ||
====Status Icons==== | |||
''Displayed in <span style="color:#F00">'''red'''</span>'' | ''Displayed in <span style="color:#F00">'''red'''</span>'' | ||
#[[File: | ====<small>1. Engine Status</small>==== | ||
#[[File: | #[[File:Dashboard Engine Off.png]]: The engine is off(not ignited). | ||
# | #[[File:Dashboard Engine Igniting.png]]: The engine is currently in the process of ignition. | ||
#[[File:Dashboard Engine Ignited.png]]: The engine is on(ignited). | |||
#[[File:Dashboard Engine Broken.png]]: The engine is broken or not present in the car. | |||
# | ====<small>2. Battery</small>==== | ||
#[[File:Dashboard Battery Off.png]]: The car key is not inserted into the {{Tooltip|key slot|Interactables, #4}}, no info is given. | |||
==== | #[[File:Dashboard Battery On.png]]: The [[Car Battery|battery]] is charged and functional. | ||
''Displayed in <span style="color:# | #[[File:Dashboard Battery NoCharge.png]]: The [[Car Battery|battery]] is discharged or not present in the car. | ||
#[[File: | ====<small>3. Door Lock</small>==== | ||
#[[File: | This icon does not need the car key to be inserted into the {{Tooltip|key slot|Interactables, #4}} to display the current state. | ||
#[[File: | #[[File:Dashboard Door Unlocked.png]]: The car doors are unlocked and can be opened without car keys. | ||
#[[File: | #[[File:Dashboard Door Locked.png]]: The car doors are locked and can only be opened using car keys. | ||
====<small>4. Gearshift Position</small>==== | |||
* Displays the current gear the vehicle is in. | |||
====<small>5. Tachometer</small>==== | |||
* Gauge that measures the rotation speed of the engine's crankshaft, displayed in '''{{abbr|RPM|Revolutions Per Minute}}'''. | |||
====<small>6. Speedometer</small>==== | |||
* Gauge that measures the vehicle's current speed, displayed in '''{{abbr|MPH|Miles Per Hour}}'''. | |||
====<small>7. Fuel Gauge</small>==== | |||
* Gauge that measures the current amount of fuel in the [[Fuel Tank|fuel tank]], displayed in '''Litres (L)'''. | |||
====<small>8. Cruise Control Speed (not pictured)</small>==== | |||
* At the time of writing this, no screen shot of this exists. | |||
* The Cruise Control Speed indicator may be found below the Gearshift Position (#4) and to the left of the Tachometer (#5). | |||
* When cruise control is off, the indicator will be dark gray in color. When it is enabled, the indicator will display in a green color. | |||
* The number displayed on the Cruise Control Speed indicator represents the current cruise control speed that the vehicle is set to. | |||
====Interactables==== | |||
''Displayed in <span style="color:#00FF80">'''green'''</span>'' | |||
====<small>1. Headlights</small>==== | |||
This icon does not need the car key to be inserted into the {{Tooltip|key slot|Interactables, #4}} to display the current state. | |||
#[[File:Dashboard Headlights Off.png]]: The headlights are off. | |||
#[[File:Dashboard Headlights On.png]]: The headlights are on. | |||
#[[File:Dashboard Headlights Broken.png]]: The headlights are broken, damaged or not present in the car. | |||
====<small>2. Heater</small>==== | |||
This icon does not need the car key to be inserted into the {{Tooltip|key slot|Interactables, #4}} to display the current state. | |||
#[[File:Dashboard Heater Off.png]]: The heater is off. | |||
#[[File:Dashboard Heater On.png]]: The heater is on. | |||
====<small>3. Trunk Lock</small>==== | |||
This icon does not need the car key to be inserted into the {{Tooltip|key slot|Interactables, #4}} to display the current state. | |||
#[[File:Dashboard Trunk Unlocked.png]]: The trunk is unlocked and can be opened without car keys. | |||
#[[File:Dashboard Trunk Locked.png]]: The trunk is locked and can only be opened using car keys. | |||
====<small>4. Key Slot</small>==== | |||
#[[File:Dashboard Key Empty.png]]: The [[Car Key|car key]] is not inserted into the key slot, therefore the engine is not ignited and is off. | |||
#[[File:Dashboard Key NotIgnited.png]]: The [[Car Key|car key]] is inserted into the key slot, but is not turned, therefore the engine is not ignited and is off. | |||
#[[File:Dashboard Key Ignited.png]]: The [[Car Key|car key]] is inserted into the key slot and turned, therefore the engine is ignited and is on. | |||
#[[File:Dashboard Key Hotwire.png]] The [[Car Key|car key]] is not present, but the vehicle has been [[Vehicles#Hot-wiring|hot-wired]]. There is no way to tell if the engine is ignited or not by looking at the key slot in this state. | |||
The key can be stored in the key slot with the engine off, draining the [[Car Battery|battery]] if any of the [[#Interactables|accessories]] are left on. | |||
==UI== | |||
The ''[[wikipedia:User interface|user interface]]'', or just ''UI'', displays information to the player, some of which is interactable. | |||
{| class="wikitable theme-red" | |||
!Key | |||
!Function | |||
!Description | |||
|- | |||
|{{Key|F1}} | |||
|Toggle Survival Guide | |||
|Toggles the [[Survival Guide|survival guide]], which is an brief in-game contextual tutorial describing certain aspects of Project Zomboid. | |||
|- | |||
|{{Key|V}} | |||
|Toggle UI | |||
| | |||
*Toggles the HUD. Ideal for taking uncluttered screenshots. | |||
*''Note that this will not function when nearby a vehicle, and will instead trigger the vehicle radial menu.'' | |||
|- | |||
|{{Key|K}} | |||
|Display FPS | |||
|Toggles the display of FPS (Frames Per Second) in the top-left corner of the screen. | |||
|- | |||
|{{Key|F10}} | |||
|Take screenshot | |||
|*Pressing will take a screenshot and store it in the <code>\Users\USERNAME\Zomboid\Screenshots</code> folder. | |||
*There is no in-game confirmation that a screenshot has been taken, therefore the player should be aware that each keystroke will save a new screenshot. | |||
|- | |||
|{{Key|J}} | |||
|Info Panel | |||
|Toggles the info panel. Providing: | |||
*Portrait view of character | |||
*Name | |||
*Weight - displays a chevron indicating whether the player's weight is increasing or decreasing. | |||
*Occupation | |||
*Traits | |||
*Hair - including options to cut hair. | |||
*Training Materials - list of [[Skill Books|books]], [[Recipe magazines|magazines]], [[CD]]s and [[VHS]]es that the played has read, watched and listened to. | |||
*Zombies killed | |||
|- | |||
|{{Key|L}} | |||
|Skill Panel | |||
|Displays all the players skills. | |||
|- | |||
|{{Key|P}} | |||
|Protection Panel | |||
|Dispalys the player's protection rating for each body part. | |||
|} | |||
===Time Controls=== | ===Time Controls=== | ||
[[File:TimeDisplay.png]] | |||
{| class="wikitable theme-red" | |||
! UI | |||
! Key | |||
! Function | |||
! Description | |||
|- | |||
| [[File:PauseAnim.gif|link=]] | |||
| {{Key|F2}} | |||
:'' | | Pause | ||
: | | Pauses the game. Different to {{Key|ESCAPE}} as it does not bring up the menu. | ||
: | |- | ||
| [[File:PlayAnim.gif|link=]] | |||
| {{Key|F3}} | |||
| Play | |||
| Changes the game speed back to the default speed. 10 minutes of in-game time corresponds to 25 seconds of real time. | |||
|- | |||
| [[File:FFwd1Anim.gif|link=]] | |||
| {{Key|F4}} | |||
| Fast-Forward x5 | |||
| Increases game speed to 5x the default. | |||
|- | |||
| [[File:FFwd2Anim.gif|link=]] | |||
| {{Key|F5}} | |||
| Fast-Forward x20 | |||
| Increases game speed to 20x the default. | |||
|- | |||
| [[File:WaitAnim.gif|link=]] | |||
| {{Key|F6}} | |||
| Fast-Forward x40 | |||
| Increases game speed to 40x the default. | |||
|- | |||
| [[File:ClockAlarmLarge Anim.png|link=]] | |||
| | |||
| Alarm | |||
| Toggles the alarm being set. Can also be toggled in the item's contextual menu. | |||
|} | |||
====Display time==== | |||
Having either of the below in the player's main inventory will display the in-game time in the upper-right corner. The time format can be adjusted in the [[options]] menu. Some of these items add extra functionality to the time display, such as: Date, temperature and ability to set an alarm. | |||
{| class="wikitable theme-red" style="text-align:center;" | |||
! Icon | |||
! Item | |||
! Time | |||
! Date | |||
! {{abbr|Temp.|Temperature}} | |||
! Alarm | |||
|- | |||
| [[File:Watch Black.png|link=Classic Wrist Watch|Classic Wrist Watch]] | |||
| [[Classic Wrist Watch]] | |||
| [[File:UI Tick.png|Displays time]] | |||
| [[File:UI_Cross.png|No date display]] | |||
| [[File:UI_Cross.png|No temperature display]] | |||
| [[File:UI_Cross.png|No alarm function]] | |||
|- | |||
| [[File:DigitalWatch.png|link=Digital Watch|Digital Watch]] | |||
| [[Digital Watch]] | |||
| [[File:UI Tick.png|Displays time]] | |||
| [[File:UI Tick.png|Displays date]] | |||
| [[File:UI Tick.png|Displays temperature]] | |||
| [[File:UI Tick.png|Has alarm function]] | |||
|- | |||
| [[File:AlarmClock.png|link=Alarm Clock|Alarm Clock]] | |||
| [[Alarm Clock]] | |||
| [[File:UI Tick.png|Displays time]] | |||
| [[File:UI_Cross.png|No date display]] | |||
| [[File:UI_Cross.png|No temperature display]] | |||
| [[File:UI Tick.png|Has alarm function]] | |||
|} | |||
===Left-side HUD Icons=== | ===Left-side HUD Icons=== | ||
[[File:Leftsidehud.png|left]] | |||
{| class="wikitable theme-red" | |||
!# | |||
!Key | |||
!Function | |||
!Description | |||
|- | |||
|1 | |||
| | |||
|Primary | |||
|Displays the primary equipped item. | |||
|- | |||
|2 | |||
| | |||
|Secondary | |||
|Displays the secondary equipped item. | |||
|- | |||
|3 | |||
|{{Key|I}} | |||
|Inventory | |||
|Toggles the [[inventory]] when left-clicked. | |||
|- | |||
|4 | |||
|{{Key|H}} | |||
|Health | |||
|Toggles the player [[health]] panel, which can be used to navigate to the ''info'' {{Key|J}} and ''[[skills]]'' {{Key|C}} panels. | |||
|- | |||
|5 | |||
|{{Key|B}} | |||
|Crafting | |||
|Toggles the [[crafting]] panel, where the player's known recipes can be found. | |||
|- | |||
|6 | |||
| | |||
|Move Furniture | |||
|Enables [[#Build/Move Mode|furniture-moving]], which may require certain skills and tools depending on the [[furniture]]. | |||
|- | |||
|7 | |||
|{{Key|END}} | |||
|Search Mode | |||
|Toggles the investigate area panel, where [[Foraging|search mode]] can be enabled. | |||
|- | |||
|8 | |||
|{{Key|M}} | |||
|Map | |||
|Toggles the [[map]] overlay. | |||
|- | |||
|9 | |||
| | |||
|Debug Menu | |||
|Toggles the debug menu. ''Only available in [[debug mode]].'' | |||
|- | |||
|10 | |||
| | |||
|Server Controls | |||
|Toggles the user panel. ''Only available in [[multiplayer]].'' | |||
|- | |||
|11 | |||
|{{Key|G}} | |||
|Safety | |||
|Toggles {{abbr|PVP|Player Versus Player}}. ''Only available in [[multiplayer]].'' | |||
|} | |||
{{Clear}} | |||
== | ===Moveable Panel=== | ||
{| class="wikitable theme-red" | |||
:: | !Key | ||
:' | !Function | ||
:: | !Description | ||
:''' | |- | ||
|{{Key|R}} | |||
: | |Rotate Building | ||
| | |||
*Rotate: Rotates the selected object 90° each press. | |||
*Pick Up/Disassemble: Cycles through objects on tile. | |||
*Place: Cycles through placeable objects in player's inventory. | |||
*Place Item: Holding will rotate an item clockwise. Holding {{Key|SHIFT}} will rotate it counter-clockwise | |||
|- | |||
|{{Key|TAB}} | |||
|Toggle Mode | |||
| | |||
Cycles through furniture-moving modes. | |||
*[[File:Furniture Pickup.png]] '''Pick-up:''' places the object in the player's inventory. | |||
*[[File:Furniture Place.png]] '''Place''' places the object on ground. | |||
*[[File:Furniture Rotate.png]] '''Rotate:''' moving the mouse will rotate the object to face that direction. | |||
*[[File:Furniture Disassemble.png]] '''Disassemble''': alternatively the '''{{abbr|RMB|Right Mouse Button}}''' can be pressed on the desired object followed by selecting ''"dismantle"'' in the context menu. | |||
|- | |||
|{{Key|ESCAPE}} | |||
|Cancel Action | |||
|Exits the build/move mode | |||
|- | |||
|'''{{abbr|LMB|Left Mouse Button}}''' | |||
|Place/Rotate | |||
| | |||
*Pressing will place the object on the highlighted tile. | |||
*Holding will rotate the object to face the direction of the cursor on the tile that was highlighted when first pressing the key. | |||
|} | |||
== | ==Xbox 360 Controller== | ||
:'' | :''See also [https://steamcommunity.com/sharedfiles/filedetails/?id=372455161 Project Zomboid Gamepad Basics: control scheme and quick start guide (Xbox controller)]'' | ||
:: '' | |||
It is possible to use a [[wikipedia:Gamepad|gamepad]] rather than the standard mouse and keyboard, which is ideal for local 4 player split-screen co-op. | It is possible to use a [[wikipedia:Gamepad|gamepad]] rather than the standard mouse and keyboard, which is ideal for local 4 player split-screen co-op. | ||
To use a controller, it must first be connected and installed correctly in the operating system. | To use a controller, it must first be connected and installed correctly in the operating system. | ||
Any controller can be tested from the controller tab in the [[Options|game options]], to ensure all buttons are functioning correctly. The controller sensitivity can also be adjusted there. | Any controller can be tested from the controller tab in the [[Options|game options]], to ensure all buttons are functioning correctly. The controller sensitivity can also be adjusted there. | ||
* [[:File:Xbox 360 controller steamworkshop webupload previewfile 372455161 preview.png| Project Zomboid Xbox 360 controller]] | |||
{| style="width:100%;" | {| style="width:100%;" | ||
|- style="font-size:100%" | |- style="font-size:100%" | ||
| style="text-align:center;" valign="top" |[[File: | | style="text-align:center;" valign="top" |[[File:360 controller.png|514px]]<!-- | ||
--><br> ''Controls of a standard XBox 360 controller'' | --><br> ''Controls of a standard XBox 360 controller'' | ||
|} | |} | ||
Line 389: | Line 644: | ||
;Right trigger: Fire/attack (triggered on release) | ;Right trigger: Fire/attack (triggered on release) | ||
;Back: Press and hold to display radial menu | ;Back: Press and hold to display radial menu | ||
:: Usage: | :: Usage: | ||
::#Hold ''"Back"'' to display radial menu | ::#Hold ''"Back"'' to display radial menu | ||
::#Move the ''"Left stick"'' to the desired option | ::#Move the ''"Left stick"'' to the desired option | ||
::#Release ''"Back"'' before the ''"Left stick"'' to select the option. | ::#Release ''"Back"'' before the ''"Left stick"'' to select the option. |
Latest revision as of 07:43, 14 April 2024
- This article is about the general controls of Project Zomboid. For customizing controls/key-bindings, see Options.
The default controls are displayed below; most (not all) key bindings can be customized in the game options along with gamepad/controller configuration. In order to customize a key binding, the desired key change must be left-clicked, followed by the desired keystroke. If done correctly, the desired key will be displayed within the box.
General
Key | Function | Description |
---|---|---|
RMB | Contextual Menu | Pressing will display the contextual menu, which will contain all available interactions with that object. |
LMB | Select | This is context specific and will vary depending on what it interacts with, such as picking up items, opening and closing of doors, windows curtains and light switches. |
= / MSW | Zoom-in | Zooms the camera in closer to the player, decreasing the field of view. |
- / MSW | Zoom-out | Zooms the camera out farther from the player, increasing the field of view. |
ESC | Main Menu |
|
Player Control
Key | Function | Description |
---|---|---|
W | Move Forward |
|
S | Move Backward | |
A | Move Left | |
D | Move Right | |
⇧ Shift | Run/Sprint | *Press and hold (depending on the toggle run option) to increase movement speed, at the cost of generating more noise and exertion.
|
L. ALT | Sprint | Press and hold (depending on the toggle sprint option) to vastly increase movement speed, at the cost of generating significant amount of noise and high exertion.
|
E | Interact |
|
⇧ Shift + E | Special Interact |
Most of the time this does nothing. Some objects have special interactions:
|
ESC | Cancel Action | Cancels any Action the player is currently performing. |
Combat
Key | Function | Description |
---|---|---|
C | Sneak (Crouch) |
|
L. CTRL / RMB | Aim |
|
LMB | Fire/Attack | Pressing will cause the player to fire or attack in the direction the player is facing. |
SPACE | Melee | Causes the player to perform an unarmed melee shove, or stomp in the direction the player is facing. |
X | Rack Firearm | Racks a round into the chamber of a firearm, making it ready to fire. A round will be removed from the firearm if there is already a round in the chamber. |
R | Reload Weapon |
|
1 | Hotbar 1 (Back) |
|
2 | Hotbar 2 (Belt Left) | |
3 | Hotbar 3 (Belt Right) | |
4 | Hotbar 4 (Holster Left) | |
5 | Hotbar 5 (Holster Right) | |
F | Activate/Deactivate Light |
|
L. ALT | Manual Floor Attack | Forces targetting prone enemies instead of standing enemies. |
Inventory
Key | Function | Description |
---|---|---|
I | Toggle Inventory | Toggles between the inventory windows being displayed and hidden. |
RMB | Display Contextual Menu | Can be used on any item in the player's or a container's inventory to display their uses - whether they can be eaten, drunk, equipped or used in crafting recipes. |
LMB | Highlighting |
|
NPC Interaction
Key | Function | Description |
---|---|---|
Q | Shout | Causes the player to shout, drawing nearby zombies. Crouching will result in a quieter shout, reducing the noise radius and intensity. |
Q | Emotes Wheel | Long press to enable the radial emotes menu. |
Multiplayer
Key | Function | Description |
---|---|---|
G | Toggle Safety | Toggles the ability to hurt or be hurt by other players. |
T | Toggle Chat | Opens the chat window to type. |
RETURN | Alt Toggle Chat | Opens the chat windows to type. |
Tab ↹ | Switch Chat Stream | Switches between chat modes, e.g., world chat and admin chat. |
L. ALT | Push-to-talk Key | Allows the player to talk in game if voice chat is enabled. |
Debug
All of these options require the player to be in debug mode, which can be enabled by adding the -debug
launch option.
Key | Function | Description |
---|---|---|
F11 | Toggle Lua Debugger | toggles the Lua debugger window, which can be used by modders. |
" | Toggle Lua Console | Toggles the Lua Command Console. |
N | Toggle God Mode and Invisible | Toggles God Mode and Invisible. |
F3 | Toggle Models Enabled | Toggles 3D models. I.e. Characters and vehicles. Does not affect world items. |
F6 | Toggle Animation Text | Toggles text about the character properties. |
Vehicle
General Vehicle Operation
Key | Function | Description |
---|---|---|
W | Accelerate/Forward | |
S | Brake/Reverse | |
A | Turn left | |
D | Turn right | |
Spacebar | Hand brake | |
SHIFT + W | Increase Cruise Control Speed |
|
SHIFT + S | Decrease Cruise Control Speed |
|
Vehicle Radial Menu
Key | Function | Description |
---|---|---|
V | Vehicle Radial Menu |
|
F | Toggle Headlights | Toggles the headlights between an on and off state. |
N or W | Start Engine | Attempts to start the engine, either by key or hot-wiring. |
O | Heater | Toggles the heater panel which can be used to adjust the vehicle's heating and cooling. |
U | Info | Displays the vehicle mechanics/info, which can take a few seconds - the player must be outside the vehicle, otherwise they'll be removed from the vehicle before opening the panel. |
E | Enter/Exit Vehicle | The vehicle can be entered when standing next to a door (displaying a green square) or through the radial menu. The player exits the vehicle from the side based on their current seat. |
Z | Switch Seat | Displays the vehicle's seats, showing the player's and any occupied seats. The player can move seats by either clicking the desired seat, or by pressing the designated numbered hotkey shown on the seat. The player may also choose which seat to exit the vehicle from this menu. |
Q | Horn | Sounds the vehicle's horn until the key is released, or if using the radial menu, it will sound for 2 seconds. Attracts any zombies towards the vehicle. |
- Device Options:
- Displays the panel of the installed radio.
- Open Window:
- Opens the player's seat window, making the inside temperature the same as the outside temperature. Will also allow zombies to attack the player.
- Sleep:
- Allows the player to sleep in the vehicle.
Vehicle Dashboard
Note: This section has been updated to version 40.43, and may not match the whole page's last updated version.
- Displays the current status of the vehicle. Some icons can be activated by clicking with the LMB.
- Numbers in red are status icons and those in green are accessories and other interactables.
Status Icons
Displayed in red
1. Engine Status
- : The engine is off(not ignited).
- : The engine is currently in the process of ignition.
- : The engine is on(ignited).
- : The engine is broken or not present in the car.
2. Battery
- : The car key is not inserted into the key slot, no info is given.
- : The battery is charged and functional.
- : The battery is discharged or not present in the car.
3. Door Lock
This icon does not need the car key to be inserted into the key slot to display the current state.
- : The car doors are unlocked and can be opened without car keys.
- : The car doors are locked and can only be opened using car keys.
4. Gearshift Position
- Displays the current gear the vehicle is in.
5. Tachometer
- Gauge that measures the rotation speed of the engine's crankshaft, displayed in RPM.
6. Speedometer
- Gauge that measures the vehicle's current speed, displayed in MPH.
7. Fuel Gauge
- Gauge that measures the current amount of fuel in the fuel tank, displayed in Litres (L).
8. Cruise Control Speed (not pictured)
- At the time of writing this, no screen shot of this exists.
- The Cruise Control Speed indicator may be found below the Gearshift Position (#4) and to the left of the Tachometer (#5).
- When cruise control is off, the indicator will be dark gray in color. When it is enabled, the indicator will display in a green color.
- The number displayed on the Cruise Control Speed indicator represents the current cruise control speed that the vehicle is set to.
Interactables
Displayed in green
1. Headlights
This icon does not need the car key to be inserted into the key slot to display the current state.
- : The headlights are off.
- : The headlights are on.
- : The headlights are broken, damaged or not present in the car.
2. Heater
This icon does not need the car key to be inserted into the key slot to display the current state.
3. Trunk Lock
This icon does not need the car key to be inserted into the key slot to display the current state.
- : The trunk is unlocked and can be opened without car keys.
- : The trunk is locked and can only be opened using car keys.
4. Key Slot
- : The car key is not inserted into the key slot, therefore the engine is not ignited and is off.
- : The car key is inserted into the key slot, but is not turned, therefore the engine is not ignited and is off.
- : The car key is inserted into the key slot and turned, therefore the engine is ignited and is on.
- The car key is not present, but the vehicle has been hot-wired. There is no way to tell if the engine is ignited or not by looking at the key slot in this state.
The key can be stored in the key slot with the engine off, draining the battery if any of the accessories are left on.
UI
The user interface, or just UI, displays information to the player, some of which is interactable.
Key | Function | Description |
---|---|---|
F1 | Toggle Survival Guide | Toggles the survival guide, which is an brief in-game contextual tutorial describing certain aspects of Project Zomboid. |
V | Toggle UI |
|
K | Display FPS | Toggles the display of FPS (Frames Per Second) in the top-left corner of the screen. |
F10 | Take screenshot | *Pressing will take a screenshot and store it in the \Users\USERNAME\Zomboid\Screenshots folder.
|
J | Info Panel | Toggles the info panel. Providing:
|
L | Skill Panel | Displays all the players skills. |
P | Protection Panel | Dispalys the player's protection rating for each body part. |
Time Controls
UI | Key | Function | Description |
---|---|---|---|
F2 | Pause | Pauses the game. Different to ESCAPE as it does not bring up the menu. | |
F3 | Play | Changes the game speed back to the default speed. 10 minutes of in-game time corresponds to 25 seconds of real time. | |
F4 | Fast-Forward x5 | Increases game speed to 5x the default. | |
F5 | Fast-Forward x20 | Increases game speed to 20x the default. | |
F6 | Fast-Forward x40 | Increases game speed to 40x the default. | |
Alarm | Toggles the alarm being set. Can also be toggled in the item's contextual menu. |
Display time
Having either of the below in the player's main inventory will display the in-game time in the upper-right corner. The time format can be adjusted in the options menu. Some of these items add extra functionality to the time display, such as: Date, temperature and ability to set an alarm.
Icon | Item | Time | Date | Temp. | Alarm |
---|---|---|---|---|---|
Classic Wrist Watch | |||||
Digital Watch | |||||
Alarm Clock |
Left-side HUD Icons
# | Key | Function | Description |
---|---|---|---|
1 | Primary | Displays the primary equipped item. | |
2 | Secondary | Displays the secondary equipped item. | |
3 | I | Inventory | Toggles the inventory when left-clicked. |
4 | H | Health | Toggles the player health panel, which can be used to navigate to the info J and skills C panels. |
5 | B | Crafting | Toggles the crafting panel, where the player's known recipes can be found. |
6 | Move Furniture | Enables furniture-moving, which may require certain skills and tools depending on the furniture. | |
7 | END | Search Mode | Toggles the investigate area panel, where search mode can be enabled. |
8 | M | Map | Toggles the map overlay. |
9 | Debug Menu | Toggles the debug menu. Only available in debug mode. | |
10 | Server Controls | Toggles the user panel. Only available in multiplayer. | |
11 | G | Safety | Toggles PVP. Only available in multiplayer. |
Moveable Panel
Key | Function | Description |
---|---|---|
R | Rotate Building |
|
Tab ↹ | Toggle Mode |
Cycles through furniture-moving modes. |
ESCAPE | Cancel Action | Exits the build/move mode |
LMB | Place/Rotate |
|
Xbox 360 Controller
It is possible to use a gamepad rather than the standard mouse and keyboard, which is ideal for local 4 player split-screen co-op. To use a controller, it must first be connected and installed correctly in the operating system.
Any controller can be tested from the controller tab in the game options, to ensure all buttons are functioning correctly. The controller sensitivity can also be adjusted there.
Controls of a standard XBox 360 controller |
The controls for a controller are usually context based and can change depending on the action, however they will usually be displayed on-screen. The general controls for a controller are displayed below.
- Left stick
- Player movement
- Left stick (press)
- Toggle between walking and running
- Directional Pad
- Navigate contextual menus
- Right stick
- Sneak/aim
- Navigate radial menu
- A button
- Primary button to interact with world objects, such as opening doors, windows and turning on/off lights.
- Context specific and will vary depending on what it interacts with
- B button
- Secondary button to interact with world objects, such as smashing windows and climbing over fences.
- Close/cancel contextual menus and panels (excluding inventory)
- Expand inventory item lists
- X button
- Display contextual menu, displaying available interactions
- Quick loot/drop item
- Y button
- Open/close inventory menu
- Left bumper
- Navigate tabs - rotates through player inventory tabs
- Cycle build mode
- Right bumper
- Navigate tabs - rotates through container inventory tabs
- Left trigger
- Shove/stomp (triggered on release)
- Right trigger
- Fire/attack (triggered on release)
- Back
- Press and hold to display radial menu
- Usage:
- Hold "Back" to display radial menu
- Move the "Left stick" to the desired option
- Release "Back" before the "Left stick" to select the option.
- Options:
- Player Info (Info, Skills, Health)
- Crafting
- Move Furniture
- Zoom In
- Zoom Out
- Pause/Play
- Fast-Forward Time
- Usage:
- Start
- Tap once to only pause the game, or tap twice to open pause menu