Garry's Mod

Garry's Mod

191 ratings
Legs Script (NS Cyberpunk version)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool, Effects, Model
Addon Tags: Fun, Roleplay, Realism
Tags: misc
File Size
Posted
Updated
4.509 KB
15 Feb, 2016 @ 1:37am
15 Feb, 2016 @ 2:20am
2 Change Notes ( view )

Subscribe to download
Legs Script (NS Cyberpunk version)

Description
NOTE: this has no relation to Gmod Legs 3, which was developed by blackops and Valkyrie. Any doubters can compare the code, and find that it is completely different (or simply go underwater and look down in both addons). GMOD Legs 3 is its own addon (a really good addon), this is simply an alternative.

Description

See your legs, simple as that. Now works with bodygroups, unless you're using an addon that updates your playermodel, such as Live Model Update.

I'm not a Lua coder and take no credit for writing any of this code. It is from a public gamemode called Cyberpunk, which is a schema of Nutscript, an open-source roleplay framework, and the code is available online on Github. It seems that this one also derives a little from the Elevator:Source version, and there's definitely a lot more lua files floating around out there with similarities and differences, so who knows who wrote what. You'll find that there is also an aptly named "Legs mod" floating around Workshop: it is the same derived script, except without crediting anyone. The only difference with my version is that I made it so that the drawn playermodel should update bodygroups when you change them in the playermodel selector.

Is there a reason to use this rather than GMod Legs 3 or something else?

There really isn't. Though there are several implementations scattered around the internet for drawing your legs, all of them follow similar principles. Compared to GMod Legs 3, this one happens to have the blurry overlay drawn over the viewmodel legs when you are underwater (at least in gm_construct): otherwise the effect seems entirely identical to that GMod Legs, just coded differently. Of course, there could be detriments to this version I haven't noticed, I'm just putting it out there.

Console commands

There are two console commands:
cl_legs 1/0 (enable/disable drawing legs)
cl_legs_vehicle 1/0 (enable/disable drawing legs in vehicles)
48 Comments
engine 14 Dec, 2023 @ 6:26pm 
sgel
Lombaxtard 22 Oct, 2023 @ 4:35pm 
It really doesn't work anymore, unfortunately
Tested on clean GMod with no addons and cl_legs set to 1
outrotricks 2 Feb, 2023 @ 6:03am 
ah yes we love the L E G S
zzombhunter 29 Sep, 2022 @ 5:21pm 
@Neneyy read the desc under console commands and type cl_legs 1 in the console
Ike 21 Mar, 2022 @ 2:44pm 
it don'ted worksded :sob::::
Nuclear Swag 4 Feb, 2022 @ 5:05pm 
I dont understand what is the command? It isnt working if i copy and paste it
Space Squirrel 3 Oct, 2021 @ 7:12am 
It is a script doe.
Maybe if there is a model for Gordon freeman then would it work?
MrPoker 3 Oct, 2021 @ 6:47am 
@spacesquirll well, it's pointless because the model is not Gordon freeman.
Space Squirrel 30 Sep, 2021 @ 7:55am 
Can you make this for hl2 please?
Dragai 14 Aug, 2021 @ 7:42pm 
legs 3 remake