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

    Adding new Strategic Icon

    Scheduled Pinned Locked Moved Modding & Tools
    8 Posts 3 Posters 550 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.
    • HUSSARH Offline
      HUSSAR
      last edited by

      Does anyone know what is required to add a new strategic icon to an unit blueprint?

      For example, I want to change StrategicIconName in unit buleprint:

      bp.StrategicIconName = "icon_experimental_generic",
      

      to

      bp.StrategicIconName = "icon_structure4_intel",
      

      I created the following icon files in
      \modName\textures\ui\common\game\strategicicons\

      • icon_structure4_intel.dds
      • icon_structure4_intel_rest.dds
      • icon_structure4_intel_over.dds
      • icon_structure4_intel_selected.dds
      • icon_structure4_intel_selectedover.dds

      However, my unit does not have any strategicic icon in the construction menu nor in the game main window. Is there some other location where files for a new strategic icon should be placed in a mod?

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

      1 Reply Last reply Reply Quote 0
      • Ctrl-KC Offline
        Ctrl-K
        last edited by Ctrl-K

        Modname\textures\hook\ui\common\game\strategicicons
        I assume

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

        HUSSARH 1 Reply Last reply Reply Quote 0
        • HUSSARH Offline
          HUSSAR @Ctrl-K
          last edited by

          @bluescreenof4z0t I tried using above path but it did not work 😞

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

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

            Creating a .scd file with icon texture in and putting it in gamedata folder works for me

            1 Reply Last reply Reply Quote 0
            • HUSSARH Offline
              HUSSAR
              last edited by HUSSAR

              Creating a .scd file with icon texture in and putting it in gamedata folder does not work for me.

              However, what works for me is adding my strategic icons to "Advanced strategic icons.nxt" file. Also, I tried adding my own .nxt file with icon textures but it did not work. I think FAF is whitelisting "Advanced strategic icons.nxt" file and other .nxt files are ignored 😞

              98269ed5-a5a2-43ca-abbe-4c47aacae098-image.png

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

              1 Reply Last reply Reply Quote 0
              • Ctrl-KC Offline
                Ctrl-K
                last edited by

                Are you making UI mod or Sim one?

                “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
                • HUSSARH Offline
                  HUSSAR
                  last edited by

                  This is sim mod with new units.

                  I resolved my issue with adding new stat icons by following a guide made by Garanas:
                  https://github.com/Garanas/strategic-icon-mod-examples

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

                  1 Reply Last reply Reply Quote 1
                  • Ctrl-KC Offline
                    Ctrl-K
                    last edited by

                    This was meant for UI mods, so, talk to @Balthazar, i think he knows more about it

                    “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