Garry's Mod

Garry's Mod

63 értékelés
[Base] BodyGroup Based Hands [BGBH]
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: ServerContent
Fájlméret:
Közzétéve:
Frissítve:
4.943 KB
2022. jan. 19., 8:21
2022. dec. 7., 10:08
4 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
[Base] BodyGroup Based Hands [BGBH]

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