New CVars to customize the scoreboard without SCORINFO
As per 0004227, it's too much to expect users, especially those who might not know how to create their own WAD file(s), to use the SCORINFO lump to customize a few basic properties like (row) background colour or opacity. I added a bunch of CVars that allow users to override some SCORINFO properties so they can change the appearance of the scoreboard to their liking.
-
sb_customizetextcolors- enables custom text colour settings.-
sb_useteamtextcolors- overrides theUSETEAMTEXTCOLORSscoreboard flag. -
sb_headertextcolor- changes the header text colour. -
sb_rowtextcolor- changes the row text colour. -
sb_localrowtextcolor- changes the row text colour for the player being spied on. -
sb_localrowdemotextcolor- same assb_localrowtextcolor, but only while in a demo.
-
-
sb_customizebordercolors- enables custom border colour settings.-
sb_useheadertextcolorforborders- overrides theUSEHEADERTEXTCOLORFORBORDERSscoreboard flag. -
sb_lightbordercolor- changes the "light" border colour. -
sb_darkbordercolor- changes the "dark" border colour.
-
-
sb_customizebackground- allows changing of the scoreboard's background colour (sb_backgroundcolor) and opacity (sb_backgroundalpha). -
sb_customizerowbackgrounds- enables custom row background settings.-
sb_showgapsinrowbackground- overrides theSHOWGAPSINROWBACKGROUNDscoreboard flag. -
sb_nolocalrowbackgroundcolor- overrides theDONTUSELOCALROWBACKGROUNDCOLORscoreboard flag. -
sb_onlylocalrowbackground- overrides theONLYSHOWLOCALROWBACKGROUNDscoreboard flag. -
sb_lightrowbackgroundcolor- changes the "light" row background colour. -
sb_darkrowbackgroundcolor- changes the "dark" row background colour. -
sb_localrowbackgroundcolor- changes the row background colour for the player being spied on. -
sb_rowbackgroundalpha- changes the opacity of the row background. -
sb_deadrowbackgroundalpha- same assb_rowbackgroundalpha, but for dead players.
-
Note that USETEAMTEXTCOLOR has been pluralized to USETEAMTEXTCOLORS to reflect how there's multiple teams with different text colours. Additionally, USETEAMTEXTCOLORS has been fixed to not have any effect in non-team game modes (e.g. cooperative).