Garry's Mod

Garry's Mod

935 ratings
Quake/Half-Life View bobbing
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Scenic
File Size
Posted
Updated
7.490 KB
20 Jan, 2015 @ 5:38am
26 Jul, 2024 @ 11:04pm
5 Change Notes ( view )

Subscribe to download
Quake/Half-Life View bobbing

Description
A clientside script that adds Quake/Half-Life view bobbing to GMod. To make it work in multiplayer, script should be installed on server or clientside scripts should be allowed.

Convars:
cl_q1_enable (1 or 0) - enable the script
cl_q1_overridehooks (1 or 0) - allow overriding SWEP view hooks, disabled by default

cl_q1_viewbob (1 or 0) - enable view bobbing
cl_q1_viewroll (1 or 0) - enable view roll
cl_q1_weaponbob (1 or 0) - enable weapon bobbing

cl_q1_bob (def. 0.02)
cl_q1_bobcycle (def. 0.6)
cl_q1_bobup (def. 0.5)
cl_q1_rollangle (def. 2)
cl_q1_rollspeed (def. 200)

Settings are available in Utilities menu

HL1 values:
bob = 0.01
bobcycle = 0.8
bobup = 0.5

Note:
If you enable Override Hooks option, the script overrides CalcView and CalcViewModelView hooks for EVERY SWEP, so things like ironsights won't work and some ones like CW 2.0 might be completely ♥♥♥♥♥♥ up. Be careful with that setting.

Credits:
John Carmack - for the original C++ code
me for porting it to GLua
Popular Discussions View All (4)
1
18 Jul, 2024 @ 10:17am
view roll doesn't work
Крутой Кабан
1
18 Jul, 2024 @ 10:17am
view roll doesn't work
VINH'LL FIX IT
2
30 Apr, 2019 @ 5:29am
Possibility?
MasonRock95
184 Comments
sqiva13 30 Nov, 2024 @ 9:34pm 
someone made an edit to this mod that makes it similar to the won style view bob

https://steamoss.com/sharedfiles/filedetails/?id=3369201288&searchtext=beta
TheUltimateDemon 27 Nov, 2024 @ 7:24pm 
@ 🏴‍☠

I was Just About to ask the same thing, and i was also wondering what it was even called. I think in BorganFreeman's Video, he described it as; "Weapon Bobbing in the Corners"
Jolly󠀡󠀡 18 Nov, 2024 @ 1:08am 
Any plans on updating this to have the WON Style view bobbing?
mav 7 Oct, 2024 @ 1:44pm 
would you take a commission
luisgamercool23 9 Sep, 2024 @ 11:10am 
Half-Life ahh movement
MrPad 28 Jul, 2024 @ 5:12pm 
its works, but looks kinda bad when running with the Physgun
Quaker2045 27 Jul, 2024 @ 8:23am 
ok but the view roll still aint functioning
upset  [author] 27 Jul, 2024 @ 8:14am 
that's the reason
Quaker2045 27 Jul, 2024 @ 8:13am 
its set to 0
upset  [author] 27 Jul, 2024 @ 8:08am 
check the q1_cl_bobstyle convar