// If the user doesn't have a config.cfg when they run, this gets executed the first time they run the engine
// It doesn't execute if they have their own config.cfg saved out.
// redux is using config_default.cfg and valve.rc so players can use a fresh autoexec on top of any commands we run first.
unbindall

bind "ESCAPE" 		"cancelselect"
bind "`" 			"toggleconsole"
bind "w"			"+forward"
bind "s"			"+back"
bind "a"			"+moveleft"
bind "d"			"+moveright"
bind "SPACE"		"+jump"
bind "CTRL"			"+duck"
bind "e"			"+use"
bind "c"			"impulse 50"
bind "r"			"+reload"
bind "ALT"			"+walk"
bind "SHIFT"		"+speed"
bind "MOUSE1"		"+attack"
bind "MOUSE2"		"+attack2"
bind "f"			"impulse 100"
bind "1"			"slot1"
bind "2"			"slot2"
bind "3"			"slot3"
bind "4"			"slot4"
bind "5"			"slot5"
bind "6"			"slot6"
bind "7"			"slot7"
bind "MWHEELUP"		"invprev"
bind "MWHEELDOWN"	"invnext"
bind "q"			"lastinv"
bind "F5"			"jpeg"
bind "F6"			"save quick"
bind "F9"			"load quick"
bind "PAUSE" 		"pause"
bind "z"			"+zoom"
bind "g"			"phys_swap"

// SMOD Binds.
bind "b" 			"impulse 110"
bind "v" 			"impulse 111"
bind "x" 			"attack_kick"
bind "t" 			"toggle_ironsight"
bind "h" 			"dropprimary"
bind "LEFTARROW" 	"+leanleft"
bind "RIGHTARROW" 	"+leanright"


//so new NPC models work
smod_override_classname 1
npc_replacemodel 1

//lots of maps open now.
sv_unlockedchapters "64"

//thicker lines for smod crosshair
crosshair_data "l 0 -12 0 -2 0 -5 l -12 0 -2 0 -5 0 l 0 12 0 2 0 5 l 12 0 2 0 5 0 e"

//combine ace has unique model now. set to normal color
npc_combine_ace_color "255 255 255" 

//autosaves can cause crashes. player can manually disable them via options
disable_autosave 0

//enable quickinfo bars. player can manually disable them via options
disable_quickinfo 0

//set zombie2 model
npc_zombine2_model "models/zombie/zombie2.mdl"

//set umcitizen model
um_citizen_model "models/gordon.mdl"

//for better aiming
ironsight_sensitivity 0.75 

//saner blur limits
r_motionblur_max 150 
r_screenblur_max 150
r_screenblur_recover 4
r_underwaterblur_power 30
r_ironsightblur_amount 0.005

//nightvision brightness power 
r_nvpower 0.35

//set player model. this mdl file is already precached by the game
cl_playermodel "models/player.mdl"

//model uses deathmatch animation set
smod_player_compatible_dm_model 1

//might want to play around with this setting.
smod_player_deathcam_zoffset 3

//so driving animation works
smod_player_act_vehicle "1"

//disable locational damage by default
smod_player_locationdamage "0"

//bullet time player speed reduced to saner levels. also less likely to cause physics-related player deaths
bullettimesim_accelmovespeed 2 

//sets bullet time bullet limit so game won't crash easy in BT
bullettimesim_bulletlimit 100

//slightly faster enemy bullets in BT
bullettimesim_bulletspeed 1000

//reduce damage in BT to default. 
bullettimesim_damagemultiply 1

//reduce physics force in BT. possible crash fix
bullettimesim_forcemultiply 1

//increased impact checktime in BT. better performance and possibly more stable
bullettimesim_checkinterval 0.1

//override hl2 default citizen weapon weight
weapon_customweight 1

//enable gibs by default
gore_moregore 2

//new TPV cam settings
cam_idealdist 90
cam_crouchheightofs 20
cam_standheightofs 12
cam_nottransmodel 0
cam_crouchheightofs 18 
cam_sideofs 5 
cam_idealpitch 0 
cam_idealyaw 0

//reduce bloom brightness
r_smod_bloom_amount 0.65

//reduce fakehdr speed
r_smod_bloom_fakeexposure_speed 0.35

//gives mapadded combine grenades
enemies_hasgrenade 1

//smod's times are really low for these by default
gore_raggib_fadetime 30
gore_raggib_interacttime 30
ragdoll_gibtimer 30

//force xbow bolts to sticky enemies to walls
weapon_crossbow_forcesticky "1"

//performance stuff
gore_raggib_unbreakable 1
gore_stickygib_max 0