Controls: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(added a slew of notes and made other minor changes.)
(→‎Default key bindings: Updated controls to match latest version)
Line 6: Line 6:


=== Movement ===
=== Movement ===
{| class="wikitable"
|- style="vertical-align:middle;"
| align="center"|NW || align="center"|N || align="center"|NE
|- style="vertical-align:middle; align: center"
| align="center"|{{k|7}} or {{k|y}} || align="center"|{{k|8}} or {{k|k}} or {{k|UP}} || align="center"|{{k|9}} or {{k|u}}
|- style="vertical-align:middle; align: center"
| align="center"|W || align="center"|PAUSE || align="center"|E
|- style="vertical-align:middle;"
| align="center"|{{k|4}} or {{k|h}} or {{k|LEFT}} || align="center"|{{k|5}} or {{k|.}} || align="center"|{{k|6}} or {{k|l}} or {{k|RIGHT}}
|- style="vertical-align:middle;"
| align="center"|SW || align="center"|S || align="center"|SE
|- style="vertical-align:middle;"
| align="center"|{{k|1}} or {{k|b}} || align="center"|{{k|2}} or {{k|j}} or {{k|DOWN}} || align="center"|{{k|3}} or {{k|n}}
|}
{| border="0" cellpadding="4" style="border-collapse: collapse"
{| border="0" cellpadding="4" style="border-collapse: collapse"
|- style="vertical-align:top"


| Vikeys or numpad to move or attack          || {{key|.}} or {{key|5}} — Wait for one turn
|-
|- style="vertical-align:top"
| {{k|>}} - Descend stairs || {{key|<}} — Ascend stairs
 
|}
 
 
=== Shift view ===
You can permanently shift the centering of the viewport by using these keys:
 
{| border="0" cellpadding="4"
 
|- style="vertical-align:middle;"
|   || align="center"|SHIFT N || align="center"| 
 
|- style="vertical-align:middle; align: center"
|  || align="center"|{{k|K}} ||  
 
|- style="vertical-align:middle; align: center"
| align="center"|SHIFT W || align="center"|CENTER VIEW || align="center"|SHIFT E
 
|- style="vertical-align:middle;"
| align="center"|{{k|H}} || align="center"|{{k|G}} || align="center"|{{k|L}}
 
|- style="vertical-align:middle;"
|   || align="center"|SHIFT S ||  
 
|- style="vertical-align:middle;"
|   || align="center"|{{k|J}}||  
|}
 
 
=== Environment interaction ===
 
{| border="0" cellpadding="4"
|-
| {{k|o}} - Open a door || {{key|c}} — Close a door
 
|-
| {{k|s}} - Smash nearby object || {{key|e}} — Examine nearby terrain {{hint|Use this to open containers, use console terminals, disarm [[trap]]s, etc}}.


| {{key|<}} or {{key|>}} — Go up or down a stairs || {{key|^}} — Long wait
|-
|- style="vertical-align:top; border-top:dotted 10px white"
| {{k|,}} or {{k|g}} - Pick item(s) up {{hint|Only from the tile you're standing on}} || {{key|B}} — Butcher a corpse {{hint|Only from the tile you're standing on}}
 
|-
| {{k|C}} - Chat with an [[NPC]] || {{key|;}} or {{k|x}} — Look around
 
|-
| {{k|X}} - Peek around corners || {{key|V}} — List all items around the player


| {{key|!}} — Toggle [[Safemode]]                || {{key|$}} — Sleep
|- style="vertical-align:top"


| {{key|"}} — Toggle [[Auto-Safemode]]            || {{key|'}} — Ignore nearby enemy
|-
|-
|colspan=2|
|colspan=2|
=== Inventory and quasi-inventory interaction ===


=== Actions ===
|-
|- style="vertical-align:top"
| {{k|i}} - Open your inventory || {{key|I}} — Compare two items {{hint|Using this you can compare any items around you with those in your inventory, without having to pick them up first. You can also use this to compare two items in your own inventory by selecting an empty tile when choosing a direction.}}


| {{key|o}} or {{key|'}} — Open a door      || {{key|e}} — Examine nearby terrain (open container, use console, disarm [[trap]], etc).
|-
|- style="vertical-align:top"
| {{k|&#61;}} - Swap inventory letters || {{key|a}} — Apply or use an item


| {{key|c}} — Close a door                || {{key|s}} — Smash nearby terrain
|-
|- style="vertical-align:top; border-top:dotted 10px white"
| {{k|A}} - Apply or use currently wielded item || {{key|W}} — Wear item
 
|-
| {{k|T}} - Take off worn item || {{key|E}} — Eat item
 
|-
| {{k|R}} - Read a book or a magazine || {{key|w}} — Wield item
 
|-
| {{k|_}} - Select unarmed style {{hint|Only if you know at least one martial arts technique}} || {{key|r}} — Reload wielded item {{hint|This includes anything that uses ammo; from weapons to electronic devices that use batteries, sinew kits, etc}}
 
|-
| {{k|U}} - Unload or empty wielded item || {{key|t}} — Throw item


| {{key|p}} — View or activate [[bionic]]s || {{key|B}} — Butcher a corpse
|-
|- style="vertical-align:top"
| {{k|f}} - Fire wielded item || ''<Unassigned>'' Burst-fire wielded item
 
|-
| {{k|F}} - Toggle attack mode of wielded item || {{key|d}} — Drop item
 
|-
| {{k|D}} - Drop item to adjacent tile || {{key|p}} — View/Activate [[bionics]]


| {{key|&}} — [[Crafting|Craft items]]    || {{key|C}} — Chat with a [[NPC]]
|- style="vertical-align:top"


| {{key|*}} — [[Construction|Construct]]  || {{key|$}} — Lie down to sleep
|-
|-
|colspan=2|
|colspan=2|
=== Items ===
=== Long term and special actions ===
|- style="vertical-align:top"


| {{key|i}} — View inventory
|-
| {{key|,}} or {{key|g}} — Pick item(s) up, {{key|,}} in pick up screen will (de)select all items.
| {{k|^}} - Wait for several minutes {{hint|You'll be able to choose the amount of time to wait}} || {{key|&}} — [[crafting|Craft]] items
|- style="vertical-align:top"


| {{key|{{=}}}} — Reassign inventory item key designations        || {{key|d}} ({{key|D}}) Drop items (to adjacent tile)
|-
|- style="vertical-align:top; border-top:dotted 10px white"
| ''<Unassigned>'' - Re-craft last recipe || ''<Unassigned>'' Craft for as long as possible


| {{key|E}} — Eat [[comestibles|comestible]]                     || {{key|R}} — Read a [[book]]
|-
|- style="vertical-align:top"
| {{k|*}} - [[construction|Construct]] terrain || {{key|(}} — Disassemble items


| {{key|W}} — Wear item                                          || {{key|T}} — Take off worn item
|-
|- style="vertical-align:top"
| {{k|$}} - Sleep || {{key|!}} — Toggle [[Safemode]]


|colspan=2| {{key|a}} — Apply or use item (also works as {{key|W}}, {{key|E}} or {{key|R}})
|-
| {{k|"}} - Toggle [[Auto-Safemode]] || {{key|'}} — Ignore nearby enemy


|- style="vertical-align:top; border-top:dotted 10px white"
|-
| {{k|S}} - Save and quit || {{key|Q}} — Commit suicide


| {{key|w}} — Wield item ({{key|w}}{{key|-}} to unwield current item) || {{key|t}} — Throw item
|- style="vertical-align:top"


| {{key|_}} — Select [[unarmed]] fighting style                  || {{key|f}} ({{key|F}}) — Fire wielded item (burst-fire)
|-
|- style="vertical-align:top; border-top:dotted 10px white"
|colspan=2|
=== Info screens ===


| {{key|r}} — Reload wielded [[firearms|gun]] or [[tool]]        || {{key|U}} — Unload wielded gun, tool or empty container
|-
|-
|colspan=2|
| {{k|@}} - View [[character|player info]] || {{key|m}} or {{k|:}} — View map
=== Information ===
 
|- style="vertical-align:top"
|-
| {{k|M}} - View missions || {{key|#}} — View factions


| {{key|@}} View [[character]] status || {{key|;}} or {{key|x}} — Look around
|-
|- style="vertical-align:top"
| {{k|)}} - View kill count || {{key|%}} — View [[morale]]


| {{key|%}} View [[morale]]          || {{key|:}} or {{key|m}} — View [[map]]
|-
|- style="vertical-align:top"
| {{k|P}} - View message log || {{key|?}} — View help


| {{key|M}} — View missions            || {{key|#}} — View factions
|- style="vertical-align:top"


| {{key|?}} — View help page            || {{key|P}} — View message log (up to 256 recent messages)
|-
|-
|colspan=2|
|colspan=2|
=== Meta ===
=== Debug functions ===
|- style="vertical-align:top"
 
| {{key|S}} Save and quit            || {{key|Q}} — Commit suicide (quit without saving)
{| border="0" cellpadding="4" style="border-collapse: collapse"
 
|-
| ''<Unassigned>'' - Debug menu || ''<Unassigned>'' View scentmap
 
|-
| {{key|~}} - Toggle debug messages
 
|}
|}


== Keyboard Notes ==
== Keyboard Notes ==

Revision as of 09:28, 8 April 2013

Controls may be customized in ?1 menu. Current key bindings are stored in data/keymap.txt file, to revert back to defaults just delete it.

For vehicle controlling see its own page.

Default key bindings

Movement

NW N NE
7 or y 8 or k or UP 9 or u
W PAUSE E
4 or h or LEFT 5 or . 6 or l or RIGHT
SW S SE
1 or b 2 or j or DOWN 3 or n
> - Descend stairs < — Ascend stairs


Shift view

You can permanently shift the centering of the viewport by using these keys:

  SHIFT N  
  K  
SHIFT W CENTER VIEW SHIFT E
H G L
  SHIFT S  
  J  


Environment interaction

o - Open a door c — Close a door
s - Smash nearby object e — Examine nearby terrain [Hint].
, or g - Pick item(s) up [Hint] B — Butcher a corpse [Hint]
C - Chat with an NPC ; or x — Look around
X - Peek around corners V — List all items around the player


Inventory and quasi-inventory interaction

i - Open your inventory I — Compare two items [Hint]
= - Swap inventory letters a — Apply or use an item
A - Apply or use currently wielded item W — Wear item
T - Take off worn item E — Eat item
R - Read a book or a magazine w — Wield item
_ - Select unarmed style [Hint] r — Reload wielded item [Hint]
U - Unload or empty wielded item t — Throw item
f - Fire wielded item <Unassigned> — Burst-fire wielded item
F - Toggle attack mode of wielded item d — Drop item
D - Drop item to adjacent tile p — View/Activate bionics


Long term and special actions

^ - Wait for several minutes [Hint] &Craft items
<Unassigned> - Re-craft last recipe <Unassigned> — Craft for as long as possible
* - Construct terrain ( — Disassemble items
$ - Sleep ! — Toggle Safemode
" - Toggle Auto-Safemode ' — Ignore nearby enemy
S - Save and quit Q — Commit suicide


Info screens

@ - View player info m or : — View map
M - View missions # — View factions
) - View kill count % — View morale
P - View message log ? — View help


Debug functions

<Unassigned> - Debug menu <Unassigned> — View scentmap
~ - Toggle debug messages

Keyboard Notes

Dropping Items

  • After pressing d or D you can type a number before you press the item's letter. This will result in you dropping just that many of an item.
  • If you drop an Item from the IInventory screen you will always drop just a single item.

Picking up Items

  • Pressing , twice selects all items. Currently this functionality can not be reassigned to another key.

Controlling Skill Gain

  • Use Tab in the @ Character Status screen to navigate through the different sections. Pressing Space on a skill allows you to toggle skill-gain in that skill on and off. This is very helpful with, for example, Construction, which you can turn off after Level three as there are no higher level construction option.

Sleep & Vehicles

  • Once you're in a vehicle the $ Sleep key lets you control its speed and headlights while the e gives you a chance to exit and s serves as the hand-brake. See the Vehicles page for more.

Controlling the Viewport

  • Missing from this page is a more detailed discussion of how you control where your character is looking and how much you see on the screen at one time. Do explore the '?2' options menu that allow you to customize the distance you want shown around you and the '?1' menu where the keys to control the Viewport's location are listed. The most important Keys here are H J K L which let you shift it around, and G which puts it back so that you are in the center.



Debug keys

Note: Use of these keys is essentially CHEATING, unless you are in a situation caused by bugs (e.g. spawning in a windowless doorless room) or testing game features.

~ — Toggle debug messages.

ZWish menu. open's up a list and asks you what Debug you want to do.

1: Wish for an item. — type /hammer to search for "hammer", then press > and < to cycle through jackhammer, hammer, sledge hammer, etc. Note, that you cannot use escape, arrows or backspace keys while entering filter, use > and < to break it.
2: Teleport - Short Range — moves to a random nearby position, it uses teleporter function, so teleglow disease will be gained and there is a risk of lethal outcome.
3: Teleport - Long Range — asks to what map square you wanna move, then place randomly there.
4: Reveal map
5: Spawn NPC
6: Spawn Monster — it works the same as item wishing for the most part; pressing f will let you make the monster friendly if you want. After making your selection, move the cursor to pick a location to place the monster.
7: Check game state...
8: Kill NPCs
9: Mutate — allow to toggle your traits & mutations. If "NULL trait!" selected (the first string), it initiates a random mutation.
0: Spawn a vehicle
a: Increase all skills by 3
b: Learn all melee styles
c: Check NPC
d: Spawn Artifact — creates natural artifact and forms anomaly around it.
e: Cancel

UnassignedScent map. Asks you what scent sensitivity you would like to view your surrounding with (0-9, 1 greatest smeller, 9 dullest nose, 0 divides by 0, causing a crash). Shows the trace that forms around you as you linger in a building or move through town.