Garry's Mod
650 คะแนน
CLegs
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay, Realism
ขนาดไฟล์
โพสต์
อัปเดต
23.386 KB
18 ธ.ค. 2024 @ 12: 54pm
28 ธ.ค. 2024 @ 10: 11pm
11 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
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
กระดานสนทนายอดนิยม ดูทั้งหมด (2)
5
28 ธ.ค. 2024 @ 4: 34am
Plz fix!
notMarmalade98_
4
25 ธ.ค. 2024 @ 1: 48pm
ถูกปักหมุด: Incompatible Addons
Samuels' Chili Shop
177 ความเห็น
дабстеп мытищи 6 ธ.ค. @ 3: 38am 
so about the shadow thing, the 'First Person Body' addon is feature-wise the best implementation possible, it solves the shadow issue by drawing its own.the only drawback being its performance hit. so CLegs is still the best option performance-wise, for low-end PCs and such
Eris Vizierre 5 ธ.ค. @ 9: 05am 
So sometimes, when I noclip out of the map, and then noclip back in, my legs completely stop rendering. But otherwise, this is probably my most favorite legs mod on the workshop.
afxnatic  [ผู้สร้าง] 24 พ.ย. @ 11: 52am 
its because legs are offset from where your player actually is
дабстеп мытищи 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
дабстеп мытищи 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  [ผู้สร้าง] 21 พ.ย. @ 9: 03pm 
there are multiple possible causes. try setting cl_legs_safebones to 1 and disabling any other view addons you have
дабстеп мытищи 21 พ.ย. @ 10: 44am 
some playermodels have problems, for example citizen gordon freeman

he lost his knees :steamhappy:
ApertureMesa 13 พ.ย. @ 5: 36am 
Some addon probably causes it. Idk which one.
afxnatic  [ผู้สร้าง] 12 พ.ย. @ 4: 48pm 
no idea, has never happened to me
ApertureMesa 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?