Post: [SCRIPT] Lobby Intro (Fading Emblems, Similar To IELITEMODZX)
12-31-2011, 10:32 PM #1
IVI40A3Fusionz
Former Gaming Squad Member
(adsbygoogle = window.adsbygoogle || []).push({}); So as you all know from the 3RD preview of IELIITEMODZX Soooo Wasted Patch he has got a lobby intro type thing where if your not verified it shows alot of emblems fading in and out randomly. Basically morale of the story is i saw it was bored for that day so i decided to attempt my own version and here it is.

    
//Precache these.
precacheShader( "rank_prestige1" );
precacheShader( "rank_prestige2" );
precacheShader( "rank_prestige3" );
precacheShader( "rank_prestige4" );
precacheShader( "rank_prestige5" );
precacheShader( "rank_prestige6" );
precacheShader( "rank_prestige7" );
precacheShader( "rank_prestige8" );
precacheShader( "rank_prestige9" );
precacheShader( "rank_prestige10" );

//Thread this.
LobbyIntro()
{
self endon("disconnect");
self.Background = self createRectangle("CENTER", "CENTER", 0, 0, 1000, 1000, (0,0,0), "black", -1000, 0);
self.Background doFade(1,.9);
for(;Winky Winky
{
self thread Emblems();
SelectedEmblem = randomInt(10);
a = randomIntRange(-200, 200);
b = randomIntRange(-200, 200);
self.Emblem = self createRectangle("CENTER", "CENTER", 0+a, 0+b, 50, 50, undefined, self.Prestige[SelectedEmblem], 100, 0);
self.Emblem doFade(.5,1);
wait .5;
self.Emblem doFade(.5,0);
}
}
Emblems()
{
self.Prestige = [];
self.Prestige[0] = "rank_prestige1";
self.Prestige[1] = "rank_prestige2";
self.Prestige[2] = "rank_prestige3";
self.Prestige[3] = "rank_prestige4";
self.Prestige[4] = "rank_prestige5";
self.Prestige[5] = "rank_prestige6";
self.Prestige[6] = "rank_prestige7";
self.Prestige[7] = "rank_prestige8";
self.Prestige[8] = "rank_prestige9";
self.Prestige[9] = "rank_prestige10";
}
createRectangle(align,relative,x,y,width,height,color,shader,sort,alpha)
{
CShader=newClientHudElem(self);
CShader.elemType="bar";
if(!level.splitScreen)
{
CShader.x=-2;
CShader.y=-2;
}
CShader.width=width;
CShader.height=height;
CShader.align=align;
CShader.relative=relative;
CShader.xOffset=0;
CShader.yOffset=0;
CShader.children=[];
CShader.sort=sort;
CShader.color=color;
CShader.alpha=alpha;
CShader setParent(level.uiParent);
CShader setShader(shader,width,height);
CShader.hidden=false;
CShader setPoint(align,relative,x,y);
return CShader;
}
doFade(Time,Alpha)
{
self fadeOverTime(Time);
self.alpha = Alpha;
}


1. It could probably be coded alot better but i really don't give a f***.
2. If you already have a create shader script you can swap this one for your one to save space and same with the doFade function.

It's no where near as good as Elites as i only used prestige badges and i didn't make it as random, or show as many of the shaders each time.

It also has a bug where after the countdown it will stop showing the shaders but the blackscreen will still be there, i didn't want to finish it as it has no use to me but if any of you guys want (i doubt it though) you can have it, finish it off and do whatever you want with it claim it as yours if you like i couldn't care less, have a good New Years everyone and i will see you in 2012! Happy
(adsbygoogle = window.adsbygoogle || []).push({});

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

Jacob-And-Britt, Vampytwistッ
12-31-2011, 11:53 PM #2
Thanks but what do you have to prechache the level emblems.
01-01-2012, 02:00 AM #3
lawl you finished it then Happy
01-01-2012, 02:10 AM #4
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by IELIITEMODZX View Post
lawl you finished it then Happy


I left it where i said to you i had a problem (Where the emblems will stop showing after the countdown) ^^ but i had no use for it and it was unfinished pretty shit coding so i thought if i release someone else could use it, if they even want it that is LMAO.
01-01-2012, 12:38 PM #5
Jacob-And-Britt
I’m too L33T
Originally posted by IVI40A3Fusionz View Post
I left it where i said to you i had a problem (Where the emblems will stop showing after the countdown) ^^ but i had no use for it and it was unfinished pretty shit coding so i thought if i release someone else could use it, if they even want it that is LMAO.
Ima try to edit it up make it mor like ielites becouse when you showed me it diddnt have as much as his and ima use my secret scollbars/shader lol
01-01-2012, 01:11 PM #6
Correy
I'm the Original
Originally posted by IVI40A3Fusionz View Post
So as you all know from the 3RD preview of IELIITEMODZX Soooo Wasted Patch he has got a lobby intro type thing where if your not verified it shows alot of emblems fading in and out randomly. Basically morale of the story is i saw it was bored for that day so i decided to attempt my own version and here it is.

    
//Precache these.
precacheShader( "rank_prestige1" );
precacheShader( "rank_prestige2" );
precacheShader( "rank_prestige3" );
precacheShader( "rank_prestige4" );
precacheShader( "rank_prestige5" );
precacheShader( "rank_prestige6" );
precacheShader( "rank_prestige7" );
precacheShader( "rank_prestige8" );
precacheShader( "rank_prestige9" );
precacheShader( "rank_prestige10" );

//Thread this.
LobbyIntro()
{
self endon("disconnect");
self.Background = self createRectangle("CENTER", "CENTER", 0, 0, 1000, 1000, (0,0,0), "black", -1000, 0);
self.Background doFade(1,.9);
for(;Winky Winky
{
self thread Emblems();
SelectedEmblem = randomInt(10);
a = randomIntRange(-200, 200);
b = randomIntRange(-200, 200);
self.Emblem = self createRectangle("CENTER", "CENTER", 0+a, 0+b, 50, 50, undefined, self.Prestige[SelectedEmblem], 100, 0);
self.Emblem doFade(.5,1);
wait .5;
self.Emblem doFade(.5,0);
}
}
Emblems()
{
self.Prestige = [];
self.Prestige[0] = "rank_prestige1";
self.Prestige[1] = "rank_prestige2";
self.Prestige[2] = "rank_prestige3";
self.Prestige[3] = "rank_prestige4";
self.Prestige[4] = "rank_prestige5";
self.Prestige[5] = "rank_prestige6";
self.Prestige[6] = "rank_prestige7";
self.Prestige[7] = "rank_prestige8";
self.Prestige[8] = "rank_prestige9";
self.Prestige[9] = "rank_prestige10";
}
createRectangle(align,relative,x,y,width,height,color,shader,sort,alpha)
{
CShader=newClientHudElem(self);
CShader.elemType="bar";
if(!level.splitScreen)
{
CShader.x=-2;
CShader.y=-2;
}
CShader.width=width;
CShader.height=height;
CShader.align=align;
CShader.relative=relative;
CShader.xOffset=0;
CShader.yOffset=0;
CShader.children=[];
CShader.sort=sort;
CShader.color=color;
CShader.alpha=alpha;
CShader setParent(level.uiParent);
CShader setShader(shader,width,height);
CShader.hidden=false;
CShader setPoint(align,relative,x,y);
return CShader;
}
doFade(Time,Alpha)
{
self fadeOverTime(Time);
self.alpha = Alpha;
}


1. It could probably be coded alot better but i really don't give a f***.
2. If you already have a create shader script you can swap this one for your one to save space and same with the doFade function.

It's no where near as good as Elites as i only used prestige badges and i didn't make it as random, or show as many of the shaders each time.

It also has a bug where after the countdown it will stop showing the shaders but the blackscreen will still be there, i didn't want to finish it as it has no use to me but if any of you guys want (i doubt it though) you can have it, finish it off and do whatever you want with it claim it as yours if you like i couldn't care less, have a good New Years everyone and i will see you in 2012! Happy


it might have a few errors but idk, im still hungover.
    
//Thread this.
LobbyIntro()
{
self endon("disconnect");
self.Background = self createRectangle("CENTER", "CENTER", 0, 0, 1000, 1000, (0,0,0), "black", -1000, 0);
self FadeOverTime(.9);
for( i=0;Winky Winky
{
i++;
self.Emblem = self createRectangle("CENTER","CENTER", randomIntRange(-200,200),randomIntRange(-200, 200),50,50,undefined,("rank_prestige"+randomInt(10)),100,0);
self.Emblem DestroyIt(.5,1,self.Emblem);
wait .5;
self.Emblem destroy();
if( i == 60 )
{
self.Emblem destroy();
break;
}
}
}
createRectangle(align,relative,x,y,width,height,color,shader,sort,alpha)
{
BarElem=newClientHudElem(self);
BarElem.elemType="bar";
BarElem.width=width;
BarElem.height=height;
BarElem.align=align;
BarElem.relative=relative;
BarElem.xOffset=0;
BarElem.yOffset=0;
BarElem.children=[];
BarElem.sort=sort;
BarElem.color=color;
BarElem.alpha=alpha;
BarElem setParent(level.uiParent);
BarElem setShader(shader,width,height);
BarElem.hidden=false;
BarElem setPoint(align,relative,x,y);
return BarElem;
}
DestroyIt(time,alpha,elem)
{
self fadeOverTime(time);
self.alpha = alpha;
if( isDefined(elem) )
if( element.alpha == 0 )
elem destroy();
}


something like that :p
it will go on for 30 seconds, then end.. btw. yours would of went on forever also Smile

and, oh yeah: im sure randomIntRange dont work on ps3.. i remember from my role the dice

The following user thanked Correy for this useful post:

Jacob-And-Britt
01-01-2012, 01:18 PM #7
Originally posted by IVI40A3Fusionz View Post
So as you all know from the 3RD preview of IELIITEMODZX Soooo Wasted Patch he has got a lobby intro type thing

I was doing random intros like that almost a year ago. Eleechmodz has no original ideas does he Happy

You must login or register to view this content.

The following user groaned x_DaftVader_x for this awful post:

IELIITEMODZX
01-01-2012, 02:48 PM #8
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
I was doing random intros like that almost a year ago. Eleechmodz has no original ideas does he Happy

You must login or register to view this content.


I like the effect on that Happy would be better fi there was more letters though Winky Winky.

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

Originally posted by Correy View Post
it might have a few errors but idk, im still hungover.
    
//Thread this.
LobbyIntro()
{
self endon("disconnect");
self.Background = self createRectangle("CENTER", "CENTER", 0, 0, 1000, 1000, (0,0,0), "black", -1000, 0);
self FadeOverTime(.9);
for( i=0;Winky Winky
{
i++;
self.Emblem = self createRectangle("CENTER","CENTER", randomIntRange(-200,200),randomIntRange(-200, 200),50,50,undefined,("rank_prestige"+randomInt(10)),100,0);
self.Emblem DestroyIt(.5,1,self.Emblem);
wait .5;
self.Emblem destroy();
if( i == 60 )
{
self.Emblem destroy();
break;
}
}
}
createRectangle(align,relative,x,y,width,height,color,shader,sort,alpha)
{
BarElem=newClientHudElem(self);
BarElem.elemType="bar";
BarElem.width=width;
BarElem.height=height;
BarElem.align=align;
BarElem.relative=relative;
BarElem.xOffset=0;
BarElem.yOffset=0;
BarElem.children=[];
BarElem.sort=sort;
BarElem.color=color;
BarElem.alpha=alpha;
BarElem setParent(level.uiParent);
BarElem setShader(shader,width,height);
BarElem.hidden=false;
BarElem setPoint(align,relative,x,y);
return BarElem;
}
DestroyIt(time,alpha,elem)
{
self fadeOverTime(time);
self.alpha = alpha;
if( isDefined(elem) )
if( element.alpha == 0 )
elem destroy();
}


something like that :p
it will go on for 30 seconds, then end.. btw. yours would of went on forever also Smile

and, oh yeah: im sure randomIntRange dont work on ps3.. i remember from my role the dice


1. Tested and it stopped after the countdown.

2. randomIntRange works just fine otherwise i wouldn't have used it Winky Winky

3. If someone fixed the bug then they could make it stop when people get verified so therefore it's meant to go on forever until someone is verified.
01-01-2012, 02:57 PM #9
Originally posted by IVI40A3Fusionz View Post

3. If someone fixed the bug then they could make it stop when people get verified so therefore it's meant to go on forever until someone is verified.


just add a self endon("leech"); for example, and then just self notify("leech"); when the player gets verified..

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

247Yamato, Jacob-And-Britt
01-01-2012, 03:09 PM #10
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
just add a self endon("leech"); for example, and then just self notify("leech"); when the player gets verified..


I knew how to do all that but thanks Winky Winky i was just saying that people will have to fix the bug first which honestly i couldn't be bothered to do. Also are notifications working for you? They aren't working for me but PM notifications are :s.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo