Jump to content

SCORINFO: Difference between revisions

m
More edits and new built-in column types: index, rank, and spread.
m (Very minor edit.)
m (More edits and new built-in column types: index, rank, and spread.)
Line 138: Line 138:
</pre>
</pre>


* A column's '''type''' can be one of the following:
* The column's '''type''' can be one of the following:
** <code>Name</code> - The player's current name. This may also include player numbers and join queue positions. '''Every scoreboard must have this column or else Zandronum will throw a fatal error!'''
** <code>Name</code> - The player's current name. This may also include player numbers and join queue positions. '''Every scoreboard must have this column or else Zandronum will throw a fatal error!'''
** <code>Time</code> - How long the player has been in the current game, in minutes.
** <code>Time</code> - How long the player has been in the current game, in minutes.
Line 150: Line 150:
** <code>Secrets</code> - How many secrets this player discovered.
** <code>Secrets</code> - How many secrets this player discovered.
** <code>Lives</code> - How many lives this player still has. '''This column is disabled if players are supposed to have only one life.'''
** <code>Lives</code> - How many lives this player still has. '''This column is disabled if players are supposed to have only one life.'''
** <code>Vote</code> - What decision this player made for the current vote, either "Yes", "No", or blank if they haven't voted yet. '''This column is disabled if there's no active vote.'''
** <code>Index</code> - The player's index number, between 0-64.
** <code>Rank</code> - The player's rank. This is not the same as the rank order on the scoreboard.
** <code>Spread</code> - The player's spread from whoever is first place.
** <code>Vote</code> - What decision this player made for the current vote, either "Yes", "No", or blank if they haven't voted yet. '''This column is disabled if there's no vote in progress.'''
** <code>Country</code> - The country that a player is connecting from.
** <code>Country</code> - The country that a player is connecting from.
** <code>PlayerColor</code> - The current colour that this player is using.
** <code>Color</code> - The current colour that this player is using. This should not be confused with the <code>Color</code> data type used for custom columns.
** <code>PlayerStatus</code> - A mini icon to indicate the status of the player (i.e. chatting, in console/menu, lagging, ready to go).
** <code>Status</code> - A mini icon to indicate the status of the player (i.e. chatting, in console/menu, lagging, ready to go).
** <code>BotSkill</code> - A mini icon to indicate the skill level of a bot. '''This column is disabled if there are no bots in the game.'''
** <code>BotSkill</code> - A mini icon to indicate the skill level of a bot. '''This column is disabled if there are no bots in the game.'''


Line 282: Line 285:
|style="text-align:center" | 1.0
|style="text-align:center" | 1.0
|The opacity of the scoreboard, from anywhere between 0.0 and 1.0.
|The opacity of the scoreboard, from anywhere between 0.0 and 1.0.
|-
|'''cl_showplayernumbers'''
|style="text-align:center" | Bool
|style="text-align:center" | false
|If true, a player's number appears next to their name. This is a quick way of identifying players based on their ID, instead of opening the console and using the playerinfo CCMD.
|}
|}