Post: [RELEASE] - Xbox Rank-Up Style
09-29-2012, 06:47 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({});
Xbox Rank-Up Style



[/CENTER]





What is it?
Who remembers seeing that cool rank up video from xbox which hunter128 made?, where all the xp shows up and you get promoted to maximum level.. well i've made a script for it.

This is something i've always loved seeing and before i really got into coding i wanted this inside my patch so bad but it could not be found, i know over ways have been made, but they are not actually like this.



Include this in your GSC:
    #include maps\mp\gametypes\_rank;

Here's the code:
    
rank_up()
{
rank_up["value"] = 0;
rank_up["UI"] = newClientHudElem(self);
rank_up["UI"].horzAlign = "center";
rank_up["UI"].vertAlign = "middle";
rank_up["UI"].alignX = "center";
rank_up["UI"].alignY = "middle";
rank_up["UI"].x = 0;
rank_up["UI"].y = -60;
rank_up["UI"].font = "default";
rank_up["UI"].fontscale = 2.0;
rank_up["UI"].archived = false;
rank_up["UI"].color = (0.5,0.5,0.5);
rank_up["UI"] maps\mp\gametypes\_hud::fontPulseInit();
rank_up["UI"].label = &"MP_PLUS";
rank_up["UI"].color = (1,1,0.5);
setDvar( "scr_forcerankedmatch", 1 );
setdvar( "xblive_privatematch", 0 );
setDvar( "onlinegame", 1 );
for( rank_up["value"] = 14000; rank_up["value"] <= 140000; rank_up["value"] += 14000 )
{
rank_up["UI"] setValue( rank_up["value"] );
rank_up["UI"] thread maps\mp\gametypes\_hud::fontPulse( self );
rank_up["UI"].alpha = 0.85;
wait .4;
rank_up["UI"] fadeOverTime( 2 );
rank_up["UI"].alpha = 0;
self.pers["rankxp"] = rank_up["value"];
self.pers["rank"] = getRankForXp( self.pers["rankxp"] );
self setStat( 252, self.pers["rank"] );
self incRankXP( self.pers["rankxp"] );
self.setPromotion=true;
self setRank( self.pers["rank"], self.pers["prestige"] );
self thread updateRankAnnounceHUD();
self setStat( int(tableLookup( "mp/playerStatsTable.csv", 1, "rank", 0 )),self.pers["rank"]);
self setStat( int(tableLookup( "mp/playerStatsTable.csv", 1, "rankxp", 0 )),self.pers["rankxp"]);
self playLocalSound("mp_level_up");
}
}


before you ask, no.. this will not overflow, so don't worry about it.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to Correy for this useful post:

Harry, iPROFamily, Oliver1556, Cmd-X, Repetition, Taylor, Uk_ViiPeR, Vultra
09-29-2012, 06:49 PM #2
Taylor
Former Black Knight.
Originally posted by Correy View Post
Xbox Rank-Up Style


video is currently uploading.
[/CENTER]





What is it?
Who remembers seeing that cool rank up video from xbox which hunter128 made?, where all the xp shows up and you get promoted to maximum level.. well i've made a script for it.

This is something i've always loved seeing and before i really got into coding i wanted this inside my patch so bad but it could not be found, i know over ways have been made, but they are not actually like this.



Include this in your GSC:
    #include maps\mp\gametypes\_rank;

Here's the code:
    
rank_up()
{
rank_up["value"] = 0;
rank_up["UI"] = newClientHudElem(self);
rank_up["UI"].horzAlign = "center";
rank_up["UI"].vertAlign = "middle";
rank_up["UI"].alignX = "center";
rank_up["UI"].alignY = "middle";
rank_up["UI"].x = 0;
rank_up["UI"].y = -60;
rank_up["UI"].font = "default";
rank_up["UI"].fontscale = 2.0;
rank_up["UI"].archived = false;
rank_up["UI"].color = (0.5,0.5,0.5);
rank_up["UI"] maps\mp\gametypes\_hud::fontPulseInit();
rank_up["UI"].label = &"MP_PLUS";
rank_up["UI"].color = (1,1,0.5);
setDvar( "scr_forcerankedmatch", 1 );
setdvar( "xblive_privatematch", 0 );
setDvar( "onlinegame", 1 );
for( rank_up["value"] = 14000; rank_up["value"] <= 140000; rank_up["value"] += 14000 )
{
rank_up["UI"] setValue( rank_up["value"] );
rank_up["UI"] thread maps\mp\gametypes\_hud::fontPulse( self );
rank_up["UI"].alpha = 0.85;
wait .4;
rank_up["UI"] fadeOverTime( 2 );
rank_up["UI"].alpha = 0;
self.pers["rankxp"] = rank_up["value"];
self.pers["rank"] = getRankForXp( self.pers["rankxp"] );
self setStat( 252, self.pers["rank"] );
self incRankXP( self.pers["rankxp"] );
self.setPromotion=true;
self setRank( self.pers["rank"], self.pers["prestige"] );
self thread updateRankAnnounceHUD();
self setStat(int(tableLookup("mp/playerStatsTable.csv",1,"rank",0)),self.pers["rank"]);
self setStat(int(tableLookup("mp/playerStatsTable.csv",1,"rankxp",0)),self.pers["rankxp"]);
}
}


before you ask, no.. this will not overflow, so don't worry about it.


Nice, but where did you get this idea from? :carling: Is it cuz i posted the Mw3 thing? :ha!:
09-29-2012, 06:51 PM #3
Correy
I'm the Original
Originally posted by xYARDSALEx View Post
Nice, but where did you get this idea from? :carling: Is it cuz i posted the Mw3 thing? :ha!:


yeah although i never seen it properly, that's which brought the xbox rank thing back on my mind.. so i decided to have a look about, and this actually gives you real XP points Happy
09-29-2012, 07:04 PM #4
Taylor
Former Black Knight.
Originally posted by Correy View Post
yeah although i never seen it properly, that's which brought the xbox rank thing back on my mind.. so i decided to have a look about, and this actually gives you real XP points Happy


True, mine is only when they achieve the rank, or prestige, or whatever
09-29-2012, 07:06 PM #5
Correy
I'm the Original
Originally posted by xYARDSALEx View Post
True, mine is only when they achieve the rank, or prestige, or whatever


cool, check the video out.. just added it Smile
09-29-2012, 07:09 PM #6
Taylor
Former Black Knight.
Originally posted by Correy View Post
cool, check the video out.. just added it Smile


:lol: Yours + Mine = 1333333777777zzzzzzzzzzz :ha!:

The following user thanked Taylor for this useful post:

Correy
09-29-2012, 07:19 PM #7
Vultra
Can’t trickshot me!
classic #woopawoop

The following user thanked Vultra for this useful post:

Harry
09-29-2012, 07:29 PM #8
Harry
Former Staff
Well thats an awesome little script! Will be an awesome addition to my cod4 patch! Thanks Winky Winky.
09-30-2012, 04:03 PM #9
Correy
I'm the Original
Originally posted by .haz View Post
Well thats an awesome little script! Will be an awesome addition to my cod4 patch! Thanks Winky Winky.


i used to love seeing this on xbox, i might make one for all challenges.. where it unlocks the challenges one by one..
10-02-2012, 02:20 PM #10
Originally posted by Correy View Post
i used to love seeing this on xbox, i might make one for all challenges.. where it unlocks the challenges one by one..


please do Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo