Difference between revisions of "Manual:keybindings.lua"

From DoomRL Wiki

Jump to: navigation, search
m (small fixes)
(Updated key binding information to match the current 0996 setup.)
Line 2: Line 2:
 
Keybindings are the assigned input to all of the various in-game commands. They are completely customizable to the extent that you can map any key to any command if so desired.
 
Keybindings are the assigned input to all of the various in-game commands. They are completely customizable to the extent that you can map any key to any command if so desired.
  
*Letters and key strings can be writted as is (such as F1 or ENTER). They are case-sensitive.
+
*All names must be encased between square brackets followed by double quotes (such as ["1"] or ["QUOTE"]).
*Numbers and symbols must be encased between square brackets followed by double quotes (such as ["1"] or [":"]).
+
<span style="color:red;">IMPORTANT!</span> As of 0.9.9.6, the keybinding system has changed.  Keys are to be named by their symbolic name, and may be combined with SHIFT, CTRL, or ALT (in any combination, as in ["SHIFT+CTRL+X"]) to form a key binding. A list of names is provided below:
 +
 
 +
{|
 +
! scope="col" align="left" | Key symbol/name
 +
! scope="col" align="left" | Symbolic name
 +
|-
 +
| letters a to z || ["A"], ["B"], ["C"], etc...
 +
|-
 +
| numbers 0 to 9 || ["0"], ["1"], ["2"], etc...
 +
|-
 +
| ` (backtick/backquote) || ["BQUOTE"]
 +
|-
 +
| [ (left bracket) || ["LBRACKET"]
 +
|-
 +
| ] (right bracket) || ["RBRACKET"]
 +
|-
 +
| \ (backslash) || ["BSLASH"]
 +
|-
 +
| ; (semicolon) || ["SCOLON"]
 +
|-
 +
| ' (single quote) || ["QUOTE"]
 +
|-
 +
| - (hyphen/minus) || ["MINUS"]
 +
|-
 +
| = (equal sign) || ["EQUALS"]
 +
|-
 +
| , (comma) || ["COMMA"]
 +
|-
 +
| . (period/full stop) || ["PERIOD"]
 +
|-
 +
| backspace || ["BACKSPACE"]
 +
|-
 +
| insert || ["INSERT"]
 +
|-
 +
| delete || ["DELETE"]
 +
|-
 +
| page up || ["PGUP"]
 +
|-
 +
| page down || ["PGDOWN"]
 +
|-
 +
| home || ["HOME"]
 +
|-
 +
| end || ["END"]
 +
|-
 +
| enter || ["ENTER"]
 +
|-
 +
| spacebar || ["SPACE"]
 +
|-
 +
| Function keys (F1 to F12) || ["F1"], ["F2"], ["F3"], etc...
 +
|}
  
 
==Game Commands==
 
==Game Commands==
Line 15: Line 64:
 
|-style="background:#333"
 
|-style="background:#333"
 
|Move Left
 
|Move Left
|LEFT
+
|["LEFT"]
 
|COMMAND_WALKWEST
 
|COMMAND_WALKWEST
 
|N/A
 
|N/A
 
|-
 
|-
 
|Move Right
 
|Move Right
|RIGHT
+
|["RIGHT"]
 
|COMMAND_WALKEAST
 
|COMMAND_WALKEAST
 
|N/A
 
|N/A
 
|-style="background:#333"
 
|-style="background:#333"
 
|Move Up
 
|Move Up
|UP
+
|["UP"]
 
|COMMAND_WALKNORTH
 
|COMMAND_WALKNORTH
 
|Also scrolls up in the various select screens.
 
|Also scrolls up in the various select screens.
 
|-
 
|-
 
|Move Down
 
|Move Down
|DOWN
+
|["DOWN"]
 
|COMMAND_WALKSOUTH
 
|COMMAND_WALKSOUTH
 
|Also scrolls down in the various select screens.
 
|Also scrolls down in the various select screens.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Move Up-Right
 
|Move Up-Right
|PAGEUP
+
|["PGUP"] (Page Up)
 
|COMMAND_WALKNE
 
|COMMAND_WALKNE
 
|N/A
 
|N/A
 
|-
 
|-
 
|Move Down-Right
 
|Move Down-Right
|PAGEDOWN
+
|["PGDOWN"] (Page Down)
 
|COMMAND_WALKSE
 
|COMMAND_WALKSE
 
|N/A
 
|N/A
 
|-style="background:#333"
 
|-style="background:#333"
 
|Move Up-Left
 
|Move Up-Left
|HOME
+
|["HOME"]
 
|COMMAND_WALKNW
 
|COMMAND_WALKNW
 
|N/A
 
|N/A
 
|-
 
|-
 
|Move Down-Left
 
|Move Down-Left
|END
+
|["END"]
 
|COMMAND_WALKSW
 
|COMMAND_WALKSW
 
|N/A
 
|N/A
 
|-style="background:#333"
 
|-style="background:#333"
 
|Cancel/Exit Screen
 
|Cancel/Exit Screen
|ESCAPE
+
|["ESCAPE"]
 
|COMMAND_ESCAPE
 
|COMMAND_ESCAPE
 
|Quitting the game is a separate command. Does not work for y/n confirmations.
 
|Quitting the game is a separate command. Does not work for y/n confirmations.
 
|-
 
|-
 
|Wait
 
|Wait
|CENTER, ["."]
+
|["CENTER"], ["PERIOD"] (.)
 
|COMMAND_WAIT
 
|COMMAND_WAIT
 
|Waiting always takes 1.0s, regardless of speed modifiers.
 
|Waiting always takes 1.0s, regardless of speed modifiers.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Confirm/Select
 
|Confirm/Select
|ENTER
+
|["ENTER"]
 
|COMMAND_OK
 
|COMMAND_OK
 
|Does not work for y/n confirmations.
 
|Does not work for y/n confirmations.
 
|-
 
|-
 
|More Information
 
|More Information
|m
+
|["M"] (m)
 
|COMMAND_MORE
 
|COMMAND_MORE
 
|Used primarily to see descriptions when looking at enemies.
 
|Used primarily to see descriptions when looking at enemies.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Descend
 
|Descend
|[">"]
+
|["SHIFT+PERIOD"] (>)
 
|COMMAND_ENTER
 
|COMMAND_ENTER
 
|Can only be used on stairs.
 
|Can only be used on stairs.
 
|-
 
|-
 
|Unload Weapon
 
|Unload Weapon
|U
+
|["SHIFT+U"] (U)
 
|COMMAND_UNLOAD
 
|COMMAND_UNLOAD
 
|Works with weapons on the ground, as well as those in your inventory (but not equipped).
 
|Works with weapons on the ground, as well as those in your inventory (but not equipped).
 
|-style="background:#333"
 
|-style="background:#333"
 
|Pick Up Object
 
|Pick Up Object
|g
+
|["G"] (g)
 
|COMMAND_PICKUP
 
|COMMAND_PICKUP
 
|Objects can be picked up when you are standing directly on them.
 
|Objects can be picked up when you are standing directly on them.
 
|-
 
|-
 
|Drop Object
 
|Drop Object
|d
+
|["D"] (d)
 
|COMMAND_DROP
 
|COMMAND_DROP
 
|This will bring you to the inventory screen, where you can choose what to drop (according to InvMenuStyle).
 
|This will bring you to the inventory screen, where you can choose what to drop (according to InvMenuStyle).
 
|-style="background:#333"
 
|-style="background:#333"
 
|Access Inventory Screen
 
|Access Inventory Screen
|i
+
|["I"] (i)
 
|COMMAND_INVENTORY
 
|COMMAND_INVENTORY
 
|Items are selected according to InvMenuStyle. [[Weapons]] and [[armor]] are equipped and [[items#consumables|consumables]] are used, when selected.
 
|Items are selected according to InvMenuStyle. [[Weapons]] and [[armor]] are equipped and [[items#consumables|consumables]] are used, when selected.
 
|-
 
|-
 
|Access Equipment Screen
 
|Access Equipment Screen
|e
+
|["E"] (e)
 
|COMMAND_EQUIPMENT
 
|COMMAND_EQUIPMENT
 
|Equipment is selected according to InvMenuStyle. Selecting an empty slot will access all avaiable equipment that can fill the slot; selecting a filled slot will attempt to unequip it (and trigger InvFullDrop).
 
|Equipment is selected according to InvMenuStyle. Selecting an empty slot will access all avaiable equipment that can fill the slot; selecting a filled slot will attempt to unequip it (and trigger InvFullDrop).
 
|-style="background:#333"
 
|-style="background:#333"
 
|Open Door
 
|Open Door
|o
+
|["O"] (o)
 
|COMMAND_OPEN
 
|COMMAND_OPEN
 
|If there is more than one door to select, the game will wait for you to select the direction that the door you want to open is.
 
|If there is more than one door to select, the game will wait for you to select the direction that the door you want to open is.
 
|-
 
|-
 
|Close Door
 
|Close Door
|c
+
|["C"] (c)
 
|COMMAND_CLOSE
 
|COMMAND_CLOSE
 
|If there is more than one door to select, the game will wait for you to select the direction that the door you want to close is.
 
|If there is more than one door to select, the game will wait for you to select the direction that the door you want to close is.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Look Around
 
|Look Around
|l
+
|["L"] (l)
 
|COMMAND_LOOK
 
|COMMAND_LOOK
 
|Use the Move commands to move the cursor in order to look. Use the Cancel command to stop looking.
 
|Use the Move commands to move the cursor in order to look. Use the Cancel command to stop looking.
 
|-
 
|-
 
|Attack/Fire
 
|Attack/Fire
|f
+
|["F"] (f)
 
|COMMAND_FIRE
 
|COMMAND_FIRE
 
|For melee weapons, the game will wait for you to select the direction in which you want to attack. For ranged weapons, use the Move keys to place the cursor where you want to aim, then press the key again to fire.
 
|For melee weapons, the game will wait for you to select the direction in which you want to attack. For ranged weapons, use the Move keys to place the cursor where you want to aim, then press the key again to fire.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Alternate Attack/Fire
 
|Alternate Attack/Fire
|F
+
|["SHIFT+F"] (F)
 
|COMMAND_ALTFIRE
 
|COMMAND_ALTFIRE
 
|Not all weapons have an alternate attack/fire. See [[alternate fire]] for more information.
 
|Not all weapons have an alternate attack/fire. See [[alternate fire]] for more information.
 
|-
 
|-
 
|Reload Weapon
 
|Reload Weapon
|r
+
|["R"] (r)
 
|function() command.reload() end
 
|function() command.reload() end
 
|Only a weapon in your equipped slot can be reloaded with this command.
 
|Only a weapon in your equipped slot can be reloaded with this command.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Alternate Reload Option
 
|Alternate Reload Option
|R
+
|["SHIFT+R"] (R)
 
|function() command.reload(true) end
 
|function() command.reload(true) end
 
|Not all weapons have an alternate reload option. See [[alternate reload]] for more information.
 
|Not all weapons have an alternate reload option. See [[alternate reload]] for more information.
 
|-
 
|-
 
|Use Item
 
|Use Item
|u
+
|["U"] (u)
 
|COMMAND_USE
 
|COMMAND_USE
 
|This brings you to a selection screen of usable items from which to choose (according to InvMenuStyle).
 
|This brings you to a selection screen of usable items from which to choose (according to InvMenuStyle).
 
|-style="background:#333"
 
|-style="background:#333"
 
|Quit Game
 
|Quit Game
|Q
+
|["SHIFT+Q"] (Q)
 
|function() command.quit() end
 
|function() command.quit() end
 
|Requires y/n confirmation.
 
|Requires y/n confirmation.
 
|-
 
|-
 
|View Manual
 
|View Manual
|["?"]
+
|["SHIFT+SLASH"] (?)
 
|function() command.help() end
 
|function() command.help() end
 
|Same as viewing the [[Documentation#Game Manual|manual]] found on the wiki.
 
|Same as viewing the [[Documentation#Game Manual|manual]] found on the wiki.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Access Character Info Screen
 
|Access Character Info Screen
|["@"]
+
|["SHIFT+2"] (@)
 
|COMMAND_PLAYERINFO
 
|COMMAND_PLAYERINFO
 
|N/A
 
|N/A
 
|-
 
|-
 
|Save Game
 
|Save Game
|S
+
|["SHIFT+S"] (S)
 
|COMMAND_SAVE
 
|COMMAND_SAVE
 
|Can only be used on stairs.
 
|Can only be used on stairs.
Line 170: Line 219:
 
|-
 
|-
 
|Activate Run
 
|Activate Run
|[","]
+
|["COMMA"] (,)
 
|COMMAND_RUNMODE
 
|COMMAND_RUNMODE
 
|The game will wait for you to select the direction in which you wish to run at speed set by RunDelay for a number of repetitions set by MaxRun. You can also use the Wait command, which will repeat for the number set by MaxWait.
 
|The game will wait for you to select the direction in which you wish to run at speed set by RunDelay for a number of repetitions set by MaxRun. You can also use the Wait command, which will repeat for the number set by MaxWait.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Swap Weapon
 
|Swap Weapon
|z
+
|["Z"] (z)
 
|COMMAND_SWAPWEAPON
 
|COMMAND_SWAPWEAPON
 
|Switches your equipped and prepped slots, regardless of what is (or isn't) in them.
 
|Switches your equipped and prepped slots, regardless of what is (or isn't) in them.
 
|-
 
|-
 
|Capture Screenshot
 
|Capture Screenshot
|F10
+
|(F10)
 
|function() command.screenshot() end
 
|function() command.screenshot() end
|Converts screen to ASCII with proper formatting.
+
|Converts screen to ASCII with proper formatting.  If playing graphics mode, will make a PNG format image of the screen.  This binding is hard-coded and cannot be changed.
 
|-style="background:#333"
 
|-style="background:#333"
 
|Capture BBCode Screenshot
 
|Capture BBCode Screenshot
|F9
+
|(F9)
 
|function() command.screenshot(true) end
 
|function() command.screenshot(true) end
|Like Capture Screenshot but includes BBCode formatting (for use on the [http://forum.chaosforge.org forums]).
+
|Like Capture Screenshot but includes BBCode formatting (for use on the [http://forum.chaosforge.org forums]).  If playing in graphics mode, will make a PNG format image of the screen.  This binding is hard-coded and cannot be changed.
 
|-
 
|-
 
|Access Trait Screen
 
|Access Trait Screen
|T
+
|["T"] (t)
 
|COMMAND_TRAITS
 
|COMMAND_TRAITS
|You can only exit this screen while highlighting an "accessable" trait.
+
|N/A
 
|-style="background:#333"
 
|-style="background:#333"
 
|Toggle Game Sound
 
|Toggle Game Sound
|["("]
+
|["SHIFT+9"] ( ( )
 
|COMMAND_SOUNDTOGGLE
 
|COMMAND_SOUNDTOGGLE
 
|N/A
 
|N/A
 
|-
 
|-
 
|Toggle Game Music
 
|Toggle Game Music
|[")"]
+
|["SHIFT+0"] ( ) )
 
|COMMAND_MUSICTOGGLE
 
|COMMAND_MUSICTOGGLE
 
|N/A
 
|N/A
 
|-style="background:#333"
 
|-style="background:#333"
 
|View Game Messages
 
|View Game Messages
|P
+
|["SHIFT+P"] (P)
 
|function() command.messages() end
 
|function() command.messages() end
 
|You can scroll through the last X messages displayed by the game, where X is determined by MessageBuffer.
 
|You can scroll through the last X messages displayed by the game, where X is determined by MessageBuffer.
 
|-
 
|-
 
|Access Schematics Screen
 
|Access Schematics Screen
|A
+
|["SHIFT+A"] (A)
 
|function() command.assemblies() end
 
|function() command.assemblies() end
 
|N/A
 
|N/A
 
|-style="background:#333"
 
|-style="background:#333"
 
|Examine Being
 
|Examine Being
|x
+
|["X"] (x)
 
|COMMAND_EXAMINENPC
 
|COMMAND_EXAMINENPC
 
|Used in conjunction with BlindMode.
 
|Used in conjunction with BlindMode.
 
|-
 
|-
 
|Examine Item
 
|Examine Item
|X
+
|["SHIFT+X"] (X)
 
|COMMAND_EXAMINEITEM
 
|COMMAND_EXAMINEITEM
 
|Used in conjunction with BlindMode.
 
|Used in conjunction with BlindMode.
 +
|-style="background:#333"
 +
|Toggle Grid (Graphics Mode)
 +
|["SPACE"] (spacebar)
 +
|COMMAND_GRIDTOGGLE
 +
|Turns the grid overlay on/off.
 
|}
 
|}
  
Line 274: Line 328:
 
|-style="background:#333"
 
|-style="background:#333"
 
|Use [[small med-pack]]
 
|Use [[small med-pack]]
|N
+
|["SHIFT+N"] (N)
 
|function() if not command.use_item("smed") then ui.msg("No small medpacks left!") end end
 
|function() if not command.use_item("smed") then ui.msg("No small medpacks left!") end end
 
|-
 
|-
 
|Use [[large med-pack]]
 
|Use [[large med-pack]]
|M
+
|["SHIFT-M"] (M)
 
|function() if not command.use_item("lmed") then ui.msg("No large medpacks left!") end end
 
|function() if not command.use_item("lmed") then ui.msg("No large medpacks left!") end end
 
|}
 
|}

Revision as of 00:25, 11 March 2012

Keybindings are the assigned input to all of the various in-game commands. They are completely customizable to the extent that you can map any key to any command if so desired.

  • All names must be encased between square brackets followed by double quotes (such as ["1"] or ["QUOTE"]).

IMPORTANT! As of 0.9.9.6, the keybinding system has changed. Keys are to be named by their symbolic name, and may be combined with SHIFT, CTRL, or ALT (in any combination, as in ["SHIFT+CTRL+X"]) to form a key binding. A list of names is provided below:

Key symbol/name Symbolic name
letters a to z ["A"], ["B"], ["C"], etc...
numbers 0 to 9 ["0"], ["1"], ["2"], etc...
` (backtick/backquote) ["BQUOTE"]
[ (left bracket) ["LBRACKET"]
] (right bracket) ["RBRACKET"]
\ (backslash) ["BSLASH"]
 ; (semicolon) ["SCOLON"]
' (single quote) ["QUOTE"]
- (hyphen/minus) ["MINUS"]
= (equal sign) ["EQUALS"]
, (comma) ["COMMA"]
. (period/full stop) ["PERIOD"]
backspace ["BACKSPACE"]
insert ["INSERT"]
delete ["DELETE"]
page up ["PGUP"]
page down ["PGDOWN"]
home ["HOME"]
end ["END"]
enter ["ENTER"]
spacebar ["SPACE"]
Function keys (F1 to F12) ["F1"], ["F2"], ["F3"], etc...

Game Commands

The following is a list of keybindings, sorted by the order in the configuration file.

Action Default Key Game Command Other
Move Left ["LEFT"] COMMAND_WALKWEST N/A
Move Right ["RIGHT"] COMMAND_WALKEAST N/A
Move Up ["UP"] COMMAND_WALKNORTH Also scrolls up in the various select screens.
Move Down ["DOWN"] COMMAND_WALKSOUTH Also scrolls down in the various select screens.
Move Up-Right ["PGUP"] (Page Up) COMMAND_WALKNE N/A
Move Down-Right ["PGDOWN"] (Page Down) COMMAND_WALKSE N/A
Move Up-Left ["HOME"] COMMAND_WALKNW N/A
Move Down-Left ["END"] COMMAND_WALKSW N/A
Cancel/Exit Screen ["ESCAPE"] COMMAND_ESCAPE Quitting the game is a separate command. Does not work for y/n confirmations.
Wait ["CENTER"], ["PERIOD"] (.) COMMAND_WAIT Waiting always takes 1.0s, regardless of speed modifiers.
Confirm/Select ["ENTER"] COMMAND_OK Does not work for y/n confirmations.
More Information ["M"] (m) COMMAND_MORE Used primarily to see descriptions when looking at enemies.
Descend ["SHIFT+PERIOD"] (>) COMMAND_ENTER Can only be used on stairs.
Unload Weapon ["SHIFT+U"] (U) COMMAND_UNLOAD Works with weapons on the ground, as well as those in your inventory (but not equipped).
Pick Up Object ["G"] (g) COMMAND_PICKUP Objects can be picked up when you are standing directly on them.
Drop Object ["D"] (d) COMMAND_DROP This will bring you to the inventory screen, where you can choose what to drop (according to InvMenuStyle).
Access Inventory Screen ["I"] (i) COMMAND_INVENTORY Items are selected according to InvMenuStyle. Weapons and armor are equipped and consumables are used, when selected.
Access Equipment Screen ["E"] (e) COMMAND_EQUIPMENT Equipment is selected according to InvMenuStyle. Selecting an empty slot will access all avaiable equipment that can fill the slot; selecting a filled slot will attempt to unequip it (and trigger InvFullDrop).
Open Door ["O"] (o) COMMAND_OPEN If there is more than one door to select, the game will wait for you to select the direction that the door you want to open is.
Close Door ["C"] (c) COMMAND_CLOSE If there is more than one door to select, the game will wait for you to select the direction that the door you want to close is.
Look Around ["L"] (l) COMMAND_LOOK Use the Move commands to move the cursor in order to look. Use the Cancel command to stop looking.
Attack/Fire ["F"] (f) COMMAND_FIRE For melee weapons, the game will wait for you to select the direction in which you want to attack. For ranged weapons, use the Move keys to place the cursor where you want to aim, then press the key again to fire.
Alternate Attack/Fire ["SHIFT+F"] (F) COMMAND_ALTFIRE Not all weapons have an alternate attack/fire. See alternate fire for more information.
Reload Weapon ["R"] (r) function() command.reload() end Only a weapon in your equipped slot can be reloaded with this command.
Alternate Reload Option ["SHIFT+R"] (R) function() command.reload(true) end Not all weapons have an alternate reload option. See alternate reload for more information.
Use Item ["U"] (u) COMMAND_USE This brings you to a selection screen of usable items from which to choose (according to InvMenuStyle).
Quit Game ["SHIFT+Q"] (Q) function() command.quit() end Requires y/n confirmation.
View Manual ["SHIFT+SLASH"] (?) function() command.help() end Same as viewing the manual found on the wiki.
Access Character Info Screen ["SHIFT+2"] (@) COMMAND_PLAYERINFO N/A
Save Game ["SHIFT+S"] (S) COMMAND_SAVE Can only be used on stairs.
Change Tactics TAB COMMAND_TACTIC See tactics for more information.
Activate Run ["COMMA"] (,) COMMAND_RUNMODE The game will wait for you to select the direction in which you wish to run at speed set by RunDelay for a number of repetitions set by MaxRun. You can also use the Wait command, which will repeat for the number set by MaxWait.
Swap Weapon ["Z"] (z) COMMAND_SWAPWEAPON Switches your equipped and prepped slots, regardless of what is (or isn't) in them.
Capture Screenshot (F10) function() command.screenshot() end Converts screen to ASCII with proper formatting. If playing graphics mode, will make a PNG format image of the screen. This binding is hard-coded and cannot be changed.
Capture BBCode Screenshot (F9) function() command.screenshot(true) end Like Capture Screenshot but includes BBCode formatting (for use on the forums). If playing in graphics mode, will make a PNG format image of the screen. This binding is hard-coded and cannot be changed.
Access Trait Screen ["T"] (t) COMMAND_TRAITS N/A
Toggle Game Sound ["SHIFT+9"] ( ( ) COMMAND_SOUNDTOGGLE N/A
Toggle Game Music ["SHIFT+0"] ( ) ) COMMAND_MUSICTOGGLE N/A
View Game Messages ["SHIFT+P"] (P) function() command.messages() end You can scroll through the last X messages displayed by the game, where X is determined by MessageBuffer.
Access Schematics Screen ["SHIFT+A"] (A) function() command.assemblies() end N/A
Examine Being ["X"] (x) COMMAND_EXAMINENPC Used in conjunction with BlindMode.
Examine Item ["SHIFT+X"] (X) COMMAND_EXAMINEITEM Used in conjunction with BlindMode.
Toggle Grid (Graphics Mode) ["SPACE"] (spacebar) COMMAND_GRIDTOGGLE Turns the grid overlay on/off.

Quickkey Commands

There are also "quickkey" keybindings in DoomRL. Quickkeys are keys that perform an in-game script, allowing for additional customization. The following are current quickkeys, sorted by the order in the configuration file.

Action Quickkey Script
Equip chainsaw ["0"] function() command.quick_weapon('chainsaw') end
Equip combat knife ["1"] function() command.quick_weapon('knife') end
Equip pistol ["2"] function() command.quick_weapon('pistol') end
Equip shotgun ["3"] function() command.quick_weapon('shotgun') end
Equip combat shotgun ["4"] function() command.quick_weapon('ashotgun') end
Equip double shotgun ["5"] function() command.quick_weapon('dshotgun') end
Equip chaingun ["6"] function() command.quick_weapon('chaingun') end
Equip rocket launcher ["7"] function() command.quick_weapon('bazooka') end
Equip plasma rifle ["8"] function() command.quick_weapon('plasma') end
Equip BFG 9000 ["9"] function() command.quick_weapon('bfg9000') end
Use small med-pack ["SHIFT+N"] (N) function() if not command.use_item("smed") then ui.msg("No small medpacks left!") end end
Use large med-pack ["SHIFT-M"] (M) function() if not command.use_item("lmed") then ui.msg("No large medpacks left!") end end
Personal tools