Garry's Mod

Garry's Mod

33 ratings
Custom Player ViewPunch
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
2.181 KB
5 Jan @ 4:53am
18 Mar @ 1:37am
4 Change Notes ( view )

Subscribe to download
Custom Player ViewPunch

Description
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 Comments
Nukl3ar 1 Oct @ 3:03pm 
For some reason this mod makes you invincible when you equip the worn dagger from 308 base
精神科王宏 27 Jul @ 8:29am 
Very useful! It solved my urgent problem, so I gave it a "Great Help" rating
Bonnie 20 Jun @ 7:30am 
can you made it work for melee attack too? like when zombie or vjbase hit you with melee
memeguy101 19 Mar @ 2:24pm 
it works now, thank you
XDforeth  [author] 18 Mar @ 1:24am 
@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 18 Mar @ 1:17am 
not for me i copy and pasted the same thing and got that message, ill try tmrrw
memeguy101 17 Mar @ 11:17pm 
Unknown command "Custom_ViewPunch_ScaleValue"

did i type it wrong?