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

    Icons are displayed incorrectly

    Scheduled Pinned Locked Moved I need help
    13 Posts 3 Posters 919 Views 1 Watching
    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.
    • UvesoU Offline
      Uveso
      last edited by

      FAF has its own icon support.

      put your icons in:

      \Mods\YOURMOD\icons\units\ABC1234_icon.dds
      
      K 1 Reply Last reply Reply Quote 0
      • K Offline
        killerfrog2222 @Uveso
        last edited by

        @uveso Thanks for your fast answer...

        But its still exactly the same Problem...
        Everything works fine UNTIL i edit the .dds in Photoshop...i can use every .dds from Gamedata, but after editing its yellow in Game.

        After im finished with editing i go for "save as.." -> ".dds" and then a NVIDIA Setting window pops up....Do i have to change there some settings? e.g. the Format? im on RGBA 8 bpp / explicit alpha as you see in the following picture:

        NVIDIA settings.jpg

        1 Reply Last reply Reply Quote 0
        • MadMaxM Offline
          MadMax
          last edited by

          the format you need is bc3

          Vault Admin / Creative Team / Map Guru

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            killerfrog2222 @MadMax
            last edited by

            @madmax THANK YOU, that helped!

            do u also know how to chnage the Green/Blue Background of the Icons?

            1 Reply Last reply Reply Quote 0
            • UvesoU Offline
              Uveso
              last edited by Uveso

              The background is created from the game inside the function GetBackgroundTextures()
              https://github.com/FAForever/fa/blob/deploy/fafdevelop/lua/ui/game/construction.lua#L513

              icon graphic is located in

              \textures\ui\common\icons\units\
              

              as example the path to the land background is:

              \textures\ui\common\icons\units\land_up.dds
              \textures\ui\common\icons\units\land_down.dds
              \textures\ui\common\icons\units\land_over.dds
              
              K 1 Reply Last reply Reply Quote 0
              • K Offline
                killerfrog2222 @Uveso
                last edited by

                @uveso For me the easiest way was to create a background texture in Photoshop, save it as .dds, import it, place it under my Unit layer in PS and save this whole Thing as Icon. This covers the custom Background in Game.

                1 Reply Last reply Reply Quote 0
                • UvesoU Offline
                  Uveso
                  last edited by

                  I have changed my background icons because i am red/green colorblind.

                  If I understand you correctly, your icons are overwriting my color-blind background?

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    killerfrog2222
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      killerfrog2222 @Uveso
                      last edited by

                      @uveso Yes Exactly...was the easiest way for me, because i couldnt even find the paths/.dds to the land background which you gave me...
                      But other tutorials also mentioned these files, dont know why i can not find them...

                      well, overwriting the standard Background with the Icon.dds works, so everything is fine 🙂

                      1 Reply Last reply Reply Quote 0
                      • UvesoU Offline
                        Uveso
                        last edited by

                        \textures\ui\common\icons\units\land_up.dds

                        Is not a part of FAF, its in the game itself.
                        To see/view this you need to unpack:

                        D:\Games\Supreme Commander\gamedata\textures.scd

                        (rename the textures.scd to textures.zip and you can unzip it.)

                        K 1 Reply Last reply Reply Quote 0
                        • K Offline
                          killerfrog2222 @Uveso
                          last edited by

                          @uveso Yeah i already unpacked all .scd files, but those files are not in there...in \textures\ui\common\icons\units\ I only have 1 Icon per Unit....and this file is named ABC1234_Icon.dds

                          Absolutely no idea where the rest is...i already tried to find them via search function, without sucess...

                          1 Reply Last reply Reply Quote 0
                          • UvesoU Offline
                            Uveso
                            last edited by

                            This is the location where i found it: (Sorted by name)

                            landicon.png

                            Should be between drs0102_icon.dds and opc2002_icon.dds.

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