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

Removal of the Blinking lights

Scheduled Pinned Locked Moved Suggestions
52 Posts 28 Posters 5.1k 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.
  • R
    relentless
    last edited by 14 Mar 2022, 22:06

    The details person in me wants the blinking lights to match the faction colour if they are static. But I couldn't see a blue blinky light.

    1 Reply Last reply Reply Quote 1
    • J
      Jip
      last edited by 14 Mar 2022, 22:15

      We can make them match the faction colors. Fine by me too 🙂 .

      A work of art is never finished, merely abandoned

      1 Reply Last reply Reply Quote 0
      • Z
        Zeldafanboy
        last edited by 14 Mar 2022, 22:56

        I think the blinking lights should contrast the faction color— i.e. Cybran should have yellow blinking lights and Seraphim blue blinking lights. Aeon should have red lights and UEF green lights.

        put the xbox units in the game pls u_u

        U 1 Reply Last reply 15 Mar 2022, 13:30 Reply Quote 0
        • M
          MazorNoob
          last edited by MazorNoob 14 Mar 2022, 23:10

          From what I understood of the explanation, it's possible to handle stalling/not stalling color change in a single loop instance, right? So that we pay a tiny fixed cost for the stalling/not stalling logic, and the rest is handled by some shader magic. All the other logic like building units and such could then be placed in appropriate functions instead of being polled every tick. Then we'd keep the old behaviour without polling everything all the time.

          J 1 Reply Last reply 15 Mar 2022, 06:32 Reply Quote 1
          • J
            Jip @MazorNoob
            last edited by 15 Mar 2022, 06:32

            @mazornoob said in Removal of the Blinking lights:

            From what I understood of the explanation, it's possible to handle stalling/not stalling color change in a single loop instance, right? So that we pay a tiny fixed cost for the stalling/not stalling logic,

            I've explained it in this post.

            and the rest is handled by some shader magic.

            Possible, but that doesn't remove all the issues as described in the post mentioned.

            All the other logic like building units and such could then be placed in appropriate functions instead of being polled every tick. Then we'd keep the old behaviour without polling everything all the time.

            If you don't poll enough then the results are not accurate enough to be reliable, and if they're not reliable then why are we having them change at all?

            I've decided to keep the lights, set to a fixed color. There will be no changes to the lights once they've spawned in. I'm fine with any color, they can be faction dependent. Uveso and Zelda made some suggestions:

            @uveso said in Removal of the Blinking lights:

            1. I would obviously vote for yellow or blue.
            2. Also nice; light in faction color
            3. Or just white light (in this case yellow white like an old light bulb)

            @zeldafanboy said in Removal of the Blinking lights:

            I think the blinking lights should contrast the faction color— i.e. Cybran should have yellow blinking lights and Seraphim blue blinking lights. Aeon should have red lights and UEF green lights.

            Any other opinions?

            A work of art is never finished, merely abandoned

            1 Reply Last reply Reply Quote 0
            • J Jip referenced this topic on 15 Mar 2022, 06:32
            • T
              thecore
              last edited by 15 Mar 2022, 06:38

              Another option is make the lights the player colour.

              Never Fear, A Geek is Here!

              1 Reply Last reply Reply Quote 6
              • U
                Uveso @Zeldafanboy
                last edited by 15 Mar 2022, 13:30

                @zeldafanboy said in Removal of the Blinking lights:

                I think the blinking lights should contrast the faction color— i.e. Cybran should have yellow blinking lights and Seraphim blue blinking lights. Aeon should have red lights and UEF green lights.

                yes, i think this is the best solution.

                1 Reply Last reply Reply Quote 0
                • B
                  BlackYps
                  last edited by 15 Mar 2022, 13:37

                  You just shuffled the faction colors around and I can't even figure out the logic which color goes to which faction, this isn't really contrast in an aesthetic sense. Using the player color seems like the better solution.

                  Z 1 Reply Last reply 15 Mar 2022, 13:49 Reply Quote 1
                  • Z
                    Zeldafanboy @BlackYps
                    last edited by 15 Mar 2022, 13:49

                    @blackyps

                    I wasn't aware the lights could obtain the individual player color, but my logic for the color selection uses "contrast" in a loose sense (for example, if Cybran is "red" the opposite color on the color wheel is green, not yellow) but I took the actual coloration of the factories and structures into account. Only UEF factories are actually blue, Cybran is black, Aeon is white, and Seraphim is chrome. I think yellow stands out on black better than green, so I used yellow instead of the actual contrast color, and then I shuffled the rest of the colors around.

                    put the xbox units in the game pls u_u

                    1 Reply Last reply Reply Quote 0
                    • T
                      TheVVheelboy
                      last edited by 15 Mar 2022, 13:51

                      I also think that having the light colours be the player colour would be the best idea, it also adds to the already lackluster customization options in game so it would be a nice change of pace to see it happen.

                      1 Reply Last reply Reply Quote 0
                      • L
                        LegionDarrath
                        last edited by 15 Mar 2022, 20:52

                        Having the lights be the player color just adds more of the same color to the building. Having them be the faction color is a nice little nod to the "lore" while also not looking samey to all the other color the units/buildings already have.

                        1 Reply Last reply Reply Quote 0
                        • C
                          Caliber
                          last edited by 21 Mar 2022, 10:06

                          Occams Razor.
                          Most players dont now this exists.
                          Players now cant decide whether to keep them or change its function or change its colours ect.
                          Remove altogether would be the simplest solution.

                          1 Reply Last reply Reply Quote 1
                          • M
                            Morax
                            last edited by 23 Mar 2022, 10:35

                            I’m in favor of removing them.

                            1 Reply Last reply Reply Quote 0
                            • J Jip referenced this topic on 5 Mar 2023, 10:47
                            • M maudlin27 referenced this topic on 23 Jun 2024, 08:04
                            • M maudlin27 referenced this topic on 23 Jun 2024, 08:04
                            • M maudlin27 referenced this topic on 23 Jun 2024, 08:06
                            • J
                              Jip
                              last edited by Jip 7 Dec 2024, 07:15 12 Jul 2024, 07:13

                              The blinking lights are re-introduced again since 3810. See also #6263 for all the changes and the reasoning.

                              We're looking for someone to improve the position of the blinking lights on all factories. No programming is required, but you do need a development environment to test and verify your changes. You can use #6266 to understand what type of changes it could involve.

                              If you're interested then do respond either here or introduce yourself on Discord. Then we can help you get started 🙂 !

                              55882aba-949f-4005-8f6e-4db232928471-image.png

                              4dd5448a-3b83-4c18-8614-0045573f8495-image.png

                              c6c4908f-9dd6-43d3-bc8f-a8b563e65697-image.png

                              A work of art is never finished, merely abandoned

                              1 Reply Last reply Reply Quote 5
                              • B
                                Brutus5000 FAF Server Admin
                                last edited by 12 Jul 2024, 08:05

                                Nice!
                                Can you tell us a little more how the new implementation avoids the performance issues of the original one?

                                He said, "I've been to the year 3000
                                Not much has changed, but they live underwater
                                And your great-great-great-granddaughter
                                Is playin' FAF, playin' FAF"

                                J 1 Reply Last reply 12 Jul 2024, 11:49 Reply Quote 0
                                • J
                                  Jip @Brutus5000
                                  last edited by Jip 7 Dec 2024, 11:51 12 Jul 2024, 11:49

                                  @brutus5000 said in Removal of the Blinking lights:

                                  Can you tell us a little more how the new implementation avoids the performance issues of the original one?

                                  Great question!

                                  In general I don't think / am able to observe a significant performance issue with the previous or the current implementation when I reviewed it last month. In comparison to other changes such as #4539 or #3857 or the fact that a single formation (every order that involves some form of movement (!)) happily allocates 4kb of memory and can take several milliseconds to complete. I made a mistake by removing the blinking lights and by re-introducing it I'm rectifying the mistake 🙂 .

                                  In general the current implementation follows a few principles:

                                  • (1) No unnecessary memory allocations. Especially the type of 'use and forget' is exceptionally painful for performance. Not only is memory allocation on the heap slow in general, it also unnecessarily flushes the CPU cache.

                                  • (2) No unnecessary table access. Everything in Lua that involves : or . is not as 'cheap' as it is in compiled languages and involves a hash operation in combination with following a pointer into (random) memory. This expensive! And it compounds since our Lua is interpret and not compiled. As a quick example #5524 increases the performance of the score graph at the end of the game by several factors and the primary reason for this was to cache table accesses.

                                  And unrelated to performance:

                                  • (3) All logic is now isolated to components. One component for the brain. One component for units. This makes it easier to maintain and understand.

                                  I hope that answers your question 🙂

                                  A work of art is never finished, merely abandoned

                                  1 Reply Last reply Reply Quote 5
                                  46 out of 52
                                  • First post
                                    46/52
                                    Last post