Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Gives Movement = 0

    Map Making
    4
    27
    1453
    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.
    • W
      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 ubernaut 2 Replies Last reply Reply Quote 0
      • N
        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.

        W ubernaut 2 Replies Last reply Reply Quote 1
        • W
          wc_sumpton @Nothingtoseehere last edited by wc_sumpton

          @nothingtoseehere

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

          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
          • ubernaut
            ubernaut Moderators @Nothingtoseehere last edited by

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

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

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

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