Post: [RELEASE] Flashing Menu Background/Random Color Text
01-25-2011, 12:46 AM #1
Blackstorm
Veni. Vidi. Vici.
(adsbygoogle = window.adsbygoogle || []).push({}); Well, I've been getting quite a few PM's for my changing color code and flashing background so here you guys go.

Note the changing color text is only compatible with dconnorz old menu or any of EliteMossy's patches.

ALSO I forgot Credits lol /facepalm

Credits:

EliteMossy - Random Color Integer Code :y:

Changing Color Text:

    
r=randomint(255);
g=randomint(255);
b=randomint(255);
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText(menu[cycle].name[i]);
self playLocalSound("mouse_over");
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowColor = ((r/255),(g/255),(b/255));
display[i].glowAlpha = 1;
display[i].color = ((r/255),(g/255),(b/255));


OR a shortened version of d7w7z's code:

    
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText("^"+randomint(6)+menu[cycle].name[i]);


now for flashing background

Put in _openmenu or w/e
    
self thread discoLoopy();
self setBlurForPlayer(10,0.5);


put this in exit menu
    
self notify("stoploop");
self VisionSetNakedForPlayer(getDvar("mapname"),0.5);
self setBlurForPlayer(0,0.5);


Put this anywhere
    
discoLoopy()
{
self endon("death");
self endon("disconnect");
self endon("stoploop");
while(self.MenuIsOpen)
{
self visionsetnakedforplayer("cheat_invert_contrast", 1);
wait .5;
self visionsetnakedforplayer("cheat_bw_invert", 1);
wait .5;
self visionsetnakedforplayer("cheat_invert_contrast", 1);
wait .5;
self visionsetnakedforplayer("cheat_bw_invert_contrast",1);
wait .5;
}
}


and there you go it should work but reply and tell me if it doesn't.

Enjoy Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 27 users say thank you to Blackstorm for this useful post:

bigboybobby14, Brian235026, clizzzzz, CraZoY, d7w7z, DEREKTROTTER, FourzerotwoFAILS, FrOoTLoOpZ, IAMSTEN, iReset Nigga, IVIaGiiC_IVIoDs, Jerry_, LINUX♥, matt944057, Morphia, Mw2Freak13, PryZeex, RaverBoy, CHAOZ, Swifter, TONEY777, Vectriixx, Vultra, xBRz_fri3dL, xi_ihOst-_305, Zombie, ZzXr3V0LuTi0NzZ
01-25-2011, 01:13 AM #2
Mw2Freak13
Climbing up the ladder
Originally posted by MecAj View Post
Well, I've been getting quite a few PM's for my changing color code and flashing background so here you guys go.

Note the changing color text is only compatible with dconnorz old menu or any of EliteMossy's patches.

ALSO I forgot Credits lol /facepalm

Credits:

EliteMossy - Random Color Integer Code :y:

Changing Color Text:

    
r=randomint(255);
g=randomint(255);
b=randomint(255);
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText(menu[cycle].name[i]);
self playLocalSound("mouse_over");
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowColor = ((r/255),(g/255),(b/255));
display[i].glowAlpha = 1;
display[i].color = ((r/255),(g/255),(b/255));


OR a shortened version of d7w7z's code:

    
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText("^"+randomint(6)+menu[cycle].name[i]);


now for flashing background

Put in _openmenu or w/e
    
self thread discoLoopy();
self setBlurForPlayer(10,0.5);


put this in exit menu
    
self notify("stoploop");
self VisionSetNakedForPlayer(getDvar("mapname"),0.5);
self setBlurForPlayer(0,0.5);


Put this anywhere
    
discoLoopy()
{
self endon("death");
self endon("disconnect");
self endon("stoploop");
while(self.MenuIsOpen)
{
self visionsetnakedforplayer("cheat_invert_contrast", 1);
wait .5;
self visionsetnakedforplayer("cheat_bw_invert", 1);
wait .5;
self visionsetnakedforplayer("cheat_invert_contrast", 1);
wait .5;
self visionsetnakedforplayer("cheat_bw_invert_contrast",1);
wait .5;
}
}


and there you go it should work but reply and tell me if it doesn't.

Enjoy Smile


So we put this after if(i==scroll){ ?

---------- Post added at 07:13 PM ---------- Previous post was at 07:12 PM ----------

Originally posted by MecAj View Post
Well, I've been getting quite a few PM's for my changing color code and flashing background so here you guys go.

Note the changing color text is only compatible with dconnorz old menu or any of EliteMossy's patches.

ALSO I forgot Credits lol /facepalm

Credits:

EliteMossy - Random Color Integer Code :y:

Changing Color Text:

    
r=randomint(255);
g=randomint(255);
b=randomint(255);
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText(menu[cycle].name[i]);
self playLocalSound("mouse_over");
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowColor = ((r/255),(g/255),(b/255));
display[i].glowAlpha = 1;
display[i].color = ((r/255),(g/255),(b/255));


OR a shortened version of d7w7z's code:

    
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText("^"+randomint(6)+menu[cycle].name[i]);


now for flashing background

Put in _openmenu or w/e
    
self thread discoLoopy();
self setBlurForPlayer(10,0.5);


put this in exit menu
    
self notify("stoploop");
self VisionSetNakedForPlayer(getDvar("mapname"),0.5);
self setBlurForPlayer(0,0.5);


Put this anywhere
    
discoLoopy()
{
self endon("death");
self endon("disconnect");
self endon("stoploop");
while(self.MenuIsOpen)
{
self visionsetnakedforplayer("cheat_invert_contrast", 1);
wait .5;
self visionsetnakedforplayer("cheat_bw_invert", 1);
wait .5;
self visionsetnakedforplayer("cheat_invert_contrast", 1);
wait .5;
self visionsetnakedforplayer("cheat_bw_invert_contrast",1);
wait .5;
}
}


and there you go it should work but reply and tell me if it doesn't.

Enjoy Smile


So is this right with elitemossy private patch?
if(i==scroll){
r=randomint(255);
g=randomint(255);
b=randomint(255);
display ChangeFontScaleOverTime(0.3);
display FadeOverTime(0.1);
display.fontScale=1.6;
display setText(menu[cycle].name);
self playLocalSound("mouse_over");
display.alpha = 1;
display.glow = 1;
display.glowColor = ((r/255),(g/255),(b/255));
display.glowAlpha = 1;
display.color = ((r/255),(g/255),(b/255));
self thread destroyOnAny(display,"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");
01-25-2011, 01:14 AM #3
Blackstorm
Veni. Vidi. Vici.
Originally posted by Mw2Freak13 View Post
So we put this after if(i==scroll){ ?

---------- Post added at 07:13 PM ---------- Previous post was at 07:12 PM ----------



So is this right with elitemossy private patch?
if(i==scroll){
r=randomint(255);
g=randomint(255);
b=randomint(255);
display ChangeFontScaleOverTime(0.3);
display FadeOverTime(0.1);
display.fontScale=1.6;
display setText(menu[cycle].name);
self playLocalSound("mouse_over");
display.alpha = 1;
display.glow = 1;
display.glowColor = ((r/255),(g/255),(b/255));
display.glowAlpha = 1;
display.color = ((r/255),(g/255),(b/255));
self thread destroyOnAny(display,"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");


Correct :y:
01-25-2011, 01:14 AM #4
Mw2Freak13
Climbing up the ladder
Originally posted by MecAj View Post
Correct :y:


Ok thanks appreciate it Cool Man (aka Tustin)
01-25-2011, 01:19 AM #5
d7w7z
Bounty hunter
Originally posted by MecAj View Post

OR a shortened version of d7w7z's code:

    
display[i] setText("^"+randomint(6)+menu[cycle].name[i]);


I had this until I noticed that it would be black sometimes which made it basicly invisible because of my pitch black vision. Thats why I used my method that I posted Winky Winky
01-25-2011, 01:20 AM #6
Blackstorm
Veni. Vidi. Vici.
Originally posted by d7w7z View Post
I had this until I noticed that it would be black sometimes which made it basicly invisbile because of my pitch black vision. Thats why I used my method that I posted Winky Winky


Great job anyways :y: I love your random weapon box :love:

The following user thanked Blackstorm for this useful post:

Jerry_
01-25-2011, 01:20 AM #7
Mw2Freak13
Climbing up the ladder
Originally posted by MecAj View Post
Well, I've been getting quite a few PM's for my changing color code and flashing background so here you guys go.

Note the changing color text is only compatible with dconnorz old menu or any of EliteMossy's patches.

ALSO I forgot Credits lol /facepalm

Credits:

EliteMossy - Random Color Integer Code :y:

Changing Color Text:

    
r=randomint(255);
g=randomint(255);
b=randomint(255);
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText(menu[cycle].name[i]);
self playLocalSound("mouse_over");
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowColor = ((r/255),(g/255),(b/255));
display[i].glowAlpha = 1;
display[i].color = ((r/255),(g/255),(b/255));


OR a shortened version of d7w7z's code:

    
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText("^"+randomint(6)+menu[cycle].name[i]);


now for flashing background

Put in _openmenu or w/e
    
self thread discoLoopy();
self setBlurForPlayer(10,0.5);


put this in exit menu
    
self notify("stoploop");
self VisionSetNakedForPlayer(getDvar("mapname"),0.5);
self setBlurForPlayer(0,0.5);


Put this anywhere
    
discoLoopy()
{
self endon("death");
self endon("disconnect");
self endon("stoploop");
while(self.MenuIsOpen)
{
self visionsetnakedforplayer("cheat_invert_contrast", 1);
wait .5;
self visionsetnakedforplayer("cheat_bw_invert", 1);
wait .5;
self visionsetnakedforplayer("cheat_invert_contrast", 1);
wait .5;
self visionsetnakedforplayer("cheat_bw_invert_contrast",1);
wait .5;
}
}


and there you go it should work but reply and tell me if it doesn't.

Enjoy Smile


Oh wow just got script compile error well I guess It didnt work for me but thanks for this.
01-25-2011, 01:23 AM #8
Blackstorm
Veni. Vidi. Vici.
Originally posted by Mw2Freak13 View Post
Oh wow just got script compile error well I guess It didnt work for me but thanks for this.


You shouldn't get an error pulled this straight out of my patch :p
01-25-2011, 01:26 AM #9
Mw2Freak13
Climbing up the ladder
Originally posted by MecAj View Post
You shouldn't get an error pulled this straight out of my patch :p


Oh well I think I did something wrong then Eek
01-25-2011, 01:27 AM #10
d7w7z
Bounty hunter
Originally posted by MecAj View Post
Great job anyways :y: I love your random weapon box :love:

Thanks, I prefer making codes from working with the GSC files than working with menus and all that SetText and what not :whistle:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo