Author Topic: Colorshift Vehicles?  (Read 791 times)

For my Brikmin mod, I needed to know if it was possible to colorshift a vehicle. I want it so I do not have to use a ton of .dts files. I could use one pellet posy or whatever and colorshift each one to be red, blue, and yellow. But not have them paintable. Is this possible?

Maybe if you just make it all white, you can just have multiple scripts for different colored ones.
If you insert this little bit somewhere:
Code: [Select]
doColorShift = true;
colorShiftColor = "0.25 0.25 0.25 1.000";
Then just change the color you want it to be. It's RGB, so the first value is red, second green, third is blue, and the fourth is alpha, or transparency.

I'm not certain it will work, because I hardly script at all, but you could try.

You could use scripts and setNodeColor("ALL",whatevercolor) when they are spawned. Look at the Scooter for use of vehicle onAdd.