Post: [SCRIPT] Flashing Text -Smoother-
11-23-2011, 09:47 PM #1
Taylor
Former Black Knight.
(adsbygoogle = window.adsbygoogle || []).push({}); Here's A Video Reference For You:



My Version:
    
CoolText()
{
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 0 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 0 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 0, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 1, 0 ); wait .75;
self thread CoolText();
}


TheFallen's Shorter Version:

Thread From Menu, Or Anywhere Else
    
self thread doFlash(self.display);


    
doFlash(elem)
{
r=randomint(255);
g=randomint(255);
b=randomint(255);
for(;Winky Winky
{
elem FadeOverTime( 0.75 );
elem.color=(r,g,b);
wait .75;
}
}


ReScript's Version:

    
colorFade( color1, color2, freq ){ self.flashing = true; memo = 0; while( self.flashing = true ) { self fadeOverTime( freq ); if ( memo = 0 ){ self.color = color1; memo = 1; } if ( memo = 1 ){ self.color = color2; memo = 0; } wait freq; }}
//starting the flashelement colorFade( (1, 0, 0), (0, 1, 0), 1 );
//ending the flashelement.flashing = false;


NOTE: CHANGE THE "self.display" TO WHATEVER YOUR TEXT CODE IS (Ex: self.MenuText)
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to Taylor for this useful post:

AndreeU, DlBSY993, iPROFamily, lallyman, Rea
11-23-2011, 10:07 PM #2
DlBSY993
There's 0nly 1..
Originally posted by xYARDSALEx View Post
Here's A Video Reference For You:



    
CoolText()
{
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 0 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 0 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 0, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 1, 0 ); wait .75;
self thread CoolText();
}


NOTE: CHANGE THE "self.display" TO WHATEVER YOUR TEXT CODE IS (Ex: self.MenuText)


This is pretty yardsale Smile Good job chicken
11-23-2011, 10:10 PM #3
Taylor
Former Black Knight.
Originally posted by X View Post
This is pretty yardsale Smile Good job chicken


Thanks You Knob LMAO
11-23-2011, 10:12 PM #4
IVI40A3Fusionz
Former Gaming Squad Member
Nice release Taylor Smile. Not something i would use though as it's pretty much worthless and annoying when you have your text changing colors all the time ^^.


NOTE FOR ALL HATERS AND PEOPLE WHO ARE GONNA FLAME ME:
**I am not hating on Taylor im just clearly stating my opinion which i am allowed to do, im sure Taylor is not offended by my response (who would be tbh?).
11-23-2011, 10:21 PM #5
Taylor
Former Black Knight.
Originally posted by IVI40A3Fusionz View Post
Nice release Taylor Smile. Not something i would use though as it's pretty much worthless and annoying when you have your text changing colors all the time ^^.


NOTE FOR ALL HATERS AND PEOPLE WHO ARE GONNA FLAME ME:
**I am not hating on Taylor im just clearly stating my opinion which i am allowed to do, im sure Taylor is not offended by my response (who would be tbh?).


My Dear Kind Sir, Im Deeply Offended By That Reply To My Proper Thread On This Site You must login or register to view this content. Other Wise Commonly Referred To As "NGU", So If You May Kindly Apologize It Would Be Very Kind Of You My Dear Friend....... Thank You.........

LoL No JK It's Cool It's Your Opinion, I Don't Like It Either Just Released It Cuz I Thought Of This While I Was At School Today LoL, Thats What I Do When I Get Bored, Think Of Patch Ideas
11-23-2011, 10:40 PM #6
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xYARDSALEx View Post
My Dear Kind Sir, Im Deeply Offended By That Reply To My Proper Thread On This Site You must login or register to view this content. Other Wise Commonly Referred To As "NGU", So If You May Kindly Apologize It Would Be Very Kind Of You My Dear Friend....... Thank You.........

LoL No JK It's Cool It's Your Opinion, I Don't Like It Either Just Released It Cuz I Thought Of This While I Was At School Today LoL, Thats What I Do When I Get Bored, Think Of Patch Ideas


Loooool Winky Winky when im at school and cba to do anything i just doodle in my book Smile especially English because sometimes we have to draw quick pictures (because of the unit we're doing) and i never know what to draw so i just doodle instead ^^.

---------- Post added at 05:40 PM ---------- Previous post was at 05:24 PM ----------

Originally posted by xYARDSALEx View Post
Here's A Video Reference For You:



    
CoolText()
{
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 0 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 0 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 0, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 1, 0 ); wait .75;
self thread CoolText();
}


NOTE: CHANGE THE "self.display" TO WHATEVER YOUR TEXT CODE IS (Ex: self.MenuText)


BTW a good way to make this little smaller is to use this function:
    w(t){wait(t);}


so now your script will look like this:
    CoolText(){
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 0 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 0 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 0, 1 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 1 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 1 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 1, 0 ); w(.75);
self thread CoolText();
}


It will only be smaller by a few characters but hey each character counts, and it makes it look neater Smile.
You will also be able to use the same function for the rest of the "wait's" that you have in your menu.
11-23-2011, 10:42 PM #7
Taylor
Former Black Knight.
Originally posted by IVI40A3Fusionz View Post
Loooool Winky Winky when im at school and cba to do anything i just doodle in my book Smile especially English because sometimes we have to draw quick pictures (because of the unit we're doing) and i never know what to draw so i just doodle instead ^^.

---------- Post added at 05:40 PM ---------- Previous post was at 05:24 PM ----------



BTW a good way to make this little smaller is to use this function:
    w(t){wait(t);}


so now your script will look like this:
    CoolText(){
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 0 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 0 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 0, 1 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 1 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 1 ); w(.75);
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 1, 0 ); w(.75);
self thread CoolText();
}


It will only be smaller by a few characters but hey each character counts, and it makes it look neater Smile.
You will also be able to use the same function for the rest of the "wait's" that you have in your menu.


Ehhh Thats Effort
11-23-2011, 10:44 PM #8
TheFallen
Former Dark Night
Originally posted by xYARDSALEx View Post
Here's A Video Reference For You:



    
CoolText()
{
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 0 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 0 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 0, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 0, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 0, 1, 1 ); wait .75;
self.display FadeOverTime( 0.75 ); self.display.color = ( 1, 1, 0 ); wait .75;
self thread CoolText();
}


NOTE: CHANGE THE "self.display" TO WHATEVER YOUR TEXT CODE IS (Ex: self.MenuText)


This is a shorter version. Just do something like this for what ever your text def. is:
    
self thread doFlash(self.display);

I'm not sure if "randomint" works on Cod 4 but it should. Other wise you have to manually enter the color values.
    
doFlash(elem)
{
r=randomint(255);
g=randomint(255);
b=randomint(255);
for(;Winky Winky
{
elem FadeOverTime( 0.75 );
elem.color=(r,g,b);
wait .75;
}
}
11-23-2011, 10:50 PM #9
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xYARDSALEx View Post

Ehhh Thats Effort

Lol what are you like my friend ^^, im editing Matto's Edited Team Tiers menu base so far i've added overflow fix (Thnx to Amanda) and im adding scrollbar now (Thnx to Karoolus) and im thinking about adding a player menu just for host so that the host can verify people and kick people out.

Originally posted by ITheFallenI View Post
This is a shorter version. Just do something like this for what ever your text def. is:
    
self thread doFlash(self.display);

I'm not sure if "randomint" works on Cod 4 but it should. Other wise you have to manually enter the color values.
    
doFlash(elem)
{
r=randomint(255)
g=randomint(255)
b=randomint(255)
for(;Winky Winky
{
elem FadeOverTime( 0.75 );
elem.color=(r,g,b);
wait .75;
}
}


"randomint" does work on CoD4 so does "randomfloat" Smile thought i'd let you know Smile.
11-23-2011, 10:52 PM #10
TheFallen
Former Dark Night
Originally posted by IVI40A3Fusionz View Post
Originally Posted by xYARDSALEx
Ehhh Thats Effort
Lol what are you like my friend ^^, im editing Matto's Edited Team Tiers menu base so far i've added overflow fix (Thnx to Amanda) and im adding scrollbar now (Thnx to Karoolus) and im thinking about adding a player menu just for host so that the host can verify people and kick people out .



"randomint" does work on CoD4 so does "randomfloat" Smile thought i'd let you know Smile.

Well in that case it should it work Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo