Homeworld Effects Manual: setColorScheme()

setColorScheme(int colorScheme)

Makes a mess of textures.

colorScheme can be an integer constant, or integer variable. But it hardly matters.

I was very excited when I found this command. It sounds really cool. Perhaps I could use it to make a gravwell effect that displays holographic ships in the colors of the enemy, or something else similarly nifty. Alas, this command is useless. If colorScheme is zero, the command has no effect. Setting it to other values replaced the textures of the object I was testing with strange and twisted textures. Sometimes the textured were mis-applied, with a cockpit stretched across the engine, but sometimes other texture files which had nothing to do with my mesh somehow appeared. Other times, some or all of the mesh was blank. I recommend not using it.