[Release] Custom XP Text - Page 2 - NextGenUpdate
Page 2 of 2 First 1 2
THREAD: [Release] Custom XP Text
  1. 10-06-2012, 02:49 PM
    #1
    Taylor's Avatar
    Taylor
    Former Black Knight.
    Taylor's Avatar
    Taylor
    Former Black Knight.
    3,580
    Posts
    73,105
    Reputation
    Oct 2011
    NextGenUpdate
    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:


    How To:
    Spoiler:

    1.) FInd The Function In _rank.gsc Called: updateRankScoreHUD
    2.) Find This Part Of The Code:
    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.....
    Code:
    		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.......):
    Code:
    precacheString( &"NGU! " );


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

  2. The Following 9 Users Say Thank You to Taylor For This Useful Post:

    , , , , , , ,

  3. 10-10-2012, 04:15 AM
    #11
    Jacob-And-Britt's Avatar
    Jacob-And-Britt
    Iím too L33T
    Jacob-And-Britt's Avatar
    Jacob-And-Britt
    Iím too L33T
    1,394
    Posts
    4,661
    Reputation
    May 2011
    NextGenUpdate
    Sponsored Links

    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:


    How To:
    Spoiler:

    1.) FInd The Function In _rank.gsc Called: updateRankScoreHUD
    2.) Find This Part Of The Code:
    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.....
    Code:
    		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.......):
    Code:
    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.
  4. Sponsored Links
  5. 02-02-2016, 02:23 PM
    #12
    FRINZ's Avatar
    FRINZ
    Iím too L33T
    FRINZ's Avatar
    FRINZ
    Iím too L33T
    1,370
    Posts
    7,105
    Reputation
    Oct 2014
    NextGenUpdate
    on bo2 m8 c:
  6. 08-12-2017, 01:55 PM
    #13
    xEemZz's Avatar
    xEemZz
    Grunt
    xEemZz's Avatar
    xEemZz
    Grunt
    53
    Posts
    90
    Reputation
    Mar 2015
    NextGenUpdate
    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:


    How To:
    Spoiler:

    1.) FInd The Function In _rank.gsc Called: updateRankScoreHUD
    2.) Find This Part Of The Code:
    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.....
    Code:
    		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.......):
    Code:
    precacheString( &"NGU! " );


    I Hope You Enjoy....... - Taylor
    This is pretty neat
Page 2 of 2 First 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •