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, 08:30 AM #2
someone who knows what they are talking about!

haha you owned everyone dude. well done and thanks
10-26-2010, 08:30 AM #3
Originally posted by GuyAboveMe
someone who knows what they are talking about!

haha you owned everyone dude. well done and thanks

Someone who knows what they are doing.
Nice reply btw Winky Winky
Originally posted by EliteMossy
You must login or register to view this content.
10-26-2010, 08:54 AM #4
Howdoh
NextGenHoward.
cool Happy i wont be able to do anything with this information :( but its a very good post :y:

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

EliteMossy, XxprokillahxX
10-26-2010, 08:58 AM #5
Originally posted by Howard View Post
cool Happy i wont be able to do anything with this information :( but its a very good post :y:


hahahahahahahaha its for editing the tree patch or if you are using shaders etc. xD

funniest post= +rep
10-26-2010, 09:15 AM #6
Howdoh
NextGenHoward.
Originally posted by XxprokillahxX View Post
hahahahahahahaha its for editing the tree patch or if you are using shaders etc. xD

funniest post= +rep


lmaoo i was being serious :'Winky Winky i know nothing of editing patches but its useful to one of my mates :P

wasnt meant to be that funny :'Winky Winky thanks...
10-26-2010, 09:18 AM #7
Originally posted by Howard View Post
lmaoo i was being serious :'Winky Winky i know nothing of editing patches but its useful to one of my mates :P

wasnt meant to be that funny :'Winky Winky thanks...


just the way you said it was funny lol

The following user thanked XxprokillahxX for this useful post:

Howdoh
10-26-2010, 09:32 AM #8
Mr. Wood
Feel like a Sir.
finally mossy please keep releasing :p.
10-26-2010, 09:39 AM #9
0xFa1z
Splicer
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


what if you go negative? as in notifyData.glowColor=(-200/255)?

The following user thanked 0xFa1z for this useful post:

Rokiz
10-26-2010, 09:55 AM #10
Dreamcather
Call me Eddie Winky Winky
Thank you EliteMossySmile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo