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

    Screen Won't Center on Capital at Turn Start with Tech Off

    Scheduled Pinned Locked Moved Map Making
    28 Posts 5 Posters 8.1k Views 4 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.
    • B Offline
      Brazza @Cernel
      last edited by

      @cernel
      I am willing to help but I don't know enough for xml programming.

      I can start at beginning to learn about this but in that case there is no guarantee that I can complete within any limited time.

      Sorry about that.

      W 1 Reply Last reply Reply Quote 2
      • W Offline
        wc_sumpton @Brazza
        last edited by

        @brazza

        @Cernel Is talking about changing the engine (JAVA), so that the "centering hack" is not needed.

        Cheers...

        B 1 Reply Last reply Reply Quote 2
        • B Offline
          Brazza @wc_sumpton
          last edited by

          @wc_sumpton
          Oh thanks, I misunderstood.

          Sure I should be able to fix it. I will take it once the issue is opened.

          W C 2 Replies Last reply Reply Quote 1
          • W Offline
            wc_sumpton @Brazza
            last edited by

            @brazza said in Screen Won't Center on Capital at Turn Start with Tech Off:

            Oh thanks, I misunderstood.

            No problem. It happens to the best of us (and also those of us that are not so good).

            @brazza said in Screen Won't Center on Capital at Turn Start with Tech Off:

            Sure I should be able to fix it. I will take it once the issue is opened.

            That's still debatable. I'm really not sure what would be wanted. But thanks for the offer, it is greatly appreciated.

            Cheers...

            1 Reply Last reply Reply Quote 1
            • B Offline
              beelee
              last edited by beelee

              @wc_sumpton

              yea idk might be more of a feature request as opposed to bug fix ?

              @Cernel how would you phrase it ? Do you want to open a git issue so @Brazza can work on it ? I'm not sure the best way to word it.

              Edit
              I guess I could go with the topic/thread title. I don't really want to call it a bug though.

              Edit 2
              I guess maybe it's a bug since it does it when tech is on.

              W 1 Reply Last reply Reply Quote 1
              • W Offline
                wc_sumpton @beelee
                last edited by wc_sumpton

                @beelee

                The problem is centering on the player's capital at the start of their round. It would very disorienting if TripleA centered on every step. So, the engine does this only on the first step. If the first is skipped so is the centering.

                If centering is important to the map maker, then it should be designed so that this first is not missed.

                This, IMHO, is an XML problem, and is solvable. So, I see no need for any engine change.

                Again, that is just my opinion.

                Cheers...

                1 Reply Last reply Reply Quote 2
                • W Offline
                  wc_sumpton
                  last edited by

                  To me this is a non-issue, completely solvable. There are other things that, IMO, are more important. The "Active Units" window located in the lower right corner. It's broken. Because of its uselessness, l drought many people use it. It should either be fixed to work properly or just removed. It's a simple fix.
                  Another simple improvement would be for the "Movement" window to show all the units that can move without having to set display all units.

                  These are just a few, that would, IMHO, be better.

                  Cheers...

                  B 1 Reply Last reply Reply Quote 2
                  • B Offline
                    beelee @wc_sumpton
                    last edited by beelee

                    @wc_sumpton

                    I don't use it

                    Edit
                    Hmm ... wonder what we could replace it with 🙂

                    1 Reply Last reply Reply Quote 1
                    • C Offline
                      Cernel Moderators @wc_sumpton
                      last edited by

                      @wc_sumpton said in Screen Won't Center on Capital at Turn Start with Tech Off:

                      @beelee

                      Thanks for the call out.

                      <!-- Germans Game Sequence -->
                      <!-- Dummy step used to insure map is centered for human player (first step is used to center) -->
                      <step name="germansNoPUEndTurn" delegate="endTurnNoPU" player="Germans"/>
                      <step name="germansTech" delegate="tech" player="Germans"/>
                      <step name="germansTechActivation" delegate="tech_activation" player="Germans"/>
                      <step name="germansPurchase" delegate="purchase" player="Germans"/>
                      <!-- Second purchase is used to give units per territory in case player loses all production capabilities -->
                      <step name="germansNoPUPurchase" delegate="purchaseNoPU" player="Germans"/>
                      <step name="germansPolitics" delegate="politics" player="Germans"/>
                      <step name="germansCombatMove" delegate="move" player="Germans"/>
                      <step name="germansAirborneCombatMove" delegate="specialCombatMove" player="Germans" display="Airborne Attack Move"/>
                      <step name="germansBattle" delegate="battle" player="Germans"/>
                      <step name="germansNonCombatMove" delegate="move" player="Germans" display="Non Combat Move"/>
                      <step name="germansPlace" delegate="place" player="Germans"/>
                      <step name="germansEndTurn" delegate="endTurn" player="Germans"/>
                      

                      Used in UHD WIP 1940-45 (mega_new_elk)

                      Again, thank you @beelee

                      Cheers...

                      I would actually also argue that the fact that this hack works at all is a problem too (an unwanted behaviour). In my opinion, the visual should not be centred on "germansNoPUEndTurn" (ever) because that phase requires no actions from the player.

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        Cernel Moderators @Brazza
                        last edited by

                        @brazza said in Screen Won't Center on Capital at Turn Start with Tech Off:

                        @wc_sumpton
                        Oh thanks, I misunderstood.

                        Sure I should be able to fix it. I will take it once the issue is opened.

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

                        👍

                        B 1 Reply Last reply Reply Quote 0
                        • B Offline
                          Brazza @Cernel
                          last edited by

                          @cernel
                          I see, I will start on it later.
                          Thanks for your trust!

                          W 1 Reply Last reply Reply Quote 2
                          • B Offline
                            beelee
                            last edited by

                            @wc_sumpton

                            Another heads up when using this code, unfortunately, when playing by forum, it will ask if you want to post after the added endTurnNoPU step.

                            It will ask twice with the "are you sure" so it seems better to just one click on the mini map where you wanna go. Make for cleaner play and minimize any confusion.

                            Works great in local 🙂 Idk if the new pre auto centers now or not. Haven't tried it yet

                            1 Reply Last reply Reply Quote 1
                            • W Offline
                              wc_sumpton
                              last edited by

                              @beelee, @Cernel

                              Using 2.7.15129 there is no centering. Game's start with the map located in the upper left corner. So instead of 'tech' or 'endTurnNoPU' nothing centers on the current players capitol.

                              Is the desired effect?

                              Cheers...

                              B PantherP 2 Replies Last reply Reply Quote 1
                              • B Offline
                                beelee @wc_sumpton
                                last edited by

                                @wc_sumpton

                                Hi wc

                                Is that latest pre ? I'm still using 14962 and it works correctly.

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

                                  @wc_sumpton
                                  The same with 2.7.15064 . So it must have been introduced between 14962 and 15064.

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

                                  W 1 Reply Last reply Reply Quote 2
                                  • W Offline
                                    wc_sumpton @Panther
                                    last edited by

                                    @panther, @beelee, @Cernel

                                    As of 2.7.15152, this still has not been addressed. I left a comment on the, still active, request #13241 about 2 weeks ago. Should a new bug/problem be open?

                                    Cheers...

                                    B 1 Reply Last reply Reply Quote 1
                                    • B Offline
                                      beelee @wc_sumpton
                                      last edited by

                                      @wc_sumpton

                                      Oh ? I hadn't been following. I thought it had been addressed. Evidently not.

                                      I'd suggest giving frigoref a ping at the issue. He's been active lately.
                                      Maybe @Panther has more information than I.

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

                                        @beelee @wc_sumpton No sorry, I don't have any further insights.

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