Bindings and User Settings: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
(39 intermediate revisions by 9 users not shown)
Line 1: Line 1:
This page should contain a list of key bindings and other user-modifiable settings.
<!-- search keywords: impulse _impulse -->
This page contains a list of key bindings and other user-modifiable settings.


== Inventory Related ==
This is technical information intended for advanced users and developers; most users will want to choose their settings via the main menu.
 
== Examples ==
 
To add a keybind in the Darkmod.cfg file, look at the following examples of the syntax:
 
unbindall
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 referred to by their string template to make it work with [[I18N|internationalization]].
 
== Misc ==
 
* '''unbindall''': Removes all keybinds. Used at the start of the config.
* '''_impulse0''': Open the Console (Default: {{key|^}})
* '''togglemenu''': Toggle the menu (Default: {{key|ESC}})
* '''_impulse19''': Toggle objectives menu (Default: {{key|O}})
* '''_impulse40''': Grab item with grabber
 
== Weapons Related ==
 
* '''_impulse14''': Previous weapon
* '''_impulse15''': Next weapon
 
== Movement Related ==


=== Commands ===
=== Commands ===


; '''_impulse47''' : Previous item.
* '''_button5''': Creep (Default: {{key|CTRL}})
; '''_impulse48''' : Next item.
* '''_impulse24''': Mantle (without jumping)
; '''_impulse49''' : Previous group. (only functional if '''tdm_inv_grouping''' is '''1''')
* '''_impulse41''': Frob
; '''_impulse50''' : Next group. (only functional if '''tdm_inv_grouping''' is '''1''')
* '''_impulse44''': Lean Forward (Default: {{key|F}})
; '''_impulse51''' : Drop.
* '''_impulse45''': Lean Left (Default: {{key|Q}})
* '''_impulse46''': Lean Right (Default: {{key|E}})
* '''_impulse23''': Crouch


=== Cvars ===
=== Cvars ===


; tdm_inv_grouping : Determines whether or not the user-interface uses inventory grouping. It can be changed on the fly without losing the currently selected item.
* '''tdm_toggle_crouch''': If set to '''1''' it causes the crouch button to act as a toggle. (Note: the D3 (Doom 3) native "in_toggleCrouch" will not apply to TDM anymore).
:* '''0''' is default, meaning to use a T1/T2 style interface. '''Previous item''' and '''Next item''' are used to scroll through the entire inventory. An empty slot exists between the last and first items of the inventory.
* '''in_toggleRun''': If set to '''1''' it causes the run button to act as a toggle.
:* '''1''' means to use inventory groups. '''Previous item''' and '''Next item''' are used to scroll through the items in the current group. An empty slot exists between the last and first items of a group. '''Previous group''' and '''Next group''' are used to scroll through the groups of the current inventory in alphabetical order.
* '''in_alwaysRun''': If set to '''1''', the player will always run (not very useful in a stealth game).
:* '''2''' means to use a T1/T2 style interface but sort the inventory by group. Items within a given group retain their position relative to eachother, but all items in the first group exist before all items in the second group, and so on. '''Previous item''' and '''Next item''' are used to scroll through the entire inventory. An empty slot exists between the last and first items of the inventory.
 
; tdm_inv_opacity : Controls the opacity of the inventory GUI. The range is anywhere from '''0''' to '''1''', where '''0''' makes it totally invisible and '''1''' makes it fully opaque.
== 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, the '''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 <tt>inv_category</tt> spawnarg.
:* '''inventory_cycle_group Keys''' : This will cycle through the available keys in the inventory (and wrap around).
 
{{infobox|Note: From v1.7 and 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 commands from Doom 3 are no longer used.
 
* '''_impulse20''': Change team
* '''_impulse22''': Spectate
* '''_impulse28''': Cast Yes vote
* '''_impulse29''': Cast No vote
 
= [[Cvars]] =
 
*The list of available Dark Mod Cvars can be found here: [[Cvars]]
*The list of available D3 Cvars can be found here: [http://www.iddevnet.com/doom3/cvars.php Doom 3 Cvars]
 
= Commands =
The List of available D3 console commands can be found here: [http://www.iddevnet.com/doom3/commands.php Doom 3 Console Commands]
 
 
See also [[Console Useful Controls]]
 
{{general}}

Revision as of 01:32, 2 August 2014

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

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

Examples

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

unbindall
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 referred to by their string template to make it work with internationalization.

Misc

  • 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

Weapons Related

  • _impulse14: Previous weapon
  • _impulse15: Next weapon

Movement Related

Commands

  • _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

Cvars

  • tdm_toggle_crouch: If set to 1 it causes the crouch button to act as a toggle. (Note: the D3 (Doom 3) native "in_toggleCrouch" will not apply to TDM anymore).
  • in_toggleRun: If set to 1 it causes the run button to act as a toggle.
  • in_alwaysRun: If set to 1, the player will always run (not very 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, the 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 and 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 commands from Doom 3 are no longer used.

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

Cvars

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

Commands

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


See also Console Useful Controls