Controls: Difference between revisions

From PZwiki
m (fixed Language and VersionNotice templates)
(Brought up to date. Removed empty Notes section. Added Vehicles, Multiplayer, Build/Move Mode and Information/Help sections. Changed text layout, while keeping necessary descriptions, hopefully. Still some missing controls.)
Line 1: Line 1:
{{languages|Controls}}
{{languages|Controls}}
{{Notice|Outdated}}
{{Notice|Short}}
{{VersionNotice|version=2.9.9.17(11)}}
<!--NOTICE: MISSING INFORMATION [updated version 39.57]
==Movement==
• Combat
*You can use '''WASD''' to move your character around.
        - Rack Firearm
*Holding '''Shift''' while moving will cause the player to run.
• Vehicle
*Holding '''CTRL''' or '''Right Mouse Button''' while moving causes the player to sneak, making the player slower, quieter and hence more difficult to detect (see also combat stance below).
• Information/Help
*You can also zoom in and out by using the '''Mouse Scroll Wheel'''
        - Toggle Lua Debugger
*You can also right click on the ground and click the menu option that says "Move There" but is a rather awkward form of control.
• Multiplayer
-->
<!--NOTICE: NEEDS VERIFICATION/EXPANDED [updated version 39.57]
• Controller
        - What are the controls for a controller?
        - How to configure a controller? (only in-game - installing is the job of another wiki, unless it's specific to THIS game)
• Combat
        - Equip/Unequip Weapon: confirm the validity of claims.
 
 
 
 


==Combat==
*Holding '''CTRL''' or '''Right Mouse Button''' will put the player into a combat/sneak stance with whatever weapon is equipped in the main hand. Pressing the '''Left Mouse Button''' will then use the weapon.'''**Note**''' This is also how you 'attack' doors to break them down.
*To aim at a specific area hover your mouse over the area desired and click the '''Left Mouse Button''' to attack the direction where your crosshair is pointed.
*The longer you hold '''Right Mouse Button''' down, the more accurate and powerful you will be.
*While holding down '''CTRL''' or '''Right Mouse Button''' you can press '''Space''' which will make the player pushing with his hand or kick a lied down zombie instead of attacking with the currently equipped weapon.
*'''1''' is the shortcut for equipping a Blunt Weapon.
*'''2''' is the shortcut for equipping a Firearm.
*'''3''' is the shortcut for equipping a Blade Weapon.


==Inventory==
*Items can be eaten or consumed by '''Right-Clicking''' and selecting '''Eat''' or by '''Left-Clicking and Dragging''' on the Heart icon below your inventory box.
*The '''Right Mouse Button''' clears the item you are currently carrying with your cursor.
*Pressing '''Tab''' will open up your inventory.
*The '''Mouse Scroll Wheel''' will cycle through your inventory.
*Double clicking the '''Left Mouse Button''' on an item in a container will add it to your inventory.
*Highlighting an item and clicking the '''Left Mouse Button''' on the category of the item will transfer the selected item in the opposing container.
*Clicking an item in your inventory while holding '''Shift''' will allow you to select multiple items at once.
*Pressing '''F''' will activate a flashlight (if obtained) in your main inventory tab.
*Pressing '''R''' will load/unload the magazine of a held pistol.
*Holding '''R''' will add bullets to a held magazine.


==Miscellaneous==
*Pressing '''Q''' will cause a shout from the player, drawing zombies near.
*While pressing '''CTRL / Right Mouse Button''', the Mouse cursor will allow you to face different directions
*The '''Left Mouse Button''' is a context specific button and will vary depending on what it interacts with, such as picking up [[items]], opening and closing of [[door]]s, [[windows]] curtains and lights switch.
*Pressing '''F2''' will pause the game.
*Pressing '''M''' will mute the the Music.
*You can remove Wooden Planks off a door or window if you have a [[Hammer]] in your inventory by '''right-clicking''' on the window/door.
*To destroy walls, door frames and other props if you have a [[Sledgehammer]] in your inventory, then use '''Right Mouse Button''' and select '''Destroy'''
* Pressing '''"E"''' will activate a general action if available (ex. Opening a door, window...)
* Holding '''"E"''' will activate the "follow up" to the general action (ex. Going through a window after opening)
* Rapidly pressing '''"E"''' will make an "urgent action" and will make your character take drastic measures (ex. Smashing a window with his/her arm)
* When constructing walls, fences and similar objects, press R to rotate the object before placing it.
* Pressing '''F12''' will take a screenshot and store it in '''\Users\USERNAME\Zomboid\Screenshots''' folder.
* To gather logs after cutting down a tree, head over to the logs and open up the inventory box. Click the ground icon and you should be able to pick up the logs.


==HUD==


===Time Display===
[[File:TimeDisplay.jpg]]
*The blue digits in the upper-right is the current '''Time, Day and Month''' of your game. Time is displayed in 24-hour format.
*Clicking the '''PAUSE''' symbol will pause the game.(Keyboard shortcut is '''F2''')
*Clicking the '''PLAY''' symbol with resume the game. (Keyboard shortcut is '''F3''')
*Clicking the '''Fast-Forward''' arrows or the '''Clock''' icon will Fast-Forward time at different speeds (Keyboard shortcuts are '''F4;F5;F6''').


===Left side of the HUD===
[[File:Leftsidehud.jpg]]
*'''1''' display your primary equipped item.
*'''2''' display your secondary equipped item.
*'''3''' will hide or show your inventory when you will left-click on it.
*'''4''' will hide or show your health/skill panel, where you can find your survival time etc...
*'''5''' will hide or show the crafting panel, where you can see the recipes known by your character.
*'''6''' will enable the furniture moving, which will allow you to pick-up/place or rotate the furniture if you have the tools and skills required.


-->
{{VersionNotice|version=Version 39|incver=57}}
{| style="float:right; border:1px solid FFFFFF;margin:.46em 0 0 .2em"
|- style="font-size:100%"
| valign="top" |[[Image:Controls.png|520px]]<!--
  --><br> ''Screenshot of the in-game Key Bindings section of the Game Options <small>- Version 39.57</small>''
|}
The default '''controls''' are displayed below; most (not all) ''key bindings'' can be customised in the [[Options|game options]] along with gamepad/controller configuration. In order to customise 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.
__TOC__
==General==
:'''Contextual Menu:'''&emsp;<code>RMB</code>
:: Pressing will display the contextual menu, which will contain all available interactions with that object.
:'''Select:'''&emsp;<code>LMB</code>
:: 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.
:'''Camera Zoom:'''&emsp;Zoom in <code>EQUALS</code>&emsp;Zoom out <code>MINUS</code>&emsp;<small>or</small>&emsp;<code>SCROLL</code>
:: Zooms the camera in closer to the player, or out farther from the player, increasing or decreasing the field of view.
:'''Manu Menu:'''&emsp;<code>ESCAPE</code>
:: Pauses a singleplayer game.
:: Displays the pause menu, allowing the player to adjust [[options]], exit game, etc.
==Player Control==
:'''Movement:'''&emsp;Forward <code>W</code>&emsp;Backward <code>S</code>&emsp;Left <code>A</code>&emsp;Right <code>D</code>
:: The basic directional movement of the player. Holding both a horizontal and vertical movement key will cause the player to move diagonally.
:: Pressing the <code>RMB</code> and selecting ''move here'', will cause the player to move to that location.
:'''Running:'''&emsp;<code>LSHIFT</code>
:: Press and hold (depending on the [[Options#Key Bindings|toggle run option]]) to increase movement speed, at the cost of generating more noise and [[Moodles#Endurance|exertion]].
:'''Interact:'''&emsp;<code>E</code>
:: Pressing once will perform the first action on the contextual menu, without displaying it. (e.g. Opening a door, window...)
:: 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).
:'''Cancel Action:'''&emsp;<code>ESCAPE</code>
:: Cancels any Action the player is currently performing.
==Combat==
:'''Aim/Sneak:'''&emsp;<code>LCONTROL</code>&emsp;<small>or</small>&emsp;<code>RMB</code>
:: Holding causes the player to face in the direction of the ''mouse cursor''.
:: Moving while held causes the player to sneak, generating less noise.
:: The longer it's held down, the more accurate the attack will be.
:'''Fire/Attack:'''&emsp;<code>LMB</code>
:: Pressing will cause the player to fire or attack in the direction the player is facing.
:'''Melee:'''&emsp;<code>SPACE</code>
:: Causes the player to perform an unarmed melee ''shove'', or ''stomp'' in the direction the player is facing.
:'''Rack Firearm:'''&emsp;<code>X</code>
:: ''Unknown''
:'''Reload Weapon:'''&emsp;<code>R</code>
:: Reloads the currently equipped firearm.
::: Depending on the [[Options#Reloading|reloading difficulty]], pressing will load/unload the magazine of a held [[pistol]].
::: Holding will add bullets to a held magazine.
:'''Equip/Unequip Weapon:'''&emsp;Blunt weapon <code>1</code>&emsp;Firearm <code>2</code>&emsp;Stab weapon <code>3</code>
:: Equips/Unequips the desired weapon type into the primary weapon slot, thus making it the active weapon/tool.
:: If there are multiple weapons of the same type, the chosen weapon is the one with the highest maximum damage. {{fact}}
:'''Activate/Deactivate Light:'''&emsp;<code>F</code>
:: Equips a [[:Category:Illumination|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.
==Inventory==
:'''Toggle Inventory:'''&emsp;<code>I</code>
:: Toggles between the [[inventory]] windows being displayed and hidden.
:'''Display Contextual Menu:'''&emsp;<code>RMB</code>
:: Can be used on any item in the [[Player|player's]] or a [[containers|container's]] inventory to display their uses - whether they can be [[Hunger|eaten]], [[Thirst|drunk]], equipped or used in [[Crafting|crafting recipes]].
:'''Highlighting'''&emsp;<code>LMB</code>
:: This will highlight the selected item.
:: Holding and dragging will select all items within the selection box.
:: After selecting an item, <code>CTRL</code> + <code>LMB</code> can be used when selecting a second item, highlighting the second item while keeping the initial one highlighted.
:: Alternatively, <code>SHIFT</code> + <code>LMB</code> can be used when selecting the second item, also highlighting all items between the two selections.
==Build/Move Mode==
:'''Rotate building:'''&emsp;<code>R</code>
:: Will rotate the selected item 90° each press when in build/move mode.
:'''Toggle mode:'''&emsp;<code>TAB</code>
:: Rotates through build/move modes: Pick Up, Place, Rotate.
:'''Cancel Action:'''&emsp;<code>ESCAPE</code>
:: Exits the build/move mode
:'''Dismantling:'''
:: Many world objects can be dismantled using <code>RMB</code> on the desired object and selecting ''dismantle''.
==Vehicle==
:'''Start Vehicle Engine:'''&emsp;<code>N</code>&emsp;<small>or</small>&emsp;<code>W</code>
:: Attempts to start the engine, either by key or [[Vehicles#Hotwiring|hotwiring]].
:'''Toggle Vehicle Headlights:'''&emsp;<code>F</code>
:: Toggles the headlights between an ''on'' and ''off'' state.
:'''Vehicle Heater:'''&emsp;<code>O</code>
:: ''Unknown''
:'''Vehicle Info:'''&emsp;<code>U</code>
:: ''Unknown''
:'''Horn:'''&emsp;<code>Q</code>
:: ''Unknown''
:'''Vehicle Radial Menu:'''&emsp;<code>V</code>
:: ''Unknown''
:'''Switch Seat:'''&emsp;<code>Z</code>
:: ''Unknown''
==HUD==
===Time Controls===
:[[File:TimeDisplay.jpg]]
:'''Pause:'''&emsp;<code>F3</code>&emsp;<small>or</small>&emsp;[[File:PauseAnim.gif|link=]]
:: Pauses the game. Different to <code>ESCAPE</code> as it does not bring up the menu.
:'''Play:'''&emsp;<code>F4</code>&emsp;<small>or</small>&emsp;[[File:PlayAnim.gif|link=]]
:: Changes the game speed back to the default speed.
:'''Fast-Forward x2:'''&emsp;<code>F5</code>&emsp;<small>or</small>&emsp;[[File:FFwd1Anim.gif|link=]]
:: Increases game speed to 2x the default.
:'''Fast-Forward x3:'''&emsp;<code>F6</code>&emsp;<small>or</small>&emsp;[[File:FFwd2Anim.gif|link=]]
:: Increases game speed to 3x the default.
:'''Fast-Forward x4:'''&emsp;<code>F7</code>&emsp;<small>or</small>&emsp;[[File:WaitAnim.gif|link=]]
:: Increases game speed to the fastest possible. Ideal for waiting long periods of time.
:'''Display time:'''&emsp;[[File:DigitalWatch.png|20px|link=Digital Watch|Digital Watch]]&emsp;<small>or</small>&emsp;[[File:AlarmClock.png|20px|link=Alarm Clock|Alarm Clock]]
:: Having either a [[Digital Watch|digital watch]] or [[Alarm Clock|Alarm clock]] in the player's main inventory, will display the in-game time, day and month in the upper-right corner. The date and time format can be adjusted in the [[options]] menu.
===Left-side HUD Icons===
:[[File:Leftsidehud.jpg]]
:'''1. Primary Item'''
:: Displays the primary equipped item.
:'''2. Secondary Item'''
:: Displays the secondary equipped item.
:'''3. Toggle Inventory UI:'''&emsp;<code>I</code>
:: Hides/shows the [[inventory]] when left-clicked.
:'''4. Toggle Health Panel:'''&emsp;<code>H</code>
:: Hides/shows the player [[health]] panel, which can be used to navigate to the ''info'' <code>J</code> and ''[[skills]]'' <code>C</code> panels.
:'''5. Toggle Crafting UI:'''&emsp;<code>B</code>
:: Hides/shows the [[crafting]] panel, where the player's known recipes can be found.
:'''6. Move Furniture'''
:: Enables [[furniture]] moving, allowing the player to pick-up/place or rotate furniture, so long as they have the required skills and tools.
===Information/Help===
:'''Toggle Survival Guide:'''&emsp;<code>F1</code>
:: Hides/shows the [[Survival Guide|survival guide]], which is an brief in-game contextual tutorial describing certain aspects of Project Zomboid.
:'''Toggle UI:'''&emsp;<code>V</code>
:: Will hide/show the HUD, excluding [[moodles]]. Ideal for taking uncluttered screenshots.
:: Note that this will not function when nearby a vehicle, and will instead trigger the vehicle radial menu.
:'''Display FPS:'''&emsp;<code>K</code>
:: Doesn't currently seem to do anything.
:'''Toggle Lua Debugger:'''&emsp;<code>F11</code>
:: ''Unknown''
==Miscellaneous==
:'''Toggle Music:'''&emsp;<code>M</code>
:: Turns the in-game music on/off.
:'''Shout:'''&emsp;<code>Q</code>
:: Causes the player to shout, drawing nearby [[zombies]].
:'''Take screenshot:'''&emsp;<code>F10</code>
:: 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.
:'''Toggle Moveable Panel Mode:'''&emsp;<code>RBRACKET</code>
:: Locks/unlocks the ability to reposition panels, such as the inventory. {{fact}}
:: Doesn't currently seem to function.
==Multiplayer==
:'''Toggle Safety:'''&emsp;<code>P</code>
:: ''Unknown''
:'''Local Chat:'''&emsp;<code>T</code>
:: ''Unknown''
:'''Global Chat:'''&emsp;<code>Y</code>
:: ''Unknown''
:'''Push-to-Talk key:'''&emsp;<code>LALT</code>
:: ''Unknown''
==Controller==
==Controller==
To use a controller you have to install it properly in your operating systen, then configure the controls in the [[options]] menu. {{fact}}
It is possible to use a [//en.wikipedia.org/wiki/Gamepad gamepad] rather than mouse and keyboard, which is ideal for local 4 player split-screen co-op.
 
To use a controller, it must first be installed correctly in the operating system, then the controls can be configured in the [[options]] menu. {{fact}}
==Notes==
<references/>


[[Category:User Interface]]
[[Category:User Interface]]

Revision as of 16:01, 12 May 2018

Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.

Template:VersionNotice

Controls.png
Screenshot of the in-game Key Bindings section of the Game Options - Version 39.57

The default controls are displayed below; most (not all) key bindings can be customised in the game options along with gamepad/controller configuration. In order to customise 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

Contextual Menu:RMB
Pressing will display the contextual menu, which will contain all available interactions with that object.
Select:LMB
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.
Camera Zoom: Zoom in EQUALS Zoom out MINUSorSCROLL
Zooms the camera in closer to the player, or out farther from the player, increasing or decreasing the field of view.
Manu Menu:ESCAPE
Pauses a singleplayer game.
Displays the pause menu, allowing the player to adjust options, exit game, etc.

Player Control

Movement: Forward W Backward S Left A Right D
The basic directional movement of the player. Holding both a horizontal and vertical movement key will cause the player to move diagonally.
Pressing the RMB and selecting move here, will cause the player to move to that location.
Running:LSHIFT
Press and hold (depending on the toggle run option) to increase movement speed, at the cost of generating more noise and exertion.
Interact:E
Pressing once will perform the first action on the contextual menu, without displaying it. (e.g. Opening a door, window...)
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).
Cancel Action:ESCAPE
Cancels any Action the player is currently performing.

Combat

Aim/Sneak:LCONTROLorRMB
Holding causes the player to face in the direction of the mouse cursor.
Moving while held causes the player to sneak, generating less noise.
The longer it's held down, the more accurate the attack will be.
Fire/Attack:LMB
Pressing will cause the player to fire or attack in the direction the player is facing.
Melee:SPACE
Causes the player to perform an unarmed melee shove, or stomp in the direction the player is facing.
Rack Firearm:X
Unknown
Reload Weapon:R
Reloads the currently equipped firearm.
Depending on the reloading difficulty, pressing will load/unload the magazine of a held pistol.
Holding will add bullets to a held magazine.
Equip/Unequip Weapon: Blunt weapon 1 Firearm 2 Stab weapon 3
Equips/Unequips the desired weapon type into the primary weapon slot, thus making it the active weapon/tool.
If there are multiple weapons of the same type, the chosen weapon is the one with the highest maximum damage. Template:Fact
Activate/Deactivate Light:F
Equips a 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.

Inventory

Toggle Inventory:I
Toggles between the inventory windows being displayed and hidden.
Display Contextual Menu:RMB
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.
HighlightingLMB
This will highlight the selected item.
Holding and dragging will select all items within the selection box.
After selecting an item, CTRL + LMB can be used when selecting a second item, highlighting the second item while keeping the initial one highlighted.
Alternatively, SHIFT + LMB can be used when selecting the second item, also highlighting all items between the two selections.

Build/Move Mode

Rotate building:R
Will rotate the selected item 90° each press when in build/move mode.
Toggle mode:TAB
Rotates through build/move modes: Pick Up, Place, Rotate.
Cancel Action:ESCAPE
Exits the build/move mode
Dismantling:
Many world objects can be dismantled using RMB on the desired object and selecting dismantle.

Vehicle

Start Vehicle Engine:NorW
Attempts to start the engine, either by key or hotwiring.
Toggle Vehicle Headlights:F
Toggles the headlights between an on and off state.
Vehicle Heater:O
Unknown
Vehicle Info:U
Unknown
Horn:Q
Unknown
Vehicle Radial Menu:V
Unknown
Switch Seat:Z
Unknown

HUD

Time Controls

File:TimeDisplay.jpg
Pause:F3orPauseAnim.gif
Pauses the game. Different to ESCAPE as it does not bring up the menu.
Play:F4orPlayAnim.gif
Changes the game speed back to the default speed.
Fast-Forward x2:F5orFFwd1Anim.gif
Increases game speed to 2x the default.
Fast-Forward x3:F6orFFwd2Anim.gif
Increases game speed to 3x the default.
Fast-Forward x4:F7orWaitAnim.gif
Increases game speed to the fastest possible. Ideal for waiting long periods of time.
Display time:Digital WatchorAlarm Clock
Having either a digital watch or Alarm clock in the player's main inventory, will display the in-game time, day and month in the upper-right corner. The date and time format can be adjusted in the options menu.

Left-side HUD Icons

File:Leftsidehud.jpg
1. Primary Item
Displays the primary equipped item.
2. Secondary Item
Displays the secondary equipped item.
3. Toggle Inventory UI:I
Hides/shows the inventory when left-clicked.
4. Toggle Health Panel:H
Hides/shows the player health panel, which can be used to navigate to the info J and skills C panels.
5. Toggle Crafting UI:B
Hides/shows the crafting panel, where the player's known recipes can be found.
6. Move Furniture
Enables furniture moving, allowing the player to pick-up/place or rotate furniture, so long as they have the required skills and tools.

Information/Help

Toggle Survival Guide:F1
Hides/shows the survival guide, which is an brief in-game contextual tutorial describing certain aspects of Project Zomboid.
Toggle UI:V
Will hide/show the HUD, excluding moodles. Ideal for taking uncluttered screenshots.
Note that this will not function when nearby a vehicle, and will instead trigger the vehicle radial menu.
Display FPS:K
Doesn't currently seem to do anything.
Toggle Lua Debugger:F11
Unknown

Miscellaneous

Toggle Music:M
Turns the in-game music on/off.
Shout:Q
Causes the player to shout, drawing nearby zombies.
Take screenshot:F10
Pressing will take a screenshot and store it in the \Users\USERNAME\Zomboid\Screenshots 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.
Toggle Moveable Panel Mode:RBRACKET
Locks/unlocks the ability to reposition panels, such as the inventory. Template:Fact
Doesn't currently seem to function.

Multiplayer

Toggle Safety:P
Unknown
Local Chat:T
Unknown
Global Chat:Y
Unknown
Push-to-Talk key:LALT
Unknown

Controller

It is possible to use a gamepad rather than mouse and keyboard, which is ideal for local 4 player split-screen co-op. To use a controller, it must first be installed correctly in the operating system, then the controls can be configured in the options menu. Template:Fact