(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