Blockland Forums > Modification Help
survivalRP - holywtf bump! and maybe finishing up some loose ends??
AGlass0fMilk:
UPDATE: I have made the rifle so it colors the hands on it to your Right hand color, here are a couple of pictures showing this:
This is regular ol' me
This is Blue-handed me
And here is AGlass0fChocolateMilk.
Space Guy:
Does it work with all hand colours or your preset ones?
Also, hook?
Azimuth:
black glassofmilk has no pants :o
Space Guy:
The hand on the gun itself looks a little weird, too large at least from that angle. Is the other hand actually holding anything? It looks like there's no handle/grip/whatever...
AGlass0fMilk:
Since Muffinmix textured the hands on the model with the "Blank" texture, the Color shift color determines the hand colors. Here is the mount code:
--- Code: ---function HuntingRifleImage::OnMount(%this,%obj,%slot)
{
Parent::OnMount(%this,%obj,%slot);
HuntingRifleImage.doColorShift = true;
HuntingRifleImage.colorShiftColor = %obj.client.rHandColor;
echo(%obj.RHandColor);
%obj.hidenode("LHand");
%obj.hidenode("RHand");
}
--- End code ---
What that does it gets the Right hand color of your minifig, and then sets the color change color of the rifle image to that.
Ohhh but I dont know if this works with multiple people, I hope so.
--- Quote from: Azimuth on June 07, 2009, 01:32:05 PM ---black glassofmilk has no pants :o
--- End quote ---
Thats the way AGlass0fChocolateMilk likes it bitch.