Post: [Release] Custom XP Text
10-06-2012, 06:49 PM #1
Taylor
Former Black Knight.
(adsbygoogle = window.adsbygoogle || []).push({});
Well, I Was Messing Around, But I Don't Know If I Was The First To Stumble Upon This Or Not, But Whatever The Case Is, Im Sharing It With You All.

Note: If The Player Is Not Host It Will Show Up "Unlocalized("Your Text Here"), If You Cannot Deal With That Then Don't Do It!

Image:
You must login or register to view this content.

How To:

1.) FInd The Function In _rank.gsc Called: updateRankScoreHUD
2.) Find This Part Of The Code:
    
if ( self.rankUpdateTotal < 0 )
{
self.hud_rankscroreupdate.label = &"";
self.hud_rankscroreupdate.color = (1,0,0);
}
else
{
self.hud_rankscroreupdate.label = &"MP_PLUS";
self.hud_rankscroreupdate.color = (1,1,0.5);
}

3.) And Change It To Whatever You Desire, I Chose "NGU! ", I Would Suggest Having A Space After The Last Word, Otherwise The Text Will Be Smack Against The Xp Number.....
    
if ( self.rankUpdateTotal < 0 )
{
self.hud_rankscroreupdate.label = &"";
self.hud_rankscroreupdate.color = (1,0,0);
}
else
{
self.hud_rankscroreupdate.label = &"NGU! ";
self.hud_rankscroreupdate.color = (1,1,0.5);
}

4.) Now, Go To: Init() And Put This Anywhere In That Function (Replace "NGU! " With Whatever Text You Desire.......):
    
precacheString( &"NGU! " );



I Hope You Enjoy....... - Taylor
Last edited by Taylor ; 10-07-2012 at 04:55 PM.

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

forflah123, Jacob-And-Britt, MxModz1, Cmd-X, silentcobra22, Vampytwistッ, xEemZz, xKtF
10-10-2012, 08:15 AM #11
Jacob-And-Britt
I’m too L33T
Originally posted by xYARDSALEx View Post
Well, I Was Messing Around, But I Don't Know If I Was The First To Stumble Upon This Or Not, But Whatever The Case Is, Im Sharing It With You All.

Note: If The Player Is Not Host It Will Show Up "Unlocalized("Your Text Here"), If You Cannot Deal With That Then Don't Do It!

Image:
You must login or register to view this content.

How To:

1.) FInd The Function In _rank.gsc Called: updateRankScoreHUD
2.) Find This Part Of The Code:
    
if ( self.rankUpdateTotal < 0 )
{
self.hud_rankscroreupdate.label = &"";
self.hud_rankscroreupdate.color = (1,0,0);
}
else
{
self.hud_rankscroreupdate.label = &"MP_PLUS";
self.hud_rankscroreupdate.color = (1,1,0.5);
}

3.) And Change It To Whatever You Desire, I Chose "NGU! ", I Would Suggest Having A Space After The Last Word, Otherwise The Text Will Be Smack Against The Xp Number.....
    
if ( self.rankUpdateTotal < 0 )
{
self.hud_rankscroreupdate.label = &"";
self.hud_rankscroreupdate.color = (1,0,0);
}
else
{
self.hud_rankscroreupdate.label = &"NGU! ";
self.hud_rankscroreupdate.color = (1,1,0.5);
}

4.) Now, Go To: Init() And Put This Anywhere In That Function (Replace "NGU! " With Whatever Text You Desire.......):
    
precacheString( &"NGU! " );



I Hope You Enjoy....... - Taylor
I like it man, why is there nobody posting in the cod 4 section anymore? School? Thats why i dont i never have time to make new scripts. :(
02-02-2016, 07:23 PM #12
FRINZ
I’m too L33T
on bo2 m8 c:
08-12-2017, 05:55 PM #13
Originally posted by Taylor View Post
Well, I Was Messing Around, But I Don't Know If I Was The First To Stumble Upon This Or Not, But Whatever The Case Is, Im Sharing It With You All.

Note: If The Player Is Not Host It Will Show Up "Unlocalized("Your Text Here"), If You Cannot Deal With That Then Don't Do It!

Image:
You must login or register to view this content.

How To:

1.) FInd The Function In _rank.gsc Called: updateRankScoreHUD
2.) Find This Part Of The Code:
    
if ( self.rankUpdateTotal < 0 )
{
self.hud_rankscroreupdate.label = &"";
self.hud_rankscroreupdate.color = (1,0,0);
}
else
{
self.hud_rankscroreupdate.label = &"MP_PLUS";
self.hud_rankscroreupdate.color = (1,1,0.5);
}

3.) And Change It To Whatever You Desire, I Chose "NGU! ", I Would Suggest Having A Space After The Last Word, Otherwise The Text Will Be Smack Against The Xp Number.....
    
if ( self.rankUpdateTotal < 0 )
{
self.hud_rankscroreupdate.label = &"";
self.hud_rankscroreupdate.color = (1,0,0);
}
else
{
self.hud_rankscroreupdate.label = &"NGU! ";
self.hud_rankscroreupdate.color = (1,1,0.5);
}

4.) Now, Go To: Init() And Put This Anywhere In That Function (Replace "NGU! " With Whatever Text You Desire.......):
    
precacheString( &"NGU! " );



I Hope You Enjoy....... - Taylor


This is pretty neat Happy

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo