Skip to content

AdvancedConfig JSON Configuration Files

Firebreak-2 edited this page Apr 28, 2023 · 5 revisions

The AdvancedConfig system allows advanced configuration of certain aspects of the game that didn't fit as vanilla DG option menus.

To access these settings, use the advancedconfig console command to open the config folder, or if you're on an older DGR version, locate them manually in the Documents/DuckGame/Data/Advanced folder

These options can be reloaded at anytime during the game by pressing F5

NameDisplay

The current default configuration for NameDisplay is

{
  "FontSize": 0.5,
  "VerticalSpacing": 2.0,
  "HorizontalSpacing": 2.0,
  "Opacity": 1.0,
  "TeamLineWidth": 1.0,
  "RemoveDeadPlayers": 2,
  "XOffset": 0.0,
  "YOffset": 0.0,
  "ShowScores": 1
}

The value limits for each and their explanation:

  • FontSize: 0 - Infinity // Changes the size of the display. Greater is bigger
  • VerticalSpacing: 0 - Infinity // The amount of vertical spacing between each player's display
  • HorizontalSpacing: 0 - Infinity // The amount of horizontal spacing between each player display element
  • Opacity: 0 - 1 // The opacity of the display. 0 means transparent and 1 is opaque
  • TeamLineWidth: 0 - Infinity // the length of the TeamLine that appears when teams are enabled.
  • RemoveDeadPlayers 0, 1, 2 // 0 = False, 1 = True, 2 = False but dim players who are dead
  • XOffset: NegativeInfinity - Infinity // The horizontal offset of where the NameDisplay is shown
  • YOffset: NegativeInfinity - Infinity // The vertical offset of where the NameDisplay is shown
  • ShowScores: 0, 1, 2 // 0 = False, 1 = Show number score value, 2 = Show scores as incremental bars

Clone this wiki locally