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

    UI Mod request - Feature from BAR: move-line-drag

    Scheduled Pinned Locked Moved Modding & Tools
    8 Posts 6 Posters 577 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.
    • BlossomedB
      Blossomed
      last edited by

      Recently, I played few BAR games and a feature that stood up for me and I immedetially thought if it's possible to implement that in FAF is this drag-line move order, I'm talking about:

      https://www.beyondallreason.info/commands/move-line-drag

      84babf98-32fc-4250-8c45-775189aedd71-image.png

      I Improved lines visibility, because it can't be seen clearly from .gif:

      60899322-de18-4d2c-b489-98306f176577-image.png
      Not really sure if it was suggested before, but I would like to have that in FAF, it has a good feel about it, it's like combined custom formation and auto spread move. You can even draw a circle around enemy unit and your units will surround it (spread evenly), it's easy to draw any shape.

      Is it possible to do? How many hours do we need to implement it? Are there any volunteers? Or is it not useful for supreme commander setting/environment?

      1 Reply Last reply Reply Quote 3
      • veteranasheV
        veteranashe
        last edited by

        Perhaps the best new feature since strategic zoom, if we can get this in faf it would be epic.

        1 Reply Last reply Reply Quote 3
        • BlossomedB
          Blossomed
          last edited by

          Right? It would make an already amazing game even more amazing!

          1 Reply Last reply Reply Quote 1
          • RoweyR
            Rowey
            last edited by

            I dont think its possible with how the game is code as i think ive spoken to jip about it before. i have made him aware of this post he should be able to have a better understanding if it is possible or not

            "The needs of the many outweigh the needs of the few" - Spock

            1 Reply Last reply Reply Quote 1
            • veteranasheV
              veteranashe
              last edited by

              I asked jip right after I posted he said not able to

              1 Reply Last reply Reply Quote 1
              • Anachronism_A
                Anachronism_
                last edited by

                Why would something like this not be possible, such as via the following behind-the-scenes steps?

                1. Track the mouse position after the relevant keybind is pressed until an end condition is reached
                2. Divide the length of the tracked mouse location's path by the number of selected units
                3. Get the evenly spaced target locations from along the mouse's path
                4. Get each selected unit to move to a target location (with no repeats)

                I think the implementation of the 4th step would have a trade-off between optimizing which units get matched to which target locations vs processing time, with better matching taking longer than more abritrary matching, but it seems to me like even arbitrary matching would be better than not having this feature at all...

                pfp credit to gieb

                maudlin27M 1 Reply Last reply Reply Quote 1
                • maudlin27M
                  maudlin27 @Anachronism_
                  last edited by

                  @penguin_ to reduce performance concerns re point 4 a hybrid approach could be used - precisely match the first say 25 units based on straight line distance, then do arbitrary matching for any remaining units. 25 units would mean up to 325 distance calculations for this step as an example. Further optimisations could be adding a delay on use of the command per player, and spreading out the calculations over a few ticks

                  M27AI and M28AI developer; Devlogs and more general AI development guide:
                  https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
                  https://forum.faforever.com/topic/5331/m28ai-devlog-v150

                  1 Reply Last reply Reply Quote 1
                  • phongP
                    phong
                    last edited by phong

                    I really like this suggestion. I wouldn't even mind if no distance calculations were done, and units just picked random points to go to. But judging by spread move, even that might be too taxing

                    My alternate suggestion would be to add more formation-move templates, if possible, and maybe the ability to select a template based on a mouse gesture. I don't know the nuts and bolts of how formation move works, but it doesn't seem to suffer from the same performance issues as spread move.

                    Concave templates, for starters, would finally make formation move useful, right now all of them are worse than the default move order. Is that a viable substitute if the original suggestion is too costly?

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