Blockland Forums > Suggestions & Requests
Script that corrects the color for weapons with hands
Freeze:
--- Quote from: The Corporation on September 23, 2012, 03:17:20 PM ---Having a bit of a brainfart here, could you re-word that?
--- End quote ---
The maker of the addon makes multiple models, with the only difference between all of them being the colour of the hands. Then, the script detects the right model to use and uses it.
Counter98:
Very, very, very possible, but nowone is going to do it because meatcubes. limited speech because those peple
The Corporation:
--- Quote from: Freeze on September 23, 2012, 03:30:38 PM ---The maker of the addon makes multiple models, with the only difference between all of them being the colour of the hands. Then, the script detects the right model to use and uses it.
--- End quote ---
you can modify the material colors within the script...
Headcrab Zombie:
--- Quote from: The Corporation on September 23, 2012, 07:55:55 PM ---you can modify the material colors within the script...
--- End quote ---
Yeah have fun making a ton of datablocks with various colors
Masterlegodude:
How do custom player models take the color of the player's appearance?
Edit: %client.player.setNodeColor($RLeg[0], %client.rlegColor);
I hardly know anything about scripting, but wouldn't something like that be used? Just replace $RLeg with the node name for the hand on your weapon? Nodes are bones/joints, yes?