high_score:

Config file section

Valid in machine config files NO
Valid in mode config files YES

The high_score: section of your config is where you configure the built-in high score mode. See High Scores for details.

Required settings

The following sections are required in the high_score: section of your config:

categories:

Ordered list for one (or more) sub-settings. Each in the format of string : list (Instructions for entering lists)

An ordered map of categories which contain a list of awards. See High Scores for an example.

Optional settings

The following sections are optional in the high_score: section of your config. (If you don’t include them, the default will be used).

award_slide_display_time:

Single value, type: time string (ms) (Instructions for entering time strings). Default: 4s

How long should the award slide be displayed?

defaults:

One or more sub-entries. Each in the format of string : list (Instructions for entering lists)

A map of categories with a list of player/score tuples. See High Scores for an example.

enter_initials_timeout:

Single value, type: time string (secs) (Instructions for entering time strings). Default: 20s

Timeout for the player to enter his/her initials.

reset_high_scores_events:

List of one (or more) events. The device will add handlers for those events. Default: high_scores_reset,factory_reset

Event to reset high scores. The default is used by the service mode.

reverse_sort:

List of one (or more) values, each is a type: string. Defaults to empty.

A list of categories where the sort should be inverted. Usually the highest score is the best but sometimes you want the shortest time or least amount of shots to be the best score.