Garry's Mod

Garry's Mod

63 vurderinger
[Base] BodyGroup Based Hands [BGBH]
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: ServerContent
Filstørrelse:
Offentliggjort:
Opdateret:
4.943 KB
19. jan. 2022 kl. 8:21
7. dec. 2022 kl. 10:08
4 ændringsbemærkninger ( vis )

Abonner for at downloade
[Base] BodyGroup Based Hands [BGBH]

Beskrivelse
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 kommentarer
Shaky  [ophavsmand] 1. juli 2023 kl. 14:42 
Этот аддон бесполезен, ибо с недавним обновлением завезли то что делает этот аддон в базу игры
20. juni 2023 kl. 12:39 
Смысла не вижу в данном аддоне тк есть другой более лёгкий
Bubbs 23. jan. 2023 kl. 14:08 
all my mod files are GMA files so i cant casually open them
Another Spy 27. dec. 2022 kl. 2:14 
Hello
I love you
sunny 10. nov. 2022 kl. 20:09 
хуйня сложно
Mortar' 13. okt. 2022 kl. 9:50 
Shaky ахуенен.
1000 гильз пид--
BOOM its me 13. okt. 2022 kl. 6:09 
я хотел чтобы руки были черными спс шаки:steamhappy:
fristen 13. okt. 2022 kl. 4:49 
я бы поставил, "юморительно" но не могу(
Shaky  [ophavsmand] 22. sep. 2022 kl. 22:07 
directory for your lua files should be lua\shaky\bgbh\(your lua here)
Post Man 22. sep. 2022 kl. 20:00 
Where's the directory?