启动选项
-tickrate 128 -console -novid +exec practicethree.cfg -noforcemparms -nojoy -high -perfectworld
|
-tickrate 128
:本地服务器默认是64tick,通过设置将其调整为更高的128tick来提升练枪体验(在连接官方匹配时,会自动降为64tick)。注意与下面提到的代码配合使用
-console
:启用控制台
-novid
:跳过开场动画
+exec practicethree.cfg
:导入practicethree.cfg
文件,下面会详细介绍
-noforcemparms
:在游戏中禁用鼠标按键的win系统快捷键功能
-nojoy
:不使用摇杆,可提高少部分性能
-high
:高优先级,就是要求CPU处理运算CS时是最高优先级,提高性能的,与在任务管理器选择进程高优先级一个道理
-perfectworld
:与-worldwide
相对,前者是国服,后者是国际服
autoexec.cfg参数
rate "786432" cl_interp 0.031000" cl_interp_ratio "2" cl_cmdrate "128" cl_updaterate "128" fps_max "399"
|
rate "786432"
cl_cmdrate "128"
cl_updaterate "128"
:三条代码与-tickrate 128
相配,分别为游戏带宽限制rate、下载128tick、上传128tick
cl_interp 0.031000"
cl_interp_ratio "2"
:两条代码相互配套,表示HITBOX 与人物模型的贴合度,详见https://www.wevg.org/archives/csgo-config-guide/ 和 https://zhuanlan.zhihu.com/p/47497932
fps_max "399"
:调整FPS上限。FPS上限要看具体电脑性能,如果可以稳定在300那么尝试更高的上限是一个好的选择这会降低输入延迟,但是如果不能超过太多的话选择更高的上线会造成CPU不能进行短暂休息导致FPS不稳定。(如果想要不限制FPS,建议使用999而不是0,因为莫名原因使用999会比0时的FPS高一些)。
practice.cfg参数
echo "--- starting to execute all cfg ---" // Server config sv_cheats 1 //开启“官方作弊” mp_limitteams 0 //取消双方人数差异 mp_autoteambalance 0 //关闭自动平衡,否则人数下一局又平均了 mp_roundtime 60 //回合时间60分钟 mp_roundtime_defuse 60 mp_roundtime_hostage 60 mp_maxrounds 61 //总共最高打61回合 mp_maxmoney 60000 //最大金钱为60000 mp_startmoney 60000 //出生金钱为60000 mp_freezetime 6 //每局出生原地冻结时间6秒 mp_buytime 999 mp_buy_anywhere 1 //任意地点都能购买武器 mp_overtime_enable 1 maxplayers 32 //最大玩家为32位,但是受模式限制 sv_infinite_ammo 2 //0表示正常打子弹,1表示主弹夹无限,2表示后背弹夹无限 sv_alltalk 1 ammo_grenade_limit_total 5 bot_kick //踢出所有bot mp_warmup_end //结束热身 bot_difficulty 5 //[此条存疑] give weapon_knifegg give weapon_healthshot //提供回血针 healthshot_health 100
// Bind bind "KP_END" "noclip" //绑定小键盘1键为飞空
// Practice sv_grenade_trajectory 1 sv_grenade_trajectory_dash 1 sv_grenade_trajectory_thickness 1 sv_grenade_trajectory_time 10 sv_enablebunnyhopping 1 sv_showimpacts 1 sv_showimpacts_time 3 //Weapon cl_loadout_colorweaponnames 1 impulse 101 mp_restartgame 1 //1秒后刷新游戏 echo "--- succesfully executed all cfg ---"
|
practiceone.cfg参数
这个参数是在自己搭建的服务器里试用不同的刀,体验一把RMB玩家的快感
echo "--- starting to execute knife cfg ---" sv_cheats 1 mp_items_prohibited 0 mp_drop_knife_enable 1
give weapon_bayonet;ent_fire weapon_knife addoutput "classname weapon_knifegg" //刺刀 give weapon_knife_flip;ent_fire weapon_knife addoutput "classname weapon_knifegg"//折叠刀 give weapon_knife_gut;ent_fire weapon_knife addoutput "classname weapon_knifegg"//穿肠刀 give weapon_knife_karambit;ent_fire weapon_knife addoutput "classname weapon_knifegg"//爪子刀 give weapon_knife_m9_bayonet;ent_fire weapon_knife addoutput "classname weapon_knifegg"//M9 give weapon_knife_tactical;ent_fire weapon_knife addoutput "classname weapon_knifegg"//猎杀者匕首 give weapon_knife_butterfly;ent_fire weapon_knife addoutput "classname weapon_knifegg"//蝴蝶刀 give weapon_knife_falchion;ent_fire weapon_knife addoutput "classname weapon_knifegg"//弯刀 give weapon_knife_push;ent_fire weapon_knife addoutput "classname weapon_knifegg"//暗影双匕 give weapon_knife_survival_bowie;ent_fire weapon_knife addoutput "classname weapon_knifegg"//鲍伊 give weapon_knife_ursus;ent_fire weapon_knife addoutput "classname weapon_knifegg"//熊刀 give weapon_knife_gypsy_jackknife;ent_fire weapon_knife addoutput "classname weapon_knifegg"//折刀 give weapon_knife_stiletto;ent_fire weapon_knife addoutput "classname weapon_knifegg"//短剑 give weapon_knife_widowmaker;ent_fire weapon_knife addoutput "classname weapon_knifegg"//锯齿爪 give weapon_knife_css;ent_fire weapon_knife addoutput "classname weapon_knifegg"//海豹短刀 give weapon_knife_cord;ent_fire weapon_knife addoutput "classname weapon_knifegg"//系绳匕首 give weapon_knife_canis;ent_fire weapon_knife addoutput "classname weapon_knifegg"//求生匕首 give weapon_knife_skeleton;ent_fire weapon_knife addoutput "classname weapon_knifegg"//骷髅匕首 give weapon_knife_outdoor;ent_fire weapon_knife addoutput "classname weapon_knifegg"//流浪者匕首
impulse 101
echo "--- successfully execute knife cfg ---"
|
practicetwo.cfg参数
这个是“官方专用开挂”cfg文件,我用来在自己服务器上开黑的时候偷偷用hhhh
echo "--- starting to execute cheat cfg ---"
sv_cheats 1 r_drawothermodels 2 //透视,所有的人所在位置都看得一清二楚 m_yaw 220 //本身这个参数是模拟大陀螺视角,但实际上并没有用,直接删掉也没问题 impulse 101
echo "--- successfully execute cheat cfg ---" echo "--- r_drawothermodels 1 ---" echo "--- m_yaw 0.022 ---"
|
practicethree.cfg参数
echo "--- starting to execute playing cfg ---"
BindToggle "v" "cl_righthand" //绑定v键左右手视角切换 bind "shift" "+speed;r_cleardecals" //绑定shift键清除血迹 cl_use_opens_buy_menu 0
cl_radar_scale 0.4 cl_radar_always_centered 0 hud_scaling 0.7 cl_hud_radar_scale 1.3 mat_monitorgamma 1.600000
impulse 101
alias +cjump "+jump; +duck" alias -cjump "-jump; -duck" bind "alt" "+cjump" //绑定alt键为大跳,注意不要集中连续使用,否则蹲起变慢
alias "+jumpthrow" "+jump;-attack" alias "-jumpthrow" "-jump" bind "CapsLock" "+jumpthrow" //绑定Capslock为一键跳投
unbind "kp_ins" bind "kp_ins" " buy incgrenade; buy molotov;" echo "--- 0 for molotov ---" //绑定小键盘0为购买燃烧弹 unbind "kp_downarrow" bind "kp_del" " buy hegrenade;" echo "--- . for grenade ---" //绑定小键盘.为购买手雷 bind "kp_slash" " buy smokegrenade;" echo "--- / for smoke ---" //绑定小键盘/为购买烟雾弹 bind "kp_multiply" " buy flashbang;" echo "--- * for flash ---" //绑定小键盘*为购买闪光弹 bind "kp_pgdn" "buy awp;say_team AWP;" echo "--- 3 for awp ---" //绑定小键盘3为购买AWP,同时向队友打字“AWP” bind "kp_leftarrow" "buy mac10; buy mp9;" echo "--- 4 for mac10 ---" //绑定小键盘4为购买吹风机 bind "kp_5" "buy ak47; buy m4a1" echo "--- 5 for ak or m4 ---" //绑定小键盘5为购买AK或者M4 bind "kp_rightarrow" "buy sg556; buy aug;" echo "--- 6 for sg553 or aug ---" //绑定小键盘6为购买AUG或者SG553 bind "kp_home" "buy tec9; buy fn57;" echo "--- 7 for cz75 ---" //绑定小键盘7为购买CZ75或者TEC-9或者FN57 bind "kp_pgup" "buy deagle;" echo "--- 9 for deagle ---" //绑定小键盘9为购买700大zhu bind "kp_minus" " buy vest;" echo "--- - for vest ---" //绑定小键盘-为购买半甲 bind "kp_plus" " buy vesthelm; buy vest;" echo "--- + for full vest ---" //绑定小键盘+为购买全甲
cl_autohelp 0 //关闭自动帮助 r_dynamic 0 gameinstructor_enable 0 r_drawtracers_firstperson "0" //关闭曳光弹的显示;这条指令是在2018年4月的更新后开始流行的,那次修改改变了曳光弹的轨迹,导致前7发左右的发射位置并不准确,如果可以适应目前的轨迹那么可以考虑开启,同时关闭曳光弹也会减轻开火时的掉帧情况,低配电脑建议选择0.
net_graphproportionalfont 0
cl_dm_buyrandomweapons 0
exec slam la //运行slam,可以放DJ,注意先下载SLAM文件 8
host_writeconfig echo "--- successfuly execute playing cfg ---"
|
Reference
- https://totalcsgo.com/commands
- https://csgo.5eplay.com/article/csgo-tutorials-startup-settings-and-open-the-console
- https://slam.flankers.net/