confOS/games/cs2/myconfig.cfg
2024-08-19 19:39:11 +02:00

102 lines
3.1 KiB
INI

// Update this script, run this in cmd:
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/myconfig.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\myconfig.cfg'"
// Scan code: https://www.reddit.com/r/GlobalOffensive/comments/1ato9z8/new_key_bind_scancodes_visualized/#lightbox
// auto counterstrafe
alias "+autostop_forward" "+forward; rightleft 0 1 0; !forwardback 0 1 0"
alias "-autostop_forward" "-forward; !forwardback 0.00000000000001 0 0"
alias "+autostop_back" "+back; rightleft 0 1 0; forwardback 0 1 0"
alias "-autostop_back" "-back; forwardback 0.00000000000001 0 0"
alias "+autostop_left" "+left; forwardback 0 1 0; rightleft 0 1 0"
alias "-autostop_left" "-left; rightleft 0.00000000000001 0 0"
alias "+autostop_right" "+right; forwardback 0 1 0; !rightleft 0 1 0"
alias "-autostop_right" "-right; !rightleft 0.00000000000001 0 0"
// Deplacements
unbind "scancode26"
unbind "scancode4"
unbind "scancode22"
unbind "scancode7"
bind "scancode26" "+forward"
bind "scancode4" "+left"
bind "scancode22" "+back"
bind "scancode7" "+right"
// Crouch
unbind "scancode6"
bind "scancode6" "+duck"
// Reload
unbind "scancode21"
bind "scancode21" "+reload"
// Inspect + Drop
unbind "scancode9"
unbind "scancode10"
bind "scancode9" "drop"
bind "scancode10" "+lookatweapon"
// Console
unbind "scancode46"
bind "scancode46" "toggleconsole"
con_enable "1"
// Random weapons in DM
cl_dm_buyrandomweapons "0"
// Voice chat
unbind "MOUSE5"
bind "MOUSE5" "+voicerecord"
snd_voipvolume "1"
// MS match for MM
mm_dedicated_search_maxping "60"
// Sensitivity
sensitivity "1.74"
// Sounds
snd_mvp_volume "0.09"
snd_menumusic_volume "0"
snd_deathcamera_volume "0"
snd_tensecondwarning_volume "0.3"
volume "1"
// Spectator view
cl_show_observer_crosshair "2"
spec_replay_autostart "0"
// Tutorial
gameinstructor_enable "0"
// Crosshair default
cl_crosshairalpha "255"
cl_crosshairusealpha "1"
cl_crosshairdot "0"
cl_crosshairgap_useweaponvalue "0"
hud_showtargetid "0"
// Custom crosshair
cl_crosshaircolor "5"
cl_crosshaircolor_r "215"
cl_crosshaircolor_g "255"
cl_crosshaircolor_b "0"
cl_crosshairsize "7"
cl_crosshairgap "-4"
cl_crosshair_drawoutline "0"
alias "arthur" "cl_crosshairgap -3; cl_crosshairsize 500; cl_crosshaircolor "5"; cl_crosshair_drawoutline 0; cl_crosshaircolor_r 0; cl_crosshaircolor_g 0; cl_crosshaircolor_b 0"
// Use to open shop disabled
cl_use_opens_buy_menu "0"
// Left and right
alias "+ll" "+turnleft"
alias "-ll" "-turnleft"
alias "+rr" "+turnright"
alias "-rr" "-turnright"
// Debug message
echo "========================================================================================================================================================================"
echo "====================================================================== LOADED GAME CONFIGURATION! ======================================================================"
echo "========================================================================================================================================================================"