What's new

Discussion [RELEASE] 1XP Mod

  • Thread starter GeorgeGee
  • Start date
  • Views 978
GeorgeGee

GeorgeGee

Enthusiast
Messages
62
Reaction score
19
Points
55
Sin$
7
Just a short, but sweet code for 1XP (per kill) :smile:

The reason why you might want this mod? Well, it looks freaking awesome when you kill someone.



Codes:


Code:
smallXP(){
foreach(p in level.players)
p.xpScaler=0.01;
}

To use these you have to add them to some sort of function, for example:​
Code:
onPlayerConnect()(
self thread smallXP();
}

Enjoy :biggrin:
 
B

BFK Friissky xV

Banned
Messages
1,108
Reaction score
119
Points
165
Sin$
0
I wonder how may people I can piss off with this.
 
7s id boss 329

7s id boss 329

Getting There
Messages
1,666
Reaction score
204
Points
190
Sin$
0
this
Code:
XP(){
if ( getDvar("g_gametype") == "dm" )
{
foreach(p in level.players)
{
p.xpScaler=0.02;
}
}
else
foreach(p in level.players)
{
p.xpScaler=0.01;
}
}
will make it so all game modes have 1 xp idk if there is any other game modes besides ffa with 50 xp
 
GeorgeGee

GeorgeGee

Enthusiast
Messages
62
Reaction score
19
Points
55
Sin$
7
this
Code:
XP(){
if ( getDvar("g_gametype") == "dm" )
{
foreach(p in level.players)
{
p.xpScaler=0.02;
}
}
else
foreach(p in level.players)
{
p.xpScaler=0.01;
}
}
will make it so all game modes have 1 xp idk if there is any other game modes besides ffa with 50 xp
I just realised that if you set it to 0.01 no matter what gamemode it is, it will always be 1XP, as it cannot go into decimals. Edited original post.
 
7s id boss 329

7s id boss 329

Getting There
Messages
1,666
Reaction score
204
Points
190
Sin$
0
I just realised that if you set it to 0.01 no matter what gamemode it is, it will always be 1XP, as it cannot go into decimals. Edited original post.
can you send me another message on aim i accidentally closed it and i dont have your aim
 
I

ItZ UGSTA

We Come, We Rave, We Love
Forum Addict Experienced Veteran Grizzled Veteran
Messages
3,180
Reaction score
565
Points
375
Sin$
0
or you could just edit the dvars Antics- found to make 1 xp per kill/death ect..
 
Top Bottom
Login
Register