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

Any way to disable built-in selection deprioritisation?

Scheduled Pinned Locked Moved Modding & Tools
6 Posts 3 Posters 534 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.
  • C Offline
    crispweed
    last edited by 11 Dec 2020, 07:33

    Hi,

    Is there any way for me to disable the built-in (default) selection deprioritisation, with a UI mod?

    By 'selection deprioritisation', I mean the way that, after I drag select a bunch of units, depending on what categories of units are included in that selection, certain categories will be automatically removed from the selection.

    So, e.g., I can drag select a bunch of factories, if there is nothing else inside the selection box, but if I drag select over a region with both factories and mobile units the factories will be removed from the final selection.

    (Like in the 'Selection Deprioritizer' UI mod, but this happens to some extent by default, also.)

    The reason I want to do this is that I want to set up my own, generalised, filter down mechanism, based on hotkeys, where I can drag select and then filter down to whatever category I want, myself, using hotkeys..

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jip
      last edited by 11 Dec 2020, 09:18

      You may want to look at this mod:

      • https://gitlab.com/supreme-commander-forged-alliance/mods/filter-selection

      Which does exactly as you want with regard to using a button to filter down. I still need to work on the readme, I'll do that later today.

      About your first question - I'm not sure if it is possible but I'll look into it later today 🙂 .

      A work of art is never finished, merely abandoned

      1 Reply Last reply Reply Quote 0
      • Z Offline
        Zachrandir
        last edited by 26 Aug 2021, 20:24

        Sorry to Necro, but did you ever investigate?

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jip
          last edited by 26 Aug 2021, 20:27

          I did not I'm afraid.

          A work of art is never finished, merely abandoned

          1 Reply Last reply Reply Quote 0
          • Z Offline
            Zachrandir
            last edited by 27 Aug 2021, 03:25

            Thanks.

            I'm thinking about working on something like this for my first mod. Do you know if the "dragger" related functions in the Lua table have anything to do with the click drag functionality?

            Thanks for any help

            1 Reply Last reply Reply Quote 1
            • J Offline
              Jip
              last edited by 27 Aug 2021, 06:34

              The dragger is used for UI elements such as a scrollbar. I don't think it has to do anything with selection. You can look into the mod of my first post (the filter selection mod) to find some functions related to selection.

              Besides that - I made that mod four years ago and uploaded it to gitlab a while back. My memory of these functions / this part of the base code are vague 😞 .

              A work of art is never finished, merely abandoned

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