Garry's Mod

Garry's Mod

647 ratings
CLegs
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
23.386 KB
Dec 18, 2024 @ 12:54pm
Dec 28, 2024 @ 10:11pm
11 Change Notes ( view )

Subscribe to download
CLegs

Description
first-person legs, based on a clientside entity unlike other solutions which use a clientside model



Features that are cool
  • very optimized and vastly faster than competing solutions (super rough estimate ~0.05ms from lua cost per frame)
  • matches players real model as much as possible (renderFX, decals, pose parameters)
  • rough support for weapons being enabled in vehicles



Convars
Name
Purpose
cl_legs
0/1 - Enables/disables legs rendering.
cl_vehlegs
0/1 - Enables/disables legs rendering in vehicles.
cl_legs_offset
10 <--> 45 - Offset of legs from your player.
cl_legs_angle
-10 <--> 10 - Angle of legs. 0 by default.
cl_legs_safebones
0/1 - If enabled, scales bones with a safer method at the risk of causing view clipping. Should be enabled by those experiencing anything similar to this[files.catbox.moe].

Concommands
Name
Purpose
cl_legs_toggle
Toggles legs rendering on and off.
cl_legs_refresh
Removes and recreates the legs entity.



Issues



Github: https://github.com/chiraqoRP/CLegs



realism gmod legs 3 firstperson first person
Popular Discussions View All (2)
5
Dec 28, 2024 @ 4:34am
Plz fix!
notMarmalade98_
4
Dec 25, 2024 @ 1:48pm
PINNED: Incompatible Addons
Samuels' Chili Shop
175 Comments
afxnatic  [author] Nov 24 @ 11:52am 
its because legs are offset from where your player actually is
дабстеп мытищи Nov 23 @ 2:28am 
I tried with Real CSM addon too

I understand that CSM draws the shadow from playermodel and legs are basically modified version of it (for example the angle setting) so that's why it will be impossible to sync the legs with shadow (for example, if you change the angle, the actual worldmodel of you is still the same and that creates inconsistency between your legs and your shadow)
but maybe there's a way to draw legs without any modification and that will work?
not asking to develop anything, i just want to hear your thoughts on it
дабстеп мытищи Nov 23 @ 2:16am 
im not sure what helped but it fixed itself, citizen gordon works now!

but there's this little problem, i just wonder how would one go about this technically, or is it impossible to solve: https://files.catbox.moe/052u5z.png

basically, shadow and legs are not synchronized and that looks off
afxnatic  [author] Nov 21 @ 9:03pm 
there are multiple possible causes. try setting cl_legs_safebones to 1 and disabling any other view addons you have
дабстеп мытищи Nov 21 @ 10:44am 
some playermodels have problems, for example citizen gordon freeman

he lost his knees :steamhappy:
ApertureMesa Nov 13 @ 5:36am 
Some addon probably causes it. Idk which one.
afxnatic  [author] Nov 12 @ 4:48pm 
no idea, has never happened to me
ApertureMesa Nov 12 @ 11:47am 
Probably the best first person legs addon, only issue I have for now is that the legs sometimes disappear when noclipping, can that be fixed?
RagingReploid Oct 23 @ 2:42am 
For those having problems with Dynamic Height 1 paired with this mod, try Dynamic Height 2:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3050234499

Set client and server settings to "classic" mode, then your leggys will show when looking down in that mode, but not in "realtime" mode. And be sure to turn off "aggressive classic."
Janiowy Jul 25 @ 9:22am 
xD really sorry! i dont have The Ability To Read installed :/