//
// KEY BINDINGS
//

unbindall

bind ' "inven_drop"
bind 1 "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	j			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 idlog.cin ; set nextserver d4"
alias	  d4	    "demomap demo2.dm2 ; set nextserver d1"

//
// newgame command
//
alias   newgame " killserver ; maxclients 1 ; deathmatch 0 ; map *intro.cin+base1"

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


// SP Lithium controls
set mega_gibs 0
set player_gib_health -40
set allow_player_use_abandoned_turret 0
set jump_kick 0
set alert_sounds 1
set footstep_sounds 1
set corpse_fade 0
set turn_rider 1
set adjust_train_corners 1

set add_velocity_throw 0
set falling_armor_damage 1
set player_jump_sounds 1

set use_techs 1		// whether to use techs in deathmatch
set use_coloredtechs 0	// whether to use colored shells on techs
set use_lithiumtechs 0	// whether to use Lithium-style colored pyramid key techs

set ctf_blastercolors 1 // whether to have teams use matching colored blasters

set allow_flagdrop 1	// whether to allow players to drop flags in CTF
set allow_flagpickup 1	// whether to allow players to take flags of empty teams
set allow_techdrop 1	// whether players can drop techs
set allow_techpickup 1	// whether players can pickup a tech they just dropped

set tech_flags 15		// determines which tech will show in the game, add these:
				// 1 = resist, 2 = strength, 4 = haste, 8 = regen, 16 = vampire, 32 = ammogen
set tech_perplayer 0.7	// how many techs to spawn per player
set tech_min 2		// minimum number of techs
set tech_max 10		// maximum number of techs allowed
set tech_life 20		// how long each tech stays put before respawning

set tech_resist 2.0
set tech_strength 2.0
set tech_regen_armor 1
set tech_regen_armor_always 0
set tech_regen_health_max 150
set tech_regen_armor_max 150
set tech_vampire 0.5
set tech_vampiremax 200

set max_health 100
set max_health_dm 120
set max_armor 100000
set max_bullets 300
set max_shells 100
set max_grenades 50
set max_rockets 50
set max_cells 200
set max_slugs 50
set max_fuel 1000

set bando_bullets 250
set bando_shells 150
set bando_cells 250
set bando_slugs 75
set bando_fuel 1500

set pack_bullets 300
set pack_shellls 200
set pack_grenades 100
set pack_rockets 100
set pack_cells 300
set pack_slugs 100
set pack_fuel 2000

set box_shells 10
set box_bullets 50
set box_grenades 5
set box_rockets 5
set box_cells 50
set box_slugs 10
set box_fuel 500

set armor_bonus_value 2
set health_bonus_value 2
set powerup_max 2
set quad_time 30
set inv_time 30
set breather_time 60
set enviro_time 60
set silencer_shots 30
set stasis_time 30

set blaster_damage 10
set blaster_speed 1000
set blaster_color 2
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 500
set bfg_damage2 10
set bfg_rdamage 200
set bfg_radius 1000
set bfg_speed 400

set jump_kick_damage 10

set dm_start_shells 0
set dm_start_bullets 0
set dm_start_rockets 0
set dm_start_homing 0
set dm_start_grenades 0
set dm_start_cells 0
set dm_start_slugs 0

set dm_start_shotgun 0
set dm_start_sshotgun 0
set dm_start_machinegun 0
set dm_start_chaingun 0
set dm_start_grenadelauncher 0
set dm_start_rocketlauncher 0
set dm_start_hyperblaster 0
set dm_start_railgun 0
set dm_start_bfg 0

