Changing Glass Color/Shade
Are you frustrated with your blockmaker's glass? I know, its too dark. Today I will teach you how to change the Shade and the Color. First you will need to download the .SMA which you can download directly by
clicking here. Now you will need to open up the .SMA, doesn't matter what you use, I use Pawn, but you can also use Notepad, Wordpad or any other word processing program.
Now you can use Ctrl + F to search for:
PHP Code:
setupBlockRendering(BM_GLASS, TRANSALPHA, 255, 255, 255, 50);
Now you see 4 numbers. Which are RGBA. They stand for:
[R]ed - 255
[G]reen - 255
[B]lue - 255
[A]lpha -50
The number represents how much of that color is displayed. But the 4th one "Alpha", is how much of the model will be displayed, or how visible it is. Since the Blockmaker is set to use TRANSALPHA, it will use the 4th number. This may be confusing, but if your stupid:
Fourth number = how much pretty block is shown
You will want to change it from:
PHP Code:
setupBlockRendering(BM_GLASS, TRANSALPHA, 255, 255, 255, 50);
to:
PHP Code:
setupBlockRendering(BM_GLASS, TRANSWHITE, 255, 255, 255, 125);
Now your glass is brighter and much easier to see! You can edit the RGB to make it different colors. Hope it was helpful.
**I hope you already know how to compile .sma files!!**
__________________