|
|
本帖最后由 谁不喜欢亚可呢 于 2026-3-1 16:15 编辑
援引某四字组别的代码,可实现第三人称过肩视角参数
bind "自定义按键""tp1"
alias tp1"thirdperson;cam_idealdist 65;c_thirdpersonshoulder 1;c_thirdpersonshoulderoffset 20;c_thirdpersonshoulderaimdist 900;bind"自定义按键""tp2"";
alias tp2"firstperson;bind"自定义按键""tp1"";
\\人物在左
bind "自定义按键""tp1"
alias tp1"thirdperson;cam_idealdist 65;c_thirdpersonshoulder 1;c_thirdpersonshoulderoffset -20;c_thirdpersonshoulderaimdist 900;bind"自定义按键""tp2"";
alias tp2"firstperson;bind"自定义按键""tp1"";
\\人物在右
bind "自定义按键""tp1"
alias tp1"thirdperson;cam_idealdist 65;c_thirdpersonshoulder 1;c_thirdpersonshoulderoffset 20;c_thirdpersonshoulderaimdist 900;bind"自定义按键""tp2"";
alias tp2"thirdperson;cam_idealdist 65;c_thirdpersonshoulder 1;c_thirdpersonshoulderoffset -20;c_thirdpersonshoulderaimdist 900;bind"自定义按键""tp3"";
alias tp3"firstperson;bind"自定义按键""tp1"";
\\摁一次人物在左,摁两次人物在右,摁三次切换第一人称
使用此代码的第三人称视角准星只能保证在中距离准确,远距离开枪和近距离开火需要根据弹道调整
------------------------------------------------------------------------------------------------------------------------------
调整FOV指令 需要首先在控制台输入fov_cs_debug查看当前FOV参数数值
bind "自定义按键""fov1"
alias fov1"fov_cs_debug 120;bind"自定义按键""fov2""
alias fov2"fov_cs_debug 自己初始的FOV参数;bind"自定义按键""fov1""
以上指令需要自行放在Counter-Strike Global Offensive\game\csgo\cfg目录下的autoexec.cfg文件内
然后在大厅的控制台输入exec autoexec.cfg应用(游戏内无法应用CFG)
|
|