Garry's Mod

Garry's Mod

63 ratings
[Base] BodyGroup Based Hands [BGBH]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
File Size
Posted
Updated
4.943 KB
19 Jan, 2022 @ 8:21am
7 Dec, 2022 @ 10:08am
4 Change Notes ( view )

Subscribe to download
[Base] BodyGroup Based Hands [BGBH]

Description
What is that?
This is a addon that give you ability to edit playermodel hands based on bodygroups/skin it use
This is just a base, so if any addon doesn't support this feature it wont work.

How do i use it?
First what you need to do is download the addon of course, then you need to have a model that has skins/bodygroups for hands and the playermodel

after that create a lua file with in the directory: lua\shaky\bgbh\, name of your lua file doesn't matter

if you done everything right it should look like this
myaddon\lua\shaky\bgbh\mylua.lua

Functions
this addon adds 2 functions
the first one is for bodygroups the other is for skins

bgbh.RegisterBodyGroup(modelpath, bodygroup name/id for the model, id that it will set this bodygroup, bodygroup name/id for the hands model, id that it will set to)

bodygroup id count starts from 0

bgbh.RegisterSkin(modelpath, id of the skin for model, if of the skin for hands)

the skin count starts from 0

Example
bgbh.RegisterBodyGroup("models/mycoolmodel/me.mdl", "jacket", 1, "jacket_arms", 2)
if the bodygroup with the name jacket would be set to 1 for model with the path "models/mycoolmodel/me.mdl" then it will set bodygroup hands with the name "jacket_arms" to 2

bgbh.RegisterSkin("models/mycoolmodel/me.mdl", 1, 2)
if the skin for the model is set to 1 then it will set the skin for the hands to 2

Credits
  • Shaky - Creator of the addon
  • 1000 Shells - Preview
10 Comments
Shaky  [author] 1 Jul, 2023 @ 2:42pm 
Этот аддон бесполезен, ибо с недавним обновлением завезли то что делает этот аддон в базу игры
Y 20 Jun, 2023 @ 12:39pm 
Смысла не вижу в данном аддоне тк есть другой более лёгкий
Bubbs 23 Jan, 2023 @ 2:08pm 
all my mod files are GMA files so i cant casually open them
Another Spy 27 Dec, 2022 @ 2:14am 
Hello
I love you
sunny 10 Nov, 2022 @ 8:09pm 
хуйня сложно
Mortar' 13 Oct, 2022 @ 9:50am 
Shaky ахуенен.
1000 гильз пид--
BOOM its me 13 Oct, 2022 @ 6:09am 
я хотел чтобы руки были черными спс шаки:steamhappy:
fristen 13 Oct, 2022 @ 4:49am 
я бы поставил, "юморительно" но не могу(
Shaky  [author] 22 Sep, 2022 @ 10:07pm 
directory for your lua files should be lua\shaky\bgbh\(your lua here)
Post Man 22 Sep, 2022 @ 8:00pm 
Where's the directory?