Garry's Mod

Garry's Mod

2,596 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://test1.login.steam.hlxgame.cc/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
Maximilien Aleksandrovich Petrov
6
1 Jul @ 11:07am
Causes viewmodel to flicker with vmanip/tfa
♬♫~Joe Blaze~♫♬
2
31 Dec, 2024 @ 9:14am
The update to this addon broke it.
TABSkang
284 Comments
Yareg Paradise 18 Nov @ 12:19pm 
Ломается после смерти
Dayroony 13 Nov @ 11:23pm 
Yeah he's not maintaining this no more, i found a cool alternative but he also stopped supporting it
https://test1.login.steam.hlxgame.cc/sharedfiles/filedetails/?id=3050234499
ohmyGoD 5 Nov @ 1:06pm 
i use the ugandan knuckles playermodel (https://test1.login.steam.hlxgame.cc/sharedfiles/filedetails/?id=1542621197) and doesn't works, the height looks like the height of a normal critzen, the hull is good.
TACTICALCORNDOG 29 Oct @ 8:11pm 
i have the same issue 9pointflower had, i am useing this player model addon https://test1.login.steam.hlxgame.cc/sharedfiles/filedetails/?id=3134452232&searchtext=scug and it still bricks its self on map load and on respawn
holberry20 17 Oct @ 10:14am 
[Dynamic Height + Hull Fix] Warning! A net message (vj_music_run) is already started! Discarding in favor of the new message! (DynamicCameraHullViewSetup)
1. DynamicCameraUpdateTrueModel - lua/autorun/dynamiccamera.lua:311
2. v - lua/autorun/dynamiccamera.lua:328
3. unknown - lua/includes/modules/hook.lua:102
Обрыгатор 18 Sep @ 6:06am 
починено
Serika 8 Sep @ 8:16am 
it's that it happens with models that custom properties which change the height, like echo's models.
9 Point Flower (she/it) 2 Sep @ 11:15pm 
okay did some troubleshooting, it looks like it happens if you have any playermodels with custom properties like death sounds or animations
9 Point Flower (she/it) 2 Sep @ 10:01pm 
same issue here, height isnt refreshing on respawn
hey whenever i die and respawn the height is set to the default, anybody know how to fix this?