Garry's Mod

Garry's Mod

2,379 ratings
Dynamic Height + Hull Fix
4
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Model
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
13.775 KB
11 Nov, 2022 @ 7:08pm
21 Apr @ 9:21am
15 Change Notes ( view )

Subscribe to download
Dynamic Height + Hull Fix

Description
Based on this mod
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1721367483

Dynamic Height + Hull Fix
Much like the original Dynamic Height mod, this mod will adjust your view offset for your player dependent on the player model you've chosen. Depending on the minimums and maximums you've set for your options, the eye attachment on your playemodel may be chosen to affect your height. Additionally, using your camera height, the hullbox of your player will also be adjusted to fit your playermodel.

With this in mind, there are other points to take into consideration:
1. Your camera height and hullbox height are clamped to prevent camera clipping when crouching or standing under surfaces.
2. If your model has an eye attachment, that is used for clamping hullbox values.
3. The height is adjusted so that the hull-box is nearly untouched when using default playermodels.
4. This is untested with very odd head proportions, or non-bipedal playermodels.
5. An option is given to allow this hull-box adjustment to affect NPCs.
6. This works with outfitter.

For more information, refer to the addon mentioned above.

Updates
2023-5-13 - Fixed Outfitter support?
2022-11-12 - Added Client-sided option to disable Camera and Hull adjustments.
2022-11-14 - Added recursive check to NPC creation in case of no model.
2022-11-15 - Added exclusion for zombie torsos
2022-11-18 - Reorganized code for correct function order. Excludes all zombies.
2022-11-21 - Added exclusion for VJBase.
Popular Discussions View All (7)
17
2
17 May @ 5:41am
I love mister beast
Judgement Kazzy
2
31 Dec, 2024 @ 9:14am
The update to this addon broke it.
TABSkang
6
1 Jul @ 11:07am
Causes viewmodel to flicker with vmanip/tfa
♬♫~Joe Blaze~♫♬
273 Comments
Box-Chan 6 Jul @ 6:48pm 
While this one doesn't flicker anymore, its seeming to take a WHILE for the height to load properly now
neto 25 Jun @ 12:31pm 
[Dynamic Height + Hull Fix] lua/autorun/dynamiccamera.lua:150: attempt to call method 'GetInfoNum' (a nil value)
1. DynamicCameraHullViewCL - lua/autorun/dynamiccamera.lua:150
2. func - lua/autorun/dynamiccamera.lua:246
3. unknown - lua/includes/extensions/net.lua:34
Dorotpole 20 Jun @ 1:38am 
incompatible with https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=775573383 , standing up after proning makes player's hitbox as small as if he was on the ground
Stimroller99 8 Jun @ 11:37pm 
this shi is bugged and lag the game dunno if its this or one of my mods is conflicting with this but so far there's no error showing up
G1 Persil 1 Jun @ 3:57am 
this addon has bugs
liampy 26 May @ 8:45am 
The size-inator or whatever it's called breaks this completely. its a swep that can make you bigger or smaller.
Creedani 21 May @ 11:52am 
просто не работает.
coolest zen 24 Apr @ 4:17am 
i dont even know
Zeb 23 Apr @ 1:29pm 
what's the recent updates