// .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Example autoexec.cfg from csgohelp.com . // . . // . Last updated: 2013-12-11 . // . Homepage: http://csgohelp.com . // . Autoexec help: http://csgohelp.com/autoexec/ . // . Autoexec Q&A: http://csgohelp.com/autoexec-qa/ . // . Example Autoexec: http://csgohelp.com/example-autoexec/ . // . Launch Options: http://csgohelp.com/launch-options/ . // . Moneyguide: http://csgohelp.com/moneyguide/ . // . . // . General information: . // . This is an example autoexec containing all commands found on the . // . autoexec help page with quick explanations for each command (for . // . more help on a command visit the autoexec help page please). If you . // . have any general questions about autoexecs and configs, please . // . visit the Q&A page listed above. You will notice that some commands . // . have two slashes in front of them, just like the first few lines in . // . this autoexec with the links. Anything that is written behind two . // . slashes will be ignored by the game, so if you want to modify this . // . autoexec and not use some commands listed in it, just put two . // . slashes and a blank at the beginning of that line. Vise versa, if . // . you want to use a command that I put two slashes in front of, just . // . delete them. . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Command line settings . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // -novid -refresh 144 -freq 144 -high -nojoy -tickrate 128 -noaafonts -threads 8 // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Numpad Buybinds . // . . // . With the following binds you will be able to buy your weapons using . // . the numpad. Please note that these are my own buy binds and that . // . they only serve as an example, you can add or delete weapons and . // . switch keys. You can of course also use other keys. Please check . // . the following two links for more help: . // . . // . Weaponlist for buyscripts: http://csgohelp.com/weaponlist/ . // . Keynames for binds: http://csgohelp.com/keynames/ . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // i have no number pad // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Misc binds . // . . // . Some other binds, that don't buy weapons. Again, to change any of . // . these, visit this page: . // . . // . Keynames for binds: http://csgohelp.com/keynames/ . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. bind "KP_MINUS" "toggleconsole" // dash key on numpad, opens console //bind "P" "toggle volume 0.08 0.45" // volume toggle, will turn the volume up or down when pressing P bind "O" "toggle voice_enable 1 0" // enables and disables voice communication when pressing O // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Crosshair . // . . // . The crosshair. Again, as the example I used the crosshair I use. To . // . modify it, check the following two guides: . // . . // . Crosshair help: http://csgohelp.com/crosshair/ . // . Example Crosshairs: http://csgohelp.com/example-crosshairs/ . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. cl_crosshairstyle "5" // Defines look and behavior of the crosshair // 0 = default dynamic; 1 = default classic; 2 = Classic slightly dynamic; // 3 = Classic dynamic; 4 = Classic static; 5 = Classic, slightly dynamic when shooting cl_crosshairdot "0" // Activates dot in the middle of crosshair, set to 0 to disable cl_crosshairgap "0" // Sets space between middle of crosshair and start of the hairs. Negative values can be used cl_crosshairsize "3.5" // Sets length of the hairs, from 0 to infinity cl_crosshairthickness ".95" // Sets thickness of the hairs, from 0 to infinity cl_crosshairusealpha "1" // Activates the use of cl_crosshairalpha cl_crosshairalpha "200" // Sets transparency, 0 = fully transparent; 255 = fully non-transparent cl_crosshairscale "0" // crosshair scale cl_crosshaircolor "5" // Sets color of crosshair // 0 = red; 1 = green; 2 = yellow; 3 = blue; 4 = cyan; 5 = own color with RGB values cl_crosshaircolor_r "200" // cl_crosshaircolor_r, _g and _b only work when using cl_crosshaircolor "5" cl_crosshaircolor_g "200" // Choose your own color with RGB values and put them in for these commands cl_crosshaircolor_b "255" // Values go from 0 to 255. r = red; g = green; b = blue // All 3 values set to 255 will give the crosshair a white color cl_crosshair_drawoutline "1" // Activates black crosshair outline, good for colorblind people cl_crosshair_outlinethickness "1" // Sets thickness of outline, choose a number between 0.1 and 3 (1 = 1px) // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Crosshair color toggle . // . . // . If you want to use this color toggle, set a key you want to have it . // . bound on remove the two slashes at the beginning of every line . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // bind "YOUR_KEY_HERE" "crosscolor" // alias crosscolor crosscolor1 // alias crosscolor1 "cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; alias crosscolor crosscolor2" // White // alias crosscolor2 "cl_crosshaircolor_r 38; cl_crosshaircolor_g 127; cl_crosshaircolor_b 0; alias crosscolor crosscolor3" // Dark Green // alias crosscolor3 "cl_crosshaircolor_r 0; cl_crosshaircolor_g 148; cl_crosshaircolor_b 255; alias crosscolor crosscolor4" // Light Blue // alias crosscolor4 "cl_crosshaircolor_r 255; cl_crosshaircolor_g 0; cl_crosshaircolor_b 255; alias crosscolor crosscolor5" // Bright Pink // alias crosscolor5 "cl_crosshaircolor_r 33; cl_crosshaircolor_g 0; cl_crosshaircolor_b 127; alias crosscolor crosscolor6" // Dark Blue // alias crosscolor6 "cl_crosshaircolor_r 76; cl_crosshaircolor_g 255; cl_crosshaircolor_b 0; alias crosscolor crosscolor7" // Bright Green // alias crosscolor7 "cl_crosshaircolor_r 220; cl_crosshaircolor_g 0; cl_crosshaircolor_b 0; alias crosscolor crosscolor1" // Red // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Rates and Interpolation . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. rate "128000" // Maximum download bandwidth in bytes/second. Do not set lower than 80000 unless you have a bad connection cl_cmdrate "128" // Maximum packets sent from client to server per second. Set to 64 when experiencing loss cl_updaterate "128" // Maximum packets sent from server to client per second. Set to 64 when experiencing choke cl_interp "0" // Don't change this, setting this to 0 lets servers adjust this to the perfect value cl_interp_ratio "1" // Use 1 if you have a stable connection, set to 2 when experiencing loss or choke // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . fps_max, cl_showfps, net_graph, monitorgamma . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. fps_max "289" // Caps fps at entered value. Deactivate cap with 0, otherwise min. value is 59 (i use 2x monitor refresh rate) fps_max_menu "144" // Caps FPS in the menu when not connected to server. Do not set lower than 10! cl_showfps "0" // Shows fps display in top left corner. 0 = off; 1 = fps and map // 2 = fps, min fps, average fps, map; 3 = server stuff; 4 = fps and logged in file net_graph "1" // 0 = disabled; 1 = enabled, shows fps, ping, choke, loss; 2, 3 and 4 = more information // than 1, but cant be used unless server has sv_competitive_minspec 0 set net_graphheight "64" // Height of net_graph in pixel from bottom of screen net_graphpos "1" // Sets position of net_graph, 1 = right; 2 = center; 3 = left // Any value above 3 sets starting position of net_graph from left side of screen net_graphproportionalfont "0" // Text size of net_graph, 0 = small font; 1 = normal, larger font mat_monitorgamma "1.60" // Sets brightness of the game, possible values range from 1.6 (brightest) to 2.6 (darkest) mat_queue_mode 2 // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Radar . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. cl_radar_always_centered "0" // When set to 1, dot on radar representing you will always be in the center. // Setting it to 0 will give you more view on radar in some situations cl_radar_icon_scale_min "0.8" // Sets size of dots on radar, 0.4 = smallest; 1 = largest cl_radar_rotate "1" // 0 = minimap has fixed position and dot will spin // 1 = dot has fixed position and minimap will spin cl_radar_scale "0.8" // Size/Zoom factor of minimap in radar (NOT radar itself) // 0.25 = lowest, zoomed out; 1 = highest, zoomed in // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Mouse, sound and voice . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. sensitivity "1.5" // Mouse sensitivity, tip: Default is 6, lower it, your aiming WILL improve. m_rawinput "1" // When set to 1, mouse driver and windows settings are ignored zoom_sensitivity_ratio_mouse "1" // Multiplier of sensitivity when zoomed in with AWP, Scout and Autosniper. // 2 = double sensitivity; 1 = same sensitivity; 0.5 = half sensitivity // 0 = multiplier disabled, same amount of mouse movement needed volume "0.14000" // Overall game volume, 0 = 0%; 0.5 = 50%; 1 = 100% snd_musicvolume "0.05" // Music volume (menu music, round end music), 0 = 0%; 1 = 100% snd_mixahead "0.05" snd_legacy_surround "0" // Some hardware/drivers causes sound problems under Windows Vista/7/8, // set this to one for a possible fix snd_headphone_pan_exponent "2" snd_headphone_pan_radial_weight "2" snd_mute_losefocus "1" // When set to 1, ingame sound is muted when tabbed out of the game windows_speaker_config "1" // Speaker configuration, -1 = automatic; 1 = headset; 3 = 4 speakers // 4 = stereo speakers; 6 = 5.1 surround sound voice_enable "1" // Set to 0 to disable all ingame voice communication voice_scale "0.9" // Volume if incoming voice chat, 0 = 0%; 1 = 100% // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Commands to prevent errors and crashes . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. password "" // When connecting to a server with password, the password is written in the config. // This can lead to errors sometimes when trying to connect to other servers with a // password. This line makes sure passwords are deleted when starting the game. cl_disablehtmlmotd "0" // This disables the MOTD shown when connecting to a server. // MOTDs containing flash elements are a known cause to crash the game. // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Viewmodel . // . . // . Please note: The value for cl_bobcycle is forced to 0.98, unless . // . the server has sv_competitive_minspec 0 set, which is why you don't . // . find the command below. . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. cl_bob_lower_amt "10" // Sets how much of arms is visible when running // 5 = lowest, most visible; 30 = highest, less visible cl_bobamt_lat "0.1" // Sets how much weapon bounces to left and right when running // 0.1 = lowest, almost no bouncing; 2 = highest, much bouncing cl_bobamt_vert "0.1" // Sets how much weapon bounces up and down when running // 0.1 = lowest, almost no bouncing; 2 = highest, much bouncing cl_bobcycle "2" //max value = less cycles cl_viewmodel_shift_left_amt "0.5" // Sets how much viewmodels move to left side when accuracy is increased (e.g. crouching) // 0.5 = lowest, less movement; 2 = highest, most movement cl_viewmodel_shift_right_amt "0.25" // Sets how much viewmodels move to right side when accuracy is decreased (e.g. running, jumping) // 0.25 = lowest, less movement; 2 = highest, most movement // Do not change the following 4 commands if you use your viewmodel to throw grenades or else you will have to relearn them. viewmodel_fov "90" // Sets how much of viewmodel is visible overall // 54 = default, lowest, less visible; 68 = highest, most visible viewmodel_offset_x "2.5" // These 3 commands change the angles of your viewmodel. Depending on the values used, viewmodel_offset_y "2" // viewmodels can look really awkward. viewmodel_offset_z "-2" // Lowest value for all commands is -2, highest values are 2.5 for _x and 2 for _y and _z. viewmodel_presetpos "0" // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Key Binds . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. bind "MWHEELUP" "lastinv" bind "MWHEELDOWN" "+jump" bind "f" "use weapon_flashbang" bind "c" "use weapon_hegrenade" bind "v" "use weapon_smokegrenade" bind "t" "slot10" bind z noclip bind m radio1 bind , radio2 bind . radio3 bind ` console //misc bind "g" "drop" bind "h" "+lookatweapon" bind "y" "messagemode" // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . Other commands . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. alias dickaround "rcon_password lolskies; rcon sv_cheats 1; rcon sv_infinite_ammo 2; sv_grenade_trajectory 1; rcon sv_showimpacts 1; give weapon_ak47; give weapon_p250; give weapon_smokegrenade; give weapon_flashbang; give weapon_hegrenade; god" cl_autohelp "1" // Set to 0 to disable hints like "switched to burst fire" cl_autowepswitch "0" // Will disable stronger weapons being equipped automatically. Set to 1 for default behavior //cl_clanid "^LOLO" // Use the group ID of the group you want to use as your clantag ingame cl_disablefreezecam "1" // Will disable "Save this moment" after being killed, set to 0 for default behavior cl_downloadfilter "nosounds" // Will prevent certain thing from being downloaded when connecting to servers // all = downloads won't be blocked; nosounds = only sounds blocked; none = all files blocked cl_forcepreload "1" // Forces data to load into cache when connecting to server. Connecting might take a bit longer, // but this command can prevent some lag and fps drops for lower end machines cl_righthand "1" // Set to 0 for lefthanded viewmodels cl_showloadout "1" // Set to 0 to have your current loadout on the right side only visible when switching weapons cl_showpluginmessages "1" // Set to 0 to disable plugins being able to show messages to you cl_spec_mode "4" // 4 = always spectate in firstperson when dead // 5 = always spectate in thirdperson when dead (if thirdperson spectating is allowed) closeonbuy "0" // Set to 1 for the buymenu to close after every bought item con_filter_text damage // Filter damage reports in console con_filter_enable "2" // 1 = Only damage reports are written in console; 2 = damage reports are highlighted gameinstructor_enable "0" // Disables popups like "Press E to plant the bomb". Set to 1 for default behavior hud_scaling "0.8" // Alters size of HUD, 0.5 = smallest; 0.95 = largest safezonex "1" // Lower values will move HUD towards the middle of the screen. safezonex is horizontal, safezoney safezoney "1" // is vertical. 0.85 = lowest, moved towards center of screen; 1 = highest, at the edges of screen hud_showtargetid "1" // Set to 0 to disable enemy names being shown. Also disables crosshair changing // appearance when aiming at mates or enemies when using cl_crosshairstyle 0 or 1 mm_dedicated_search_maxping "75" cl_loadout_colorweaponnames 1 // Game won't connect you to matchmaking servers where your ping is higher than the entered number. // Does not prevent others with higher ping joining the server! Min value 50, max value 350 option_duck_method "0" // Set to 1 to make your crouch key a toggle key (press to crouch, press again to stop crouching) option_speed_method "0" // Set to 1 to make your walk key a toggle key (press to walk, press again to stop walking) player_nevershow_communityservermessage "1" // Disables popup when trying to browse community servers, set to 0 to shop popup every time r_drawtracers_firstperson "0" // Set to 0 to disable the tracers (while smoke lines) when shooting; Does not disable enemy tracers! ui_steam_overlay_notification_position "topright" // Sets position of Steam Overlay notifications, other options are topleft, topright or bottomleft bind f10 "disconnect" bind \ "toggleconsole" // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. // . The last, but most important command . // . . // . echo commands are printing the text entered in the console when . // . launching the game. . // .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. echo ".:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:." echo ". csgohelp.com example autoexec.cfg successfully loaded ." echo ".:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:." host_writeconfig // This is the most important command in here. Do not put any commands, except for echos, after this. // Make sure your config.cfg is not set to read-only. Do not add a launch option +exec autoexec. // Any commands with a different value in the config.cfg. are overwritten with the ones in this autoexec. // This command is the only 100% guarantee that your autoexec will work. echo ".:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:." echo ". host_writeconfig successfully executed ." echo ".:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:." https://www.youtube.com/watch?v=CFGoesHvs04