Skip to content

New scoreboard options and SCORINFO features

Adam Kaminski requested to merge topic/default/scoreboard-additions into branch/default

This adds new options to the scoreboard and a few new features to SCORINFO:

  1. A new special value to the DrawString margin command: playername, to return the name of the current player.
  2. New flow control margin commands: IfSpying, IfSpectator, and IfDeadSpectator, that execute a block if the local player's spying on another player, or a (dead) spectator respectively.
  3. New buttons, sb_scrollup and sb_scrolldn to scroll up/down through the player rows if the scoreboard is too tall to fit on the screen.
  4. CVars (cl_maxscoreboardwidth and cl_maxscoreboardheight) that limit the width and height of the scoreboard to a certain percentage of the screen's width and height respectively.
  5. CVars (cl_scoreboardhorizalign, cl_scoreboardvertalign, cl_scoreboardx, and cl_scoreboardy) that allows the scoreboard to be aligned and moved anywhere on the screen. It doesn't always have to be centred.
  6. CVars (cl_usescoreboardscale, cl_scoreboardscreenwidth, cl_scoreboardscreenheight) that allow the scoreboard to be scaled at its own resolution, independent of text scaling.

Merge request reports

Loading