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

    attackAA question

    Scheduled Pinned Locked Moved Map Making
    7 Posts 3 Posters 1.1k 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.
    • B Offline
      beelee
      last edited by beelee

      does "attackAA" have to be used if you only want "offensiveAttackAA" to work ? When I don't use it or set it to "0" or "-1" then it doesn't show up.
      If I set "attackAA" to "1" then it works.

      I tried the new "AA support" thingy but that didn't have any affect. I ended up making"attackAAmaxDieSides" = 144 so pretty low chance of it hitting. Hopefully that doesn't slow things up dice calc wise. Seemed ok in a mini test.

      Anyway, I'm trying to have Fighters and Tac Bombers target Cruisers and Battleships when they attack, but not have them shoot when being attacked by the CAs and BBs.

      This is what I have:

      Screenshot from 2019-03-19 21-00-04.png

      Thanks

      Also does the "number" in support AA refer to how many units it gives support too ? I have it at "99"
      Thanks again

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

        @beelee Are you saying that if you set "offensiveAttackAA" without also having "attackAA", then "offensiveAttackAA" is ineffective?

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

          @Cernel

          Yes

          1 Reply Last reply Reply Quote 0
          • redrumR Offline
            redrum Admin
            last edited by

            @beelee If you only want AA rolls for the unit when attacking not defending then you need to set attackAA to 0 as it defaults to 1. Then set offensiveAttackAA to something greater than 0.

            Uh, I don't think there is any limit on max dice sides but you might want to try it with something smaller first.

            So your highlighted support attachment looks valid. It would make it so cruisers when on defense give -1 offensiveAttackAA to 99 enemy tact bombers and fighters.

            TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

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

              @redrum

              Thank you. That's what I thought. I tried both suggestions earlier, but they didn't work.
              I must have missed something. I'll try again.

              redrumR 1 Reply Last reply Reply Quote 0
              • redrumR Offline
                redrum Admin @beelee
                last edited by

                @beelee Ok. If you still have issues, posting your XML or map zip so I can take a look would help.

                TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

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

                  @redrum
                  Well it's working now. Setting it to "0" was one of the first things I tired. I thought "this should be easy". : )
                  Anyway I obviously had something else off.

                  At least it made me research the new AA support : )

                  Thanks again guys

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