New API For Equipping Assets on Humanoid Player Avatars

Whenever I change the RightArm on the package, it drops any tool that the character was previously holding by de-welding the Handle.

It would be nice if it just put this back in the player’s backpack, or re-welded the handle instead.

I’m guessing this applies to SeatWelds as well. For now I’m just keeping track of any missing welds and re-adding them after using ApplyDescription

Not lua


6 Likes

Shouldn’t these be Color3 instead of just Color?

image

This code won’t work

local BodyColorProperties = {'HeadColor','LeftArmColor','LeftLegColor','RightArmColor','RightLegColor','TorsoColor'}

local HumDescription = PlayerS:GetHumanoidDescriptionFromUserId(plr.UserId)
local BodyColor = Instance.new('BodyColors')
for i = 1, 6 do
	local v = BodyColorProperties[i]
	BodyColor[v] = HumDescription[v] -- BrickColor.new(HumDescription[v]) 
end

I know that I can do

BrickColor.new(HumDescription[v])

Color is expected to be BrickColor and Color3 is expected to be Color3, which in this case it’s inconsistent

12 Likes

Questions:

  1. Can the HumanoidDescription be saved in a DataStore?
  2. Is this live on all platforms?

Feedback

  1. I would like to have the ability to specify custom accessories (those that are stored in my game only, and not uploaded to Roblox).
10 Likes

Two things:

  • why can’t I use any decal as a face? :c
  • animations don’t work when they’re set to Standard in Game Settings, bug?
8 Likes

You would have to make your own method of saving them (this could be done by making a dictionary where each index is the name of the property and the value is the current value of that property).

5 Likes

Hmm, the R15 characters dying seems to be a thing with R15. Maybe it’s time to look at this old feature request again…

7 Likes

I can confirm this happens as well.

I’ve found it most commonly occurs when applying descriptions using GetHumanoidDescriptionFromUserId(), where body parts differ from the previously applied body parts.

The bug appears to happen roughly every 1 in 10 and is quite a pain as some players get stuck in an endless loop of having the humanoid description applied on spawn then being killed immediately.

7 Likes

@ShapeDemBricks can that be of use for us ?
sounds great anyways.

7 Likes

I’m not sure!
It’d only be useful for Legend of the Eldritch if it also supports custom rigs, but according to the API link, it seems like it doesn’t.

Could anyone let me know whether this system also supports custom rigs optimally? :slight_smile:
Other than that, seems like a great new system!

12 Likes

@CalGamesDev Can you clarify how this new system handles custom characters? For example, say I have a two custom R15 characters: one is very tall, and one is very short (meaning that the skeletons have different bone / Motor6D spacing). If I use HumanoidDescription to switch between the two, can this new system handle such cases in which the bones / Motor6Ds are spaced differently?

6 Likes

The HumanoidDescription system doesn’t work if you’re using a starter character placed in starter player service. You can set anything on a HumanoidDescription, and it should work ok. Please let me know if you experience any problems

6 Likes

Best update of 2019 so far. Can’t wait to use this!

7 Likes

This is kinda cool.

5 Likes

This was a definitely good update; I don’t have to make my own api for this stuff now.

5 Likes

Can you guys add a delta option to Humanoid:ApplyDescription so that it only overwrites values of the Humanoid’s current description if a property of the applied description differs from its default value?

As of right now, loading animation packs from the website as HumanoidDescriptions is picky because it turns your avatar into MrGrey when you apply them.

This change might require the default BodyColor values to be updated to a grey color, but that shouldn’t be a big issue (hopefully… :angry:)

9 Likes

Would have been a good update for me if this feature supported NPCs and StarterCharacters.

Still though, it’s a pretty cool update for people who need it! :slight_smile:

12 Likes

Agreed, it’s too unpredictable to use with NPCs, not to mention adding an Animate script to them still does not always work, even when yielding until after the Animate script runs.

5 Likes

There is a weird behavior with the current implementation of the HumanoidDescription. You’re unable to apply descriptions to any humanoid until atleast 1 player has had their character loaded in the workspace. This prevents Developers from applying outfits when game is just starting and first players are still loading.

HumanoidDescriptionWeirdBehavior.rbxl (21.2 KB)

From the example file we see that Humanoid:ApplyDescription will throw an error and will successfully work when ran again after character is loaded. Is this intended behavior?

8 Likes

I’ve made this into a feature request, as multiple other developers have asked about the feature too:

10 Likes

I really really really really really want to use this feature however I need the ability to use the assets on my profile in my group game. That’s literally the only thing stopping me. I set everything up using a place on my profile not realizing they wouldn’t work in the group game and it took me hours to upload everything to my profile and get the IDs. :frowning:

Edit: I’ve turned this into a Feature Request as I feel that will get more traction

6 Likes