Blockland Forums > Modification Help

Item Transparency

Pages: << < (4/9) > >>

Mr.Noßody:

Ive tried taking the "()" away, using true, false, False/True, changing the color shift values, adding an extra 0 to the end of said color shift values. None of that worked.

What am I missing?

Mr.Noßody:

Still need help.

Chrono:

both colorshiftColor = "0 0 0"; and colorshiftColor = "0 0 0 0"; will be completely black and completely invisible.

Also
doColorShift = true;

Mr.Noßody:


--- Quote from: Chrono on July 05, 2011, 01:57:23 AM ---both colorshiftColor = "0 0 0"; and colorshiftColor = "0 0 0 0"; will be completely black and completely invisible.

Also
doColorShift = true;

--- End quote ---

I have tried true, each time it comes out black or invisible like you said with the "colorshiftColor". With "doColorShift = true;" alone, it spawns solid.

Chrono:

Here's how colorshift works


--- Code: ---0 0 0 0 = black invisible
r g b a
--- End code ---

If you understand how RGBA works, you need to set the 0s to a decimal number between 0-1.

In RGBA, it's between 0-1, 0-255, or 0-FF. In this case, 0-1.
So if you wanted it to be red: 1 0 0 1
If you wanted it to be red and slightly transparent: 1 0 0 0.9

etc.

Pages: << < (4/9) > >>

Go to full version