Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
xp value problems
#1
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 ;_;
Reply

#2
Quote:...wildehilde..

..wtf?
Probably some dvars are edited( or locked ), try to edit _sd.gsc.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
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? ^^
Reply

#4
What files do you have?
Reply

#5
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 ^^
Reply

#6
(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.
Reply

#7
"Damaged damage.gsc" is wrong.
It's done via _rank.gsc and game type gscs.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#8
Here u go

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


Attached Files
.rar   mahtsd.rar (Size: 112.36 KB / Downloads: 11)
Reply

#9
(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 );
        }
Reply

#10
if i delete this wouldnt the xp not work because it wouldnt give the right amount or nah?
But first ill try it
Reply



Forum Jump:


Users browsing this thread:
4 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.