Difference between revisions of "Bindings and User Settings"

From The DarkMod Wiki
Jump to navigationJump to search
m (add more doc)
m (add some more default keys)
Line 39: Line 39:
* '''_impulse0''': Open the Console (Default: {{key|^}})
* '''_impulse0''': Open the Console (Default: {{key|^}})
* '''togglemenu''': Toggle the menu (Default: {{key|ESC}})
* '''togglemenu''': Toggle the menu (Default: {{key|ESC}})
* '''_impulse19''': Toggle objectives menu (Default: {{key|O}}
* '''_impulse19''': Toggle objectives menu (Default: {{key|O}})
* '''_impulse40''': Grab item with grabber
* '''_impulse40''': Grab item with grabber
Line 51: Line 51:
=== Commands ===
=== Commands ===
* '''_button5''': Creep
* '''_button5''': Creep (Default: {{key|CTRL}})
* '''_impulse24''': Mantle (without jumping)
* '''_impulse24''': Mantle (without jumping)
* '''_impulse41''': Frob
* '''_impulse41''': Frob
* '''_impulse44''': Lean Forward
* '''_impulse44''': Lean Forward (Default: {{key|F}})
* '''_impulse45''': Lean Left
* '''_impulse45''': Lean Left (Default: {{key|Q}})
* '''_impulse46''': Lean Right
* '''_impulse46''': Lean Right (Default: {{key|E}})
* '''_impulse23''': Crouch
* '''_impulse23''': Crouch

Revision as of 14:32, 3 October 2012

This page contains a list of key bindings and other user-modifiable settings.

This is technical information, intended for advanced users and developers; most people will want to choose their settings via the main menu.


To add a keybind in the Darkmod.cfg file, look at the following examples of the syntax:

bind "ESCAPE" "togglemenu"
bind "SPACE" "_moveup"
bind "#" "_mlook"
bind "+" "_impulse48"
bind "0" "_impulse10"
bind "^" "_impulse0"
bind "a" "_moveleft"
; compass
bind "c" "inventory_hotkey '#str_02397'"
bind "d" "_moveright"
; spyglass
bind "g" "inventory_use '#str_02396'"
; keys
bind "k" "inventory_cycle_group '#str_02392'"
; lantern
bind "l" "inventory_use '#str_02395'"
bind "m" "inventory_cycle_maps"
; lockpicks
bind "p" "inventory_cycle_group '#str_02389'"
; readables
bind "r" "inventory_cycle_group '#str_02391'"
bind "s" "_back"

Note that some keys have special names (SPACE, ENTER, ESCAPE), and some items are refered to by their string template to make it work with internationalization.


  • unbindall: Removes all keybinds. Used at the start of the config.
  • _impulse0: Open the Console (Default: ^)
  • togglemenu: Toggle the menu (Default: ESC)
  • _impulse19: Toggle objectives menu (Default: O)
  • _impulse40: Grab item with grabber

Weapon Related

  • _impulse14: Previous weapon
  • _impulse15: Next weapon

Movement Related


  • _button5: Creep (Default: CTRL)
  • _impulse24: Mantle (without jumping)
  • _impulse41: Frob
  • _impulse44: Lean Forward (Default: F)
  • _impulse45: Lean Left (Default: Q)
  • _impulse46: Lean Right (Default: E)
  • _impulse23: Crouch


  • tdm_toggle_crouch: If set to 1, causes the crouch button to act as a toggle. (Note: the D3 native "in_toggleCrouch" will not apply to TDM anymore).
  • in_toggleRun: If set to 1, causes the run button to act as a toggle.
  • in_alwaysRun: If set to 1, causes the player to always run. (probably not useful in a stealth game)

Inventory Related

  • _impulse47 : Previous item.
  • _impulse48 : Next item.
  • _impulse49 : Previous group.
  • _impulse50 : Next group.
  • _impulse51 : Inventory Use item.
  • _impulse52 : Inventory Drop item.
  • inventory_hotkey [item] : Used for setting up inventory hotkeys.
  • inventory_hotkey : Used by itself, it returns the hotkey string of the currently selected item, if one exists.
  • inventory_hotkey someItem : Given a hotkey string, it selects a matching item.
  • inventory_hotkey "" : The empty string hotkey has a special meaning; it unselects inventory items.
For example, with the compass selected, inventory_hotkey would return "Compass". Then typing inventory_hotkey Compass will select the compass, if you have one.
  • inventory_cycle_group [category] : Used for cycling through a specific group of items (e.g. lockpicks or keys). The name refers to the inv_category spawnarg.
  • inventory_cycle_group Keys : This will cycle through the available keys in the inventory (and wrap around).
Note: From v1.7 onwards you should not use the English names of inventory categories or items, but instead their string template number. This ensures that the key bindings work regardless of the language you select in the Settings menu.

Legacy stuff

These are commands from D3, which are no longer used:

  • _impulse20: Change team
  • _impulse22: Spectate
  • _impulse28: Caste Yes vote
  • _impulse29: Caste No vote


  • The list of available Dark Mod Cvars can be found here: Cvars
  • The list of available Doom 3 Cvars can be found here: Doom 3 Cvars


The List of available Doom 3 console commands can be found here: Doom 3 Console Commands

See also Console Useful Controls