Author Topic: Body part coloring  (Read 1088 times)

How would I my playertype's arms according to their current arm color? What about making their face their current face decal?



1. How would I my playertype's arms according to their current arm color?

2. What about making their face their current face decal?

1. The forget?

2. Can't answer until you elaborate for number one.

It's pretty clear. He wants his roblox player or whatever the forget to colour according to their minifig's settings.
Also, I'm thinking something like this:
Code: [Select]
package somepackagename
{
function GameConnection::applyBodyColors(%client)
{
Parent::applyBodyColors(%client);
if(%client.player.dataBlock $= "yourplayerdatablockname")
{
%client.player.setNodeColor("yourrarmnodename",%client.rArmColor);
%client.player.setNodeColor("yourlarmnodename",%client.lArmColor);
}
}
};
activatePackage(somepackagename);
Not sure if that'll work, but the final product will be something similar.

What is the one for head? What about mounting decals?



headskin is head?
Code: [Select]
%client.player.setNodeColor("Head",%client.HeadskinColor);Makes head all shiny.

Code: [Select]
%client.player.setNodeColor("Head",%client.HeadskinColor);Makes head all shiny.
Post a picture of what you mean.

Post a picture of what you mean.
See the cutout in the right shoulder? The head is doing that.

Try %client.player.headskincolor

Try %client.player.headskincolor
It's just %client.headcolor

The head works now, but what about decal mounting to the face?

If you named all the nodes the same, I don't see what's stopping you from using:

Code: [Select]
%client.applyBodyColors();
%client.applyBodyParts();