TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Group and Sort Units onto Placements Logically

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    43 Posts 5 Posters 17.8k Views 5 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
      Cernel Moderators @Cernel
      last edited by

      @cernel Actually, without big changes like showing them loaded, probably land units on sea would be better listed last, also after the air. So maybe a last place for all those units that are strictly dependant, like cargo. We might go ahead and consider the reverse on land, in case a developer will add the ability to "beach" ships (there was some talking, like in Diplomacy).

      redrumR 1 Reply Last reply Reply Quote 0
      • redrumR Offline
        redrum Admin @Cernel
        last edited by

        @cernel Cargo doesn't work without major changes as it groups all the land units together right now so if you have multiple transport types, you'd have to split land units into groups.

        I'll look to see what I can do for sea unit ordering and at least move sea units before land. I'll look at doing 'not hostile' vs 'allied' as well. I don't think that matters a ton for most maps but FFA/politic maps it could help a bit.

        TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

        1 Reply Last reply Reply Quote 1
        • redrumR Offline
          redrum Admin
          last edited by

          Made some slight adjustments.

          Here is the proposed grouping/sorting:

          1. Unit owner: territory owner, not at war with territory owner, player order in XML
          2. Unit type: 0 movement, can't combat move, sea, air if sea territory, land, air if land territory
          3. Within each of those groups sort the units by XML order in UnitList

          TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1
          • 2
          • 3
          • 3 / 3
          • First post
            Last post
          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums