Garry's Mod Leaks

[LEAK] bodyGroupr - The friendly DarkRP bodygroup manager!

Submitted by r3dux1337, , Thread ID: 273702

r3dux1337
Novice
Level:
2
Reputation:
0
Posts:
23
Likes:
1
Credits:
25
05-09-2023, 10:38 AM
This post was last modified: 05-09-2023, 10:40 AM by r3dux1337
#1
Today i present to you bodyGroupr, an addon which everyone that played a bit of roleplay in gmod should know

Its very useful, of course there are no backdoors. im not this kind of guy.

Gmodstore Link

DESCRIPTION
Customise playermodel appearance using bodygroups and skins!
Tired of downloading so many playermodels?

Too often have we needed to sit down and wait for hundreds of megabytes of playermodels to download. It's a pain, and we're sick of it.

But what if we didn't have to? What if there was an addon that allowed us to unlock the full potential of many workshop playermodel packs?

Bodygroups, if you haven't heard of them by now, are small changes to a playermodel's appearance (such as clothing) which are included within the model's files. Rather than having separate playermodels for each different item of clothing, bodygroups allow you to interchange, switch, swap, and shuffle your playermodel's appearance to any combination you desire.

When using bodyGroupr, these bodygroups are no longer locked away in the code, and can be accessed freely by the players. This way, you (the owner) can minimize the disk space and network bandwidth that gets wasted each time a new player joins!

"But Arizard, there is no way to change bodygroups in DarkRP!" you say. "The default bodygroup editor is drab and boring, and it's not even usable on DarkRP!"

Fear not, citizen! bodyGroupr is a fast and easy way to customise your playermodel's bodygroups. This addon lets you shuffle between bodygroups that are allowed by the server owner, to customise the appearance of your particular job, just the way you like it.

For example: You want citizens, medics and gangsters to look totally different, but you only want one playermodel pack! The answer is simple: bodyGroupr. Using this addon, you (the owner) can specify which bodygroups are available to certain jobs. Citizens will have access to all the neutral bodygroups, medics will have access to the doctor/medic bodygroups, and gangsters will have access to the thick, grey rebel outfits in the playermodel pack. The best part is - you only need one playermodel pack for all three jobs, instead of one pack for each job. This saves data, power and most importantly, time.

Features
Different skins for different jobs
Different bodygroups for different jobs
Bodygroups can be configured to increase a player's armor
Easy to install
Easy to configure
Easy to use, with an intuitive interface
Supports bodygroups AND skins (including facemaps)
Cheap as chips
Super compatible with Enhanced Citizens V4 by Zelpa
French translation options available
German translation options available (thanks to Ultimate RP!)

How do I install it?
Simply drag and drop the bodygroupr folder into your addons directory
Configure your jobs.lua file to specify which bodygroups should be available to certain jobs - check the README.lua in the bodygroupr folder!
Restart your server

How do I use it?
Hold C to access the context menu
Click on the bodyGroupr icon in the top left of the screen
Select your bodygroups - They will be applied as you edit them.

Configuration
The below code snippet is an example configuration. It includes setting the playermodel, the bodygroups, and the skins for a Job. It also has an example of setting the armor parameters for each bodygroup.

Code:
-- Arizard's bodyGroupr
-- How to edit jobs.lua

--Simple Example
TEAM_CITIZEN = DarkRP.createJob("Citizen", {
color = Color(20, 150, 20, 255),
model = {
"models/player/zelpa/male_04.mdl",
},
description = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]],
weapons = {},
command = "citizen",
max = 0,
salary = GAMEMODE.Config.normalsalary,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

-- !!! LOOK HERE !!! --

skins = {4,5,6}, -- example configuration
bodygroups = {
["torso"] = {0,2,3},
["legs"] = {0,1,2,3,4,5},
["beanies"] = {0,1,2},
["glasses"] = {0,1}, -- these are all examples, please don't actually copy-paste them because they might not work.
} -- check below for playermodels that support this addon, and use the sandbox playermodel selector to check bodygroups.

armorbodygroups = { -- configure armor to give players here (for Prior). first number in the pair is the bodygroup, second number is how much armor to give.
-- eg. in this case, setting the "torso" bodygroup to 2 gives the player 30 armor.
-- Note that armor is only given on spawn, and is reduced if the player takes off the bodygroup.
["torso"] = { {0,10},{1,20}, {2,30} },
["legs"] = {{0,12},{1,13},{2,14}},
}

})

-- some supported playermodels:

-- http://steamcommunity.com/sharedfiles/filedetails/?id=280384240 -- Enhanced Citizens Playermodels [Zelpa]
-- http://steamcommunity.com/sharedfiles/filedetails/?id=283815805 -- Halo 3 Spartan Playermodels [Vipes]
-- http://steamcommunity.com/sharedfiles/filedetails/?id=104491619 -- Metropolice Pack [DPotatoMan]


Closets
Closets are an in-world alternative way to access the bodyGroupr interface. Players can press E on a Closet and it will open the bodyGroupr menu. Server owners can decide to either have permanent, in-world Closets which spawn when the server starts, or they can add the Closet as a shipment, letting players purchase the Closet to edit their appearance.

To make your server Closets-only, navigate to bodygroupr/lua/bodyman/bodyman_config.lua and edit the BODYMAN.ClosetsOnly = false line so that it equals true. This means players will need to use a Closet to access the menu, and they can no longer edit their appearance using the C menu.

If you want permanent Closets:

Hold C to access the context menu
Click on the bodyGroupr Admin Menu icon (It may be abbreviated to "bodyGroupr Ad…" or something similar)
Use the menu to spawn Closets at certain parts of the map
Click "Save Closets" in the Admin Menu. They will now respawn when the map changes.
If you want players to have to purchase Closets:

Simply create a new entity in your entities.lua file, using the entity class bodyman_closet

Playermodel Support
A great playermodel pack to try is Enhanced Citizens v4 by Zelpa - it's 100% compatible with bodyGroupr (in fact, it bodyGroupr was created specifically with this playermodel pack in mind!). If you're looking for more options, try Extended Citizens by Zelpa, which adds even more bodygroups and skins to the existing models in Enhanced Citizens v4.

Works with DarkRP 2.5.X and 2.6.X

Content locked
This content has been locked. Please login or register in order to unlock it.
This hidden content has been reported as still working 0 times this month.
1 times in total

RE: [LEAK] bodyGroupr - The friendly DarkRP bodygroup manager!

CaptainJuezo
Newbie
Level:
1
Reputation:
0
Posts:
11
Likes:
0
Credits:
0
21-02-2024, 10:55 PM
#2
Backdoor free, checked It

RE: [LEAK] bodyGroupr - The friendly DarkRP bodygroup manager!

Kostja#4887
Lurker
Level:
0
Reputation:
0
Posts:
5
Likes:
0
Credits:
1
09-05-2024, 03:38 PM
This post was last modified: 09-05-2024, 03:39 PM by Kostja#4887
#4
I love this addon thx you so much!

Bro the link isint working

Users browsing this thread: 1 Guest(s)