Garry's Mod

Garry's Mod

63 次評價
[Base] BodyGroup Based Hands [BGBH]
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
檔案大小
發佈於
更新時間
4.943 KB
2022 年 1 月 19 日 上午 8:21
2022 年 12 月 7 日 上午 10:08
4 項更新註記 (檢視)

訂閱以下載
[Base] BodyGroup Based Hands [BGBH]

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