Garry's Mod

Garry's Mod

339 ratings
Dynamic Height 2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
10.128 KB
13 Oct, 2023 @ 10:41am
23 Oct, 2023 @ 6:08am
13 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 realtime to match the playermodel and pose.
  • 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.
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 to Dynamically adjust your view height to match your model. 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.
Server:
dh2_sv_dynamicheight 0/1: Enables Dynamic Height 2 for the server. dh2_sv_dynamicmode 0/1/2: Choose how to Dynamically adjust view height for all players in the server.

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

Credits:
Vicky: For Enhanced Camera 2 テクノモンキーDJ: For the original idea.
Popular Discussions View All (2)
3
16 Jul @ 3:32pm
This addon creates Ed_alloc errors
The Celestial #FixTF2
0
21 Jul @ 8:35pm
camera bugs out in multiplayer
LucyBun
67 Comments
mack ancheese 14 Jul @ 2:10pm 
Is there a mod similar to this that attaches the camera position and viewmodels to the exact point your head is at?
❄ Želvominus Rex 12 Jul @ 12:36pm 
can confirm, this addon does create ED_Alloc Engine error, never had this error before
GranolahBar 13 Jun @ 8:15am 
How do i fix it not working?
Y!2!K!★ 28 May @ 9:48am 
this crashes my game
ThatGeekyNoLife 17 May @ 5:49pm 
this seems to mess with the camera height when going down using the modern warfare revive system making it stay above in the air instead of lowering almost to the floor as its supposed to and it even messes with the gun positions of arc9 weapons funny enough
Lombaxtard 17 May @ 3:54am 
Gmodfan750 6 May @ 4:56am 
Please fix your mod, It has Ed_alloc errors.
Lombaxtard 28 Apr @ 7:53am 
Smooth Out Stairs works flawlessly with DH2, so for anyone bothered by Source "smoothstairs 1" command not working while in DH2 that's the way to go about it
Ryxis 2 Apr @ 8:20pm 
broken on multiplayer, camera chops up and down for some reason
sAp1 27 Mar @ 5:22am 
this addon DOES create ED_Alloc Engine error, but ONLY in the "Classic" mode.
| some crap gmod generated in "crashes" folder |
v v
Executable: C:\SteamLibrary\steamapps\common\GarrysMod\bin\win64\gmod.exe

-Lua Stack Traces-
==================
Client
*Not in Lua call OR Lua has panicked*

Server
0. Create - [C]:-1
1. GetViewOffsetValue - lua/dynamic_height_2/server.lua:125
2. UpdateView - lua/dynamic_height_2/server.lua:148
3. (null) - lua/dynamic_height_2/server.lua:192
4. (null) - lua/dynamic_height_2/server.lua:195
5. SettingsApplyer - lua/dynamic_height_2/server.lua:212
6. fn - lua/dynamic_height_2/server.lua:228
7. (null) - lua/ulib/shared/hook.lua:109


MenuSystem
*Not in Lua call OR Lua has panicked*