View Single Post
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 07-01-2010 , 22:42   Re: Blockmaker (All-in-One Tutorial)
Reply With Quote #4

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_GLASSTRANSALPHA25525525550); 
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_GLASSTRANSALPHA25525525550); 
to:

PHP Code:
setupBlockRendering(BM_GLASSTRANSWHITE255255255125); 
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!!**
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.

Last edited by GXLZPGX; 07-01-2010 at 22:45.
GXLZPGX is offline