Garry's Mod

Garry's Mod

555 betyg
Dynamic Player Height
6
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
46.531 KB
22 nov @ 8:25
12 dec @ 8:40
18 ändringsnotiser ( visa )

Abonnera för att ladda ner
Dynamic Player Height

Beskrivning
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:
  • arc9 tpik incompatible. contact the arc9 developers to fix this, because it's not my issue




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

PM: https://steamcommunity.com/sharedfiles/filedetails/?id=3412761318
98 kommentarer
КамазОтходов05  [skapare] 18 timmar sedan 
:steamthumbsup:
Swamp Caribou 18 timmar sedan 
Ok, so instead of clamping the camera, you can enable or disable with server commands to make it le smooth camera movement. Also le bug fixes.

Thank you mate.
КамазОтходов05  [skapare] 21 timmar sedan 
open eyes and read the description
Swamp Caribou 22 timmar sedan 
NODRVZ2005 9 dec @ 19:54 
Still not fixed for me, the props still go flying when i noclip into them
Juhopi[FIN] 9 dec @ 10:18 
Indeed it is. Thank you!
КамазОтходов05  [skapare] 9 dec @ 9:22 
@NODRVZ2005, @Juhopi[FIN] should be fixed
Eql 6 dec @ 20:15 
also doesn't work with the Player Tumbler addon in multiplayer for some reason, works fine otherwise
Eql 6 dec @ 17:14 
In the addon settings if you untick "trust client updates for hull size and view offset" you'll stop exploding when you crouch as a small player model.
Juhopi[FIN] 6 dec @ 14:41 
Seems like when the hull size is lower that 16 or 15 on the X and/or Y axis, the camera gets pushed to ground level. So making the minimum size 16 would fix the issue.