Garry's Mod

Garry's Mod

2,567 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
Nov 11, 2022 @ 7:08pm
Apr 21 @ 9:21am
15 Change Notes ( view )

Subscribe to download
Dynamic Height + Hull Fix

Description
Based on this mod
https://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
May 17 @ 5:41am
I love mister beast
Maximilien Aleksandrovich Petrov
6
Jul 1 @ 11:07am
Causes viewmodel to flicker with vmanip/tfa
♬♫~Joe Blaze~♫♬
2
Dec 31, 2024 @ 9:14am
The update to this addon broke it.
TABSkang
284 Comments
Yareg Paradise Nov 18 @ 12:19pm 
Ломается после смерти
Dayroony Nov 13 @ 11:23pm 
Yeah he's not maintaining this no more, i found a cool alternative but he also stopped supporting it
https://steamcommunity.com/sharedfiles/filedetails/?id=3050234499
F4ttA_BEeear3000 Nov 5 @ 1:06pm 
i use the ugandan knuckles playermodel (https://steamcommunity.com/sharedfiles/filedetails/?id=1542621197) and doesn't works, the height looks like the height of a normal critzen, the hull is good.
TACTICALCORNDOG Oct 29 @ 8:11pm 
i have the same issue 9pointflower had, i am useing this player model addon https://steamcommunity.com/sharedfiles/filedetails/?id=3134452232&searchtext=scug and it still bricks its self on map load and on respawn
holberry20 Oct 17 @ 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
Обрыгатор Sep 18 @ 6:06am 
починено
Serika Sep 8 @ 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) Sep 2 @ 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) Sep 2 @ 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?