You are viewing our Forum Archives. To view or take place in current topics click here.
[Release]Scrolling Credits Text
Posted:
[Release]Scrolling Credits TextPosted:
Status: Offline
Joined: Aug 09, 200915Year Member
Posts: 6,493
Reputation Power: 8063
Motto: The Original Bunny
Motto: The Original Bunny
Status: Offline
Joined: Aug 09, 200915Year Member
Posts: 6,493
Reputation Power: 8063
Motto: The Original Bunny
Well, had to share something. 100% credit goes to RawR from s7's.
u need
#include maps\_hud_util;
creditss()
{
self thread doCredits();
self thread EndCredit();
}
Text( name, textscale )
{
if ( !isdefined( textscale ) )
textscale = level.linesize;
temp = spawnstruct();
temp.type = "centername";
temp.name = name;
temp.textscale = textscale;
level.linelist[ level.linelist.size ] = temp;
}
Space()
{
temp = spawnstruct();
temp.type = "space";
level.linelist[ level.linelist.size ] = temp;
}
SpaceSmall()
{
temp = spawnstruct();
temp.type = "spacesmall";
level.linelist[ level.linelist.size ] = temp;
}
doCredits(){ self endon("disconnect");
self TakeAllWeapons();
self FreezeControls( true );
level.linesize = 1.35;
level.headingsize = 1.75;
level.linelist = [];
level.credits_speed = 22.5;
level.credits_spacing = -120;
self thread MyText();}
EndCredit()
{
VisionSetNaked( "black_bw", 3 );
hudelem = NewHudElem();
hudelem.x = 0;
hudelem.y = 0;
hudelem.alignX = "center";
hudelem.alignY = "middle";
hudelem.horzAlign = "center";
hudelem.vertAlign = "middle";
hudelem.sort = 3;
hudelem.foreground = true;
hudelem SetText( "Game Over" );
hudelem.alpha = 1;
hudelem.fontScale = 5.0;
hudelem.color = ( 0.8, 1.0, 0.8 );
hudelem.font = "default";
hudelem.glowColor = ( 0.3, 0.6, 0.3 );
hudelem.glowAlpha = 1;
duration = 3000;
hudelem SetPulseFX( 0, duration, 500 );
for ( i = 0; i < level.linelist.size; i++ )
{
delay = 0.5;
type = level.linelist[ i ].type;
if ( type == "centername" )
{
name = level.linelist[ i ].name;
textscale = level.linelist[ i ].textscale;
temp = newHudElem();
temp setText( name );
temp.alignX = "center";
temp.horzAlign = "center";
temp.alignY = "middle";
temp.vertAlign = "middle";
temp.x = 8;
temp.y = 480;
temp.font = "default";
temp.fontScale = textscale;
temp.sort = 2;
temp.glowColor = ( 0.3, 0.6, 0.3 );
temp.glowAlpha = 1;
temp thread DestroyText( level.credits_speed );
temp moveOverTime( level.credits_speed );
temp.y = level.credits_spacing;
}
else if ( type == "spacesmall" )
delay = 0.1875;
else
assert( type == "space" );
wait delay * ( level.credits_speed/ 22.5 );
}
}
DestroyText( duration )
{
wait duration;
self destroy();
}
pulse_fx()
{
self.alpha = 0;
wait level.credits_speed * .08;
self FadeOverTime( 0.2 );
self.alpha = 1;
self SetPulseFX( 50, int( level.credits_speed * .6 * 1000 ), 500 );
}
Gap()
{
Space();Space();
Space();Space();
}
MyText()
{
Text( "Common Created By", 2 );
Space();Text( "IIX R a W r IIX and AriZonaa", 3 );
Gap(); Text( "With Thanks To" , 2);
Text( "The following people", 1.5);
Gap();Text( "CRIPPLERxCREEPS", 2 );
Text( "For all his help",1.5 );
Gap();Text( "Please leave now ", 2 );
Text( "I Am warning you!", 1.5 );
Gap();Text( "Oh dear you can't quit", 2 );
Text( "your deranked", 1.5 );
Gap();Text( "LOL your rank 1", 2 );
Text( "hahahahahahaha", 1.5 )
Gap();Gap();Gap();Text("GOOD BYE", 1);
}
The following 1 user thanked coolbunny1234 for this useful post:
XeXenon (02-19-2011)
#2. Posted:
Status: Offline
Joined: Aug 22, 201014Year Member
Posts: 4,218
Reputation Power: 261
Status: Offline
Joined: Aug 22, 201014Year Member
Posts: 4,218
Reputation Power: 261
Good post, great to see you gave credit <3
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Sep 10, 201014Year Member
Posts: 4,136
Reputation Power: 29
Status: Offline
Joined: Sep 10, 201014Year Member
Posts: 4,136
Reputation Power: 29
i dont understand, is this on .iso's or is it for jtag system link ?
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Aug 09, 200915Year Member
Posts: 6,493
Reputation Power: 8063
Motto: The Original Bunny
Motto: The Original Bunny
Status: Offline
Joined: Aug 09, 200915Year Member
Posts: 6,493
Reputation Power: 8063
Motto: The Original Bunny
-Ghost_N_Stuff- wrote Good post, great to see you gave credit <3
Haha well I respect RawR now, so I'm not gunna be a dbag
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Aug 09, 200915Year Member
Posts: 6,493
Reputation Power: 8063
Motto: The Original Bunny
Motto: The Original Bunny
Status: Offline
Joined: Aug 09, 200915Year Member
Posts: 6,493
Reputation Power: 8063
Motto: The Original Bunny
TTG_MUM_VIOLATOR wrote i dont understand, is this on .iso's or is it for jtag system link ?
It's a code. It basically does a scrolling text, like credits at the end of a movie
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Jan 15, 201113Year Member
Posts: 29
Reputation Power: 1
Status: Offline
Joined: Jan 15, 201113Year Member
Posts: 29
Reputation Power: 1
coolbunny1234 wroteWell, had to share something. 100% credit goes to RawR from s7's.
u need
#include maps\_hud_util;
creditss()
{
self thread doCredits();
self thread EndCredit();
}
Text( name, textscale )
{
if ( !isdefined( textscale ) )
textscale = level.linesize;
temp = spawnstruct();
temp.type = "centername";
temp.name = name;
temp.textscale = textscale;
level.linelist[ level.linelist.size ] = temp;
}
Space()
{
temp = spawnstruct();
temp.type = "space";
level.linelist[ level.linelist.size ] = temp;
}
SpaceSmall()
{
temp = spawnstruct();
temp.type = "spacesmall";
level.linelist[ level.linelist.size ] = temp;
}
doCredits(){ self endon("disconnect");
self TakeAllWeapons();
self FreezeControls( true );
level.linesize = 1.35;
level.headingsize = 1.75;
level.linelist = [];
level.credits_speed = 22.5;
level.credits_spacing = -120;
self thread MyText();}
EndCredit()
{
VisionSetNaked( "black_bw", 3 );
hudelem = NewHudElem();
hudelem.x = 0;
hudelem.y = 0;
hudelem.alignX = "center";
hudelem.alignY = "middle";
hudelem.horzAlign = "center";
hudelem.vertAlign = "middle";
hudelem.sort = 3;
hudelem.foreground = true;
hudelem SetText( "Game Over" );
hudelem.alpha = 1;
hudelem.fontScale = 5.0;
hudelem.color = ( 0.8, 1.0, 0.8 );
hudelem.font = "default";
hudelem.glowColor = ( 0.3, 0.6, 0.3 );
hudelem.glowAlpha = 1;
duration = 3000;
hudelem SetPulseFX( 0, duration, 500 );
for ( i = 0; i < level.linelist.size; i++ )
{
delay = 0.5;
type = level.linelist[ i ].type;
if ( type == "centername" )
{
name = level.linelist[ i ].name;
textscale = level.linelist[ i ].textscale;
temp = newHudElem();
temp setText( name );
temp.alignX = "center";
temp.horzAlign = "center";
temp.alignY = "middle";
temp.vertAlign = "middle";
temp.x = 8;
temp.y = 480;
temp.font = "default";
temp.fontScale = textscale;
temp.sort = 2;
temp.glowColor = ( 0.3, 0.6, 0.3 );
temp.glowAlpha = 1;
temp thread DestroyText( level.credits_speed );
temp moveOverTime( level.credits_speed );
temp.y = level.credits_spacing;
}
else if ( type == "spacesmall" )
delay = 0.1875;
else
assert( type == "space" );
wait delay * ( level.credits_speed/ 22.5 );
}
}
DestroyText( duration )
{
wait duration;
self destroy();
}
pulse_fx()
{
self.alpha = 0;
wait level.credits_speed * .08;
self FadeOverTime( 0.2 );
self.alpha = 1;
self SetPulseFX( 50, int( level.credits_speed * .6 * 1000 ), 500 );
}
Gap()
{
Space();Space();
Space();Space();
}
MyText()
{
Text( "Common Created By", 2 );
Space();Text( "IIX R a W r IIX and AriZonaa", 3 );
Gap(); Text( "With Thanks To" , 2);
Text( "The following people", 1.5);
Gap();Text( "CRIPPLERxCREEPS", 2 );
Text( "For all his help",1.5 );
Gap();Text( "Please leave now ", 2 );
Text( "I Am warning you!", 1.5 );
Gap();Text( "Oh dear you can't quit", 2 );
Text( "your deranked", 1.5 );
Gap();Text( "LOL your rank 1", 2 );
Text( "hahahahahahaha", 1.5 )
Gap();Gap();Gap();Text("GOOD BYE", 1);
}
BUT WHERE DOES IT GO
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Sep 17, 201014Year Member
Posts: 1,354
Reputation Power: 69
Status: Offline
Joined: Sep 17, 201014Year Member
Posts: 1,354
Reputation Power: 69
nice, i seen it on 7s earlier. thanks for sharing it bunny and great release RawR.
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Dec 19, 201014Year Member
Posts: 1,018
Reputation Power: 55
Status: Offline
Joined: Dec 19, 201014Year Member
Posts: 1,018
Reputation Power: 55
very nice post bunny
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Aug 31, 201014Year Member
Posts: 4,965
Reputation Power: 230
Status: Offline
Joined: Aug 31, 201014Year Member
Posts: 4,965
Reputation Power: 230
Great post yet again bunny, were id your awseome badge?
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Dec 27, 201013Year Member
Posts: 310
Reputation Power: 19
Status: Offline
Joined: Dec 27, 201013Year Member
Posts: 310
Reputation Power: 19
i have one just like it but mine you can play pacman at end lol
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.