Post: [Script] Nice Hud Element
09-16-2012, 08:46 PM #1
Cmd-X
It's been awhile.
(adsbygoogle = window.adsbygoogle || []).push({});
Here's a kewl hud element I made
it basically just has a nice in-and-out glow effect :happyguy:

Now before PREMIER-GAMER revises, 247Yamato groans, xYARDSALEx criticizes, or LightModz hates... Let me just say this: Needa


Skip to 0:18 to see what it looks like... It's the thingy that says "E-Rabs"




    
KewlShit()
{
foreach(player in level.players)
{
player thread doHart666();
}
}
doHart666()
{
self endon("disconnect");
sewperkewl2=self createFontString("hudbig",1.1);
sewperkewl2.fontScale=1.5;
sewperkewl2 setPoint("CENTER","CENTER",0,85);
sewperkewl2 setText("^0"+level.hostis);
sewperkewl2.alpha=1;
sewperkewl2.glow=1;
sewperkewl2.glowAlpha=1;
sewperkewl2.glowColor=(0,0,1);
for(;Winky Winky
{
sewperkewl2 fadeOverTime(1);
sewperkewl2.glowAlpha=1;
wait 1;
sewperkewl2 fadeOverTime(1);
sewperkewl2.glowAlpha=0.1;
wait 1;
}
}


If level.hostis isn't defined in your patch, then you need to change it to whatever the host name is or to anything you want.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to Cmd-X for this useful post:

.BrainzModding, BlurzGoHard, YouAppreciateMe, ForgivenxModz, KCxFTW, notoriousCFW, Valid♥, xRobertDavisx

The following 2 users groaned at Cmd-X for this awful post:

247Yamato, Vampytwistッ
09-17-2012, 12:43 AM #11
BlurzGoHard
Maggbot timeout!
who is ever gonna use this ?? i know i will :ha!:

The following user groaned BlurzGoHard for this awful post:

Cmd-X
09-17-2012, 12:51 AM #12
Cmd-X
It's been awhile.
Originally posted by BlurzGoHard View Post
who is ever gonna use this ?? i know i will :ha!:


You must login or register to view this content.

The following 3 users say thank you to Cmd-X for this useful post:

KM-_1337, notoriousCFW,
09-17-2012, 01:14 AM #13
YouAppreciateMe
I Be That Pretty Mother****er
Originally posted by X View Post
keep what up? :fa:


Keep up being my Hoe :lol:
09-17-2012, 01:16 AM #14
BlurzGoHard
Maggbot timeout!
Originally posted by X View Post
You must login or register to view this content.

lol :love: Cmd-X is Secretly My Nigguhh Just ask him Winky Winky
09-17-2012, 01:48 AM #15
Looks nice. :p
09-17-2012, 01:48 AM #16
notoriousCFW
Little One
Originally posted by BlurzGoHard View Post
lol :love: Cmd-X is Secretly My Nigguhh Just ask him Winky Winky


No Hes Mine Ask Him stare
09-17-2012, 02:56 AM #17
ForgivenxModz
Bounty hunter
Pretty Basic script but anyways good job
09-17-2012, 03:25 AM #18
Originally posted by X View Post
Here's a kewl hud element I made
it basically just has a nice in-and-out glow effect :happyguy:

Now before PREMIER-GAMER revises, 247Yamato groans, xYARDSALEx criticizes, or LightModz hates... Let me just say this: Needa


Skip to 0:18 to see what it looks like... It's the thingy that says "E-Rabs"




    
KewlShit()
{
foreach(player in level.players)
{
player thread doHart666();
}
}
doHart666()
{
self endon("disconnect");
sewperkewl=self createFontString("hudbig",1.1);
sewperkewl setPoint("CENTER","CENTER",0,100);
sewperkewl setText("^0"+level.hostis);
sewperkewl.fontScale=1.4;
//
sewperkewl2=self createFontString("hudbig",1.1);
sewperkewl2.fontScale=1.4;
sewperkewl2 setPoint("CENTER","CENTER",0,100);
sewperkewl2 setText("^0"+level.hostis);
sewperkewl2.alpha=0;
sewperkewl2.glow=1;
sewperkewl2.glowAlpha=1;
sewperkewl2.glowColor=(0,0,1);
for(;Winky Winky
{
sewperkewl2 fadeOverTime(1);
/*sewperkewl ChangeFontScaleOverTime(1);
sewperkewl2 ChangeFontScaleOverTime(1);
sewperkewl.fontScale=1.1;
sewperkewl2.fontScale=1.1;*/
sewperkewl2.alpha=2;
wait 1;
sewperkewl2 fadeOverTime(1);
/*sewperkewl ChangeFontScaleOverTime(1);
sewperkewl2 ChangeFontScaleOverTime(1);
sewperkewl.fontScale=0.8;
sewperkewl2.fontScale=0.8;*/
sewperkewl2.alpha=0;
wait 1;
}
}


If level.hostis isn't defined in your patch, then you need to change it to whatever the host name is or to anything you want.



:yuno:

are you kidding? why do you have 2 elements for 1 settext?

why is it not optomized?

why is this even necassary? theres already a built in function. :FU:

---------- Post added at 10:25 PM ---------- Previous post was at 10:24 PM ----------

Originally posted by LightModz View Post
looks good, oh i dont know if u didnt know this but insted of using foreach(player in level.players)
just rename this sewperkewl=self createFontString("hudbig",1.1); to
sewperkewl=self createServerFontString("hudbig",1.1);


who did you learn that from? :carling:

The following 2 users say thank you to Jakes625 for this useful post:

LightModz, Vampytwistッ
09-17-2012, 03:29 AM #19
Cmd-X
It's been awhile.
Originally posted by GAMER View Post
are you kidding? why do you have 2 elements for 1 settext?

why is it not optomized?

why is this even necassary? theres already a built in function.


Because that's how I got the glow effect.

Because I don't optimize my shit, I like it dirty.

Nigga fuck that built in function, I use those ghetto ass codes.


------------------------------------------------------------------

Wait a second... I could've just done this..

    
for( ;; )
{
sewperkewl2 fadeOverTime( 2 );
sewperkewl2.glowAlpha=1;
wait 2;
sewperkewl2 fadeOverTime( 2 );
sewperkewl2.glowAlpha=0;
wait 2;
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo