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
    36 Posts 6 Posters 8.2k 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.
    • B Offline
      Brazza @Cernel
      last edited by

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

      wc_sumptonW 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
        • wc_sumptonW 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.

              wc_sumptonW 1 Reply Last reply Reply Quote 2
              • wc_sumptonW 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.

                    TheDogT 1 Reply Last reply Reply Quote 2
                    • TheDogT Online
                      TheDog @Panther
                      last edited by

                      Apparently with
                      https://github.com/triplea-game/triplea/releases/tag/2.7.15494

                      Centering on 1st Capital now works, but I cannot make it happen.

                      There are some criteria what are they?
                      View> Lock Map UNTICKED
                      and ...

                      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

                        We have come full circle. If the map contains skippable 'first' steps, technology, politics, and that 'first' is turned off the map will not center. The only way to ensure that the map centers is to create a 'first' step that cannot be turned off. This is the 'hack' that @beelee and I discussed using "endTurn/endTurnNoPU" which @cernel took issue with.

                        So, centering again works but only on the players 'first' step. If the 'first' step can be turned off, then centering does not work.

                        2.7.15494 did not fix the problem, it just reverted back to the 'old' problem.

                        Cheers...

                        B C 2 Replies Last reply Reply Quote 3
                        • B Offline
                          beelee @wc_sumpton
                          last edited by

                          @wc_sumpton

                          yea your xml hack worked for centering but I believe you had to double post when playing by Forum or something. I don't remember exactly what it was.

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

                            @wc_sumpton said:

                            @TheDog

                            We have come full circle. If the map contains skippable 'first' steps, technology, politics, and that 'first' is turned off the map will not center. The only way to ensure that the map centers is to create a 'first' step that cannot be turned off. This is the 'hack' that @beelee and I discussed using "endTurn/endTurnNoPU" which @cernel took issue with.

                            I'm not against hacking per se. I think it should be fine doing it that way until a proper way is available. (I hack stuff too if I'm not seeing any better ways.)

                            Eventually though, the "endTurn/endTurnNoPU" should better become a step which never causes any centring in my opinion. If that happens, the map-maker who used the hack (which I think is fine) should better just update their maps (removing the now useless steps). No big deal: it's just a visual thing.

                            wc_sumptonW 1 Reply Last reply Reply Quote 2
                            • wc_sumptonW wc_sumpton referenced this topic
                            • wc_sumptonW Offline
                              wc_sumpton @Cernel
                              last edited by

                              @Cernel said:

                              I'm not against hacking per se.

                              LoL. Just pointing out this discussion which changed 'centering', that got broken, then reverted back to 'first' step only.

                              Cheers...

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

                                Is the solution to have centering pre the
                                MoveDelegate

                                So not pre Tech or Politics or EndofTurn or noPUEndTurn Delegate

                                Does pre the MoveDelegate work for most maps?

                                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 0
                                • wc_sumptonW Offline
                                  wc_sumpton @TheDog
                                  last edited by

                                  @TheDog said:

                                  Does pre the MoveDelegate work for most maps?

                                  I'm not understanding the question. Centering, as of 2.7.15494, happens on the 'first' delegate. If the 'first' delegate is skipped, then centering does not happen. 2.7.15025 centered on the 'first active', required players attention, delegate.

                                  Almost any delegate can be used to 'hack' centering using 2.7.15494, but care and testing are necessary because some delegates do not fire the 'when' triggers if no action is taken. This is why I suggested "endTurn/endTurnNoPU" because these have internal cleanups and should always trip 'when'. And they are not 'prefect' because of these cleanups.
                                  So, try different delegates and test to ensure the map functions as one expects.

                                  Cheers...

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

                                    @wc_sumpton
                                    With 300+ maps and a solution that requires no xml changes to work, could be using a pre Move Delegate centering, maybe?

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