MantisBT - Zandronum
View Issue Details
0002364Zandronum[All Projects] Suggestionpublic2015-07-27 23:112024-08-18 04:39
AlexMax 
Kaminsky 
normalfeatureN/A
resolvedfixed 
 
3.2 
0002364: Country representation in scoreboard.
Now that we have geolocation, it would be neat if we could put player countries by names in the scoreboard.

Easy Mode: Just have the country code by their name.
Hard Mode: Have real country flags. That are 7 pixels high. Might be a tight fit...
No tags attached.
related to 0001829resolved Kaminsky Customizable scoreboard 
Issue History
2015-07-27 23:11AlexMaxNew Issue
2015-07-28 01:18DecayNote Added: 0013014
2015-07-28 16:44AlexMaxNote Added: 0013015
2022-10-14 03:32KaminskyRelationship addedrelated to 0001829
2022-10-14 03:39KaminskyNote Added: 0022451
2022-10-14 03:42KaminskyAssigned To => Kaminsky
2022-10-14 03:42KaminskyStatusnew => assigned
2023-06-19 19:22KaminskyNote Added: 0022852
2023-06-19 19:22KaminskyStatusassigned => needs testing
2024-08-18 04:39KaminskyNote Added: 0023955
2024-08-18 04:39KaminskyStatusneeds testing => resolved
2024-08-18 04:39KaminskyFixed in Version => 3.2
2024-08-18 04:39KaminskyResolutionopen => fixed

Notes
(0013014)
Decay   
2015-07-28 01:18   
Does this take the option to hide country into account?
(0013015)
AlexMax   
2015-07-28 16:44   
It should, yes.
(0022451)
Kaminsky   
2022-10-14 03:39   
I've considered adding a column on the scoreboard that displays the countries of all players, also described in this draft page:'https://wiki.zandronum.com/SCORINFO [^]'

1. The country column should be disabled by default, for various reasons. A CVar like "cl_showcountrycolumn" will control whether the column is displayed (if non-zero) or not.

2. There should be different ways of displaying a player's country (mini flag icon, country code, or name). This can be customized using "cl_showcountrycolumn".

3. This must also respect a player's decision to hide their country from others (i.e. cl_hidecountry), and if they do hide it, then show either "N/A" or a mini icon with a "?" instead.
(0022852)
Kaminsky   
2023-06-19 19:22   
Zandronum now has SCORINFO which supports columns specifically for displaying a player's country:'https://wiki.zandronum.com/SCORINFO [^]'

In summary, there's "CountryName" for full country names, "CountryCode" for alpha-2 or alpha-3 (switchable using cl_usealpha3countrycode) codes, and "CountryFlag" for mini icons of the country's flag. Of course, if a player wishes to hide their country, then it will appear as "N/A", or a white box with a question mark, on the scoreboard.
(0023955)
Kaminsky   
2024-08-18 04:39   
It's been over a year since I posted my message to this ticket. All three country column types work fine (and respect the client's cl_hidecountry setting), and I haven't seen any reports from anyone suggesting that they still need changes. As such, I'm going to mark this ticket as resolved.