Controls

From The Cataclysm: Dark Days Ahead Wiki
Revision as of 19:32, 2 February 2020 by Soyweiser (talk | contribs) (→‎Environment interaction: added drag command.)
Jump to navigation Jump to search

Controls can be customized in Main Menu (ESC), Keybindings submenu (1). The current key bindings are stored in the config/keybindings.json file. To revert back to defaults just delete it.

You can find the controls list for vehicles in the driving page.

Default key bindings

All the listed key binds are case sensitive (so an a is different from an A, etc).

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

" - Toggle walk/run/crouch

Shift view

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

SHIFT NW SHIFT N SHIFT NE
<Unbound> K <Unbound>
SHIFT W CENTER VIEW SHIFT E
H : L
SHIFT SW SHIFT S SHIFT SE
<Unbound> J <Unbound>

Environment interaction

o - Open door or window [Hint] c - Close door or window [Hint]
s - Smash nearby object / Vehicle handbrake [Hint] e - Examine or interact with nearby world object [Hint].
/ - Advanced inventory management [Hint] , or g - Pick item(s) up [Hint]
G - Grab a nearby vehicle/furniture / Release vehicle/furniture [Hint] B - Butcher a corpse [Hint]
C - Chat with an NPC, or Yell to make a bit of noise. ; or x - Look around
X - Peek around corners, down stairs, and allows the blind throwing of grenades Shift+V - List all items/creatures around the player [Hint]
\ - Drag all items you are currently standing on, press again to stop dragging.[Hint]


Inventory and quasi-inventory interaction

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


  • Mounted turrets are reloaded using either of the [D]rop commands.


Item action menu

% - Access list of actions [Hint]


Long term and special actions

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

Info screens

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

Debug functions

<Unbound> - Debug menu <Unbound> - View scentmap


~ - Toggle debug messages - Will show various debug messages, and will allow you to see things like the age/damage/freshness values of various items, and more!

Advanced Controls

All controls in the game as of June 7, 2019. Not up to date.

Advanced Inventory

/ - Enter advanced inventory
s/S - Change sorting mode e/E - Examine item
RETURN - Move a single item , - Move all items
m - Move an amount of an item M - Move item stack
> - Page down < - Page up
DOWN,j,JOY_DOWN - Pan down UP,k,JOY_UP - Pan up
<unbound> - Restore default layout <unbound> - Save default layout
w/W - Select items currently worn c/C - Select items in container
d/D - Select items in dragged container 0/i/I - Select items in inventory
LEFT,h,JOY_LEFT - Select left inventory RIGHT,l,JOY_RIGHT - Select right inventory
a/A - Select all items p - Toggle auto-pickup for item
t - Toggle category selection mode * - Toggle item as favorite
TAB - Toggle tab v/V - Toggle vehicle

Advanced Inventory Directional Controls

Select items @ NW Select items @ N Select items @ NE
7 8 9
Select items @ W Select items @ Center Select items @ E
4 5 6
Select items @ SW Select items @ S Select items @ SE
1 2 3

a/A - Select items @ all 9 fields


Auto Pickup

a/A - Add rule c/C - Copy rule
d/D - Disable rule s/S - Enable auto pickup option
e/E - Enable rule - - Move rule down
m/M - Move rule global <-> character + - Move rule up
r/R - Remove rule t/T - Test rule


Unlisted key bindings

ESC or SPACE - Exit dialog or screen / Cancel

, - Select/Deselect all items [Hint]

Further controls and procedures

Here you'll find some actions and procedures that aren't obvious or simply not explained anywhere else.

Remove wielded item

To remove the item you're currently wielding so your hands are empty (fists) go through the following key sequence:

  1. Press w
  2. Choose currently wielded item

If you previously selected a martial arts style through _ it'll revert to that MA style instead.

In any case, the currently wielded item will be automatically placed in your inventory, or you'll be asked if you want to drop it if there's no space left.

Dropping Items

Single items

Dropping an item from the inventory screen will always drop a single item.

Dropping Partial Stacks

  1. Press d or D to drop the items and display the inventory screen
  2. Type the number of items you want to drop
  3. Press again the key of the inventory item you want to divide (in some cases, this will cause the item letter to be displayed as #)
  4. Press RETURN

Picking up Items

Pressing , twice selects all items. Currently this functionality cannot be reassigned to another key.

Controlling Skill Gain

  1. Open the @ Character Status screen
  2. Use TAB to navigate to the SKILLS section.
  3. Use the arrow keys to navigate the SKILLS list.
  4. Press SPACE when having selected the skill you want to freeze skill-gain.
  5. Press that key again to reactivate it.

Talking to NPC's or Yelling

Press the C key. Select the option from the menu.

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.

UnboundScent 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.

There is also the debug menu.

To enable this menu, you will need to edit the Controls. Go to the main menu by pressing Esc followed by the keybindings list by pressing 1. Close to the bottom of the list will be the Debug Menu which should be in red and unbound. Press + followed by the appropriate letter to assign a key of your choice. Note: many keys are already bound to other features, using the ` key is a good option as it's unbound by defaultVerify (Not by keybindings.json...) and is in the same place as the Debug messages and Console Commands present in many PC games.

UnassignedDebug menu. Opens 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 up and down to cycle through jackhammer, hammer, sledge hammer, etc. Hitting enter will exit search, hitting enter again will ask for an amount. Entering a value will add that value times the default stack size number of items to inventory. q exits.
2: Teleport - Short Range — Select a location in sight to move to.
3: Teleport - Long Range — Asks to what map square you want to move to, then places you randomly in the selected map square.
4: Reveal map - Instantly explores the current overmap.
5: Spawn NPC - Spawns random NPC nearby.
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... - Shows game state, planned events, active monsters, active NPCs and locations of these NPCs, and your location.
8: Kill NPCs - Kills all NPCs
9: Mutate — Allow to toggle your traits & mutations. If the mutation requires crossing the threshold, you need to first add the threshold mutation.
0: Spawn a vehicle - Spawn vehicle from the list.
a: Change all skills - Allows you to increase and decrease skill values using a menu.
b: Learn all melee styles - Unlocks all melee styles, including a debug one.
c: Unlock all recipes - Unlocks all recipes, including unlearnable recipes.
d: Edit player/NPC - Allows you to edit the player or NPCs. See below for options.
e: Spawn Artifact — Creates natural artifact and forms anomaly around it.
f: Spawn Clairvoyance Artifact - Adds clairvoyance artifact to inventory, allowing you to see through walls.
g: Map Editor - Opens map editor, use q to cancel.
h: Change weather - Select a new weather to start.
i: Kill all monsters - Kills all active monsters. Processes their death effect(s) as normal.
j: Display hordes - Displays the hordes on the map. Also displays hordes created by Fungal blooms, Anthills etc.
k: Test Item Group - Tests item groups; this submenu is exited by selecting the 'cancel' option.
l: Damage self - Damages torso with inputted amount. Negative values heal.
m: Show Sound Clustering
o: Display weather
p: Display overmap scents - Shows player scent values on the overmap.
q: Change time - Change the current year, season, day, hour, minute, and amount of turns.
r: Set automove route - Moves player to selected location, by walking normally.
m: Show mutation category levels - Shows the levels of the various threshold mutations.
t: Overmap editor - Allows you to edit the overmap. Locations in red will not be changed. Follow on-screen instructions.
u: Cancel

Edit player/NPCs

Looking at an NPC with this debug feature shows the name, class, destination, internal values (Trust, Fear, Anger, Owed, Aggression, Bravery, Collector, Altruism, and the needs of the NPC.

s: Edit skills: - Allows editing of the NPC, or player skills
t: Edit Stats: - Edit the player or NPC maximum stats.
i: Grant items: - Grants items using the same interface as the main debug menu item grant mechanics.
d: Delete all items: - Deletes all items and clothing on the character.
w: Wear/Wield an item from NPC/Player's inventory: - Selects item to (un)wear/(un)wield.
h: Set hit points: - Set the hitpoints on a bodypart. Can go over and under natural limits.
p: Cause pain: - Enter a number of pain to cause, negative numbers removes pain.
a: Set health: - Allows you to edit the health values.
n: Set needs: - Allows you to see and edit the Hunger, Thirst, Fatigue and Vitamins levels of the NPC/player.
u: Mutate: - Edits mutations/traits of the NPC/player using the same interface as the previous menu.
@: Status Window: Shows the status window. Same window as the normal @ would show.
e: teleport: - Performs short range teleport, like debug feature above.
m: Add mission: - NPC ONLY - Adds a possible mission to the NPC. NPC's can have multiple missions, this mission is probably added to the end of the possible mission list.
c: Randomize with class: - NPC ONLY - Select a new NPC class, and randomizes the NPC given this class. Creates new name and items.
q: quit: - Quits this menu.