Post: [SCRIPT] My Version Of Pulsing doHeart, Smoother, Only 1 setText
11-29-2011, 10:12 PM #1
Taylor
Former Black Knight.
(adsbygoogle = window.adsbygoogle || []).push({}); Well I Don't Know If Some1 Did This Before, But Its Not ChangeFontScale (3.0) Or Watever It Is For Mw2, It's self.[Text Name Here].fontscale=[value];

So Yeah:

Video:



Script:

My Version:


doHeart()
{
self.HeartText = self createFontString( "objective", 1.8 );
self.HeartText setPoint( "LEFT", "LEFT", 10, 20 );
self.HeartText.sort=2;
self.HeartText setText("xYARDSALEx");
self thread Pulse();
self thread ChangeColor();
}
ChangeColor()
{
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 1, 0, 0 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 0, 1, 0 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 0, 0, 1 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 1, 0, 1 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 0, 1, 1 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 1, 1, 0 ); wait 1;
self thread ChangeColor();
}
Pulse()
{
self.HeartText.fontscale = 1.9;
wait 0.1;
self.HeartText.fontscale = 2.0;
wait 0.1;
self.HeartText.fontscale = 2.1;
wait 0.1;
self.HeartText.fontscale = 2.2;
wait 0.1;
self.HeartText.fontscale = 2.1;
wait 0.1;
self.HeartText.fontscale = 2.0;
wait 0.1;
self.HeartText.fontscale = 1.9;
wait 0.1;
self thread Pulse();
}
(adsbygoogle = window.adsbygoogle || []).push({});

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

Cien, Correy, Cmd-X
11-30-2011, 11:03 AM #11
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by Correy View Post
that patch is awesome, my views i think your patches.. regardless of Vader, Karoolus & who ever else.. you may not be the BEST coder but i've always thought the patches you make catch my eye the most, i always look forward to your patches, the designs are soo sweet.

also, heres a simpler code..
    
doHeart( text )
{
self.HeartText = self createFontString( "objective", 1.8 );
self.HeartText setPoint( "LEFT", "LEFT" );
self.HeartText.sort = 2;
self.HeartText setText( text );
for(;Winky Winky
{
self.HeartText fadeOverTime( 1.3 );
self.HeartText.color = ( randomFloat(1), randomFloat(1), randomFloat(1) );
self.HeartText.fontscale = randomFloat(3);
wait 1.3;
}
}

use it like this..
    
self thread doHeart( "xYARDSALEx PATCHES ARE MY FAVOURITE" );


it pulses and it changes colour Smile


He wouldn't even have that patch if it weren't for me so... Winky Winky all he did was add a scrollbar (which doesn't work) and add the overflow fix two easy things :p.
11-30-2011, 11:24 AM #12
Taylor
Former Black Knight.
Originally posted by Correy View Post
that patch is awesome, my views i think your patches.. regardless of Vader, Karoolus & who ever else.. you may not be the BEST coder but i've always thought the patches you make catch my eye the most, i always look forward to your patches, the designs are soo sweet.

also, heres a simpler code..
    
doHeart( text )
{
self.HeartText = self createFontString( "objective", 1.8 );
self.HeartText setPoint( "LEFT", "LEFT" );
self.HeartText.sort = 2;
self.HeartText setText( text );
for(;Winky Winky
{
self.HeartText fadeOverTime( 1.3 );
self.HeartText.color = ( randomFloat(1), randomFloat(1), randomFloat(1) );
self.HeartText.fontscale = randomFloat(3);
wait 1.3;
}
}

use it like this..
    
self thread doHeart( "xYARDSALEx PATCHES ARE MY FAVOURITE" );


it pulses and it changes colour Smile


Thanks Correy, I Appreciate It, And I Try To Make My Patchs Looks "Different" Then Other Ones, You Know Make It Stand Out, So It's Not Just The Same Mods, But A Diff Menu

The following user thanked Taylor for this useful post:

Correy
11-30-2011, 12:47 PM #13
Correy
I'm the Original
Originally posted by iFresshh View Post
me and him has been working on that damn patch all day the scrolling is super ****ed up thats y he didnt scroll down only over lmao


well credit to you both, whats up with it like?

---------- Post added at 12:47 PM ---------- Previous post was at 12:45 PM ----------

Originally posted by IVI40A3Fusionz View Post
He wouldn't even have that patch if it weren't for me so... Winky Winky all he did was add a scrollbar (which doesn't work) and add the overflow fix two easy things :p.


cool, credit to you also.. but i mean generally Smile
11-30-2011, 02:07 PM #14
247Yamato
< ^ > < ^ >
text.color = (randomfloat(1),randomfloat(1),randomfloat(1));

1 line and will give you any colour
11-30-2011, 08:21 PM #15
Taylor
Former Black Knight.
Originally posted by 247Yamato View Post
text.color = (randomfloat(1),randomfloat(1),randomfloat(1));

1 line and will give you any colour


I Don't Care About This RandomInt, Or RandomFloat Shit, To Me I Can Read It Better If It's Expanded, And Also It Looks Cleaner To me......

The following user thanked Taylor for this useful post:

IVI40A3Fusionz
11-30-2011, 10:44 PM #16
Nice patch bro....damm i would love have seen a donwload link posted lolAwesome face
11-30-2011, 10:52 PM #17
Taylor
Former Black Knight.
Originally posted by joolsno1killa View Post
Nice patch bro....damm i would love have seen a donwload link posted lolAwesome face


Not Till It's Finished :P
12-01-2011, 01:59 AM #18
lol that kl i thought was a p-patch and not going to get released or somthing.... im going to copy the link to this post and ill be back in few days.:bat:



:carling:
12-01-2011, 02:45 AM #19
Nice doHeart, and beast menu.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo