Add/change binds for demo mode and console
This commit is contained in:
+13
-4
@@ -4,7 +4,12 @@
|
||||
// Do not modify.
|
||||
|
||||
alias key_console_end [ conskip -1000 ]
|
||||
alias key_console_rewind [ conskip 3 ]
|
||||
alias key_console_forward [ conskip -5 ]
|
||||
alias key_console_rewind [ conskip 5 ]
|
||||
alias key_demo_gamespeeddown [ if (watchingdemo) [ if (<= $gamespeed 100) [ gamespeed (- $gamespeed 10) ] [ gamespeed (- $gamespeed 100) ]; gamespeed ] ]
|
||||
alias key_demo_gamespeedup [ if (watchingdemo) [ if (< $gamespeed 100) [ gamespeed (+ $gamespeed 10) ] [ gamespeed (+ $gamespeed 100) ]; gamespeed ] ]
|
||||
alias key_demo_gamespeedreset [ if (watchingdemo) [ gamespeed 100; gamespeed ] ]
|
||||
alias key_demo_togglespeed [ if (watchingdemo) [ tempalias tmp_gamespeed $gamespeed; gamespeed 1000; onrelease [ gamespeed $tmp_gamespeed ] ] ]
|
||||
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 ] ] ]
|
||||
@@ -35,7 +40,7 @@ editbind BACKSPACE [if $editmeta2down [showmenu "deleted entities" ; menuselecti
|
||||
bind TAB key_showscores
|
||||
bind CLEAR []
|
||||
bind RETURN []
|
||||
bind PAUSE []
|
||||
bind PAUSE [ paused (! $paused) ]
|
||||
bind ESCAPE key_escape
|
||||
bind SPACE jump
|
||||
bind EXCLAIM []
|
||||
@@ -102,6 +107,7 @@ bind E edittoggle
|
||||
editbind E edittoggle
|
||||
bind F []
|
||||
editbind F [ solid 1 ]
|
||||
specbind F key_demo_togglespeed
|
||||
bind G quicknadethrow
|
||||
editbind G [ solid 0 ]
|
||||
bind H []
|
||||
@@ -152,9 +158,9 @@ bind KP8 []
|
||||
bind KP9 []
|
||||
bind KP_PERIOD []
|
||||
bind KP_DIVIDE []
|
||||
bind KP_MULTIPLY []
|
||||
bind KP_MULTIPLY key_console_end
|
||||
bind KP_MINUS key_console_rewind
|
||||
bind KP_PLUS key_console_end
|
||||
bind KP_PLUS key_console_forward
|
||||
bind KP_ENTER []
|
||||
bind KP_EQUALS []
|
||||
bind UP forward
|
||||
@@ -165,12 +171,15 @@ bind INSERT []
|
||||
editbind INSERT [ edittex 0 1 ]
|
||||
bind HOME []
|
||||
editbind HOME [ edittex 1 1 ]
|
||||
specbind HOME key_demo_gamespeedreset
|
||||
bind END []
|
||||
editbind END [ edittex 1 -1 ]
|
||||
bind PAGEUP []
|
||||
editbind PAGEUP [ edittex 2 1 ]
|
||||
specbind PAGEUP key_demo_gamespeedup
|
||||
bind PAGEDOWN []
|
||||
editbind PAGEDOWN [ edittex 2 -1 ]
|
||||
specbind PAGEDOWN key_demo_gamespeeddown
|
||||
bind F1 key_voteyes
|
||||
bind F2 key_voteno
|
||||
bind F3 []
|
||||
|
||||
Reference in New Issue
Block a user