UI MOD - Supreme Score Board (Improved Game Replay)

Everything about mods can be found here.

Moderator: Morax

UI MOD - Supreme Score Board (Improved Game Replay)

Postby HUSSAR » 29 Sep 2015, 07:39

I implemented a new UI mod that improves score board in Game and Replay sessions by adding more interactive features such as players sorting, filtering units by type, team stats, more score columns, kill/lose ratio, and many new features. This mod was inspired by watching FAF casts by Gyle and BRNKoINSANITY. :D Also, I managed to fixed a few small UI performance lags.

Note that you need to first remove the SupremeScoreBoard folder from your Mods before installing a new version.

You can find this mod in the Mods Vault - just search for "Supreme Score Board" (make sure you press the Searchbutton)
OR
You can download a zip file from:
http://github.com/FA-mods/SupremeScoreBoard/raw/master/versions/2.0/SupremeScoreBoard.zip

Supreme Score Board v2.0 - October 15, 2017 - LATEST VERSION
- fixed an issue with selecting text color for armies due to changes in FAF army colors
- fixed an issue finding map quadrant (used for Team ID) for an army with incorrect army key defined in [map name]_save.lua
- mod version jumped by a few iterations because mod vault accepts only a whole numbers
- note there is still UI lag that occurs in late games.

Supreme Score Board v1.3 - July 30, 2016
Spoiler: show
- added info about who killed a player in Army notification window
- added info about who decided to CTRL+K in Army notification window
- added coloring of player names in Army notification window
- added mod configuration under Game -> Options -> Interface tab
- added interaction states for buttons in the sort line (first line of the score board)
- changed mouse interaction in top row, now left click will show values in columns
- changed mouse interaction in top row, now right click will sort values in columns
- fixed compatibility with other mods that modify score.lua (e.g. EcoManager) and SSB takes precedence over these mods
- fixed numbering of teams based on players' starting locations and map quadrants (per Gyle request)
- fixed messages with sent resources/units to allies (observer will see message target)
- fixed tooltip that shows unit restrictions and separated presets from custom restrictions
- fixed detection for unranked games (if restrictions count greater than zero)
- increased number of notifications for built experimental units (2 -> 5)
- increased precision for rounding large numbers (1.2m -> 1.23m)
- improved description of tooltips

Supreme Score Board v1.2 - January 29, 2016
Spoiler: show
NEW FEATURES/IMPROVEMENTS
- (all sessions) added replay ID below map info line
- (all sessions) added calculation of game quality/balance if this value is not present in session options
- (game session) added buttons for sharing mass/energy/units with allied human players (faster than LazyShare)
- (game session) added buttons for sharing mass/energy/units with allied AI players
- (game session) added chat notifications for transferred amount of mass/energy to allied players
- (game session) added chat notifications for transferred number of units to allied players
- (game session) added separator lines between players' lines and teams' lines in game session
- (replay session) changed reclaim column to show reclaim values (works with latest FAF beta patch)
- (replay session) added auto-hiding multi-function panel because it is not used in replays at all
- (replay session) added auto-switching between score columns (e.g. units types air|land|naval)
- (replay session) clicking on a column toggle will disable auto-switching columns
FIXES
- fixed coloring of player names when they are not in teams (e.g. Phantom games)
- fixed coloring of player names in replay session
- fixed information in tooltips
- fixed conditions for checking ranked games
- fixed teams statistics by including score data for dead players
- fixed team status that shows how many players are still alive
- fixed detection of dead players in sandbox games
- fixed placement of icons in the sort line
- fixed alignment of top line with its background
- fixed very long map names by truncating them to 30 chars
- changed background of the score board to darker color (better visibility of player names)
- changed units column to show air/land/navy/all instead of cumulative values, e.g. air + navy
- changed ranking column to show exact values in ladder games and rounded values in regular games
- changed coloring of player names and now they will match color of team
- changed column with player names to include clan tags (if they exist)

Supreme Score Board v1.1 - October 10, 2015
Spoiler: show
- fixed info about active mods in replay/game session
- fixed status of game raking
- fixed tooltip about game quality/balance
- added coloring of player names based on team color
- thanks for feedback from: Petricpwnz, Anihilnine

Supreme Score Board v1.0 - September 29, 2015
Spoiler: show
--------------------------------------------------------------------------------------
FEATURES:
--------------------------------------------------------------------------------------
- added team lines that sums up stats for allied players
- added column with filters to show count of air/land/navy/base units
- added column for total mass of collected/killed/lost
- added column for players rating to prevent clipping by score values
- added toggle to show and sort players by their army rating
- added toggle to show and sort players by total mass collected
- added toggle to show and sort players by total mass reclaimed*
- added toggle to show and sort players by total energy reclaimed*
- added toggle to show and sort players by total energy collected
- added toggle to show and sort players by their clan tags
- added toggle to show and sort players by Kills-to-Loses Ratio
- added toggle to show and sort players by Kills-to-Built Ratio
- added toggle to sort players by current mass income
- added toggle to sort players by current energy income
- added toggle to sort players by current score value
- added toggle to sort players by their army name
- added toggle to sort players by their clan tag
- added toggle to sort players by their team id
- added sorting by two columns when value in the first sorting are equal, e.g. sorting by team ID and then by mass income
- added team status showing alive/maximum players
- added rendering players names with red/green when in players view to show allies/enemies
- added calculation of AI rating based on AI type and AI cheat modifiers
- added field showing game quality based on network connection between players
- added tooltips for all new UI elements in the score panel
- added info about map size
- added icons with improved quality for mass, energy, units
- added icons with info about game restrictions
- added icons with info about active mods
- added icons with info about unit sharing
- added icons with info about victory conditions
- added icons with info about AI multipliers
- added notifications about 1st experimental unit built by a player
- changed game time/speed fields into two fields
- changed unit counter to show unit count of all armies (in observer view) or just player's units (in player view)

*Pending FAF patch that will actually add reclaim values to score data and thus enable them to show in score panel
--------------------------------------------------------------------------------------
FIXES:
--------------------------------------------------------------------------------------
- fixed missing tooltip for game speed slider
- fixed performance in updating score panel by limiting number of for loops (n*n-times to n-times)
- fixed issues with performing operations on uninitialized values of score data
- fixed redundant function calls to GetArmiesTable().armiesTable
- fixed redundant function calls to GetFocusArmy()
- fixed redundant function calls to SessionIsReplay()
- fixed redundant function calls to SessionGetScenarioInfo()
- fixed redundant imports of some LUA scripts (e.g. announcement.LUA)


ssb-options.jpg
ssb-options.jpg (225.17 KiB) Viewed 21567 times


The following screenshots are from game session and from a replay where observer can see stats for all players. The score board will still shows only the score points or player status (playing/defeated) when you play the game so there is no cheating.

ssb-in-replay-session.jpg
ssb-in-replay-session.jpg (268.3 KiB) Viewed 23334 times

ssb-in-game-session.jpg
ssb-in-game-session.jpg (220.89 KiB) Viewed 23334 times


I hope that you will like it. Let me know what do you think about this UI mod and if you want me to change something in the user interface.
Last edited by HUSSAR on 28 Oct 2017, 21:07, edited 12 times in total.
________________________________________________________
MY FAF CONTRIBUTIONS:
UI Mod - Supreme Score Board
FAF Feature - Accurate Units Stats
FAF Feature - Unit Restriction Manager
User avatar
HUSSAR
Avatar-of-War
 
Posts: 126
Joined: 17 Sep 2015, 06:59
Location: Philly, USA
Has liked: 38 times
Been liked: 59 times
FAF User Name: HUSSAR

Re: UI MOD - Supreme Score Board

Postby RoLa » 29 Sep 2015, 07:47

Nice! I have 2 suggestions. One Column with team number and an additional button to group teams.
User avatar
RoLa
Contributor
 
Posts: 313
Joined: 23 Apr 2013, 22:14
Has liked: 5 times
Been liked: 19 times
FAF User Name: RoLa

Re: UI MOD - Supreme Score Board

Postby HUSSAR » 29 Sep 2015, 07:54

RoLa wrote:Nice! I have 2 suggestions. One Column with team number and an additional button to group teams.


I thought about that when I was implementing this mod. Teams are already grouped together and they will always display below the speed slider such that they are not displayed with players. You can sort players by their team number using the first column (a button with gray T icon) Try it and you will see how nice this mod is :D
________________________________________________________
MY FAF CONTRIBUTIONS:
UI Mod - Supreme Score Board
FAF Feature - Accurate Units Stats
FAF Feature - Unit Restriction Manager
User avatar
HUSSAR
Avatar-of-War
 
Posts: 126
Joined: 17 Sep 2015, 06:59
Location: Philly, USA
Has liked: 38 times
Been liked: 59 times
FAF User Name: HUSSAR

Re: UI MOD - Supreme Score Board

Postby nine2 » 29 Sep 2015, 10:51

Congratulations Husar, that's awesome.

I just watched a replay. It was good... couldn't work out which team was "team 1" for a long time but also I haven't read your notes because I dont have time. Perhaps just like how you color the enemy/ally players, you could also color the enemy/ally teams.
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: UI MOD - Supreme Score Board

Postby Col_Walter_Kurtz » 29 Sep 2015, 12:03

This looks like a really useful addition
Col_Walter_Kurtz
Priest
 
Posts: 497
Joined: 28 Jul 2014, 10:42
Has liked: 42 times
Been liked: 45 times
FAF User Name: Apocalypse_Now

Re: UI MOD - Supreme Score Board

Postby Purelukk » 29 Sep 2015, 14:32

Really Great Mod!
Thanks :mrgreen:
Zock to allies: "Build anti nuke or I'll nuke you myself"
User avatar
Purelukk
Crusader
 
Posts: 19
Joined: 10 Sep 2015, 16:46
Has liked: 9 times
Been liked: 7 times
FAF User Name: Purelukk

Re: UI MOD - Supreme Score Board

Postby HUSSAR » 29 Sep 2015, 15:05

Anihilnine wrote:Congratulations Husar, that's awesome.

I just watched a replay. It was good... couldn't work out which team was "team 1" for a long time but also I haven't read your notes because I dont have time. Perhaps just like how you color the enemy/ally players, you could also color the enemy/ally teams.


Yes, that'is a good idea and I will make sure to color team names in the next version.
________________________________________________________
MY FAF CONTRIBUTIONS:
UI Mod - Supreme Score Board
FAF Feature - Accurate Units Stats
FAF Feature - Unit Restriction Manager
User avatar
HUSSAR
Avatar-of-War
 
Posts: 126
Joined: 17 Sep 2015, 06:59
Location: Philly, USA
Has liked: 38 times
Been liked: 59 times
FAF User Name: HUSSAR

Re: UI MOD - Supreme Score Board

Postby KD7BCH » 29 Sep 2015, 16:56

This looks kool I will have to check out
The Gun Down
https://www.youtube.com/watch?v=PPmuSnJiV0o
KD7BCH
Priest
 
Posts: 424
Joined: 25 Feb 2015, 18:06
Has liked: 29 times
Been liked: 12 times
FAF User Name: KD7BCH

Re: UI MOD - Supreme Score Board

Postby Downlord » 07 Oct 2015, 02:38

Good job man!
Working on FAF is my passion. Most of you know me for the feature-rich Downlord's FAF Client, but I also program and maintain the FAF server. Visit my Patreon page to get some insights on my work.
Downlord
Councillor - DevOps
 
Posts: 226
Joined: 14 Jul 2013, 14:55
Has liked: 161 times
Been liked: 213 times
FAF User Name: Downlord

Re: UI MOD - Supreme Score Board

Postby Petricpwnz » 07 Oct 2015, 05:09

No words, this is amazing :D great job

Edit: Found some stuff to fix: If you have full share (and/or unit cap share ?) this mod shows that game is unranked, but these conditions don't affect if the game is ranked or not. Also you have "Game quality" bar there which tells that "game quality based on network connection between players". Do you actually get data on network somehow? Because what people normally call "game quality" in lobby is just how balanced the teams are, so not sure if you mean that game quality or a completely different thing.
Ah and final thing i just noticed, "no tactical nuke missiles" in the restriction should be "no strategic nuke missiles" :D
Edit 2: Was watching a replay when suddenly "RULE_#somenumber Player #name has build an experimental!" was worried that it works in game too, not only in replay, but from a short test it seems as though it's all ok. Interesting feature though, necessary for some certain casters :D
Last edited by Petricpwnz on 07 Oct 2015, 06:20, edited 1 time in total.
Blackheart wrote:actually i love lolis and want petry to be my waifu


Scientifically proving that Blackheart is a weeb - https://imgur.com/a/J436c | https://clips.twitch.tv/AssiduousAverageOxMikeHogu

Best meme of 2017 - https://puu.sh/yLsvH/abbf54eb99.mp4
User avatar
Petricpwnz
Priest
 
Posts: 464
Joined: 30 Aug 2012, 01:48
Has liked: 442 times
Been liked: 473 times
FAF User Name: Fremy_Speeddraw

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest