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

    Defenders may retreat after 1 round of combat

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    8 Posts 3 Posters 144 Views 3 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.
    • I Online
      iratoric
      last edited by

      I'm proposing we add an option where defenders can choose to retreat after 1 round of combat, like subs in the classic edition, but this would be able to be utilized properly by land units without all the undesired side effects of making it a sub. Not only would this add more strategic options, it would also be a lot more realistic. Could be a game property.

      I RogerCooperR 2 Replies Last reply Reply Quote 2
      • I Online
        iratoric @iratoric
        last edited by iratoric

        Worked on this on a fork and made a pull request here: https://github.com/triplea-game/triplea/pull/14649
        It seems like it's failing a test with a few of the old save games though, can anyone help?

        Example of what I am seeing when I run on my machine: SaveGameLoadFailed.png

        B 1 Reply Last reply Reply Quote 0
        • B Online
          beelee @iratoric
          last edited by

          @iratoric

          Hi ira

          What triplea engine version are you using ?

          I 1 Reply Last reply Reply Quote 0
          • I Online
            iratoric @beelee
            last edited by

            NVM I got it working. The pull request now passes all tests! 😃 Now I can only wait and hope that it gets picked up. @beelee The version of TripleA is whatever the very latest unreleased version is from Github.

            Pull Request Passed Tests.png

            1 Reply Last reply Reply Quote 1
            • RogerCooperR Online
              RogerCooper @iratoric
              last edited by

              @iratoric Did you implement defender retreat as a game property?

              I 1 Reply Last reply Reply Quote 0
              • I Online
                iratoric @RogerCooper
                last edited by

                @RogerCooper Right now it is on my branch as "Defenders Can Retreat Battle Round" as an int property where you can select what round defenders can retreat (-1 is the default and means they can't, 0 means before combat, 1 means after 1 round of combat, etc.) There's been a discussion on GitHub but I should probably make another topic for discussing it here, the questions now are mostly how it should be implemented

                RogerCooperR 1 Reply Last reply Reply Quote 0
                • RogerCooperR Online
                  RogerCooper @iratoric
                  last edited by

                  @iratoric That sounds like a useful addition to the TripleA engine.

                  I 1 Reply Last reply Reply Quote 2
                  • I Online
                    iratoric @RogerCooper
                    last edited by

                    @RogerCooper Thanks, I just made a post to poll people's opinions on how it should work in Development, be sure to give any opinions there

                    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 / 1
                    • First post
                      Last post
                    Powered by NodeBB Forums