Garry's Mod

Garry's Mod

1,581 个评价
Animated Ladder Climbing
7
2
4
4
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐, 写实
文件大小
发表于
更新日期
10.734 KB
2023 年 1 月 18 日 上午 9:06
2023 年 3 月 9 日 上午 1:18
4 项改动说明 ( 查看 )

订阅以下载
Animated Ladder Climbing

在 Mercury, 80Hg 的 2 个合集中
Mods that use Mixamo Movement Animations
4 件物品
Mods that use CalcView Priority System
3 件物品
描述
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]
热门讨论 查看全部(5)
5
3 月 16 日 下午 1:04
I found a bug!
Health Inspector
1
9 月 23 日 上午 10:38
Facing backwards while climbing
marshalman22
0
9 月 3 日 下午 7:34
bug
mr sugar
313 条留言
Mercury, 80Hg  [作者] 10 月 23 日 下午 4:46 
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 10 月 23 日 下午 2:14 
Holy heck! I didn't know you could set Lua settings in the console!!
Mercury, 80Hg  [作者] 10 月 23 日 上午 11:56 
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 10 月 23 日 上午 11:35 
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  [作者] 10 月 23 日 上午 6:44 
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 10 月 23 日 上午 5:16 
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  [作者] 9 月 24 日 上午 2:32 
Pretty sure it’s just a clean version of the first HL2 coast map
samt 9 月 23 日 下午 6:53 
what's the map in the first gif
AntonCena 9 月 22 日 上午 8:54 
У меня одного не работал аддон, когда я его скачал?
Mercury, 80Hg  [作者] 9 月 21 日 上午 5:00 
thanks