//
// load keybindings
//
// commands with a leading + will also be called for key up events with
// the + changed to a -
unbindall

//
// character controls
//

bind	,			+moveleft
bind	.			+moveright
bind	DEL			+lookdown
bind	PGDN		+lookup
bind	END			centerview
bind	z			+lookdown
bind	a			+lookup

bind	d			+moveup
bind	c			+movedown
bind	SHIFT		+speed
bind	CTRL		+attack
bind	UPARROW		+forward
bind	DOWNARROW	+back
bind	LEFTARROW	+left
bind	RIGHTARROW	+right

bind	SPACE		+jump 
bind	ENTER		"c4_detonate"
bind	ALT		use

bind	TAB			+showscores

// weapon selection binding

bind	1			"select_ionblaster; select_discus; select_axe; select_glock"
bind	2			"select_c4viz; select_midas; select_crossbow; select_pulserifle"
bind	3			"select_shotcycler6; select_greekfire; select_barrier; select_tazerhook"
bind	4			"select_sidewinder; select_wyndrax; select_dragon; select_metamaser"
bind	5			
bind	6			
bind	7			
bind	8			

// 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	F7			"invnetory"
bind	F9			"echo Quickloading...; wait; load quick"
bind	F10			"quit"
bind	F12			"screenshot"

// mouse options
bind	\			+mlook

//
// client environment commands
//
bind	PAUSE		"pause"
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

//
// default cvars
//
viewsize			120
gamma				0.75
volume				0.99
sensitivity			3