Question How to make x2 XP Script on WaW?

lysergic

New Member
Messages
2
Reaction score
0
Points
1
Hi,

Was just wondering if anyone knew how to make a simple XP multiplier script for my waw dedicated tdm server? I just want to change the standard kill XP from 10 to a custom number. I'd also like to use it with Bot Warfare if possible.

Thanks
 

zombiegangster

Insane-Known Member
Messages
1
Reaction score
0
Points
351
Something like this

Code:
level.DoubleXP = false;

DoubleXP()
{
    self endon("disconnect");

    if(level.DoubleXP == false)
    {
        level.DoubleXP = true;
        maps\mp\gametypes\_rank::registerScoreInfo( "kill", 200);
    }
}
 

mehmood777

New Member
Messages
3
Reaction score
0
Points
1
In your _rank.gsc or kill handler:
Code:
giveRankXP(amount)
{
    self.rankXP += amount * 2; // 2x XP
    self maps\mp\gametypes\_rank::updateRank();
}
If you find this:
Code:
self.rankXP += 10;
Replace it with:
Code:
self.rankXP += 20;
That’s it! Just rebuild your mod and test it — kills now give double XP. Let me know if you want auto-scaling (like x3, x4) via config.
 
Top