Garry's Mod

Garry's Mod

316 ratings
NPC Bodygroup Manager (Randomize or Apply Saved Customizations on Spawn)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
80.542 KB
2 Feb @ 7:19am
6 May @ 2:53am
48 Change Notes ( view )

Subscribe to download
NPC Bodygroup Manager (Randomize or Apply Saved Customizations on Spawn)

Description
Find it in Spawnmenu > Utilities > NPC Bodygroups Manager Menu > Open NPC Bodygroups Manager GUI

Features:
- Manage NPC skins, bodygroups, and submaterials, and then apply your customizations when they spawned.
- Works on both player-spawned and map-spawned NPCs (if enabled). Saved NPCs should spawn with your customizations.
- Save or edit current NPC's skins, bodygroups, and submaterials from the Context Menu ( pressing c and right-click an NPC).
- 10 perset slot to edit, need to click SaveButton on each presets. Check multiple Checkbox to enable random presets.
- Reset and redo the skins, bodygroups, and submaterials of NPCs in current map (this does not delete saved settings).
- Set skins or specific bodygroups to fully randomized or randomized within a defined range (e.g., randomize only the helmet while keeping other bodygroups unchanged, and what more, if it have 5 helmets, the randomization of helmet can define by typing"0,2,4" to the option after checking random checkbox, then will only randomly shows 0,2,4 but never 1,3).

How to Use:
・Open NPC Bodygroups Manager GUI from Spawnmenu > Utilities, or using Context Menu ( pressing c and right-click an NPC).
・Select an NPC model to edit, customize its skin, bodygroups, and submaterials, then click Save to store your changes. You can now spawn this NPC with your saved settings.
・Click SaveButton on each presets and Click Save button before check or uncheck Extra button.
・To apply customization to NPCs in current map click "Redo NPC Bodygroups" in Spawnmenu.
・To fully randomize the selected NPC model, click "Random When Spawn" instead of saving.
・Saved models and randomized models appear under the "Saved Models" tab, where you can edit or delete them to revert to defaults.
・Randomizing all NPCs on spawn can be enabled by checkbox "random_all_bodygroups_enable" in the Spawnmenu (disabled by default). This will override any saved settings. Besides another checkbox "random_else_bodygroups_enable" will randomize NPCs which not being defined then leave saved settings applicable(recommend).
・Randomized models marks with a "randomized" button, click it can disable randomization. Clicking Save will overwrite fully randomize settings on selected NPCs, and vice versa. To disable randomization, either click Save or delete the saved data.
・Randomize selected bodygroups within a model need to click "random" checkbox behind the slider, and after the checkbox input nothing to random all options, or input the id of the options and separate it with "," to randomize within a defined range (if have 5 options, the id begins with 0, end by 4, so, input "0,2,4" will only randomly shows 0,2,4 but never 1,3), effect after click save button upon the preview model.
・Add an extra checkbox that can save extra bodygroups on spawn when enable in Spawnmenu. After the "npc_bodygroups_manager_extra" checkbox in the menu is checked, there will be an extra checkbox that can be checked on the right side of the module's control panel. Then uncheck the extra in the control panel to save a normal archive for video recording, etc. After checking the extra, save another one for your own use. If you usually use it for yourself, just check the extra in Spawnmenu. If you want to record a video or someone peeks at the screen, uncheck it in Spawnmenu and then click reset and redo, then only the normal archive will be enabled.

Known Issues:
-Some NPC models may not appear in the GUI. If so, spawn them first and use the Context Menu or Toolgun to edit and save.
-Updating the addon may sometimes affect save data. If this happens, click Save again for each affected NPC in the "Saved Models" tab.
-Some enemy NPCs may not apply saved settings correctly due to the way they be spawned. Clicking Redo might help in certain cases.
-If you use NPC replace mods that replace NPC after they being spawned, saved settings will not apply, you need to increase the time of "npc_bodygroups_manager_delay" to let it apply later after they being replaced.
79 Comments
♬♫~Joe Blaze~♫♬ 28 Aug @ 6:38am 
Yep, I am using the edited version, without the randomized bodygroups. It consistently forgets, even though I have my playermodel set to always be the same on respawn.
ColdMoon  [author] 27 Aug @ 10:09pm 
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3418986510
Did you perhaps install this by accident? This one will randomize your PM bodygroups. If that’s not the issue, then try the edited version of Enhanced PlayerModel Selector below.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2257795841
♬♫~Joe Blaze~♫♬ 27 Aug @ 4:28am 
I tried it, It seems to forget this every time I load back into gmod after leaving, Bodygroups seem to be completely different every time.
ColdMoon  [author] 27 Aug @ 4:24am 
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=504945881
Isn’t this a built-in feature? First adjust the bodygroup, then go to the Favorites page and add a new favorite. Be sure to click Apply playermodel—then it’ll be saved every time you start the game.
♬♫~Joe Blaze~♫♬ 23 Aug @ 12:12am 
How about an addon to remember player bodygroups and skins using enhanced pm selector? One where every time you start the game, The bodygroups will be the same was they were last you played.
allejamene091807 12 Aug @ 6:49pm 
Bro, you're a hero for making this. I needed this for a long time, and enjoyed using it for SNPCs with randomized bodygroups.
UNIT1 21 Jun @ 9:56pm 
@ColdMoon
huh neat. I'll pass on my end but i will like other peoples addons
ColdMoon  [author] 21 Jun @ 9:53pm 
@UNIT1 Leave a thumbs up and comment your "Mega Upload" creation and I will be sure to return the favor! :)

Also check out this guide and help a bunch of others if you can:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2959776871
UNIT1 20 Jun @ 4:14pm 
why is this comment section turning into a like festival