Garry's Mod Leaks

[LEAK] bodyGroupr - The friendly DarkRP bodygroup manager!

Submitted by Moomin, , Thread ID: 130862

Moomin
­
Level:
0
Reputation:
84
Posts:
632
Likes:
91
Credits:
1.98K
18-05-2019, 04:48 PM
#1
[Image: Urdvjap.png]

Description

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.

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.
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.

[spoiler=Images][Image: 074f8397fb136dcb8d3b3e30ca5b6234.png][Image: 166d8c010940726eb91b4cf0d6527a48.png][Image: 1965b1e473e7f32d149f62cbe65885c2.png][Image: 4618b8cb26fb001ba7a7d3e130496fef.png][Image: 7a3f5e6b3f978a3567177e42090ee1c3.png][Image: 896b616c94df7ffb07fd11497d118f11.png][Image: a78cc466b0cf1a40ba25c3ddd58ac933.png][Image: b4430654687495ed8a11d2356149fc2d.png][Image: ddeede892a9cdf441baf60b6a18bd138.png][/spoiler]

Download
Content locked
This content has been locked. Please login or register in order to unlock it.

Users browsing this thread: 11 Guest(s)