ItsMods

Full Version: xp value problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Sup i have a problem with my own mod.
When i play on repzIW4 i just get the right amount of xp in snd in the first round and in other rounds whatever i do just 500.
In IW4Play or wildehilde i get in the first round whatever i do 500 xp and in the other rounds the right amount.
Can anyone help me im stuck here ;_;
Quote:...wildehilde..

..wtf?
Probably some dvars are edited( or locked ), try to edit _sd.gsc.
First of all i dont have a sd.gsc
A friend said it could be a damaged damage.gsc
I dont know much about coding i just modified it...
Can i upload it iand someone could put an eye on it? ^^
What files do you have?
Does someone of u know tsd?
All gscs of that i have a modified version
i can upload them tomorrow atm im online from my smartphone ^^
(08-15-2014, 21:21)rvyASVP Wrote: [ -> ]Does someone of u know tsd?
All gscs of that i have a modified version
i can upload them tomorrow atm im online from my smartphone ^^

Upload it tomorrow and we see what it could be the problem.
"Damaged damage.gsc" is wrong.
It's done via _rank.gsc and game type gscs.
Here u go

BTW i have to say that it is a private match mod so the xp look like online ^^
(08-16-2014, 09:44)rvyASVP Wrote: [ -> ]Here u go

BTW i have to say that it is a private match mod so the xp look like online ^^

I couldnt find anything, there are many files, try removing this part of _rank.gsc and see if the problem dissapears.

Code:
        if ( getDvar( "g_gametype" ) == "sd" ) {

            if (self.PubXP == 0) {
                registerScoreInfo( "kill", 500 ); // private match
                registerScoreInfo( "headshot", 0 );
            } else {
                registerScoreInfo( "kill", 500 ); // public match
                registerScoreInfo( "headshot", 1000 );
            }
            
        } else {
            registerScoreInfo( "kill", 100 );
            registerScoreInfo( "headshot", 50 );
            registerScoreInfo( "assist", 20 );
            registerScoreInfo( "suicide", 0 );
            registerScoreInfo( "teamkill", 0 );
        }
if i delete this wouldnt the xp not work because it wouldnt give the right amount or nah?
But first ill try it
Pages: 1 2