Author Topic: How can I color a vehicle?  (Read 1142 times)

Well, I know how to color a player and a brick, but I want to color a vehicle. I tried setskinname and SetTempColor, but they didn't work...what do I use and does it need to be a specific color (Ex. colors in colorset) or a color ID?


DarkKnight, that's rather useless.

First the color parts on a vehicle must be White, then its basic from there on. Modeling isn't about coding its about know what the fudge your doing.

Badspot

  • Administrator
%vehicle.setNodeColor(<"ALL" or mesh name>, <rgba color>);

examples

%vehicle.setNodeColor("ALL", "1 0 0 1"); will color the entire vehicle red

%vehicle.setNodeColor("Door", "0 0 1 1"); will color just the mesh named "Door" of the vehicle blue.  Note: I haven't tested this on vehicles and the jeep is currently all one mesh, so you can't do it to the jeep anyway. 


April.
2007.
You dumbforget.