Left 4 Dead 2

Left 4 Dead 2

Nescius' button binder base
Doc903 2024 年 12 月 2 日 下午 2:44
Assistance or Example?
So, question. I am trying to make a config that deals with aiming, and I have this added into it:

crosshair 0 alias +fovzoom "fov_desired 45; +speed; cl_viewmodelfovsurvivor 37; bind Mouse2 +fovzoom; crosshair 1" alias -fovzoom "fov_desired 90; -speed; cl_viewmodelfovsurvivor 74; -duck; crosshair 0" bind Mouse2 "+fovzoom"

It makes it so the player's fov zooms in upon right-click, acting as a sort of aiming system similar to WWZ; something missing, however, is increased accuracy to allow the aim to actually function.

Is there a function related to a weapon's bullet spread that I would be able to use this with to create the more accurate aiming boost?
< >
正在显示第 1 - 3 条,共 3 条留言
Nescius  [开发者] 2024 年 12 月 3 日 下午 3:04 
Other than giving weapon a laser not aware of a way to make a gun more accurate via vscript
最后由 Nescius 编辑于; 2024 年 12 月 3 日 下午 3:04
Doc903 2024 年 12 月 5 日 上午 8:35 
引用自 Nescius
Other than giving weapon a laser not aware of a way to make a gun more accurate via vscript
I decided to go ahead with that, since it had the perfect "in-between" accuracy between standing and crouching alone. Though, how would I set this up in a way that one wouldn't need cheats for?
Nescius  [开发者] 2024 年 12 月 5 日 上午 8:58 
Example how you would use this addon assuming you have scripting knowledge:

let's say in director_base_addon.nut you have something like this

local function zoom( player ) { printl("handle of the player that used the command: " + player); } NesciusButtonBinder.RegisterFunction("commandname", zoom);

when you have above code setup then players connected to your game can bind it to 'g' key like this:

bind g "setinfo nescmd commandname; taunt; nescmd 0"
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50