Garry's Mod

Garry's Mod

33 个评价
Custom Player ViewPunch
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
2.181 KB
1 月 5 日 上午 4:53
3 月 18 日 上午 1:37
4 项改动说明 ( 查看 )

订阅以下载
Custom Player ViewPunch

描述
Q : What is this addon used for ?

A : If you play FPS games a lot, you know that when you get hit by enemy bullets, your screen shakes a bit or a lot. This simple addon will enable you to adjust how much your view shakes after getting hit (first-person only). I made this addon because I couldn’t stand the HL2 view punch effect in gmod, which really messed with my aiming.
By the way, this addon will fail to work on certain damage types such as Combine soldier melee and Combine hunter crash.



ConVars:

XN_Custom_ViewPunch (0/1)
---Default : 1
---Set to 0 to disable this addon, while setting to 1 to enable it.

XN_CustomViewPunch_ScaleValue (Any Value)
---Default : 1
---Set to 0 to remove the annoying view punch, while any other value is okay if you like.
---For example, set this value to 0.4, and the shake effect is reduced to 40% of the original. If you set it to 2.5, then the shake effect increases to 250% of the initial.

XN_CustomViewPunch_RemoveVP (0/1)
---Default : 0
---Set to 1 to remove the view punch by a special method. This may be more effective than setting XN_CustomViewPunch_ScaleValue to 0.
7 条留言
Nukl3ar #Remove Sniper 10 月 1 日 下午 3:03 
For some reason this mod makes you invincible when you equip the worn dagger from 308 base
精神科王宏 7 月 27 日 上午 8:29 
Very useful! It solved my urgent problem, so I gave it a "Great Help" rating
Bonnie 6 月 20 日 上午 7:30 
can you made it work for melee attack too? like when zombie or vjbase hit you with melee
memeguy101 3 月 19 日 下午 2:24 
it works now, thank you
XDforeth  [作者] 3 月 18 日 上午 1:24 
@memeguy101
I guess there is one other addon that has created the same convar called "Custom_Player_ViewPunch". I will change the convars to make them unique.
memeguy101 3 月 18 日 上午 1:17 
not for me i copy and pasted the same thing and got that message, ill try tmrrw
memeguy101 3 月 17 日 下午 11:17 
Unknown command "Custom_ViewPunch_ScaleValue"

did i type it wrong?