BACKSPACE in combination with editmeta (LCTRL) now undeletes the last deleted entity. BACKSPACE in combination with editmeta2 (LSHIFT) brings up the menu "deleted entities". The edit menu now has a submenu "deleted entities" which lists all deleted entities and undeletes the selected one. undelent [<index>] If no index is specified, the last deleted entity is restored. If an index is given, the specified entity from the list of deleted entities is restored. getdeletedentities Returns a list of deleted entities. Each line contains the entity type, the position and all seven attributes. unlistdeletedentity [<which>] If <which> is a number, the specified entry from the list of deleted entities gets removed. If <which> is "all", the whole list of deleted entities gets deleted. If <which> is "last" the last deleted entity is removed from the list of deleted entities. Returns the number of entities on the list of deleted entities (even if the parameter <which> was unknown or not specified). DOCREF undelent getdeletedentities unlistdeletedentity
219 lines
5.0 KiB
INI
219 lines
5.0 KiB
INI
// All default binds belong in here.
|
|
// The command "resetbinds" executes this file.
|
|
|
|
// Do not modify.
|
|
|
|
alias key_console_end [ conskip -1000 ]
|
|
alias key_console_rewind [ conskip 3 ]
|
|
alias key_domodifier_1 [ domodifier 1 ]
|
|
alias key_domodifier_2 [ domodifier 2 ]
|
|
alias key_escape [ if $connected [ ingamemenu ] [ if (watchingdemo) [ showmenu [Watching demo] ] [ showmenu main ] ] ]
|
|
alias key_getdemo [ if (! (watchingdemo)) getdemo ]
|
|
alias key_universaldelta_minus [ universaldelta -1 ]
|
|
alias key_universaldelta_plus [ universaldelta 1 ]
|
|
alias key_showmap [ showscores 0; toggleshowmap ]
|
|
alias key_showmenuweapons [ showmenu Weapons ]
|
|
alias key_showmenuvoicecom [ showmenu voicecom ]
|
|
alias key_showscores [ showscores 1; onrelease [ showscores 0 ] ]
|
|
alias key_toggleconsole [ conskip -1000; toggleconsole ]
|
|
alias key_voteyes [ if $votepending [ && (vote 1) (echo you voted yes) ] ]
|
|
alias key_voteno [ if $votepending [ && (vote 2) (echo you voted no) ] ]
|
|
alias key_teamchat [ saycommand % ]
|
|
alias key_commandline [ saycommand / ]
|
|
alias key_prevweapon [ weapon (prevweapon) ]
|
|
alias key_editmeta2 [ editmeta2down = 1 ; onrelease [ editmeta2down = 0 ] ]
|
|
|
|
bind MOUSE1 attack
|
|
bind MOUSE2 altaction
|
|
editbind MOUSE2 [ showmenu editing ]
|
|
bind MOUSE3 weapon
|
|
bind MOUSE4 key_universaldelta_plus
|
|
bind MOUSE5 key_universaldelta_minus
|
|
bind BACKSPACE dropflag
|
|
editbind BACKSPACE [if $editmeta2down [showmenu "deleted entities" ; menuselection "deleted entities" (- (unlistdeletedentity) 1)] [if $editmetakeydown undelent delent]]
|
|
bind TAB key_showscores
|
|
bind CLEAR []
|
|
bind RETURN []
|
|
bind PAUSE []
|
|
bind ESCAPE key_escape
|
|
bind SPACE jump
|
|
bind EXCLAIM []
|
|
bind QUOTEDBL []
|
|
bind HASH []
|
|
bind DOLLAR []
|
|
bind AMPERSAND []
|
|
bind QUOTE []
|
|
bind LEFTPAREN []
|
|
bind RIGHTPAREN []
|
|
bind ASTERISK []
|
|
bind PLUS []
|
|
bind COMMA []
|
|
editbind COMMA [ equalize 0 ]
|
|
bind MINUS []
|
|
editbind MINUS copyent
|
|
bind PERIOD []
|
|
editbind PERIOD [ equalize 2 ]
|
|
bind SLASH key_commandline
|
|
bind 0 []
|
|
bind 1 primary
|
|
editbind 1 [ domodifier attr1 ]
|
|
bind 2 secondary
|
|
editbind 2 [ domodifier attr2 ]
|
|
bind 3 grenades
|
|
editbind 3 [ domodifier attr3 ]
|
|
bind 4 melee
|
|
editbind 4 [ domodifier attr4 ]
|
|
bind 5 []
|
|
editbind 5 [ domodifier attr5 ]
|
|
bind 6 []
|
|
editbind 6 [ domodifier attr6 ]
|
|
bind 7 []
|
|
editbind 7 [ domodifier attr7 ]
|
|
//editbind 7 nextclosestent
|
|
bind 8 []
|
|
editbind 8 [ vdelta -1 ]
|
|
bind 9 []
|
|
editbind 9 [ vdelta 1 ]
|
|
bind COLON []
|
|
bind SEMICOLON []
|
|
editbind SEMICOLON editent
|
|
bind LESS []
|
|
bind EQUALS []
|
|
editbind EQUALS pasteent
|
|
bind GREATER []
|
|
bind QUESTION []
|
|
bind AT []
|
|
bind LEFTBRACKET []
|
|
editbind LEFTBRACKET [ editheight 0 -1 ]
|
|
bind BACKSLASH []
|
|
bind RIGHTBRACKET []
|
|
editbind RIGHTBRACKET [ editheight 0 1 ]
|
|
bind CARET key_commandline
|
|
bind UNDERSCORE []
|
|
bind BACKQUOTE key_commandline
|
|
bind A left
|
|
bind B key_showmenuweapons
|
|
editbind B showtagclipfocus
|
|
bind C []
|
|
editbind C copy
|
|
bind D right
|
|
bind E edittoggle
|
|
editbind E edittoggle
|
|
bind F []
|
|
editbind F [ solid 1 ]
|
|
bind G quicknadethrow
|
|
editbind G [ solid 0 ]
|
|
bind H []
|
|
editbind H [ heightfield 0 ]
|
|
bind I []
|
|
editbind I [ heightfield 2 ]
|
|
bind J []
|
|
bind K []
|
|
editbind K corner
|
|
bind L []
|
|
editbind L [ showmenu Lighting ]
|
|
bind M []
|
|
editbind M [ domodifier 6 ]
|
|
bind N quickanswer
|
|
bind O []
|
|
editbind O [ editheight 2 -1 ]
|
|
bind P []
|
|
editbind P [ editheight 2 1 ]
|
|
bind Q key_prevweapon
|
|
editbind Q [ domodifier 1 ]
|
|
bind R reload
|
|
editbind R redo
|
|
bind S backward
|
|
bind T saycommand
|
|
bind U []
|
|
editbind U undo
|
|
bind V key_showmenuvoicecom
|
|
editbind V paste
|
|
bind W forward
|
|
bind X []
|
|
editbind X [ domodifier 3 ]
|
|
bind Y key_teamchat
|
|
bind Z []
|
|
editbind Z [ domodifier 2 ]
|
|
bind DELETE []
|
|
editbind DELETE [ edittex 0 -1 ]
|
|
bind KP0 []
|
|
bind KP1 []
|
|
bind KP2 []
|
|
bind KP3 []
|
|
bind KP4 []
|
|
editbind KP4 [ edittex 3 -1 ]
|
|
bind KP5 []
|
|
bind KP6 []
|
|
bind KP7 []
|
|
editbind KP7 [ edittex 3 1 ]
|
|
bind KP8 []
|
|
bind KP9 []
|
|
bind KP_PERIOD []
|
|
bind KP_DIVIDE []
|
|
bind KP_MULTIPLY []
|
|
bind KP_MINUS key_console_rewind
|
|
bind KP_PLUS key_console_end
|
|
bind KP_ENTER []
|
|
bind KP_EQUALS []
|
|
bind UP forward
|
|
bind DOWN backward
|
|
bind RIGHT right
|
|
bind LEFT left
|
|
bind INSERT []
|
|
editbind INSERT [ edittex 0 1 ]
|
|
bind HOME []
|
|
editbind HOME [ edittex 1 1 ]
|
|
bind END []
|
|
editbind END [ edittex 1 -1 ]
|
|
bind PAGEUP []
|
|
editbind PAGEUP [ edittex 2 1 ]
|
|
bind PAGEDOWN []
|
|
editbind PAGEDOWN [ edittex 2 -1 ]
|
|
bind F1 key_voteyes
|
|
bind F2 key_voteno
|
|
bind F3 []
|
|
bind F4 []
|
|
bind F5 key_domodifier_1
|
|
editbind F5 toggleocull
|
|
bind F6 key_domodifier_2
|
|
editbind F6 showmip
|
|
bind F7 []
|
|
editbind F7 [ if $fullbright [ fullbright 0 ] [ fullbright 1 ] ]
|
|
bind F8 []
|
|
editbind F8 showfocuscubedetails
|
|
bind F9 []
|
|
bind F10 key_getdemo
|
|
bind F11 key_toggleconsole
|
|
bind F12 screenshot
|
|
bind F13 []
|
|
bind F14 []
|
|
bind F15 []
|
|
bind NUMLOCK []
|
|
bind CAPSLOCK []
|
|
bind SCROLLOCK []
|
|
bind RSHIFT []
|
|
bind LSHIFT crouch
|
|
editbind LSHIFT key_editmeta2
|
|
bind RCTRL jump
|
|
editbind RCTRL []
|
|
bind LCTRL []
|
|
editbind LCTRL editmeta
|
|
bind RALT []
|
|
bind LALT key_showmap
|
|
bind RMETA []
|
|
bind LMETA []
|
|
bind LSUPER []
|
|
bind RSUPER []
|
|
bind MODE []
|
|
bind COMPOSE []
|
|
bind HELP []
|
|
bind PRINT []
|
|
bind SYSREQ []
|
|
bind BREAK []
|
|
bind MENU []
|
|
|
|
omitunchangeddefaults 1 // switch to a clean saved.cfg when keybinds are reset
|
|
|
|
persistidents 1
|