Skip to content

Keybinds

offyerrocker edited this page May 22, 2019 · 1 revision

Keybinds in PD2-Console can be bound to perform function callbacks or code snippets, or commands, in addition to whatever you choose to have them perform in their designated MenuCallbackHandler function.

For more information, see Console Commands: /bind, /unbind, and /unbindall.

Console comes with 12 empty actions to bind by default, and six (6) and counting functions which may be bound to keys in order to better aid modding and development.

These six functions are all related to general unit manipulation:

  1. dcc_set_waypoint_fwdray: Sets the position waypoint (selected position) to the location that your crosshair is pointing at. For more information on Console selected position, see the future. That's so Raven!

  2. dcc_selectunit_fwdray: Selects the unit at your crosshair. This unit can be any type of unit in the game (including players, cops, civilians, dropped weapons, architecture, deployables, and more), though you can filter this out in the mod's settings.

For more information on Console selected units, see Console Commands: /select.

  1. dcc_selectandfreeze_fwdray: Selects the unit at your crosshair, and freezes their AI (temporarily stops it from updating). This unit must be a cop, teammate ai, civilian, or other unit with an AI brain to freeze.

  2. dcc_unfreeze_selected:

  3. dcc_change_selectionbrush: Changes the filter type for your selection tool. By default, this selection tool is limited to: AI, sentries, equipment, heisters, enemies, and civilians. You may set your default selection type in this mod's settings.

  4. dcc_deselect_allunits: Deselect your currently selected unit(s).

Clone this wiki locally