Post: How to change colors on HUD Stuff
10-26-2010, 08:28 AM #1
EliteMossy
TheDigitalBoard.com
(adsbygoogle = window.adsbygoogle || []).push({}); I have seen this question asked lots of times, and thought i would share how to work out the colors

notifyData.titleText="Thank you";
notifyData.notifyText="For Joining Session!";
notifyData.glowColor=(1.0, 0.0, 0.0);
notifyData.duration=5;
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);

I will tell you how to change the colors for certain things and this does not apply to just this example.

The value for colors are "Floating Point", meaning it starts 0.0 (black) to 1.0 (full color).

So:
notifyData.glowColor=(0.0, 0.0, 0.0);
will make a black Glow!

and
notifyData.glowColor=(1.0, 1.0, 1.0);
will make a white Glow!

To work out these numbers, simply divide the RGB color by 255

So basic math, tells 0/255 must equal 0. You can not divide 0 from 255. Also basic math tells us 1/255 must be 1, as you can not share it any where else.

So to get your RGB you can use a calculator to work out the floating point value

R: 200/255, G: 50/255, B: 150/255 to get you're selected color.

If you want to save time, you could do this

notifyData.glowColor=((200/255),(50/255),(150/255));

So i hope that helps people. This also applies to the tree-patches shaders and backgrounds.

Best regards Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 19 users say thank you to EliteMossy for this useful post:

Blackstorm, BobbyDee, DEREKTROTTER, DR-Dizzy, Dreamcather, Grandad Trotter, Hughseyy, Kameo, Macdaddy4sure, mattbettiol, Merkii, Mr. PSjailbreak, MV-rockers, NGU_MVRz, Th3RedEye, TheMagicN, x_DaftVader_x, xSkullz-, XxprokillahxX
10-26-2010, 10:09 PM #20
Reaper
The Grim Reaper
Great Info here :y:
10-26-2010, 10:35 PM #21
AlabamaHit
ROLL TIDE!!!
Originally posted by Bigbadpaul2 View Post
Hes a fakeee



Everyone knows that me and Mossy don't usually get along.

But he is defently "Not" fake..

He contributes more than most to this site.

Originally posted by EliteMossy View Post
Think what you like Smile



I know there was no point to quote you, I just wanted you to see that I know we don't get along all the time but I do respect you.

The following 2 users say thank you to AlabamaHit for this useful post:

Bigbadpaul2, EliteMossy
10-27-2010, 12:09 PM #22
Youre a ******* you need to ***** so shut the **** up kid


Thank me for ripping this *****
11-02-2010, 07:11 PM #23
Rokiz
Death is hereditary
Originally posted by TheLegislator View Post
what if you go negative? as in notifyData.glowColor=(-200/255)?


Rep for Tupac!

The following user thanked Rokiz for this useful post:

0xFa1z
11-02-2010, 08:54 PM #24
FrozN
Look up my Patch Edits :P
nice, thanks alot.
11-07-2010, 01:43 AM #25
i love coloured clan tags
11-07-2010, 02:51 AM #26
Originally posted by Bigbadpaul2 View Post
Youre a ******* you need to ***** so shut the **** up kid


Thank me for ripping this *****

Your retarded do us all a favor and get of this forum
11-07-2010, 12:20 PM #27
Merkii
Former Staff
Originally posted by EliteMossy View Post
I have seen this question asked lots of times, and thought i would share how to work out the colors

notifyData.titleText="Thank you";
notifyData.notifyText="For Joining Session!";
notifyData.glowColor=(1.0, 0.0, 0.0);
notifyData.duration=5;
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);

I will tell you how to change the colors for certain things and this does not apply to just this example.

The value for colors are "Floating Point", meaning it starts 0.0 (black) to 1.0 (full color).

So:
notifyData.glowColor=(0.0, 0.0, 0.0);
will make a black Glow!

and
notifyData.glowColor=(1.0, 1.0, 1.0);
will make a white Glow!

To work out these numbers, simply divide the RGB color by 255

So basic math, tells 0/255 must equal 0. You can not divide 0 from 255. Also basic math tells us 1/255 must be 1, as you can not share it any where else.

So to get your RGB you can use a calculator to work out the floating point value

R: 200/255, G: 50/255, B: 150/255 to get you're selected color.

If you want to save time, you could do this

notifyData.glowColor=((200/255),(50/255),(150/255));

So i hope that helps people. This also applies to the tree-patches shaders and backgrounds.

Best regards Smile


where can you find the RGB color codes list

---------- Post added at 12:20 PM ---------- Previous post was at 12:19 PM ----------

Originally posted by KILLA View Post
i love coloured clan tags


How make a tut plz???
11-07-2010, 11:04 PM #28
CHAOZ
Banned
nice find.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo