ItsMods

Full Version: Texts with glow and effect
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

This is a tutorial of a command and also I explain how to obtain a text with the style of the one I used here: http://www.itsmods.com/forum/Thread-Unde...-Menu.html

Code:
self.text = self createfontstring("default",1.7,self);
self.text setpulsefx(100,6000000000,900000000000);
self.text setpoint("","",0,-170);
self.text settext("OMA is the best");
self.text.color = (1,1,1);
self.text.sort = 15;
self.text.alpha = 1;
self.text.foreground = true;
self.text.glowcolor = (0,0,0.8);
self.text.glowalpha = 1;
self.text setparent(level.uiParent);

The command setpulsefx what it does is to make the text appear like in notify texts, one letter after another with a certain sound: OMA

Code:
text setpulsefx(speed,decay start,decay duration);

OMA And this 2 variables will make the border of the text:

Code:
text.glowcolor = (Red,Green,Blue);
text.glowalpha = 1;

I hope someone has learned something new, Troll

ty yamato, awesome code i like your underwater effect on your menu too bad not for pc
but what do you mean with the last 2 variables? what can i do with it?
does setPulseFx work like the HintMessage? you know the letters first scroll tru random letters and then become a normal letter .. i know that is a fucked up explanation
(11-01-2011, 16:19)iAegle Wrote: [ -> ]does setPulseFx work like the HintMessage? you know the letters first scroll tru random letters and then become a normal letter .. i know that is a fucked up explanation

Yes, it works like the hintmessage, exactly in the same way as in the video of the menu.

@krijnrien I play on PC, the video is recorded on PC, Undecided