[mutator] Balancer (Yeah, I know it sounds stupid.)

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

_Lynx

Strategic Military Services
Staff member
Dec 5, 2003
1,965
8
38
40
Moscow, Russia
beyondunreal.com
This mutator was made for one pack long ago but didn't made it to the pack in the end. However I think it's still a good mutator and may be someone will find use for it.

1. What is Balancer.

Balancer consist of two parts, called Fast Items and Handicapper.
Fast Items is a feature that checks the amount of players in the game, and if their number is higher than the recommended for the current map being played it decreases the respawn time of items so there's no lack of them. Maximum decrease is when the difference between ideal and current player counts is 5 and more. Mutator uses the following formula to calculate new respawn time:
Base respawn time * Modifier * Modifier
Modifier = (1 - (difference between ideal an current player count/10 )
if difference is more than 5 it is considered that it is equal to 5. The second multiplication on modifier is performed only for non-super items. Besides that, there are other restrictions for the super weapons and super items - their respawn times cannot be lower then some value. For Target Painter, Super Shield Pack and Super Health pack it can't be lower than 30 seconds. For UDamage, Ion Painter and Redeemer the lowest value is 45 seconds.

Handicapper does what it name says. Mutator calculates the average score between the players
using the following formula:
(Player1 frags + Player2 frags + ...playerN frags)/ N
where N is amount of players. Mutator counts only frags, not the total score. If some player has spread more than defined (range from 1 to 99) his spread is substracted from the damage he inflicts. If by doing this damage becomes less than 15, instead a multiplier is applied to the damage, which is also configurable (range from 0.5 to 1).
If the player's spread from average amount of frags is bigger than maximum defined, it is considered that his spread is equal to maximum. The feature modifies only damage inflicted to the players, not the vehicles.

Both features can be used separately.

2. Available Options.

All options can be accessed through [Configure Mutators] button on Mutators tab of Instant Action/Host Game menu when mutator is in active mutators list. The options are:

Enable Fast Items Feature
If this option is enabled Fast Items feature is activated during the game.
Enable Handicapper Feature
The same, but for Handicapper feature.
Damage Modifier
Damage modifier applied by Handicapper feature to the instigator's damage if by substracting his spread from the average score from his damage results in damage less than 15 (That means that to the most of the low damage weapons or weapons dealing small damage in a small amounts of time mutator always uses modifier).
Minimum spread threshold
If the players spread from the average score is bigger than this value, his damage is decreased by Handicapper feature.
Maximum spread threshold
If the players spread from the average score is bigger than this value, Handicapper feature stops decreasing his damage and keeps it on the current level.
Show damage given
If enabled, every player will see how much damage he inflicted
Show damage recieved
If enabled, every player will see how much damage he recieved

3. Issues

By default most items in the game, when played with gamespeed 100% have a little bit reduced respawn time, as if gamespeed was 110%. For example Super Shield Pack respawns every 55 seconds instead of 60 seconds as defined in the code. But that's a "feature" of the game itself. However it also has influence on the respawn times set by this mutator, but you must understand that's clearly not my fault.
Mutator may not calculate the difference well in Instant Action.
Oh yeah, the mut's name is stupid =).
Mail me if you encounter any problems, adding Balancer to the subject.
 

Attachments

  • Balancer.zip
    10.7 KB · Views: 3
Last edited: