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

    Gives Movement = 0

    Scheduled Pinned Locked Moved Map Making
    27 Posts 4 Posters 5.2k 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.
    • ubernautU Offline
      ubernaut Lobby Moderators @wc_sumpton
      last edited by

      @wc_sumpton i like it! 🙂

      "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

      wc_sumptonW 2 Replies Last reply Reply Quote 2
      • wc_sumptonW Offline
        wc_sumpton @ubernaut
        last edited by

        @ubernaut

        WoW that was quick!

        Cheers...

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

          @wc_sumpton o

          oh boy this looks good 🙂

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

            @wc_sumpton is this a PR or can be done as is already ?

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

              @beelee

              I tried, back when TWW was being developed. There are so many units with that map. But..

              No PR. All I'm trying to do is show what a little care can do for the gameplay experience. If one of the other developers want to run with this. Then Good! At least good would come of it.

              But as it sits now. Look at the pictures and weep...

              Sorry.

              Cheers...

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

                @wc_sumpton 😧

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

                  @beelee said in Gives Movement = 0:

                  @wc_sumpton 😧

                  You've made my day!

                  Cheers...

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

                    @ubernaut, @Nothingtoseehere

                    You play TWW, my question is during non-combat movement, are all units in the embattled territory, including those that have already been moved and battled, selectable for movement? I'm not asking if these unit can move. I'm only if they are selectable?

                    Cheers...

                    N ubernautU 2 Replies Last reply Reply Quote 0
                    • N Offline
                      Nothingtoseehere @wc_sumpton
                      last edited by

                      @wc_sumpton Do you mean selecting the units by directly clicking on them or if they show up in the list if you click on the territory. If I remember correctly the former works the latter doesn't an you can't move the units either way.

                      wc_sumptonW ubernautU 2 Replies Last reply Reply Quote 1
                      • wc_sumptonW Offline
                        wc_sumpton @Nothingtoseehere
                        last edited by wc_sumpton

                        @nothingtoseehere

                        Both, and again because I am having loads of fun!:party_popper:

                        A picture is worth...
                        Screenshot 2024-08-30 093109.png

                        To explain. The picture on the left is selecting for non-combat movement and used the latest pre-release and no edits to the xml. The right is the saved game from above.

                        Only those units which appear in the selection are the only units that can be selected with the pointer.

                        Cheers...

                        1 Reply Last reply Reply Quote 2
                        • ubernautU Offline
                          ubernaut Lobby Moderators @Nothingtoseehere
                          last edited by

                          @nothingtoseehere yes u can select units that have already used all available movement in nc

                          "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                          1 Reply Last reply Reply Quote 1
                          • ubernautU Offline
                            ubernaut Lobby Moderators @wc_sumpton
                            last edited by

                            @wc_sumpton yes u can select units that have already used all available movement in nc

                            "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

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

                              @ubernaut, @Nothingtoseehere and @beelee

                              It is time to come clean, and apologize to @beelee for stealing this topic. But you have to admit, you started something when you piqued my interest! 🤡

                              How selecting for movement works. First all units in the selected territory are selected that belong to the turn-owning player. Units can be removed from the group, but not added.

                              First question, is "Selectable Zero Movement Units" not set?
                              If true, remove all with movement=0.

                              Second question, is this not the non-combat movement?
                              If true, remove all units with canNotMoveDuringCombatMove set.

                              And that's it. That is why TWW movement selection is so cluttered.

                              What I have done is refine "Selectable Zero Movement Units" to include units that can be transported, or that can receive movement for another unit.

                              Then added an "else" for the not non-combat movement. But this is the tricky part, there is no "unitHasBeenInBattle" flag. What the engine does is zero out movement for all land and sea units that survive a battle while air units have their movement reduced by what they moved. Also, all transported units have their movement value zero out. So, I removed all units that can move that have no movement left and are not being transported to help clean up the non-combat movement selection.

                              Cheers...

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

                                @wc_sumpton

                                heh heh no apologies necessarry 🙂

                                Rock On

                                Rock On !!!.png

                                1 Reply Last reply Reply Quote 1

                                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