//
// KEY BINDINGS
//

unbindall

bind ' "inven_drop"
bind , "use Blaster"
bind 2 "use Shotgun"
bind 3 "use Super Shotgun"
bind 4 "use Machinegun"
bind 5 "use Chaingun"
bind 6 "use Grenade Launcher"
bind 7 "use Rocket Launcher"
bind 8 "use HyperBlaster"
bind 9 "use Railgun"
bind 0 "use BFG10K"

//
// CHARACTER CONTROLS
//

bind    CTRL		+attack
bind    ALT		+strafe

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

bind    TAB         inven
bind    ENTER       invuse
bind    [           invprev
bind    ]           invnext
bind    '           invdrop
bind	BACKSPACE   invdrop	

bind	/			weapnext

bind	g 			use grenades
bind	s 			use silencer
bind	q			use quad damage
bind	b			use rebreather
bind	e			use environment suit
bind	i			use invulnerability
bind 	p			use power shield

//rogue weapons & powerups
bind	h			use chainfist
bind	1			use etf rifle
bind	k			use plasma beam
bind	n			use prox launcher
bind	m			use tesla
bind	d			use double damage
bind	r			use hunter sphere
bind	f			use defender sphere
bind	v			use vengeance sphere
bind	x			use a-m bomb
bind	u			use ir goggles
bind	o			use doppleganger

//waves
//bind	h	"wave 0"
//bind 	j	"wave 1"
//bind	k	"wave 2"
//bind	l	"wave 3"
//bind 	u 	"wave 4"

bind    SHIFT 		+speed

bind    UPARROW     +forward
bind    DOWNARROW   +back
bind    LEFTARROW   +left
bind    RIGHTARROW  +right

bind    SPACE       +moveup 

//
// MOUSE OPTIONS
//

bind    \           +mlook

//
// CLIENT ENVIRONMENT COMMANDS
//

bind    PAUSE       "pause"
bind    ESCAPE      "togglemenu"
bind    ~           "toggleconsole"
bind    `           "toggleconsole"

bind    F1          "cmd help"
bind	F2			"menu_savegame"
bind	F3			"menu_loadgame"
bind	F4			"menu_keys"
bind	F5			"menu_startserver"
bind	F6			"echo Quick Saving...; wait; save quick"
bind	F9			"echo Quick Loading...; wait; load quick"
bind	F10			"menu_quit"
bind	F12			"screenshot"

bind    t           "messagemode"

bind    +           "sizeup"
bind    =           "sizeup"
bind    -           "sizedown"

bind    INS         +klook

//
// MOUSE BUTTONS
//

bind    MOUSE3      +forward
bind    MOUSE1      +attack
bind    MOUSE2      +strafe

//
// DEFAULT CVARS
//

set viewsize		100
set	vid_fullscreen	1
set win_noalttab	0
set sensitivity     3
set crosshair		1
set cl_run			0
set hand			0
set m_pitch         0.022
set m_yaw           0.022
set m_forward       1
set m_side          0.8
set lookspring		1
set lookstrafe		0


//----------------------------------------------
//
// userinfo
//

set name Player
set skin male/grunt

//----------------------------------------------

//
//	DEMO STUFF
//
alias   d1      "demomap idlog.cin ; set nextserver d2"
alias   d2      "demomap demo1.dm2 ; set nextserver d3"
alias   d3	    "demomap demo1.dm2 ; set nextserver d4"
alias	  d4	    "demomap demo1.dm2 ; set nextserver d1"

//
// newgame command
//
alias   newgame " killserver ; maxclients 1 ; deathmatch 0 ; map map1"

//
// quake2 +set dedicated 1
// will run this command if no other +map is included
//
alias	dedicated_start	"map airbase1"


set gl_shadows 2		// dynamic shadows
set gl_modulate 1		// don't saturate lightmaps
set intensity 1		// don't saturate textures
set alt_text_color 1	// red text color
set con_font_size "16"
set con_font "phalanx"
set hud_scale 3

// SP Lithium controls
alias holster "use no weapon"
set allow_player_use_abandoned_turret 1
set jump_kick 1
set alert_sounds 1
set footstep_sounds 1
set corpse_fade 0
set mp_monster_replace 0
set mp_monster_ammo_replace 0
set mega_gibs 1
set turn_rider 1
set adjust_train_corners 1
set cd_loopcount 100

set ion_ripper_extra_sounds 1
set pack_give_xatrix_ammo 1
set pack_give_rogue_ammo 1
set add_velocity_throw 1
set falling_armor_damage 0
set player_jump_sounds 0
set use_vwep 1

set max_health 100
set max_foodcube_health 200
set max_armor 200
set max_bullets 400
set max_shells 100
set max_grenades 50
set max_rockets 100
set max_cells 400
set max_slugs 100
set max_magslugs 100
set max_flechettes 400
set max_rounds 100
set max_prox 100
set max_tesla 100
set max_traps 10
set max_shocksphere 20
set max_fuel 100

set bando_bullets 800
set bando_shells 200
set bando_cells 600
set bando_slugs 120
set bando_magslugs 120
set bando_flechettes 600
set bando_rounds 200
set bando_fuel 5000

set pack_bullets 999
set pack_shellls 500
set pack_grenades 400
set pack_rockets 300
set pack_cells 999
set pack_slugs 300
set pack_magslugs 300
set pack_traps 10
set pack_flechettes 999
set pack_rounds 400
set pack_prox 200
set pack_tesla 40
set pack_shocksphere 50
set pack_fuel 100

set box_shells 7
set box_bullets 40
set box_grenades 4
set box_rockets 4
set box_cells 40
set box_slugs 5
set box_magslugs 7
set box_flechettes 35
set box_prox 5
set box_tesla 5
set box_disruptors 15
set box_shocksphere 1
set box_trap 1
set box_fuel 80

set mp_monster_replace 0
set armor_bonus_value 5
set health_bonus_value 5
set powerup_max 100
set doppleganger_max 100
set nuke_max 4
set nbomb_max 16
set defender_time 100
set vengeance_time 50
set hunter_time 50
set doppleganer_time 50
set quad_time 30
set inv_time 30
set breather_time 30
set enviro_time 30
set silencer_shots 30
set ir_time 30
set double_time 30
set quad_fire_time 20
set stasis_time 30

set blaster_damage 10
set blaster_speed 1500
set blaster_color 3
set shotgun_damage 4
set shotgun_count 12
set shotgun_hspread 500
set shotgun_vspread 500
set sshotgun_damage 6
set sshotgun_count 20
set sshotgun_hspread 1000
set sshotgun_vspread 500
set machinegun_damage 8
set machinegun_hspread 300
set machinegun_vspread 500
set chaingun_damage 8
set chaingun_hspread 300
set chaingun_vspread 500
set grenade_damage 120
set grenade_radius 160
set grenade_speed 600
set hand_grenade_damage 125
set hand_grenade_radius 165
set rocket_damage 100
set rocket_damage2 20
set rocket_rdamage 120
set rocket_radius 140
set rocket_speed 700
set hyperblaster_damage 10
set hyperblaster_speed 1000
set hyperblaster_color 3
set railgun_damage 150
set rail_color 1
set bfg_damage 300
set bfg_damage2 10
set bfg_rdamage 200
set bfg_radius 1000
set bfg_speed 400

set jump_kick_damage 15

set tesla_damage 3
set tesla_radius 128
set tesla_life 600
set tesla_health 20
set chainfist_damage 50
set plasmabeam_damage 20
set etf_rifle_damage 15
set etf_rifle_radius_damage 20
set etf_rifle_radius 100
set etf_rifle_speed 2000
set disruptor_damage 75
set disruptor_speed 1000
set prox_damage 135
set prox_radius 192
set prox_speed 600
set prox_life 600
set prox_health 40
set ionripper_damage 50
set ionripper_speed 800
set phalanx_damage 100
set phalanx_damage2 20
set phalanx_radius_damage 120
set phalanx_radius 120
set phalanx_speed 800
set trap_life 600
set trap_health 100
set nuke_delay 8
set nuke_life 12
set nuke_radius 512
set nbomb_delay 8
set nbomb_life 6
set nbomb_radius 512
set nbomb_damage 5000
set defender_blaster_damage 20
set defender_blaster_speed 2000
set vengeance_health_threshold 100
set shockwave_bounces 6
set shockwave_damage 80
set shockwave_damage2 40
set shockwave_rdamage 120
set shockwave_radius 300
set shockwave_speed 650
set shockwave_effect_damage 100
set shockwave_effect_radius 340
