• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Texts with glow and effect
#1
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

  Reply
#2
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?
  Reply
#3
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
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

  Reply
#4
(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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Trainer] Mass Effect 3 +18 Trainer - LinGon d0h! 0 4,776 03-20-2012, 11:44
Last Post: d0h!
  Ignite effect of molotov not working. Cyborgking 2 2,187 01-19-2012, 11:49
Last Post: Cyborgking
  [Tutorial] Dirt effect and Modify Claymores Yamato 1 2,327 09-20-2011, 15:54
Last Post: iiTom
  bash effect for rifle assassin5469 3 2,201 08-04-2011, 20:58
Last Post: assassin5469
  Help Effect Editor 4FunPlayin 5 3,563 07-05-2011, 07:15
Last Post: SparkyMcSparks
  [Tutorial] Create an effect at a specific location + Fx List alistair3149 8 5,123 02-22-2011, 16:13
Last Post: Nekochan
  Remove all effect of the map alistair3149 4 2,760 12-20-2010, 13:49
Last Post: alistair3149

Forum Jump:


Users browsing this thread: 1 Guest(s)