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

    Improving the display of production_tabs.X.properties Purchase Panel

    Scheduled Pinned Locked Moved Development
    5 Posts 2 Posters 1.6k Views 2 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.
    • TheDogT Offline
      TheDog
      last edited by TheDog

      @wc_sumpton and others
      How simple is a request to change the order of units production_tabs.X.properties file?
      [production_tabs.Autocrats.properties](/assets/uploads/files/1739536652821-

      Example file
      production_tabs.Autocrats.properties

      At the start of a game it look like this
      e3edea69-5c43-49f5-83e0-bef69904eeb1-image.png

      .
      But after many turns with lots of adding and removing units the Purchase Frontier looks like below, all mixed up.

      d6ba73e8-363e-4632-b3c2-5f3570306d2b-image.png

      .
      As can be seen all the new Tech/Units are added to the end of the block of purchases.

      Instead, how easy would it be to display the units in the order listed within the production_tabs file no matter if the unit was added or removed to that list?

      Also it would be good if the purchase panel without the use of production_tabs (most maps) would be unaffected by this change, so it does not confuse people.

      Or maybe it should be the norm?

      https://forums.triplea-game.org/tags/thedog
      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

      wc_sumptonW 1 Reply Last reply Reply Quote 1
      • wc_sumptonW Offline
        wc_sumpton @TheDog
        last edited by wc_sumpton

        @thedog

        The production display order is ordered by the frontier assigned. Any units added to this list are placed at the end. The frontier is grabbed as a single object then checks are done, like having resources per unit. To do as you are requesting, the frontier object would need to be sorted by the production_tabs file prior to displaying.

        Doesn't seem too hard to do but have fun finding someone to do it.

        Cheers...

        TheDogT 1 Reply Last reply Reply Quote 2
        • TheDogT Offline
          TheDog @wc_sumpton
          last edited by

          @wc_sumpton

          Doesn't seem too hard to do but have fun finding someone to do it.

          Good to know, we can only hope a Dev swing by to improve the panel.
          Thanks!

          https://forums.triplea-game.org/tags/thedog
          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

          wc_sumptonW 1 Reply Last reply Reply Quote 1
          • wc_sumptonW Offline
            wc_sumpton @TheDog
            last edited by

            @thedog

            If the order really bothers you, then the frontier could be emptied and reloaded. Remember the display order is by the frontier order and can be controlled in the xml.

            Cheers...

            TheDogT 1 Reply Last reply Reply Quote 1
            • TheDogT Offline
              TheDog @wc_sumpton
              last edited by

              Yes I considered it, but with 30+ Techs and growing its messy, times 8 factions. I tolerate its current way of bolting on units.

              @frigoref
              @LaFayette
              @Myrd
              Maybe a Dev could take a look?

              https://forums.triplea-game.org/tags/thedog
              https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

              1 Reply Last reply Reply Quote 2

              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 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums