Skip to content

Instantly share code, notes, and snippets.

@ElPumpo
Last active November 20, 2017 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ElPumpo/66221a1062ceda1dddd297916a05e967 to your computer and use it in GitHub Desktop.
Save ElPumpo/66221a1062ceda1dddd297916a05e967 to your computer and use it in GitHub Desktop.
Hawaii_Beach CS:GO Configuration File
// Auto-exec for Counter-Strike Global Offensive
// By Hawaii_Beach | Updated 2017-10-09
// Command line arguments: -novid -language hawaii -tickrate 128 -maxplayers_override 100
// Features:
// Custom button binds
//- ALT + NUMPAD-MINUS - reloads script
//- ALT + MOUSE5 - switches mouse1 and spacebar bindings (fire and jump)
//- ALT + MOUSE4 - toggles ability to crouch
//- NUMPAD-5 - full buy
//- NUMPAD-0 (INS) - toggle VoIP
//- F3 - toggle AFK script
//- F4 - toggle display damage upon death / end of round
//- NUMPAD-1 - Toggle volume between 1 and .2
//- END - toggle weapon on right side / left side
// Custom command binds
//- voip_toggle - toggle VoIP
//- afk_toggle - toggle AFK script
//- showdmg_toggle - toggle display damage upon death / end of round
// Other features
//- 128 tick & cmd enabler
//- custom viewmodel and crosshair
//- modified hud and radar
//- tweaked volume
//- turned off mouse acceleration
// Begin
//sv_cheats 1
stopsound
fadein
// User defined
sensitivity 1.2
// Crosshair
cl_crosshair_drawoutline 0
cl_crosshair_outlinethickness 1
cl_crosshaircolor 1
cl_crosshairdot 0
cl_crosshairgap 0
cl_crosshairgap_useweaponvalue 0
cl_crosshairsize 3.5
cl_crosshairstyle 5
cl_crosshairthickness 1
cl_crosshairusealpha 1
cl_crosshair_t 1
// Viewmodel
viewmodel_presetpos 4
viewmodel_fov 68
viewmodel_offset_x 2.5
viewmodel_offset_y 2
viewmodel_offset_z -2
// Binding
// Be aware, this config was made with a Swedish keyboard. Special binds like the console toggle may not work unless modified.
// Other keys may be placed in a different place on your keyboard making it weird,
// change to your liking.
// Numpad codename for debugging:
//- Numpad 1: KP_END
//- Numpad 2: KP_DOWNARROW
//- Numpad 3: KP_PGDN
//- Numpad 4: KP_LEFTARROW
//- Numpad 5: KP_5
//- Numpad 6: KP_RIGHTARROW
//- Numpad 7: KP_HOME
//- Numpad 8: KP_UPARROW
//- Numpad 9: KP_PGUP
unbindall
bind 0 slot10
bind 1 slot1
bind 2 slot2
bind 3 slot3
bind 4 slot4
bind 5 slot5
bind a +moveleft
bind b buymenu
bind d +moveright
bind e +use
bind f slot7 // Flash bang
bind v slot6 // High-explosive Grenade
bind c slot8 // Smoke Grenade, 'C' used due to the "Cmoke"
bind 9 slot9 // Fire Grenade, use 4 I guess
bind g drop
bind q +voicerecord // disabled voip button.
//bind q LASTINV
bind r +reload
bind s +back
bind t messagemode
bind y messagemode2
bind w +forward
bind \ toggleconsole
bind TAB "+ng_sb" //net-graph + scoreboard
bind ESCAPE cancelselect
bind PGUP move_up
bind PGDN move_down
bind PAUSE pause
bind SHIFT +speed
bind CTRL +duck
bind UPARROW move_forth
bind LEFTARROW move_left
bind DOWNARROW move_back
bind RIGHTARROW move_right
bind MOUSE2 +attack2
bind MWHEELUP invprev
bind MWHEELDOWN invnext
// Buy keybinds
bind "KP_5" "buy_normal; buy_cheats" // Full buy
alias buy_normal "buy vesthelm; buy ak47; buy m4a1; buy smokegrenade; buy flashbang; buy tec9; buy hegrenade; buy flashbang; buy defuser"
alias buy_cheats "give item_assaultsuit; give weapon_ak47; give weapon_smokegrenade; give weapon_flashbang; give weapon_flashbang; give weapon_fiveseven; impulse 101; givecurrentammo"
// General changes
ignorerad // Disables the radio chat, (Broken)will not save from round to round
voice_mixer_volume .5 // Fix for CS:GO maxing mic volume, see http://pcgamingwiki.com/wiki/Counter-Strike:_Global_Offensive#Game_changes_microphone_gain_at_launch
gameinstructor_enable 0 // Disable the OTA tutorials
cl_autowepswitch 0 // Doesn't switch weapon on pickup
cl_disablehtmlmotd 1 // Broken, will show a grey MOTD. UPDATE: Valve did this on purpose: https://github.com/ValveSoftware/csgo-osx-linux/issues/196#issuecomment-227614188
cl_teammate_colors_show 2
spec_replay_autostart 0 // Skip kill replay on latest patch
cl_join_advertise 2 // Your friends will now be able to join the custom (community) server you're connected to, neat!
closeonbuy 0 // Wont close buy menu after buying a item
cl_downloadfilter "nosounds" // Wont download any sound assets from 3rd party servers
cl_dm_buyrandomweapons 0 // Turn off autobuy
m_rawinput 1 // Disables mouse acceleration
m_customaccel 0 // -||-
m_customaccel_scale 0 // -||-
m_mousespeed 0 // -||-
m_mouseaccel1 0 // -||-
m_mouseaccel2 0 // -||-
fps_max_menu 61 // Maximum FPS in menu, set to minimize GPU usage template: fps_max_menu = <display-refresh-rate> + 1 !!! https://youtu.be/hjWSRTYV8e0 !!!
fps_max 141 // 60Hz template: fps_max = <display-refresh-rate> x 2 + 1 !!! https://youtu.be/hjWSRTYV8e0 !!!
mp_warmuptime 1 // Gets rid of the warmup
//sv_max_allowed_net_graph 3 // Enables extended net graph info, crashes if used in menu
// Networking
cl_cmdrate 128 // Command rate
cl_updaterate 128 // Update rate
rate 524288 // Sends 4Mbps max
cl_interp_ratio 1 // Smooths player animations, but disables protection against packet loss!
// Hud
cl_hud_color 6 // Orange HUD color
cl_hud_healthammo_style 1
cl_hud_playercount_showcount 1
cl_draw_only_deathnotices 0
hud_scaling .8
safezoney .8
safezonex .8
// Radar customization
cl_radar_scale .55 // Zoom out radar
cl_radar_always_centered 0
cl_radar_rotate 1
cl_radar_icon_scale_min .6
cl_radar_square_with_scoreboard 1
// Volume & Sound
volume 1
snd_deathcamera_volume 0
snd_mapobjective_volume 0
snd_menumusic_volume 0
snd_musicvolume 0
snd_roundend_volume 0
snd_roundstart_volume 0
snd_tensecondwarning_volume 0
snd_mute_losefocus 1 // Mute on focus lost
lobby_voice_chat_enabled 0 // Disable lobby voice chat
voice_scale .2 // Lower in-game VoIP level
snd_mixahead .05 // Lower the sound latency
//-- Extra functionality starting here --
// Show net-graph when watching scoreboard
alias +ng_sb "net_graph 1; +showscores"
alias -ng_sb "net_graph 0; -showscores"
// Display damage given upon death / end of current round
alias showdmg_toggle showdmg_on
alias showdmg_on "showdmg_on_quiet; play buttons\button19; echo Toggled Display Damage: ON"
alias showdmg_on_quiet "con_filter_text Damage Given To; con_filter_text_out Player:; con_filter_enable 2; developer 1; alias showdmg_toggle showdmg_off"
alias showdmg_off "con_filter_enable 0; developer 0; play buttons\button10; alias showdmg_toggle showdmg_on; echo Toggled Display Damage: OFF"
showdmg_on_quiet
// VoIP Toggle
alias voip_toggle voip_on
alias voip_on "voip_on_quiet; play buttons\button19; echo Toggled VoIP: ON"
alias voip_on_quiet "voice_enable 1; alias voip_toggle voip_off"
alias voip_off "voice_enable 0; play buttons\button10; alias voip_toggle voip_on; echo Toggled VoIP: OFF"
voip_on_quiet
// AFK Script
alias afk_toggle afk_on
alias afk_on "+forward; +moveright; +right; play buttons\button19; alias afk_toggle afk_off; echo Toggled AFK script: ON; say I am going away for a moment . . ."
alias afk_off "-forward; -moveright; -right; play buttons\button10; alias afk_toggle afk_on; echo Toggled AFK script: OFF; say I am back!"
// Attack button switch between *spacebar* and *mouse 1*
// Usally I switch between these two, so I added a toggle, you may edit the default below (and should).
// act-btn_mouse is easier to spam-click, that's why I switch to that mode on pistol rounds, or save rounds.
alias act-btn_toggle act-btn_keyboard
alias act-btn_keyboard "unbind SPACE; unbind MOUSE1; bind SPACE +attack; bind MOUSE1 +jump; play buttons\blip1; alias act-btn_toggle act-btn_mouse; echo Toggled fire-btn to KEYBOARD"
alias act-btn_mouse "unbind SPACE; unbind MOUSE1; bind SPACE +jump; bind MOUSE1 +attack; play buttons\blip2; alias act-btn_toggle act-btn_keyboard; echo Toggled fire-btn to MOUSE"
alias act-btn_default_quiet "unbind SPACE; unbind MOUSE1; bind SPACE +jump; bind MOUSE1 +attack" // default, change to your liking
act-btn_default_quiet
// Disable ducking because I tend to duck when shooting at people
// Defaults to OFF
alias duck_toggle duck_off
alias duck_on "bind ctrl +duck; play buttons\button19; alias duck_toggle duck_off; echo Toggled ducking: ON"
alias duck_off "unbind ctrl; play buttons\button10; alias duck_toggle duck_on; echo Toggled ducking: OFF"
// ALT-(hold)bind helper
alias +ALTbind "bind KP_MINUS reset; bind MOUSE5 act-btn_toggle; bind MOUSE4 duck_toggle"
alias -ALTbind "unbind KP_MINUS; unbind MOUSE5; unbind MOUSE4"
bind ALT +ALTbind
// final binding (only custom binds)
alias reset exec autoexec
bind KP_INS voip_toggle
bind F3 afk_toggle
bind F4 showdmg_toggle
bind END "toggle cl_righthand 0 1"
bind KP_END "toggle volume 1 .2"
bind X noclip
alias disc disconnect
play "training/light_on"
host_writeconfig
echo "Script loaded!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment