Post: [Release] Custom Xp Text
10-06-2012, 07:16 PM #1
Taylor
Former Black Knight.
(adsbygoogle = window.adsbygoogle || []).push({});
Well, I KNow I Put This On Cod4 First, But This Is A Little Bit Different, And I Mise Well Just Tell You How To Do It, Verses You Trying To Find What To Do On Your Own.

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(I Know It's Cod4 In The Picture, But You Get The Point):
You must login or register to view this content.

How To:

1.) FInd The Function In _rank.gsc Called: scorePopup
2.) Find This Part Of The Code:
    
if(self.xpUpdateTotal < 0)
self.hud_scorePopup.label=&"";
else
self.hud_scorePopup.label=&"MP_PLUS";

3.) And Change It To Whatever You Desire, I Chose "Mw2! ", I Would Suggest Having A Space After The Last Word, Otherwise The Text Will Be Smack Against The Xp Number.....
    
if(self.xpUpdateTotal < 0)
self.hud_scorePopup.label=&"";
else
self.hud_scorePopup.label=&"Mw2! ";

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



I Hope You Enjoy....... - Taylor
(adsbygoogle = window.adsbygoogle || []).push({});

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

Day, AgentSexyPig, BrinkerzHD, ChromeVisionz, CrEaTiiOnUNREAL, forflah123, J, KCxFTW, Kitty=^.^=, KM-_1337, OmGRhys-x, RaspberryIce, ICS Vortex, silentcobra22, Uk_ViiPeR, UnboundUser, Vampytwistッ
10-06-2012, 11:57 PM #11
Tipton_Modz
Treasure hunter
going to try this thanks (y)

---------- Post added at 11:57 PM ---------- Previous post was at 11:31 PM ----------

comes up with Unlocalized next to my xp its in red wot dosent look that good
10-07-2012, 12:32 AM #12
Taylor
Former Black Knight.
Originally posted by Modz View Post
going to try this thanks (y)

---------- Post added at 11:57 PM ---------- Previous post was at 11:31 PM ----------

comes up with Unlocalized next to my xp its in red wot dosent look that good


cuz u didnt precache the string, tahts why its Unlocalized :derp:
10-07-2012, 01:42 AM #13
HackersForHire
Climbing up the ladder
This is sweet as, Smile Do you think this could be as a function? like you can turn it on and off?

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

Slice, Vanz
10-07-2012, 04:41 AM #14
Taylor
Former Black Knight.
Originally posted by HepticOnline View Post
This is sweet as, Smile Do you think this could be as a function? like you can turn it on and off?


most likely, ill write it when i can be asked. :lol:
10-07-2012, 05:12 AM #15
HackersForHire
Climbing up the ladder
Originally posted by xYARDSALEx View Post
most likely, ill write it when i can be asked. :lol:


:3 Would be sickk, haha cant wait! Needa
10-07-2012, 05:33 AM #16
Originally posted by xYARDSALEx View Post
Well, I KNow I Put This On Cod4 First, But This Is A Little Bit Different, And I Mise Well Just Tell You How To Do It, Verses You Trying To Find What To Do On Your Own.

Image(I Know It's Cod4 In The Picture, But You Get The Point):
You must login or register to view this content.

How To:

1.) FInd The Function In _rank.gsc Called: scorePopup
2.) Find This Part Of The Code:
    
if(self.xpUpdateTotal < 0)
self.hud_scorePopup.label=&"";
else
self.hud_scorePopup.label=&"MP_PLUS";

3.) And Change It To Whatever You Desire, I Chose "Mw2! ", I Would Suggest Having A Space After The Last Word, Otherwise The Text Will Be Smack Against The Xp Number.....
    
if(self.xpUpdateTotal < 0)
self.hud_scorePopup.label=&"";
else
self.hud_scorePopup.label=&"Mw2! ";

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



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



On mw2 console you can't use non localized strings for labels it wont work. sorry Taylor.
10-07-2012, 01:12 PM #17
Tipton_Modz
Treasure hunter
Originally posted by xYARDSALEx View Post
cuz u didnt precache the string, tahts why its Unlocalized :derp:


ive done that do u think its because ive alreay got flashing xp ?
10-07-2012, 04:48 PM #18
Taylor
Former Black Knight.
Originally posted by GAMER View Post
On mw2 console you can't use non localized strings for labels it wont work. sorry Taylor.


It Works For Host Player Only I Guess, You Know About Cod4?

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

Originally posted by Modz View Post
ive done that do u think its because ive alreay got flashing xp ?


No, It's Host Only, If You Aren't Host It Will Show Up UNLOCALIZED First.

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

Tipton_Modz
10-07-2012, 08:28 PM #19
RaspberryIce
Bounty hunter
Originally posted by xYARDSALEx View Post
Well, I KNow I Put This On Cod4 First, But This Is A Little Bit Different, And I Mise Well Just Tell You How To Do It, Verses You Trying To Find What To Do On Your Own.

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(I Know It's Cod4 In The Picture, But You Get The Point):
You must login or register to view this content.

How To:

1.) FInd The Function In _rank.gsc Called: scorePopup
2.) Find This Part Of The Code:
    
if(self.xpUpdateTotal < 0)
self.hud_scorePopup.label=&"";
else
self.hud_scorePopup.label=&"MP_PLUS";

3.) And Change It To Whatever You Desire, I Chose "Mw2! ", I Would Suggest Having A Space After The Last Word, Otherwise The Text Will Be Smack Against The Xp Number.....
    
if(self.xpUpdateTotal < 0)
self.hud_scorePopup.label=&"";
else
self.hud_scorePopup.label=&"Mw2! ";

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



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

I've got this on and it doesn't show as unlocalised for people who aren't host , all my mates saw the same thing as me without unlocalised , lol, so I suppose it's not host only , works for everyone without unlocalised mw2 for me , thanks anyway Smile

The following user thanked RaspberryIce for this useful post:

Komet웃

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo