109 lines
2.0 KiB
INI
109 lines
2.0 KiB
INI
//
|
|
// load keybindings
|
|
//
|
|
// commands with a leading + will also be called for key up events with
|
|
// the + changed to a -
|
|
unbindall
|
|
|
|
|
|
|
|
//
|
|
// character controls
|
|
//
|
|
|
|
//PREACH wasd
|
|
bind a +moveleft
|
|
bind d +moveright
|
|
|
|
bind w +forward
|
|
bind s +back
|
|
|
|
bind x +moveup
|
|
bind c +movedown
|
|
bind shift +speed
|
|
+mlook
|
|
|
|
|
|
bind CTRL +attack
|
|
|
|
bind SPACE +jump
|
|
|
|
bind TAB +showscores
|
|
|
|
bind 1 "impulse 1"
|
|
bind 2 "impulse 2"
|
|
bind 3 "impulse 3"
|
|
bind 4 "impulse 4"
|
|
bind 5 "impulse 5"
|
|
bind 6 "impulse 6"
|
|
bind 7 "impulse 7"
|
|
bind 8 "impulse 8"
|
|
//PREACH bind the plasma gun
|
|
bind 9 "impulse 250"
|
|
|
|
bind 0 "impulse 0"
|
|
|
|
bind / "impulse 10" // change weapon
|
|
|
|
//PREACH: flashlight is here
|
|
bind f flashlight
|
|
|
|
// zoom
|
|
alias zoom_in "sensitivity 2;fov 90;wait;fov 70;wait;fov 50;wait;fov 30;wait;fov 10;wait;fov 5;bind F11 zoom_out"
|
|
alias zoom_out "sensitivity 4;fov 5;wait;fov 10;wait;fov 30;wait;fov 50;wait;fov 70;wait;fov 90;bind F11 zoom_in; sensitivity 3"
|
|
bind F11 zoom_in
|
|
|
|
// Function keys
|
|
bind F1 "help"
|
|
bind F2 "menu_save"
|
|
bind F3 "menu_load"
|
|
bind F4 "menu_options"
|
|
bind F5 "menu_multiplayer"
|
|
bind F6 "echo Quicksaving...; wait; save quick"
|
|
bind F9 "echo Quickloading...; wait; load quick"
|
|
bind F10 "quit"
|
|
bind F12 "screenshot"
|
|
|
|
// mouse options
|
|
bind \ +mlook
|
|
|
|
//
|
|
// client environment commands
|
|
//
|
|
bind PAUSE "pause"
|
|
bind ESCAPE "togglemenu"
|
|
bind ~ "toggleconsole"
|
|
bind ` "toggleconsole"
|
|
|
|
bind t "messagemode"
|
|
|
|
bind + "sizeup"
|
|
bind = "sizeup"
|
|
bind - "sizedown"
|
|
|
|
bind INS +klook
|
|
|
|
//
|
|
// mouse buttons
|
|
//
|
|
bind MOUSE1 +attack
|
|
bind MOUSE2 +forward
|
|
bind MOUSE3 +mlook
|
|
crosshair 1
|
|
|
|
// the optout is here in case the player resets config through menu
|
|
exec optout.cfg
|
|
|
|
|
|
bind mwheeldown "impulse 10"
|
|
bind mwheelup "impulse 12"
|
|
|
|
|
|
//
|
|
// default cvars
|
|
//
|
|
viewsize 100
|
|
gamma 1.0
|
|
volume 0.7
|
|
sensitivity 3
|
|
scr_conspeed 900 |