Garry's Mod

Garry's Mod

461 ratings
Dynamic Player Height
5
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
46.280 KB
Nov 22 @ 8:25am
Nov 29 @ 12:05pm
15 Change Notes ( view )

Subscribe to download
Dynamic Player Height

Description
Yes, this is another addon that adjusts the player's camera height to match the head bone, but this addon, unlike others, has some additions and fixes.

Pros:
  • Fully adapted for multiplayer, features prediction.
  • Height tries to adjust to low ceiling height if the player is crouching.
  • Does not have the air-crouching bug, and the player's camera doesn't fly up/down.
  • Has smooth adaptation for stairs in "Realtime" mode.
  • Should not (at least for me) conflict with Outfitter/Wardrobe/PAC3 and other modifications that change character models.
  • Does not cause the "CUtlRBTree overflow" error.
  • Written using crutches.

Cons:
  • idk haven't thought of any




Commands
(can be found in Utilities > Dynamic Player Height > Settings):

Client-side:
  • dph_cl_dynamicmode < 0 - 2 > - Select dynamic player height mode (currently 2 modes available: Realtime and Classic, 0 - to select no mode)
  • dph_cl_camerasmoothness - < 0.00 - 1.00 > - Player height smoothness in Realtime mode
  • dph_cl_additionaluppos < -16 - 16 > - Additional camera height
  • dph_cl_smoothstairs_realtime_mode < 0 - 1 > - Enable smooth adaptation for stairs

Server-side:
  • dph_sv_dynamicheight < 0 - 1 > - Enable dynamic player height
  • dph_sv_dynamicmode < 0 - 2 > - Force a dynamic player height mode for players
  • dph_sv_dynamichull < 0 - 1 > - Enable modification of the player's "hull" (box) used for collision
  • dph_sv_vent_compat < 0 - 1 > - Enable compatibility with vents and similar holes that have narrow space
  • dph_sv_xy_bounds < 0 - 1 > - Change the player's "hull" along X/Y axes
  • dph_sv_trust_client_data < 0 - 1 > - Enable trust in client data (if disabled, height limits are noticeably narrowed, and player hull modification is disabled)

Shared:
  • dph_reload - Reload addon
88 Comments
McFeddle Nov 29 @ 7:05am 
Sounds like this mod needs to factor compatibility, given the recent comments.
blobmin Nov 29 @ 2:12am 
hl2 barnacles does not pull you up when 'adjust player's hull size' is enabled
gamingdragon560 Nov 28 @ 10:38pm 
does this fix the small charcters in chairs issue?
Asura Nov 28 @ 8:07pm 
i am also noticing arc9 guns bugging out with the third person animations on, either its an ar9 bug, a bug with this addon, or some weird code messin with each other. thoe tbh i dont care to much.
Layman's Terms Nov 28 @ 6:10pm 
is there any dice for npc support as well? npcs bigger than usual can't be headshot because their hull is still the default proportions

npc support or not tho, this kicks ass and the realtime mode is surprisingly satisfying under the right conditions
RoyRyan Nov 28 @ 2:32pm 
for some reason, when i use smaller PMs and crouch, it kills me. my crouch isn't bound to a the kill key. Its also ONLY with really small player models, not just anything less than average height
NODRVZ2005 Nov 28 @ 2:03pm 
Is crouch-jump "dejankifier" unnecessary with this addon installed?
КамазОтходов05  [author] Nov 28 @ 2:20am 
arc9 bug, not my addon
zwaggi Nov 28 @ 1:43am 
I'm not sure if anyone has the same issue but if I'm using ARC9 weapons, my playermodel's arms keep snapping back and forth when viewed from third person
mtbNTB Nov 27 @ 6:53am 
@КамазОтходов05 Thanks man, you're the mvp of these QOL addons