Compare commits

..

No commits in common. "master" and "global-offensive" have entirely different histories.

5 changed files with 174 additions and 153 deletions

269
autoexec.cfg Normal file → Executable file
View file

@ -1,144 +1,189 @@
// CS:GO autoexec
// //
// CS2 autoexec // launch arguments: -novid -nojoy +exec autoexec.cfg
// // optional arguments: -perfectworld/-worldwide, -tickrate 128 +cl_updaterate 128 +cl_cmdrate 128
// Launch arguments: gamemoderun %command% +exec autoexec.cfg // linux specific arguments: (prefix ) mangohud gamemoderun %command%
// // (arguments) -vulkan
// https://github.com/Guanran928/csgo-autoexec // (remember to install: mangohud gamemode)
// thanks @jounim! https://steamcommunity.com/sharedfiles/filedetails/?id=3035701443
// //
// Alias // ========alias========
alias +duckjump "+jump; +duck" // alias +duckjump "+jump; +duck"
alias -duckjump "-jump; -duck" // alias -duckjump "-jump; -duck"
alias +incvol "+sprint; volume 1"
alias -incvol "-sprint; volume 0.5" volume 0.5
alias +incvol "+speed; volume 1"
alias -incvol "-speed; volume 0.5"
alias incvoltoggle "toggle volume 1 0.5"
alias +switchknife slot3 alias +switchknife slot3
alias -switchknife lastinv alias -switchknife lastinv
// ========perfomance settings========
fps_max ""
fps_max_menu ""
// r_dynamic "0"
// r_drawparticles "1"
// mat_disable_bloom "1"
// Sensitivity // ========binds========
// https://www.reddit.com/r/GlobalOffensive/comments/43urd4/why_0818933027098955175_is_the_best_zoom/
sensitivity "1"
zoom_sensitivity_ratio "0.818933027098955175"
// Binds
unbindall unbindall
cl_use_opens_buy_menu "0" bind "1" "slot1"
bind "2" "slot2"
// Movement binds bind "3" "use weapon_knife; use weapon_smokegrenade"
bind "w" "+forward" bind "4" "use weapon_knife; use weapon_molotov; use weapon_incgrenade"
bind "a" "+left" bind "5" "slot5"
bind "s" "+back" bind "0" "slot12"
bind "d" "+right" bind "a" "+moveleft"
bind "CTRL" "+duck" bind "b" "buymenu"
bind "SHIFT" "+incvol" bind "c" "toggle cl_righthand"
bind "SPACE" "+duckjump" bind "d" "+moveright"
bind "MWHEELUP" "+jump" bind "e" "+use; r_cleardecals"
bind "MWHEELDOWN" "+jump"
bind "MOUSE_X" "yaw"
bind "MOUSE_Y" "pitch"
bind "MOUSE3" "exec jumpthrow.cfg"
// Weapon binds
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "r" "+reload"
bind "e" "+use"
bind "f" "+lookatweapon" bind "f" "+lookatweapon"
bind "g" "drop" bind "g" "drop"
bind "k" "+voicerecord"
bind "j" "toggle voice_enable"
// UI binds bind "l" "toggle m_yaw 0.022 220.022"
bind "m" "teammenu"
bind "q" "+switchknife"
bind "r" "+reload"
bind "s" "+back"
bind "t" "+spray_menu"
bind "u" "messagemode2"
bind "v" "toggle cl_crosshairsize 1.2 1024"
bind "w" "+forward"
bind "x" "use weapon_knife; use weapon_flashbang"
bind "y" "messagemode"
bind "z" "slot4"
bind "`" "toggleconsole"
bind "," "buyammo1"
bind "." "buyammo2"
bind "CAPSLOCK" "incvoltoggle"
// bind "SPACE" "+duckjump"
bind "SPACE" "+jump"
bind "TAB" "+showscores" bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect" bind "ESCAPE" "cancelselect"
bind "`" "toggleconsole" bind "DEL" "mute"
bind "b" "buymenu" bind "PAUSE" "pause"
bind "m" "teammenu" bind "SHIFT" "+incvol"
bind "t" "+spray_menu" bind "ALT" "radio2"
//bind "ALT" "sv_cheats 1; noclip"
//bind "ALT" "+switchknife"
// Slot binds bind "CTRL" "+duck"
bind "1" "slot1" // primary bind "LEFTARROW" "+left"
bind "2" "slot2" // secondary bind "RIGHTARROW" "+right"
bind "F3" "autobuy"
bind "3" "slot8" // smoke bind "F4" "rebuy"
bind "4" "slot10" // molly bind "F5" "jpeg"
bind "z" "slot6" // he bind "F6" "save quick"
bind "x" "slot7" // flash bind "F7" "load quick"
bind "F10" "quit prompt"
bind "MOUSE4" "slot3" // knife bind "MOUSE1" "+attack"
bind "5" "slot5" // c4 bind "MOUSE2" "+attack2"
bind "0" "slot12" // healthshot bind "MOUSE3" "+jump; -attack; -attack2; -jump"
bind "q" "+switchknife" // quick switch bind "MOUSE4" "slot3"
// Communication binds
// Text
bind "y" "messagemode" // all chat
bind "u" "messagemode2" // team chat
// Voice
bind "j" "toggle voice_modenable"
bind "k" "+voicerecord"
bind "MOUSE5" "+voicerecord" bind "MOUSE5" "+voicerecord"
bind "MWHEELUP" "+jump"
// Others bind "MWHEELDOWN" "+jump"
bind "ALT" "player_ping"
bind "c" "radio2"
// Misc binds // ========crosshair 2========
bind "LEFTARROW" "+turnleft" // cl_crosshair_drawoutline "1"
bind "RIGHTARROW" "+turnright" // cl_crosshair_dynamic_maxdist_splitratio "0"
bind "v" "toggle cl_crosshairsize 1 1024" // cl_crosshair_dynamic_splitalpha_innermod "1"
// cl_crosshair_dynamic_splitalpha_outermod "1"
// cl_crosshair_dynamic_splitdist "4"
// cl_crosshair_friendly_warning "1"
// cl_crosshair_outlinethickness "1"
// cl_crosshair_sniper_show_normal_inaccuracy "0"
// cl_crosshair_sniper_width "1"
// cl_crosshair_t "0"
// cl_crosshairalpha "255"
// cl_crosshaircolor "4"
// cl_crosshaircolor_b "50"
// cl_crosshaircolor_g "250"
// cl_crosshaircolor_r "50"
// cl_crosshairdot "1"
// cl_crosshairgap "-2"
// cl_crosshairgap_useweaponvalue "0"
// cl_crosshairsize "0.5"
// cl_crosshairstyle "5"
// cl_crosshairthickness "0.5"
// cl_crosshairusealpha "0"
// ========crosshair 1========
// cl_crosshair_drawoutline "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_friendly_warning "1"
// cl_crosshair_outlinethickness "1"
// cl_crosshair_sniper_show_normal_inaccuracy "0"
// cl_crosshair_sniper_width "1"
// cl_crosshair_t "0"
// cl_crosshairalpha "255"
// cl_crosshaircolor "4"
// cl_crosshaircolor_b "50"
// cl_crosshaircolor_g "250"
// cl_crosshaircolor_r "50"
// cl_crosshairdot "1"
// cl_crosshairgap "-5"
// cl_crosshairgap_useweaponvalue "0"
// cl_crosshairsize "1.2"
// cl_crosshairstyle "4"
// cl_crosshairthickness "0.5"
// cl_crosshairusealpha "0"
// Audio hud_showtargetid "1"
volume "0.5"
snd_menumusic_volume "0"
snd_roundstart_volume "0"
snd_roundaction_volume
snd_roundend_volume "0"
snd_mvp_volume "0"
snd_mapobjective_volume "0"
snd_tensecondwarning_volume "0.04"
snd_deathcamera_volume "0"
snd_voipvolume "0.7"
// ========sensitivity========
// Video sensitivity "1.62479"
fps_max "0" // sensitivity "1.4"
// sensitivity "1.39948"
// sensitivity "1.716426666666667"
m_rawinput "1"
m_customaccel "0"
// ========radar========
// HUD cl_radar_always_centered "0"
// Radar HUD cl_radar_icon_scale_min "0.5"
cl_hud_radar_scale "1" cl_radar_rotate "0"
cl_radar_always_centered "1" cl_radar_scale "0.3"
cl_radar_icon_scale_min "0.4"
cl_radar_rotate "1"
cl_radar_scale "0.8"
cl_radar_square_with_scoreboard "1" cl_radar_square_with_scoreboard "1"
// Misc HUD // ========netgraph========
hud_scaling "1.1" net_graph "1" // enable netgraph
cl_hud_color "3" // Cyan net_graphproportionalfont "0" // small netgraph text
cl_showloadout "1" net_graphpos "2" // middle netgraph
cl_autohelp "1"
gameinstructor_enable "0"
hud_showtargetid "1"
r_show_build_info false
// ========hud========
cl_hud_color "2" // Cyan hud
cl_hud_playercount_showcount "1" // minimize player pics
cl_showloadout "1" // hud do not autohide
cl_autohelp "1" // disable game instructor
cl_showhelp "0" // disable dropped item message
gameinstructor_enable "0" // unsure
// ========others========
// cl_clanid "42791804" // cxk clan
cl_use_opens_buy_menu "1" // use "e" to open buy menu
// ========viewmodel========
viewmodel_recoil "0" // disable viewmodel recoil
// Apply config
host_writeconfig host_writeconfig

View file

@ -1,7 +0,0 @@
#!/bin/sh
gamePath=~/.local/share/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/game/core/cfg
for i in autoexec jumpthrow prac null; do
ln -sf $PWD/$i.cfg "$gamePath"
done

View file

@ -1,7 +0,0 @@
// valve borked the ability to bind multiple events
// to a single keybind :shrug:
+jump
-attack
-attack2
-jump

View file

@ -1,19 +0,0 @@
alias "checkfwd" ""
alias "checkback" ""
alias "checkleft" ""
alias "checkright" ""
alias "+mfwd" "-back; +forward; alias checkfwd +forward"
alias "+mback" "-forward; +back; alias checkback +back"
alias "+mleft" "-right; +left; alias checkleft +left"
alias "+mright" "-left; +right; alias checkright +right"
alias "-mfwd" "-forward; -back; checkback; alias checkfwd"
alias "-mback" "-back; -forward; checkfwd; alias checkback"
alias "-mleft" "-left; -right; checkright; alias checkleft"
alias "-mright" "-right; -left; checkleft; alias checkright"
bind "w" "+mfwd"
bind "s" "+mback"
bind "a" "+mleft"
bind "d" "+mright"

15
prac.cfg Normal file → Executable file
View file

@ -1,12 +1,21 @@
sv_cheats 1 sv_cheats 1
sv_grenade_trajectory 1
sv_grenade_trajectory_time 10
sv_showimpacts 2 sv_showimpacts 2
sv_regeneration_force_on 1 // "god" does not work in cs2 sv_infinite_ammo 1
ammo_grenade_limit_total 5
bot_kick
mp_roundtime 60
mp_buy_anywhere 1 mp_buy_anywhere 1
mp_warmup_end
mp_buytime 100000
mp_roundtime_defuse 60
mp_freezetime 0 mp_freezetime 0
mp_limitteams 0 mp_limitteams 0
mp_autoteambalance 0 mp_autoteambalance 0
mp_maxmoney 60000
mp_startmoney 60000
mp_restartgame 1
bind "alt" "noclip" bind "alt" "noclip"
bind "p" "give weapon_hegrenade;give weapon_flashbang;give weapon_smokegrenade;give weapon_molotov" bind "p" "give weapon_hegrenade;give weapon_flashbang;give weapon_smokegrenade;give weapon_molotov"
bind "o" "give weapon_ak47"