CS2 autoexec.config 游戏设置 绑定config
//2024年8月19日周一
//V社更新 废掉了急停脚本,跳投 等一个按键做多个动作的脚本。
echo "--- starting to execute autoexec.cfg ---
//准星设置
cl_crosshairusealpha "1";
cl_crosshairalpha 255; //透明度
cl_crosshaircolor 5; //颜色
cl_crosshaircolor_r 0; //RGB值设置
cl_crosshaircolor_g 255;
cl_crosshaircolor_b 165;
cl_crosshairdot 0; //是否显示中心点
cl_crosshairgap -3; //准心聚拢程度
cl_crosshairsize 2; //准星大小
cl_crosshairstyle 4; //0默认移动和射击会动态改变大小、1静态、2经典、3经典动态、4纯静态、5 cs1.6版准星仅在射击时改变大小
cl_crosshairthickness 0.2;
cl_crosshairusealpha 1; // 是否受透明度影响
cl_crosshair_drawoutline 1; //是否要准星轮廓
cl_crosshairgap_useweaponvalue "0"; //所有武器都用同样的准星
cl_crosshair_sniper_width 2;
// Mouse commands 鼠标相关
//鼠标灵敏度
sensitivity "1.25"; // Changes in-game sensitivity
// 按键绑定
bind "mouse1" "+attack";
bind "V" "slot6"; //slot6 掏出高爆手雷
bind "C" "slot8"; //掏出烟雾弹
bind "Z" "slot7"; //slot7 掏出闪光弹
bind "F" "slot10"; // F slot10掏出燃烧弹 快速掏出燃烧弹很重要
bind "H" "slot9"; //slot9 掏出诱饵弹
//快速丢c4
bind "b" "+c4";
alias +c4 slot5;
alias -c4 drop;
// 音量
bind "," "volume 0";
bind "." "volume 0.5";
bind "/" "volume 0.02";
// 队伍语音频道 开关
alias mute "muteOn";
alias "muteOn" "voice_modenable 0; cl_clearhinthistory; alias mute muteOff";
alias "muteOff" "voice_modenable 1; alias mute muteOn";
// 绑定CAPS为开关,残局屏蔽队伍语音
bind "capslock" mute;
//开关新手提示 用于烟中找包
bindtoggle "]" gameinstructor_enable;
// 跳跃
bind "mwheeldown" +jump;
bind "mwheelup" +jump;
bind "T" +jump;
bind "SPACE" +back;
//买东西按键
bind "-" "buy smokegrenade" // -买烟雾弹
bind "=" "buy flashbang" // = 买闪光弹
bind "0" "buy molotov; buy incgrenade" // 0买燃烧瓶
bind "9" "buy hegrenade"
bind "8" "buy defuser"
bind "P" "buy ak47; buy m4a1"
bind "\" "buy vest";//买甲
bind "enter" "buy vesthelm; buy vest" ;//回车enter 买甲和头,没钱就只买甲
// hud界面相关
cl_radar_scale 0.3; //radar雷达, 0.3 一般可以纵观全局,也不至于地图太小看不清
cl_radar_square_with_scoreboard 1;
cl_radar_icon_scale_min 0.6;
cl_radar_always_centered 0; //1 的话自己永远在小地图中央,地图边缘的时候会看不到全局。所以我用了 0。
hud_scaling 0.9;//这两个是界面的大小和雷达的大小。我把界面拉小了一点,小地图放大了一点。
cl_hud_radar_scale 1.1;
cl_showloadout "1"; //右下角显示1 2 3 4各种武器图标
cl_hud_color "2"; //界面颜色
hud_showtargetid "1"; //显示目标的名字
host_writeconfig;
viewmodel_presetpos "2";
// 亮度设置
bind "uparrow" "toggle r_fullscreen_gamma 2.2 2.21";
echo "--- succesfully executed autoexec.cfg ---"