Skip to content

Configuration Options

Freyavf edited this page Aug 11, 2023 · 10 revisions

If needed, you can create your own config file to change how the top stats are computed. The easiest way is to copy one of the existing config files located in parser_configs/ and adjust it to your needs. It is important that you put it in the folder parser_configs/ again and it has the file extension .py. For the current default settings for the parse_top_stats_detailed.py script, check out the config file parser_configs/parser_config_detailed.py.

These settings are available:

  • stats_to_compute: List of stats you are interested in. The full list of currently supported stats is ['dmg', 'dmg_total', 'dmg_players', 'dmg_other', 'rips', 'cleanses', 'heal', 'heal_total', 'heal_players', 'heal_other', 'dist', 'stab', 'prot', 'aegis', 'regen', 'heal_from_regen', 'hits_from_regen', 'might', 'fury', 'quick', 'alac', 'speed', 'barrier', 'dmg_taken', 'dmg_taken_total', 'dmg_taken_hp_lost', 'dmg_taken_absorbed', 'deaths', 'stripped', 'big_boomer', 'explosive_temper', 'explosive_entrance', 'med_kit']. You can use any subset of this in any order you like. They correspond to:
    • 'dmg' = 'dmg_total': all damage
    • 'rips': boon strips
    • 'cleanses': condition cleanses
    • 'heal': target healing (only on squad)
    • 'dist': average distance to tag
    • 'stab': stability (generation squad)
    • 'prot': protection (generation squad)
    • 'aegis': aegis (generation squad)
    • 'might': might (generation squad)
    • 'fury': fury (generation squad)
    • 'barrier': target barrier (only barrier generation on squad)
    • 'dmg_taken': all damage taken, including damage absorbed by barrier
    • 'deaths': deaths of this player
  • num_players_listed_default: Maximum number of players listed for each stat in the consistency and total awards.
  • num_players_listed: Can be used to override the num_players_listed_default value for specific stats (dictionary).
  • num_players_considered_top_default: Number of players considered "top" in each fight.
  • num_players_considered_top: Can be used to override the num_players_considered_top_default value for specific stats (dictionary).
  • duration_for_averages_default: The time frame that should be used for computing average stats. Can be set to either of
    • 'total': Overall fight duration
    • 'in_combat': Time spent in combat, i.e. from the first time a player dealt damage or got damage until he died, then again from the first time he dealt/received damage, etc.. This is the recommended default setting.
    • 'not_running_back': Time during which the player was reasonably close to the commander tag, usually from the beginning of the fight until either the player or the commander died.
    • 'active': Time the player was not dead
  • duration_for_averages: Can be used to override the duration_for_averages_default. It is recommended to set the value for 'dist' aka distance to tag to 'not_running_back', since the player or the commander dying usually messes up the distance to tag.
  • percentage_of_top_for_consistent: Based on the total value that the top consistent player reached. Defines the percentage of this value that has to be achieved to be able to get a consistency award.
  • percentage_of_top_for_total: Based on the total value that the top total player reached. Defines the percentage of this value that has to be achieved to be able to get a total award.
  • percentage_of_top_for_percentage: Based on the percentage of times the top percentage player achieved top stats in relation to the number of fights they were present. Defines the percentage of this value that has to be achieved in number of top stats achieved divided by number of fights a player was present.
  • percentage_of_top_for_late: Based on the percentage of times the top percentage player achieved top stats in relation to the number of fights they were present. Defines the percentage of this value that has to be achieved in number of top stats achieved divided by number of fights a player was present.
  • percentage_of_top_for_buildswap: Based on the percentage of times the top percentage player achieved top stats in relation to the number of fights they were present. Defines the percentage of this value that has to be achieved in number of top stats achieved divided by number of fights a player was present.
  • attendance_percentage_for_percentage: Percentage of fights a player has to be present out of all fights to be considered for a top percentage award. Currently only applies to the distance to tag award, since this is the only stat where a percentage award is given.
  • min_allied_players: The minimum number of allied players to consider a fight in the stats computation.
  • min_fight_duration: The minimum duration of a fight to consider it in the stats computation.
  • min_enemy_players: The minimum number of enemy players to consider a fight in the stats computation.
  • profession_abbreviations: For each profession, the name it appears as in the stats.
  • stat_names: The name as which each stat appears.
Clone this wiki locally