[Help]Double EXP Mutator

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

FluX

Grizzled Veteran
Oct 26, 2010
5,394
234
63
www.fluxiserver.co.uk
Hi, I was wondering if I was able to make a "double EXP" mutator that well, will double all the stats you get. An example would be for every stalker you kill, you get given two instead.

The reason I want this as a mutator is so it wont be permanent and can be added whenever I turn the mutator on.

If this is possible, can someone give me hints on how to create this?

Cheers in advance.
 

Gooblaster

FNG / Fresh Meat
Oct 3, 2010
342
25
0
So you want to make a mutator which makes the game easier to level up? There are so many things wrong with this.

No, not really...

It can be turned on when we want to have a "double experience" event for the server...

Like, a limited time only thing to entice players to play.
 

C_Gibby

FNG / Fresh Meat
Jan 18, 2010
7,275
2,716
0
No, not really...

It can be turned on when we want to have a "double experience" event for the server...

Like, a limited time only thing to entice players to play.

Bad idea on many levels. Also, I can guarantee that TWI won't allow it.
 

Gooblaster

FNG / Fresh Meat
Oct 3, 2010
342
25
0
Bad idea on many levels. Also, I can guarantee that TWI won't allow it.


No no... What i mean is that it works only for Marco's ServerPerks mutator.

I run servers that use a modified version of that, and a 2x exp event would be a good idea considering we have 20 levels in my server.

Also, care to list out why it is a "bad idea on many levels" ?
 

C_Gibby

FNG / Fresh Meat
Jan 18, 2010
7,275
2,716
0
No no... What i mean is that it works only for Marco's ServerPerks mutator.

I run servers that use a modified version of that, and a 2x exp event would be a good idea considering we have 20 levels in my server.

Also, care to list out why it is a "bad idea on many levels" ?

OOOHHH, with the server perks bit, I didn't catch that, so sorry. :( And by a bad idea, I mean everything about it (providing that it was intended for the official perks) would prevent it getting whitelisted. It's like "powerlevelling day" where people could easily get from 0-6 without learning as much as they should. It's almost an exploit mutator.
 

FluX

Grizzled Veteran
Oct 26, 2010
5,394
234
63
www.fluxiserver.co.uk
I do apologise I did not explain fully what I ment. I did ment the Marco's perk system and your theory of changing the ReqScaling to 2 will DOUBLE what the requirements will need, not actually give you double. This will be used for events like you have said as it would be nice to give back my community a "thanks, here's your reward" so to speak.

Could this actually be done?

P.S. I would never think about getting a double EXP mutator for the original perk system as like you said, it'll be like an exploit to get around the levels by power-leveling. I like well balanced games and I do NOT allow any form of exploiting or cheating on my servers as it is.
 

Excalibolg

FNG / Fresh Meat
May 3, 2009
142
27
0
KF-BioticsLab
Have the mutator change some globally accessable variable or something. In the ServerStStats.uc file all the functions are defined that add something to the stats. Just change this to give double.

For example:

Code:
function AddMeleeDamage(int Amount)
{
    bHasChanged = true;
[B]    if (bDoubleExp)
        Amount = Amount + Amount;[/B]
    Rep.RMeleeDamageStat+=Amount;
    if( MyStatsObject!=None )
        MyStatsObject.MeleeDamageStat+=Amount;
    DelayedStatCheck();
}
 

matttthias

FNG / Fresh Meat
Mar 5, 2010
174
10
0
Austria
www.team-gmk.com
i would change the code to something like this

Code:
 function AddMeleeDamage(int Amount) 
{     
    bHasChanged = true;     
    if (bDoubleExp)         
[B]        Amount *= Multiplicator ;      [/B]
    Rep.RMeleeDamageStat+=Amount; 
    if( MyStatsObject!=None ) 
        MyStatsObject.MeleeDamageStat+=Amount; 
    DelayedStatCheck(); 
}
so that you can set the Multiplicator through the Webinterface
then you can triple the exp or only multiplicate it with 1.5
 

Excalibolg

FNG / Fresh Meat
May 3, 2009
142
27
0
KF-BioticsLab
I agree with matttthias. Since you're gonna be changing _every single award function_ you might as well save you some hardcoded trouble :D
 

FluX

Grizzled Veteran
Oct 26, 2010
5,394
234
63
www.fluxiserver.co.uk
This would work but not for every requirement. An example would be the StalkerKills requirement where you can't exactly have half a stalker kill ;)

Good idea but I guess it's easier having just one amount as going more then double is overkilling the point of leveling :p

What you mean by WebInterface by the way? First thing that pops up is the WebAdmin which I have a feeling you don't mean.
 

maniako

FNG / Fresh Meat
Oct 17, 2014
37
0
0
Flux mutator that works ? You can release it ? Thanks for your work . I would come in handy for my community.
 

Dr_Killjoy

FNG / Fresh Meat
Sep 30, 2012
260
0
0
This would work but not for every requirement. An example would be the StalkerKills requirement where you can't exactly have half a stalker kill ;)

Good idea but I guess it's easier having just one amount as going more then double is overkilling the point of leveling :p

What you mean by WebInterface by the way? First thing that pops up is the WebAdmin which I have a feeling you don't mean.

I'm very grief that your dislike to Russian community bothered you to look this mutator in russian forums. This thing was written ~1 year ago...

Ok. This is necropost. In 2010 year this thing wasn't written. I need to breathe fresh air...
 
Last edited: