Raised This Month: $ Target: $400
 0% 

Blockmaker [Changing Glass Color/Shade]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 10-23-2009 , 23:13   Blockmaker [Changing Glass Color/Shade]
Reply With Quote #1

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.

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; 11-30-2014 at 04:27.
GXLZPGX is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode