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

    Allow user to specifically choose amphibious offloaded units in battle chooser

    Scheduled Pinned Locked Moved Development
    85 Posts 6 Posters 41.1k 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 Online
      Cernel Moderators @RaiNova
      last edited by Cernel

      @rainova said in Allow user to specifically choose amphibious offloaded units in battle chooser:

      The top military command withdraws units. It is the units who retreat - and may route in the process.

      The TripleA player plays the top military command role. In the situation we are discussing here, routing is not an issue. IMHO we should use the the term withdraw

      How do we come to a conclusion so I can unify the terminology in the program code the right way?

      Though, I have to say that to withdraw makes me think that we are deciding unit per unit whether or not to withdraw it (that is what we should be able to do when we submerge submarines, although TripleA fails to support this). The concep of, nomally (full land invasion), withdrawing the entire army in the field or nothing, without having the option deliberately to withdraw only part of your units is something that I do not associate to the concept of withdrawing. Terms like "fall back" or "pull out" come to mind.


      A long time wish of me was a new feature that would allow withdrawing/retreating as many units as you want (amongst those which you can withdraw), instead of being obliged to retreat all you can or nothing, and also being able to retreat once the battle is won (retreating when no defending units are left). Of course, off topic.


      @Panther What I actually meant is whether there is some sort of official distinction between withdrawing and retreating, game wise.

      PantherP 1 Reply Last reply Reply Quote 0
      • PantherP Offline
        Panther Admin Moderators @Cernel
        last edited by Panther

        @cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:

        @Panther What I actually meant is whether there is some sort of official distinction between withdrawing and retreating, game wise.

        Result of a quick check:

        v1 uses "withdraw" only
        v2, v3, v4, v5, v6, 1940... all use "retreat" only
        LHTR2 uses "withdraw" and "retreat" both. See pages 14-16. (Step 7 of the Conduct Combat Phase). For the distinction please see yourself (as I am short of time at the moment).

        Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

        1 Reply Last reply Reply Quote 1
        • R Offline
          RaiNova @Cernel
          last edited by

          @cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:

          Try to look at the map and units at a monitor resolution of 2/3 of the maximum whilst having 100% general zoom and at the maximum (4k) monitor resolution whilst having 150% general zoom. What, if anything, gives a better visual of the map and units?
          Meaning, starting from a 4k monitor resolution at 100% general zoom, is it better for your view to increase the zoom to 150% or to decrease the monitor resolution to 2.666k?

          The unit icons have about the same quality with 150%@4K and 100%@2660 x 1440. But text is perfectly sharp with 4k while blurry with 2660 x 1440. We should not expect players to change their screen resolution in order to see TripleA units big enough

          C 2 Replies Last reply Reply Quote 1
          • C Online
            Cernel Moderators @RaiNova
            last edited by

            @rainova No idea if it is feasible, but my suggestion is that every time you start TripleA whilst having a zoom which is going to be applied to the program, the program prompts the user to choose whether or not actually to apply the zoom to TripleA too (maybe with a tick box for not asking it again, though such a choice should better be somehow reversible).

            We should not expect players to change their screen resolution in order to see TripleA units big enough

            I agree. I remember someone (who I believe is not any longer active) in the past arguing that doing so was easy enough, back then when I pointed out that most of TripleA was going to become visually obsolete with the advent of 4k.

            Some might remember that it has been many years I'm keeping saying everyone in TripleA should think primarily in terms of 4k resolution (like advicing mapmakers to make maps optimized, or at least good enough, for 4k screens).

            A good "worst-case" test map might be "World At War", since it is a very popular game which has very small units and zones.

            1 Reply Last reply Reply Quote 0
            • C Online
              Cernel Moderators
              last edited by

              I followed this feature since the initial take by @Trevan. I really don't understand why it needs to be refined if it does. Currently the program fails to support this rule at all, so I would say having this feature is better than nothing as long as it does not error out. I don't understand why not having it in the program already, at its current state (whatever the preselection given).

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                RaiNova @Cernel
                last edited by

                @cernel I have finished programming the feature - using the answers I got to my questions and trying to keep the change small -a few weeks ago. The only thing incomplete is integration testing the unit chooser component (which is the one I changed). I found the follwing use cases it is involved in:

                1. BattleDisplay
                2. TripleAPlayer.pickTerritoryAndUnits
                3. Place
                4. EditPanel.selectUnitsToRemove
                5. EditPanel.actionPerformed
                6. MovePanel.selectUnitsToMove
                7. BattlePanel.getCasualtiesAa
                8. TripleAFrame.scrambleUnitsQuery
                9. TripleAFrame.selectUnitsQuery
                10. TripleAFrame.moveFightersToCarrier

                Use Cases 1-6 work fine, but I can't work out how to produce the use cases 7-10. What do I need to do? In which game?

                If I don‘t get any help, I‘ll probably run some more tests on the next two weekends and checkin in die middle of November.

                C 1 Reply Last reply Reply Quote 1
                • C Online
                  Cernel Moderators @RaiNova
                  last edited by

                  @rainova said in Allow user to specifically choose amphibious offloaded units in battle chooser:

                  1. BattlePanel.getCasualtiesAa
                  2. TripleAFrame.scrambleUnitsQuery
                  3. TripleAFrame.selectUnitsQuery
                  4. TripleAFrame.moveFightersToCarrier

                  Use Cases 1-6 work fine, but I can't work out how to produce the use cases 7-10. What do I need to do? In which game?

                  I'm guessing from the names only.
                  7 may be in what order to display casualties in games having fly-over fire (Classic and Revised), and I guess only for games in which you cannot choose them (Revised).
                  8 may be for selecting units to scramble (as in Global 1940).
                  9 may be an old legacy item (maybe not any longer used), back then when there was only one mode of selecting units (since it just says "select units").
                  10 may be for moving non-newly-placed air units to newly-placed carriers from the territory used to place the carrier (as in Revised basic).

                  R 1 Reply Last reply Reply Quote 1
                  • C Online
                    Cernel Moderators @RaiNova
                    last edited by

                    @rainova said in Allow user to specifically choose amphibious offloaded units in battle chooser:

                    @cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:

                    Try to look at the map and units at a monitor resolution of 2/3 of the maximum whilst having 100% general zoom and at the maximum (4k) monitor resolution whilst having 150% general zoom. What, if anything, gives a better visual of the map and units?
                    Meaning, starting from a 4k monitor resolution at 100% general zoom, is it better for your view to increase the zoom to 150% or to decrease the monitor resolution to 2.666k?

                    The unit icons have about the same quality with 150%@4K and 100%@2660 x 1440. But text is perfectly sharp with 4k while blurry with 2660 x 1440. We should not expect players to change their screen resolution in order to see TripleA units big enough

                    I'm curious about what results you'd have doing the same thing but with 200% and 1920x1080. It should look bad/blurred if the monitor makes an interpolation, but it should look just as good as a same-sized 2K otherwise (that is if having foursomes of all-adjacent pixels in the 4k acting as a single pixel in a 2k).

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      RaiNova @Cernel
                      last edited by

                      @cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:

                      I'm curious about what results you'd have doing the same thing but with 200% and 1920x1080. It should look bad/blurred if the monitor makes an interpolation, but it should look just as good as a same-sized 2K otherwise (that is if having foursomes of all-adjacent pixels in the 4k acting as a single pixel in a 2k).

                      With 200% the graphics and the digits that show the number of units of the same kind on the main map look blurred - maybe because of antialiasing.

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        RaiNova @Cernel
                        last edited by

                        @cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:

                        7 may be in what order to display casualties in games having fly-over fire (Classic and Revised), and I guess only for games in which you cannot choose them (Revised).

                        In "big world 1942" aa guns shoot at aircraft flying over, but you cannot choose the aircraft hit.
                        In "big world 1942 v3 Rules" aa guns don't shoot at aircraft flying over.

                        In which scenario do aa guns shoot at aircraft flying over and you can choose the aircraft hit?

                        C PantherP T 3 Replies Last reply Reply Quote 0
                        • C Online
                          Cernel Moderators @RaiNova
                          last edited by

                          @rainova said in Allow user to specifically choose amphibious offloaded units in battle chooser:

                          @cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:

                          7 may be in what order to display casualties in games having fly-over fire (Classic and Revised), and I guess only for games in which you cannot choose them (Revised).

                          In "big world 1942" aa guns shoot at aircraft flying over, but you cannot choose the aircraft hit.
                          In "big world 1942 v3 Rules" aa guns don't shoot at aircraft flying over.

                          In which scenario do aa guns shoot at aircraft flying over and you can choose the aircraft hit?

                          Classic if it is working correctly. If you cannot, you found a wrong behaviour (AA fire has many wrong behaviours).

                          1 Reply Last reply Reply Quote 0
                          • PantherP Offline
                            Panther Admin Moderators @RaiNova
                            last edited by

                            @rainova

                            See

                            https://github.com/triplea-game/triplea/issues/4133

                            as introduction into the AA-fire topic.

                            Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              Trevan @RaiNova
                              last edited by

                              @rainova There's an option that controls that functionality. I think most games have the option off by default and most don't allow editing the option. But I know a few do. The option is "Choose AA Casualties". You can look at the map xml and see if it is value="true" or editable="true".

                              If you are in edit mode, it should also show the dialog.

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