What's new

Discussion [TUT] How to make typewriter text in cool colors.

  • Thread starter Siinner
  • Start date
  • Views 4,794
Siinner

Siinner

Se7en Psycho
Messages
1,544
Reaction score
263
Points
220
Sin$
0
This tutorial is on how to make the glow color's of the typewriter text different colors, I personally think it looks sexxy.
Just to clear things up this is not a release im sure it has been released before, I am just making it more clear and easier to use.
So, I would like to give special thanks to CraigChrist for the original code and K Brizzle for helping me with the colors and stuff.

First off you will be needing this code:
Code:
notifyData = spawnstruct();
notifyData.titleText = "Text";
notifyData.glowColor = (0.0, 0.0, 0.0);
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );

Then you could download this to pick you color: Color Picker

So, open up the color picker. Then Select "Color Generator" down at the bottom. Then mess around with the red green and blue sliders until you get the color you want. Then, divide each number by 250 and round to the nearest tenth.
(Be sure to divide them and place them in the right order they must not exceed 1.0)
Since I chose black with a purple glow mine would look like this:
Code:
notifyData = spawnstruct();
notifyData.titleText = "^0Siinner is 1337!!!1";
notifyData.glowColor = (0.5, 0.0, 0.8);
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
73350221.png


I dont have my jtag back currently because I am getting some cool s*** installed to it. If I did I would post some pics of the outcome but it looks really cool. (Black with purple looks the best to me)

So thats all you need and you will get a nice glow color with your typewriter text. Post pics of the colors you get and I will add them to this list of cool colors:

Code:
0.5, 0.0, 0.8 - Sexxy purple
1.0, 0.0, 0.0 - Epic Red
1.0, 0.0, 0.4 - Preppy Pink
0.0, 0.8, 0.0 - Epic Green
0.9, 1.0, 0.0 - Banana Yellow
1.0, 0.5, 0.0 - Burnt Orange
0.0, 0.5, 1.0 - Turquoise
0.0, 0.0, 1.0 - Deep Blue
0.3, 0.0, 0.3 - Deep Purple
0.0, 1.0, 0.0 - Light Green
0.5, 0.0, 0.2 - Maroon
0.0, 0.0, 0.0 - Black
1.0, 1.0, 1.0 - White
0.0, 1.0, 1.0 - Cyan

If you find any new colors because I am too lazy to look. Just post them below and I will add them. You dont have to make a completely new topic. Any color suggestions you may have post them here and I will do my best to find it.

Enjoy!
 
DemiZe

DemiZe

Contributor
Messages
2,679
Reaction score
409
Points
285
Sin$
0
Thanks, this wasn't release'd as far as I know of. This should definetly help some people out, and I'll probably add it to my patch later on.
 
Gunz

Gunz

Gunz Iz Teh Hax
Messages
958
Reaction score
326
Points
165
Sin$
0
Nope. It is 250 craigchrist didn't know that either when he first put that.

Nice TUT it is common sense but that is something that most people lack around here but are you sure it is 250?
 
Zswizzy

Zswizzy

Former Legend
VIP
Retired
Free Hoster Greeter Mr. Nice Guy
Messages
5,724
Reaction score
2,427
Points
720
Sin$
7
nice stuff, im gonna have to test this in action and report back
 
CrAzY FaIrYHoPn

CrAzY FaIrYHoPn

FairyHopn' All Day
Retired
Grammar Nazi TotM MotM
Messages
3,449
Reaction score
1,909
Points
770
Sin$
0
Sweet code, can't wait to add this to my patch
 
Top Bottom
Login
Register