Player Rank ---------- Variables: Tpd = Total damage dealt by the player Tpr = Total damage recieved by the player Tg = Total games played by player Tgp = Total game points Flags: Gametype Flag = If a single gametype accounts for more than 50% of the player's games, this flag is set. Mesh Flag = If a single mesh accounts for more than 50% of the player's games, this flag is set. Formula: rank = (Tgp/Tg) + ((Tgp*Tpd)/(Tg*Tpr*10)) If the gametype flag is set, rank is reduced by 10%. If the mesh flag is set, rank is reduced by 10%. If both flags are set, rank is reduced by 20%. Notes About Rank Formula ---------- Player rank is essentially an average of their game point score, with a damage bonus added to that score. The damage bonus is 10% of the player's damage ratio multiplied by the player's average game score (If a players damage ratio is 1.3, .13*average_game_score will be added). Game Points ---------- Variables: X = Default points per player (default is 10.0) Md = Maximum damage base (maximum possible damage on Trow with standard set) Pd = Damage dealt by player during course of game N = Number of players in the game Tn = Number of players on team T = Number of Teams (gotten by calculating all final player placements) P = Final placement of player (1st, 2nd, 3rd, etc) Formula: if (N >= 3) { if (T > 2) score = (X*N)/(P*Tn) + (N*Pd)/(P*Tn*Md) else score = (X*N)/((P^2)*Tn) + (N*Pd)/(P*Tn*Md) } else game not scored. Key Multipliers for Game Points ---------- X = Default score multiplier. Essentially this just makes the numbers a bit larger (by multiplying by 10), and thus easier to look at. It doesn't actually change any scores. 1/P (ffa) = Player's score is divided by their placement. If first place, it's multiplied by 1. If second place, it's multiplied by 1/2, 3rd place, 1/3rd, etc. 1/P^2 (team) = Player's score is divided by their placement squared. If first place, it's multiplied by 1. If second place, it's multiplied by 1/4, 3rd place, 1/9th, etc. N/Tn = Player's score is multiplied by the number of people in the game and divided by the number of people on the player's team. More people in a game means a higher possible score; conversly, more people on a team means a lower possible score. Pd/Md = The more damage done in a game, the higher the bonus. The maximum damage is an arbitrary number taken from the maximum possible damage that can be gained on Trow with a standard set. 3rd party maps can potentially make this multiplier equal more than 1 (if players damage is more than Md), but that is acceptable.