Garry's Mod

Garry's Mod

707 ratings
Dynamic Height 2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
29.048 KB
13 Oct, 2023 @ 10:41am
8 Oct, 2024 @ 1:39am
26 Change Notes ( view )

Subscribe to download
Dynamic Height 2

Description
With the release of Enhanced Camera 2 comes the newest iteration, Dynamic Height 2! Featuring the newest and shiniest stolen code! AND ACTUALLY WORKING OPTIONS! WOOOOOOOOOOOOOOO!!!!!!!!!!! Crotch camera can suck a ****! Mine specifically!

Options are found at Spawnmenu>Options>Dynamic Height 2
Client Options:
Dynamic view height mode:
  • 0. Disabled: Disables Dynamic Height for the client.
  • 1. Real time: Tracks and adjust the view height in real time to match playermodel head location.
  • 2. Classic: Statically adjust the view height for standing and crouching to match the playermodel.
Reload model: Forces a model reload. May be useful if the first-person model doesn't update after changing your playermodel for some reason. Removed until further notice. Enable Aggressive Classic Mode: Makes Classic Mode run on PlayerTick rather than on Playermodel/Outfitter Change. (Not recommended) (Similar experience to Dynamic Height 1)
Server Options:
Enable Dynamic Height 2: Enables Dynamic Height 2 for the server. Server Dynamic Mode:
  • 0. Disabled: Disables server enforcement.
  • 1. Real time
  • 2. Classic

Commands:
Client:
dh2_cl_dynamicmode 0/1/2: Choose how your View Height is dynamically adjusted to match your playermodel. dh2_cl_aggressiveclassic 0/1: Makes Classic Mode run on PlayerTick rather than on Playermodel/Outfitter Change. (Not recommended) (Similar experience to Dynamic Height 1). dh2_cl_refresh: Forces a model reload. May be useful if the first-person model doesn't update after changing your playermodel for some reason. Removed until further notice.
Server:
dh2_sv_dynamicheight 0/1: Enables Dynamic Height 2 for the server. dh2_sv_dynamicmode 0/1/2: Choose how your View Height is dynamically adjusted for each player in the server. (Enforced)

Plans:
Better camera smoothing for realtime mode: Smooth out camera movement for sudden changes in height like jump crouching and stairs. Dynamic Hull Adjustment: Adjust hull size to match playermodel. Classic mode bug: Very subtle bobbing not intended when using classic mode. Outfitter support: Enforceable settings: Client mirrored settings that the server host can enforce. Smoothness slider: Smoothness slider for camera smoothing. (Only applicable for Realtime Mode)

Known Issues:
Multiplayer viewbob issue *Update*: Still not sure what this one means. ED_Alloc Engine error on Aggressive Classic Mode: Untested.

Recommended Addons:
Outfitter: Multiplayer Playermodels!: Fullly supported! Smooth Out Stairs: Independent smoothing solution for stairs. (PS: This addon has a viewmodel bobbing issue in multiplayer) First-Person Body: Super streamlined First-person body mod that doesn't have any conflicting features. Dynamic Hull +Outfitter support: Same with above but with Player Hulls instead.

Credits:
Vicky: For Enhanced Camera 2 テクノモンキーDJ: For the original idea.
Popular Discussions View All (6)
6
2 Jul @ 3:35pm
PINNED: Bug Reports
mec fluuri
3
11 Mar @ 9:05pm
camera bugs out in multiplayer
arachnidsGrip
1
29 Dec, 2024 @ 2:41pm
Dynamic height 2 not working in server
HazelBrai
128 Comments
valadezramon1273 10 Jul @ 2:37pm 
Any addons that fix the stairs, the addon that is recommended is gone
CokedBadger 9 Jul @ 8:04pm 
Can you add a feature to unaffect crouch height so my view isn't clipping through stuff like vents? You might me able to make it so that the view height in crouching can go lower but not higher
NyanCatGamer02 30 Jun @ 5:52pm 
I have to clarify that it only happens when the Classic mode is enabled. Aggresive Classic mode and Realtime mode don't have that issue, but the Aggresive Classic mode is kinda performance heavy onto the PlayerTick thing, and the Realtime mode has a weird position when the body distance is rather close on slim playermodels, whereas big and more robust playermodels tend to clip out in the player view
NyanCatGamer02 30 Jun @ 3:39pm 
Can you fix that when you die you have to reset the addon's settings to get it to properly set again?
TheGreenNinja_14 21 Jun @ 9:29am 
plz make it so your camera doesnt go outside the map when youre crouching
Dorotpole 20 Jun @ 9:13am 
lags the shit out of my game
SCP 18 Jun @ 6:57am 
only works when crouching and crouch walking
SCP 18 Jun @ 6:29am 
doesn't work for me
this works really well, way better than others
Ori 12 May @ 8:08am 
Is there a way to tackle an issue when the player is crawling in the vent?