diff --git a/src/keybinds.cfg b/src/keybinds.cfg index be234dc..d030b88 100644 --- a/src/keybinds.cfg +++ b/src/keybinds.cfg @@ -12,11 +12,10 @@ echo "按键绑定配置开始加载..." // ======================================== // 说明:使用左手小指和无名指可轻松触及的按键 // C、V、F、X 四个按键分别对应不同投掷物 - -bind "c" "slot10" // C键 - 燃烧弹 (火) -bind "v" "slot8" // V键 - 烟雾弹 (烟) -bind "f" "slot3; slot7" // F键 - 闪光弹 (闪) - 支持双闪选择 -bind "x" "slot6" // X键 - 高爆手雷 (雷) +bind "z" "slot7" // Z - 闪 +bind "x" "slot8" // X - 烟 +bind "c" "slot6" // C - 雷 +bind "v" "slot10" // V - 火 // ======================================== // 快速切枪配置 @@ -25,7 +24,7 @@ bind "x" "slot6" // X键 - 高爆手雷 (雷) // 这样可以快速peek后立即切回枪 alias "+switch" "slot3" // 按下Q:切换到刀/道具 -alias "-switch" "slot1" // 松开Q:切换回主武器 +alias "-switch" "lastinv" // 松开Q:切换回上一个武器 bind "q" "+switch" // ======================================== @@ -43,10 +42,7 @@ bind "MWHEELDOWN" "invnext" // 滚轮向下:下一个武器 // ======================================== // Mouse4: 切换持枪手 (左右手切换) // Mouse5: 语音通话 (替代原来的V键) -alias "toggle_hand" "hand_right" -alias "hand_right" "cl_righthand 1; alias toggle_hand hand_left; echo '切换到右手持枪'" -alias "hand_left" "cl_righthand 0; alias toggle_hand hand_right; echo '切换到左手持枪'" -bind "mouse4" "toggle_hand" +bind "mouse4" "switchhands" // 语音通话绑定到鼠标侧键 bind "mouse5" "+voicerecord" @@ -76,14 +72,29 @@ bind "5" "slot8" // 烟雾弹 (快速选择) // 其他实用绑定 // ======================================== -// 基础跳跃 -bind "space" "+jump" // 空格键跳跃 +// 跳投 +alias "+jt" "+jump;" +alias "+ta" "-attack; -attack2" +alias "-jt" "-jump" +bind "alt" "+jt;+ta;" -// 跳投绑定 (可选功能) -alias "+jumpthrow" "+jump; -attack; -attack2" -alias "-jumpthrow" "-jump" -// 如需要跳投,可将跳投绑定到其他键,例如: -// bind "n" "+jumpthrow" +// 静步提高音量 +alias "+incvol" "incrementvar volume 0 2 0.5;+sprint" +alias "-incvol" "incrementvar volume 0 2 -0.5;-sprint"; +bind "shift" "+incvol" + +// 清除血迹 +bind "o" "sv_cheats 1; toggle r_csgo_render_decals" + +// 一键丢炸弹 +alias "+dropbombbind" "slot3; slot5" +alias "-dropbombbind" "slot3; slot5; drop"; +bind "n" "+dropbombbind" + +// tab 显示信息 +alias "+netg" "cl_showfps 2;+showscores" +alias "-netg" "cl_showfps 0;-showscores" +bind "tab" "+netg" // Tab键计分板 (默认保持) bind "TAB" "+showscores" @@ -95,7 +106,7 @@ echo " " echo "✅ 按键绑定配置加载完成!" echo " " echo "投掷物绑定:" -echo "X - 高爆手雷 | C - 燃烧弹 | V - 烟雾弹 | F - 闪光弹" +echo "Z - 闪光弹 | X - 烟雾弹 | C - 高爆手雷 | V - 燃烧弹" echo " " echo "特殊功能:" echo "Q - 快速切枪 (按住切道具,松开回主武器)" diff --git a/src/performance.cfg b/src/performance.cfg index 5ece2b0..bf43884 100644 --- a/src/performance.cfg +++ b/src/performance.cfg @@ -50,10 +50,7 @@ mat_forceaniso 1 // 强制各向异性过滤 // ======================================== // 鼠标与输入优化 // ======================================== -m_rawinput 1 // 启用原始输入 (绕过Windows鼠标加速) -m_customaccel 0 // 关闭自定义鼠标加速 -m_mouseaccel1 0 // 关闭鼠标加速1 -m_mouseaccel2 0 // 关闭鼠标加速2 +input_filter_relative_analog_inputs 1 // 启用原始输入 (绕过Windows鼠标加速) // ======================================== // 音频优化 @@ -68,7 +65,7 @@ snd_duckerthreshold 0.15 // 音频衰减阈值 // HUD和界面优化 // ======================================== cl_hud_radar_scale 1.15 // 雷达缩放比例 -cl_showfps 1 // 显示FPS计数器 +cl_showfps 2 // 显示FPS计数器 cl_disable_ragdolls 1 // 禁用布娃娃系统 (提升性能) cl_show_team_equipment 0 // 不显示队友装备 cl_hud_color 1 // HUD颜色设置 @@ -101,6 +98,14 @@ violence_ablood 0 // 减少血液效果 ragdoll_sleepaftertime 0.1 // 布娃娃快速进入睡眠状态 ragdoll_gravity 30 // 增加布娃娃重力,快速落地 +// ======================================== +// 视角模型设置 +// ======================================== +viewmodel_offset_x 2.5 +viewmodel_offset_y -2 +viewmodel_offset_z -2 +viewmodel_fov 54 + // ======================================== // 性能优化提示信息 // ========================================