ItsMods

Full Version: [SOLVED] Removing the xp gain number from medal messages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everybody.
How can you remove the value that shows your xp gain when you get a medal. In private match this is already done by default, but how can it also be done in combat training and on unranked dedicates?
Thanks Smile
(09-14-2011, 16:53)AZUMIKKEL Wrote: [ -> ]http://www.itsmods.com/forum/Thread-Cust...-3747.html
Yea I could try it that way but it might also just show +0 or something then. It needs to be for only one gamemode too, and it will be a lot of work to make new seperate medals for one gametype.
There must be something in a .gsc that disables it like it does for private match..
(09-14-2011, 18:02)Cyborgking Wrote: [ -> ]
(09-14-2011, 16:53)AZUMIKKEL Wrote: [ -> ]http://www.itsmods.com/forum/Thread-Cust...-3747.html
Yea I could try it that way but it might also just show +0 or something then. It needs to be for only one gamemode too, and it will be a lot of work to make new seperate medals for one gametype.
There must be something in a .gsc that disables it like it does for private match..

just add

Code:
if( level.gameType != "your_gametype_here" )
(09-14-2011, 18:05)iAegle Wrote: [ -> ]
(09-14-2011, 18:02)Cyborgking Wrote: [ -> ]
(09-14-2011, 16:53)AZUMIKKEL Wrote: [ -> ]http://www.itsmods.com/forum/Thread-Cust...-3747.html
Yea I could try it that way but it might also just show +0 or something then. It needs to be for only one gamemode too, and it will be a lot of work to make new seperate medals for one gametype.
There must be something in a .gsc that disables it like it does for private match..

just add

Code:
if( level.gameType != "your_gametype_here" )
But where?
like iAegle said to me, delete everything in the giveRankXP function on _rank.gsc.
Then the XP wont appear.
(09-14-2011, 20:44)Tomsen1410 Wrote: [ -> ]like iAegle said to me, delete everything in the giveRankXP function on _rank.gsc.
Then the XP wont appear.

You probably just made him delete the whole _rank.gsc or the whole thread + title, seeing as he didn't know where to put the line above.
I have got it done now. Smile
The game now uses the wager popup instead of the medal popup for medals, while still keeping almost the same functionality. Advantage of the wager popup is that it gives me a lot more freedom when it comes to setting text.
Thanks anyways.