Dynamic Height + Hull Fix

If you liked this item, please rate it up on Steam Workshop page.

Author: Qunai

Last revision: 23 Feb, 2025 at 11:34 UTC

File size: 16.05 KB

On Steam Workshop

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.