Last active
July 27, 2024 01:03
-
-
Save claabs/819d6788115d4cf67b7cfe7b393acc8a to your computer and use it in GitHub Desktop.
CS2 Autoexec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Launch options: | |
// CS2 Config | |
// Mouse | |
sensitivity "0.3" // 3100 DPI | |
bind "," "toggle sensitivity 0.3 1.5" | |
m_pitch "0.022" | |
zoom_sensitivity_ratio "1.0" | |
// Video | |
fps_max "999" | |
engine_no_focus_sleep "0" // default 50 | |
r_fullscreen_gamma 2.6 | |
// Audio | |
volume "1.0" | |
snd_spatialize_lerp "0" // L/R Isolation | |
snd_steamaudio_enable_perspective_correction "false" // perspective correction | |
snd_mute_mvp_music_live_players "true" | |
snd_voipvolume "1" // receive volume | |
snd_menumusic_volume "0.1" // 32% | |
snd_roundstart_volume "0" | |
snd_roundend_volume "0.04" // 20% | |
snd_mapobjective_volume "0" | |
snd_deathcamera_volume "0" | |
snd_tensecondwarning_volume "0.05" // 22% | |
snd_mvp_volume "0.04" // 20% | |
snd_mute_losefocus "0" | |
// ======BINDS====== | |
bind "MOUSE4" "drop" | |
bind "TAB" "+showscores" | |
bind "k" "kill" | |
bind "h" "getout" | |
bind "t" "+spray_menu" | |
bind "o" "playerchatwheel CW.NeedDrop i_am_poor" | |
bind "l" "playerchatwheel CW.Sorry sorry..." | |
bind "q" "lastinv" | |
bind "r" "+reload" | |
bind "e" "+use" | |
bind "n" "switchhands" | |
bind "ALT" "toggleradarscale" | |
// Jump Throw | |
alias "+jumpaction" "+jump" | |
alias "+throwaction" "-attack; -attack2" | |
alias "-jumpaction" "-jump" | |
bind "MOUSE5" "+jumpaction; +throwaction" | |
// Run+Jump Throw | |
alias "+runthrow" "+forward; +jump" | |
alias "-runthrow" "-jump; -forward" | |
bind "8" "+runthrow; +throwaction" | |
// Ping and inspect weapon | |
alias "+pingInspect" "+lookatweapon; player_ping; +cl_show_team_equipment" | |
alias "-pingInspect" "-lookatweapon;" | |
bind "g" "+pingInspect" | |
bind "b" "buymenu" | |
// Turn binds for fun | |
bind "leftarrow" "+turnleft" | |
bind "rightarrow" "+turnright" | |
// ======== | |
// MOVEMENT | |
// ======== | |
//desubtick | |
alias +jump_ "+jump;+jump" | |
alias -jump_ "-jump;-jump;-jump" | |
alias +duck_ "+duck;+duck" | |
alias -duck_ "-duck;-duck;-duck" | |
// jumpbug | |
alias +jb "-duck_; +jump_;-jump_" | |
alias -jb "" | |
// bind alt +jb | |
// bhop | |
bind "mwheeldown" "+jump_" | |
bind "space" "+jump" | |
bind "ctrl" "+duck_" | |
// Grenades | |
bind "c" "slot6" // he | |
bind "x" "slot8" // smoke | |
bind "MOUSE3" "slot7" // flash | |
bind "f" "slot10" // molly | |
// Comms | |
bind "v" "+voicerecord" | |
bind "z" "radio" | |
bind "p" "callvote" | |
// Crosshair | |
cl_crosshairdot "0"; | |
cl_crosshair_dynamic_maxdist_splitratio "0.35" | |
cl_crosshair_dynamic_splitalpha_innermod "1" | |
cl_crosshair_dynamic_splitalpha_outermod "0.5" | |
cl_crosshair_dynamic_splitdist "7" | |
cl_crosshair_sniper_show_normal_inaccuracy "0" | |
cl_crosshair_sniper_width "1" | |
cl_crosshair_t "0" | |
cl_crosshaircolor "5" | |
cl_crosshaircolor_g "255" | |
cl_crosshaircolor_r "0" | |
cl_crosshaircolor_b "0" | |
cl_crosshairgap_useweaponvalue "0" | |
cl_crosshairstyle "4" | |
cl_fixedcrosshairgap "3" | |
cl_crosshair_outlinethickness "1" | |
cl_crosshairusealpha "1" | |
cl_crosshairthickness "0.5" | |
cl_crosshairalpha "185" | |
cl_crosshair_drawoutline "1" | |
cl_crosshairgap "-0.5" | |
cl_crosshairsize "3" | |
cl_crosshairdot "0" | |
cl_grenadecrosshair_keepusercrosshair "true" | |
cl_grenadecrosshair_decoy "false" | |
cl_grenadecrosshair_explosive "false" | |
cl_grenadecrosshair_fire "false" | |
cl_grenadecrosshair_flash "false" | |
cl_grenadecrosshair_smoke "true" | |
cl_grenadecrosshairdelay_decoy "1.50" | |
cl_grenadecrosshairdelay_explosive "1.50" | |
cl_grenadecrosshairdelay_fire "1.50" | |
cl_grenadecrosshairdelay_flash "1.50" | |
cl_grenadecrosshairdelay_smoke "1.50" | |
// hud | |
cl_radar_scale "0.7" | |
cl_radar_scale_alternate "1.0" | |
// viewmodel | |
cl_prefer_lefthanded "false" | |
viewmodel_presetpos "2" | |
// fix bad default game settings | |
cl_dm_buyrandomweapons "0" | |
cl_teammate_colors_show "2" // teammate comms colors | |
cl_use_opens_buy_menu "0" // `e` opening buy menu | |
spec_replay_autostart "0" | |
cl_showloadout "1" | |
cl_silencer_mode "0" | |
cl_sniper_auto_rezoom "true" | |
cl_debounce_zoom "false" | |
hud_showtargetid "1" | |
cl_allow_animated_avatars "false" | |
// see teammates through walls | |
cl_teamid_overhead_mode "3" | |
cl_teamid_overhead_maxdist "9999" | |
mm_dedicated_search_maxping "25" // max ping for matchmaking games | |
cl_autohelp "0" | |
cl_clanid "27168324" // guzmer | |
cl_color "3" // orange | |
// main menu agent weapons | |
ui_vanitysetting_loadoutslot_t c4 | |
ui_vanitysetting_loadoutslot_ct melee | |
// Observing | |
cl_obs_interp_enable "0" | |
sv_spec_use_tournament_content_standards "1" | |
// buy binds generated by https://cs2bindsgenerator.com/ | |
bind "kp_0" "buy rifle0;" // rifle 1 | |
bind "kp_1" "buy midtier0;" // mid tier 1 | |
bind "kp_2" "buy rifle1;" // rifle 2 | |
bind "kp_3" "buy rifle3;" // rifle 4 | |
bind "kp_4" "buy secondary2;" // pistol 2 | |
bind "kp_5" "buy smokegrenade; buy flashbang;" | |
bind "kp_6" "buy molotov; buy incgrenade; buy smokegrenade; buy flashbang; buy flashbang;" | |
bind "kp_7" "buy smokegrenade; buy flashbang; buy hegrenade; buy molotov; buy incgrenade;" | |
bind "kp_8" "buy vesthelm;" | |
bind "kp_9" "buy defuser;" | |
bind "kp_divide" "buy vest;" | |
alias autoexec "exec autoexec" | |
con_enable "1" | |
// exec slam | |
echo "Chuck Lubs' CS2 autoexec.cfg loaded." | |
host_writeconfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Source: https://github.com/xPaw/CS2 | |
exec gamemode_competitive | |
game_alias competitive | |
sv_cheats 1 | |
// Bots | |
bot_chatter off | |
bot_dont_shoot 1 | |
bot_quota 2 // One bot | |
bot_stop 1 | |
// Regenerate health | |
sv_regeneration_force_on 1 | |
sv_regeneration_wait_time 0.5 | |
//sv_falldamage_scale 0 // How much damage falling does | |
//ff_damage_reduction_grenade_self 0 // How much damage done to yourself with own grenade | |
//inferno_damage 0 // How much damage molotovs do | |
// Molotov grenades disappear faster | |
inferno_flame_lifetime 3 | |
healthshot_health 100 | |
mp_autokick 0 | |
mp_forcecamera 0 | |
mp_friendlyfire 1 | |
mp_limitteams 0 | |
mp_solid_teammates 1 | |
mp_tkpunish 0 | |
sv_deadtalk 1 | |
sv_full_alltalk 1 | |
sv_grenade_trajectory_prac_pipreview 1 | |
sv_grenade_trajectory_prac_trailtime 3 | |
sv_ignoregrenaderadio 1 | |
sv_showimpacts 1 // Show bullet hits | |
// Dropping | |
weapon_auto_cleanup_time 10 | |
weapon_max_before_cleanup 50 | |
mp_death_drop_breachcharge 0 | |
mp_death_drop_defuser 0 | |
mp_death_drop_grenade 0 | |
mp_death_drop_gun 1 // Note: this disables the drop key too | |
mp_death_drop_healthshot 0 | |
mp_death_drop_taser 0 | |
mp_drop_knife_enable 1 | |
// Buying and money | |
mp_afterroundmoney 0 | |
mp_autoteambalance 0 | |
mp_backup_round_auto 0 | |
mp_buy_anywhere 1 | |
mp_buytime 1e14 | |
mp_maxmoney 1000000000 | |
mp_playercashawards 0 | |
mp_startmoney 1000000000 | |
mp_teamcashawards 0 | |
mp_weapons_allow_typecount -1 | |
sv_buy_status_override 0 | |
// Rounds | |
mp_force_pick_time 0 | |
mp_freezetime 0 | |
mp_ignore_round_win_conditions 1 | |
mp_match_can_clinch 0 | |
mp_maxrounds 100 | |
mp_respawn_immunitytime 0 | |
mp_respawn_on_death_ct 1 | |
mp_respawn_on_death_t 1 | |
mp_round_restart_delay 0 | |
mp_roundtime 60 | |
mp_roundtime_defuse 0 | |
mp_roundtime_hostage 0 | |
mp_spawnprotectiontime 0 | |
mp_team_intro_time 0 | |
sv_hide_roundtime_until_seconds 1 | |
// Weapons | |
ammo_grenade_limit_total 5 | |
mp_ct_default_grenades "weapon_incgrenade weapon_hegrenade weapon_smokegrenade weapon_flashbang" | |
mp_ct_default_primary "weapon_m4a1" | |
mp_t_default_grenades "weapon_molotov weapon_hegrenade weapon_smokegrenade weapon_flashbang" | |
mp_t_default_primary "weapon_ak47" | |
mp_defuser_allocation 2 | |
mp_free_armor 2 | |
sv_infinite_ammo 1 | |
jointeam 2 2 // Join terrorists team | |
mp_warmup_end | |
mp_restartgame 1 | |
echo "Have fun!" | |
// my custom | |
cash_player_respawn_amount 0 | |
mp_disable_autokick * | |
mp_join_grace_time 30 | |
// Binds | |
bind "alt" "noclip" | |
bind "o" "toggle fov_cs_debug 20 0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment