Garry's Mod

Garry's Mod

1,581 ratings
Animated Ladder Climbing
7
2
4
4
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
Updated
10.734 KB
18 Jan, 2023 @ 9:06am
9 Mar, 2023 @ 1:18am
4 Change Notes ( view )

Subscribe to download
Animated Ladder Climbing

In 2 collections by Mercury, 80Hg
Mods that use Mixamo Movement Animations
4 items
Mods that use CalcView Priority System
3 items
Description
Animated Ladder Climbing
After, well... who knows how many years it has been since GMod's release at this point, ladder climbing has been stuck with dull floating playermodels...

Until now!

Thanks to the release of wiltOS' DynaBase, we don't have to worry about limited slots when extending animations anymore. This has finally given me the motivation to make this addon. It's not perfect, and it was a pain in the ass to make because of our beloved Source engine.

Requires DynaBase and my Mixamo animations pack!

Has CalcView Priority System support.

Console Commands
ALC_ClimbCam 0/1 - Enables or disables immersive climbing camera. (Requires CVPS)
ALC_HolsterWeapon 0/1 - Enables or disables weapon holstering/unholstering on ladder mount/dismount.

Quirks and currently known bugs
  • This will only work for func_useableladder type ladders. This means that the freeform ladders from CSS, CS GO and L4D will not play any animations. This is due to the fact that I have no way to detect when a player gets on/off them.
  • Ladders slanted back may look very wrong, due to the way the direction the player is forced to look when climbing is calculated. That said, I don't think there are many maps that have those, and if they do, I deem them heretical.
  • Player direction may be off when climbing. Again, this is due to the way the direction is calculated. I simply do not have enough information from the ladder entities to calculate a perfect view direction.
  • Player ladder slanting has been disabled as it seems to break the climb animations.
  • Crane ladders can break the player until you get on a different ladder.

Misc Notes
This addon forces the player to holster their weapon, look at the ladder, and disallows weapon switching while climbing. This has the potential to conflict with other ladder-related addons.

This also means that you cannot shoot while on a ladder. I would like to look into a remedy for this in the future, but it would require new animation sets for holding/shooting/reloading a weapon mid-climb.

The future/To-do
  • Look into rotating the player towards the ladder using a poseparameter instead of forcing the real player angle Done through Lua with SetRenderAngles()
  • Look into allowing shooting while climbing Made holstering optional which allows that. Need to look into ladder weapon aim animations.
  • Look into making custom ladder entities you can spawn, which would succeed the archaic ladder tool on the workshop.

Support Links

[ko-fi.com]
[ko-fi.com]
Popular Discussions View All (5)
5
16 Mar @ 1:04pm
I found a bug!
Health Inspector
1
23 Sep @ 10:38am
Facing backwards while climbing
marshalman22
0
3 Sep @ 7:34pm
bug
mr sugar
313 Comments
Mercury, 80Hg  [author] 23 Oct @ 4:46pm 
It’s not a “setting” per se, you can just run any Lua code through the console (provided it fits in the console character limit)
Spooky Vanilla 23 Oct @ 2:14pm 
Holy heck! I didn't know you could set Lua settings in the console!!
Mercury, 80Hg  [author] 23 Oct @ 11:56am 
Well in the meantime that there isn't such an addon. You can do this in the console in Singleplayer.

lua_run Entity(1):SetLadderClimbSpeed( 100 )

100 can be whatever you want ofc.
Spooky Vanilla 23 Oct @ 11:35am 
Oh jeez hahahaha. Yeah, I kinda wished there was a way to slow down climbing speed then. Specially since that would play very well with the "What a thrill" addon which adds a song when you have been climbing for a while.
Mercury, 80Hg  [author] 23 Oct @ 6:44am 
Anim speed depends on actual climb speed, which is just an absurd speed for a human being by default. As for the direction facing, yeah not much I can really do about that.
Spooky Vanilla 23 Oct @ 5:16am 
The animation looks way too fast and janky, but it does work. Although, you mentioned a bug where the player will sometimes look at the wrong direction in certain ladders, so is kinda funny that literally the first ladder you ever encounter in the game during the ladder tutorial for the intro, is one of the ladders that playes the animation with your character looking to the complete opposite direction lol


Buuuut, besides that.... it works! Thank you very much for your work!
Mercury, 80Hg  [author] 24 Sep @ 2:32am 
Pretty sure it’s just a clean version of the first HL2 coast map
samt 23 Sep @ 6:53pm 
what's the map in the first gif
AntonCena 22 Sep @ 8:54am 
У меня одного не работал аддон, когда я его скачал?
Mercury, 80Hg  [author] 21 Sep @ 5:00am 
thanks