• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
FAForever Forums
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

Updated Supreme Score Board (UI) Mod

Scheduled Pinned Locked Moved Modding & Tools
43 Posts 20 Posters 6.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Online
    Jip
    last edited by Jip 20 Nov 2020, 09:05

    Is there a way to detect if the supreme scoreboard is there, and collapse it through (map) scripting? Because people do not close it manually and will therefore miss a lot of the intended information.

    A work of art is never finished, merely abandoned

    1 Reply Last reply Reply Quote 0
    • S Offline
      speed2
      last edited by 20 Nov 2020, 09:31

      there is a way https://github.com/FAForever/fa/blob/develop/lua/ui/game/gamemain.lua#L121-L123

      H 1 Reply Last reply 20 Nov 2020, 18:20 Reply Quote 1
      • H Offline
        HUSSAR @speed2
        last edited by 20 Nov 2020, 18:20

        thanks @speed2, I will add this change to next version of SSB

        Creator of Supreme Score Board mod, FAF Unit Restriction Manager, FAF Key Binding UI

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sir-Prize
          last edited by 24 Nov 2020, 01:25

          Hi - returning player currently watching a lot of replays so I'm glad to see SSB is getting some love, thanks again for your excellent work HUSSAR.

          My question: Where in the mod's files are the ratios in the first replay column calculated, and is this easy/acceptable to edit? I have incredibly basic coding literacy which I sometimes use to tweak mods for my own personal use, I was hoping to change the Built/Killed ratio in the first column of a replay scoreboard to Built/Lost. I'm not suggesting you change the columns in your next update just because of me, but if you're interested my logic is Built/Killed tells me basically the same thing as Killed/Lost (who's being efficient with their units) but Built/Lost would tell me something new (whose losses are sustainable).

          H 1 Reply Last reply 24 Nov 2020, 19:28 Reply Quote 0
          • H Offline
            HUSSAR @Sir-Prize
            last edited by HUSSAR 24 Nov 2020, 19:28

            @Sir-Prize SSB calculates both of these ratios in:

            • kills-to-loses ratio
            • kills-to-built ratio

            The kills-to-loses ratio is not displayed in the UI because I did not want to display to many of stats. However, you should be able to show it by modifying just this line of code:
            FROM:

            Columns.Score.Keys = { 'score', 'ratio.killsToLoses'} --, 'ratio.killsToBuilt'}
            

            TO:

            Columns.Score.Keys = { 'score', 'ratio.killsToLoses', 'ratio.killsToBuilt'}
            

            Creator of Supreme Score Board mod, FAF Unit Restriction Manager, FAF Key Binding UI

            1 Reply Last reply Reply Quote 3
            • S Offline
              Sir-Prize
              last edited by Sir-Prize 25 Nov 2020, 00:43

              Wasn't quite what I meant - but you've pointed me to the right parts of the code to sort out what I wanted: I did a find/replace to change killsToBuilt to builtToLoses, which you'd already created in the code. I think it worked, based on manually dividing players' Mass Total by Total Mass in Units Lost (it's always close but slightly out, I'm putting that down to energy being used in the builtToLoses calculation). Thank you for the help!

              H 1 Reply Last reply 25 Nov 2020, 15:34 Reply Quote 0
              • H Offline
                HUSSAR @Sir-Prize
                last edited by 25 Nov 2020, 15:34

                @Sir-Prize
                You are welcome. From I recall, the energy is converted to mass by divisor of 150 (based on stats of fabs converter) in the calculations of those ratios. This way, cost of built/lost units with high energy is not discarded when comparing with cost of built/lost units with low energy.

                Creator of Supreme Score Board mod, FAF Unit Restriction Manager, FAF Key Binding UI

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Sir-Prize
                  last edited by Sir-Prize 25 Nov 2020, 22:22

                  Yeah it's definitely good that energy is in the calculation, energy isn't free. Was just using the mass totals to check it was working. Here's a link to my version of it if anyone's interested, the Built/Losses ratio seems to be a pretty good predictor of the game's result at least in 1v1.

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Eternal-
                    last edited by 9 Jan 2021, 07:09

                    How about combining all the functions of each column in one icon, and changing them when you click on it? I know that you have sort by click, but I think it can be set to a different mouse event

                    Profile | Eternal MOD pack | Check new client

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Sheikah
                      last edited by 7 Feb 2021, 15:09

                      Hey Hussar one thing I noticed is that when playing with cheats supreme scoreboard removed the functionality where you can change the army you control by clicking on the name. Would be a nice QoL thing so I don't have to turn the scoreboard off for testing.

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Eternal-
                        last edited by Eternal- 15 Feb 2021, 18:13

                        How do your mod affect to layouts of another UI elements? Looks like it breaks my Scaled Resource Panel
                        i just did one import from common mod tools

                        Profile | Eternal MOD pack | Check new client

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Mach
                          last edited by 15 Feb 2021, 19:16

                          so idk if you can do this via UI mod, but I notice that some people in aeolus ask how to mute someone ingame, so adding a mute button next to every player on scoreboard might be useful considering doing it via existing chat window is kinda complicated

                          R S 2 Replies Last reply 15 Feb 2021, 20:06 Reply Quote 2
                          • R Offline
                            Resistance @Mach
                            last edited by 15 Feb 2021, 20:06

                            @Mach see,the extreme bigbrain boy has got a point,make an ui that mutes people and so many problems will stop their existence

                            queuing with a newbie to show him the beauty of tmm and meeting tagada be like:
                            https://www.youtube.com/watch?v=yLcRpdZ0Xb0&ab_channel=Tomoko

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Arran
                              last edited by 26 Feb 2021, 09:12

                              @HUSSAR can you add an option on SSB which makes SSB only active in replays?

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                Sir-Prize @Mach
                                last edited by 28 Feb 2021, 07:28

                                @Mach said in Updated Supreme Score Board (UI) Mod:

                                so idk if you can do this via UI mod, but I notice that some people in aeolus ask how to mute someone ingame, so adding a mute button next to every player on scoreboard might be useful considering doing it via existing chat window is kinda complicated

                                There's a mod called Chat Mute in the vault where you can blacklist people before launching a game I think. You can also do it via settings in the chat window I believe.

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Mielus
                                  last edited by Mielus 27 Jul 2022, 08:04

                                  The SSB mod seems broken since the last update of 26-07-2022, has anyone got it working?
                                  Nevermind it was an other mod which broke: hotbuild overhaul. This prevented SSB from loading.

                                  1 Reply Last reply Reply Quote 0
                                  • Ctrl-KC Offline
                                    Ctrl-K
                                    last edited by 27 Jul 2022, 09:22

                                    Nice oppotunity to try my scoreboard coming

                                    “Be a yardstick of quality. Some people aren’t used to an environment where excellence is expected.”
                                    — Steve Jobs.
                                    My UI Mods
                                    Support me

                                    1 Reply Last reply Reply Quote 0
                                    • Mr-SmithM Offline
                                      Mr-Smith
                                      last edited by 20 Aug 2022, 08:42

                                      Screenshot 2022-08-20 103838.jpg

                                      SSB kinda breaks my top left mass energy bars, playing in 4k with 200% UI scale,
                                      also the options menu itself gets a bit shifted

                                      https://youtu.be/a67tvWmu31Y?list=LL&t=181

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        macdeffy
                                        last edited by 20 Aug 2022, 15:23

                                        if you rename the economy_mini.lua file in c:\users<user>\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\Mods\SupremeScoreBoard\hook\lua\ui\game\layouts\ it will revert to the default FAF economy UI.

                                        Or you might try the Scaled Resource Panel in vault, I believe i had to rename this file for me to be able to use both mods though.

                                        I have not had any issues doing it this way.

                                        1 Reply Last reply Reply Quote 0
                                        • Ctrl-KC Offline
                                          Ctrl-K
                                          last edited by 20 Aug 2022, 20:31

                                          Just remove this file

                                          “Be a yardstick of quality. Some people aren’t used to an environment where excellence is expected.”
                                          — Steve Jobs.
                                          My UI Mods
                                          Support me

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post