Raised This Month: $51 Target: $400
 12% 

Blockmaker [Changing Glass Color/Shade]


Post New Thread Reply   
 
Thread Tools Display Modes
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
Redfalcon
BANNED
Join Date: Sep 2009
Location: Prison Break
Old 10-24-2009 , 18:20   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #2

Great really needed this one
Redfalcon is offline
Send a message via MSN to Redfalcon
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 10-25-2009 , 06:15   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #3

If there are other common problems or questions with blockmaker I'd suggest you to try to expand your tutorial.
__________________
In Flames we trust!
Nextra is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 10-25-2009 , 08:36   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #4

adding blocks is (or at least was) very often asked for so you can add that (sure i wrote one in a thread in suggestions but that was a real crappy one )
micke1101 is offline
Redfalcon
BANNED
Join Date: Sep 2009
Location: Prison Break
Old 10-25-2009 , 12:15   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #5

Micke1101 thiere is already a tutorial how to add blocks.
Redfalcon is offline
Send a message via MSN to Redfalcon
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 10-25-2009 , 20:19   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #6

Quote:
Originally Posted by Redfalcon View Post
Micke1101 thiere is already a tutorial how to add blocks.
Yes but it doesn't go into detail. It just teaches you how to copy a block. It doesn't teach you how to add blocks such as deagles or awps. I'll do that in the next tutorial I write.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 10-26-2009 , 01:51   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #7

Quote:
Originally Posted by Redfalcon View Post
Micke1101 thiere is already a tutorial how to add blocks.
another one besides the one i wrote?
micke1101 is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-26-2009 , 08:53   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #8

Quote:
Originally Posted by micke1101 View Post
another one besides the one i wrote?
Yes.
SnoW is offline
Send a message via MSN to SnoW
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 10-26-2009 , 17:33   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #9

Quote:
Originally Posted by GXLZPGX View Post
Yes but it doesn't go into detail. It just teaches you how to copy a block. It doesn't teach you how to add blocks such as deagles or awps. I'll do that in the next tutorial I write.
If you mean a 'next' tutorial as a separate one - I'd suggest to just carry all important stuff together in this thread to make a list of blockmaker F.A.Q. and their solutions.
__________________
In Flames we trust!
Nextra is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 10-30-2009 , 17:46   Re: Blockmaker [Changing Glass Color/Shade]
Reply With Quote #10

Quote:
Originally Posted by Nextra View Post
If you mean a 'next' tutorial as a separate one - I'd suggest to just carry all important stuff together in this thread to make a list of blockmaker F.A.Q. and their solutions.
Do you mean to create one topic, and just create a list of things for users to go through? Sounds like a decent idea.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
Reply



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 11:48.


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