cs: add autoexec, practice

This commit is contained in:
fanyx 2025-03-16 15:53:40 +01:00
parent 54b4cbe4a1
commit faae84f133
Signed by: fanyx
SSH key fingerprint: SHA256:Gwc2cuQkLEIzOapSR+R8raHvC1bSAkPsYuPqlPoFlD8
2 changed files with 165 additions and 0 deletions

View file

@ -0,0 +1,116 @@
// -threads one below actual amount to exclude Core 0
// Windows
// -nojoy -novid -nointro -high -threads 11 +exec autoexec.cfg -nod3d9ex
// Linux
// -nojoy -novid -nointro -high -threads 11 +exec autoexec.cfg
// keyboard binds
bind q "slot3; lastinv"
bind 1 "slot1"
bind 2 "slot2"
bind 3 "slot3"
bind 4 "slot4"
bind 5 "slot5"
bind t "slot6" // HE Grenade
bind f "slot7" // Flashbang
bind c "slot8" // Smoke Grenade
bind 4 "slot9" // Decoy Grenade
bind x "slot10" // Molotov Cocktail/Incendiary Grenade
bind r "+reload;+lookatweapon;-lookatweapon"
bind f5 "callvote"
bind "y" "messagemode"
bind "u" "messagemode2"
bind "\" "toggleconsole"
bind "space" "+jump"
bind "ctrl" "+duck"
bind "mouse3" "player_ping"
bind "mouse4" "toggleradarscale"
bind "mouse5" "+voicerecord"
unbind "mwheelup"
unbind "mwheeldown"
// mouse settings
// DPI 19200 -> eDPI 600
// sensitivity 0.03125
// DPI 13000 -> eDPI 600
// sensitivity 0.05
// DPI 650 -> eDPI 650
sensitivity 1.0
// emulate 4:3 resolution mouse effect, horizontal speed
// default is 0.02
m_yaw 0.033
// general settings
cl_teamid_overhead_mode 2
cl_teamid_overhead_fade_near_crosshair 0
cl_showloadout 1
// cl hud settings
safezonex 1.00
cl_radar_scale 0.35
cl_radar_always_centered 0
cl_radar_rotate 1
// volume setings
volume 0.4
// viewmodel
viewmodel_fov "68"
viewmodel_offset_x "0"
viewmodel_offset_y "-2.0"
viewmodel_offset_z "-2.0"
viewmodel_presetpos "0"
// viewmodel_recoil "1.0"
fps_max "400" // Setting this to 0 will uncap it but will load maps 90 seconds slower.
// Crosshair
// Dot style
// CSGO-RtHQP-knGex-ZH5AS-skKf2-sw3JE
// cl_crosshairstyle "4" // Classic Crosshair Style
// cl_crosshair_friendly_warning "1"
// cl_crosshairdot "true"
// cl_crosshairsize "0.3" // aka. Length
// cl_crosshairthickness "0.700000"
// cl_crosshairgap "-4.0"
// cl_crosshair_drawoutline "1"
// cl_crosshair_outlinethickness "1.000000" // (0-3)
// cl_crosshaircolor_b "0"
// cl_crosshaircolor_g "255"
// cl_crosshaircolor_r "0"
// cl_crosshairusealpha "1"
// cl_crosshairalpha "255"
// cl_crosshair_t "1"
// cl_crosshairgap_useweaponvalue "0"
// Classic style
// CSGO-p3KWP-HZ7zK-nJapc-9FYCQ-kDU8N
cl_crosshairstyle "4" // Classic Crosshair Style
cl_crosshair_friendly_warning "1"
cl_crosshairdot "false"
cl_crosshairsize "1.0" // aka. Length
cl_crosshairthickness "0.7"
cl_crosshairgap "-2.0"
cl_crosshair_drawoutline "1"
cl_crosshair_outlinethickness "1.000000" // (0-3)
cl_crosshaircolor_b "62"
cl_crosshaircolor_g "255"
cl_crosshaircolor_r "62"
cl_crosshairusealpha "1"
cl_crosshairalpha "255"
cl_crosshair_t "0"
cl_crosshairgap_useweaponvalue "0"
// additional options
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1" // (1 for single-pixel hairline, >1 for thick line)
cl_crosshaircolor "5"
host_writeconfig

View file

@ -0,0 +1,49 @@
sv_cheats 1
// server setup
cl_versus_intro false
mp_team_intro_time 0
mp_freezetime 4
mp_roundtime 60
mp_roundtime_defuse 60
mp_limitteams 0
mp_autoteambalance 0
mp_maxmoney 60000
mp_startmoney 60000
mp_buytime 9999
mp_buy_anywhere 1
mp_death_drop_gun 0
// map guides
sv_allow_annotations 1
bot_kick
// player setup
sv_infinite_ammo 1
ammo_grenade_limit_total 5
sv_grenade_trajectory_prac_pipreview true
sv_grenade_trajectory_prac_trailtime 10
sv_showimpacts 1
// invincibility
buddha true
buddha_ignore_bots true
ff_damage_reduction_grenade_self 0
sv_falldamage_scale 0
inferno_damage 0
sv_regeneration_force_on true
sv_regeneration_wait_time 0.5
bind f1 "toggle sv_grenade_trajectory_prac_pipreview"
bind f2 "sv_rethrow_last_grenade"
bind f3 "ent_fire smokegrenade_projectile kill; stopsound"
bind "n" "noclip"
bind "m" "toggle bot_crouch 1 0"
alias prac_buy_all "buy m4a1; buy ak47; buy smokegrenade; buy hegrenade; buy flashbang; buy molotov; buy incgrenade; buy decoy; buy vesthelm"
bind p "prac_buy_all"
// exec
mp_warmup_end
mp_restartgame 1