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

    Changing AA Value Against Strategic Bombers

    Scheduled Pinned Locked Moved Map Making
    25 Posts 4 Posters 161 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.
    • wc_sumptonW Offline
      wc_sumpton @beelee
      last edited by

      @beelee said:

      Can you change the value that Factories defend against SBR attack ? They currently defend at 1.

      <option name="attackAA" value="2"/> will change the factories defense.

      @beelee said:

      well yea that's what I want I have that

      Then everything should be set. 😎

      Cheers...

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

        @wc_sumpton

        yea but how do I turn off the auto AA defend at 1 ?

        🙂

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

          @wc_sumpton

          yea just a disconnect I guess 🙂

          Can you make a "factory_major" not shoot the same time the new Facility unit does when being bombed ?

          Screenshot from 2026-05-18 16-54-53.png

          Edit
          Hmm ... maybe if I make it like a "airfield" it'd work ? Can't place anyone then though.

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

            @beelee said:

            Can you make a "factory_major" not shoot the same time the new Facility unit does when being bombed ?

            <option name="typeAA" value ="AtmoicProductionFacility"/>

            Cheers...

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

              @wc_sumpton

              yea i already did that at first 🙂

              Screenshot from 2026-05-18 17-19-29.png

              Edit
              doesn't work 🙂

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

                @beelee said:

                yea i already did that at first

                That's for your Research_Facility, your question was about factory_major. So, you did not do it. 🤣
                Add <option name="typeAA" value ="AtmoicProductionFacility"/> to factory_major or remove it from Research_Facility.

                Cheers...

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

                  @wc_sumpton

                  Lets start over.

                  I need to make a a unit that is a Factory, that it's AA defends at 2, against Strategic Bombing and when attacked by Bombrs in a Strategic Bombing raid and there is a "Factory" present, the "Factory" AA will not fire with it's AA against the Bmbrs.

                  What should happen, is the new "Factory" will fire at 2 against Strategic Bomber attacks. There should be no AA Fire from any other Facility.

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

                    @beelee

                    <attachment name="unitAttachment" attachTo="Research_Facility" javaClass="UnitAttachment" type="unitType">
                          <option name="isInfrastructure" value="true"/>
                          <option name="isConstruction" value="true"/>
                          <option name="constructionType" value="AtomicProduction"/>
                          <option name="constructionsPerTerrPerTypePerTurn" value="1"/>
                          <option name="maxConstructionsPerTypePerTerr" value="1"/>
                          <option name="canBeDamaged" value="true"/>
                          <option name="maxDamage" value="20"/>
                          <option name="consumesUnits" value="1:AtomicLevel5"/>
                          <option name="unitPlacementOnlyAllowedIn" value="Eastern United States:Germany"/>
                          <option name="maxBuiltPerPlayer" value="1"/>
                          <option name="isAAforBombingThisUnitOnly" value="true"/> <!-- allows this unit to be an AA gun only when the territory this unit is in is attacked by a strategic bombing raid -->
                          <option name="attackAA" value="2"/> <!-- AA defends at 2 -->
                        </attachment>
                    

                    Trying to eat... Thunderstorm... and two dogs...

                    Cheers...

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

                      @wc_sumpton

                      Right on. Give it a try in a bit.

                      Yea we had storms roll through a couple nights ago. Finally get back to a normal sleep pattern and 3 bands come through rattling the windows lol

                      First world problem 🙂

                      Edit
                      Well it almost worked 🙂 The Factory didn't fire, just the Facility. However when I bomb just the Fctry, it shoots at 2 now also.

                      I tried adding <option name="attackAA" value="1"/> to the Fctry but it still shot at 2 😞

                      Edit 2
                      I tried removing "isFactory" from the Fctry and just add the stuff the Facility had with the AA shoots at 1 but that didn't work either.

                      Not that I really expected it to 🙂 I'm thinking triplea currently can't separate the different infrastructure AA fire.

                      Well, I'll just go with 2 rds of shooting at 1 for now. One can always use edit and handroll if they want to be completely rule compliant 🙂

                      Thanks for your time 🙂

                      Edit 3
                      Actually, that won't work either. The Fctry gets hit twice too then. I'll just have it shoot at 1 and people will have to edit any hits at 2 and damage after the Raid

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

                        @beelee

                        Again, I reference PoS2;
                        isAAforBombingThisUnitOnly values: allows this unit to be an AA gun only when this unit is directly attacked by a strategic bombing raid (currently defends against all strategic bombing attacks in this territory, not just against this unit). it will not defend against a normal attack.

                        There are 2 units in Germany with "isAAforBombingThisUnitOnly" so both units defend against SBR attacks against that territory, PoS2 clearly states not just against this unit.

                        And again the PoS2:
                        typeAA. values: any string which identifies this type-group of aa guns. Only 1 aa gun per group may fire (unless you've set maxAAattacks). (defaults to "AA") Warning: all units with the same typeAA must have the same dice sides, or else you will experience weird results.

                        So, if both units have the same "typeAA" as "AA", the default if missing, then they fire as a group, with only the best unit defending.

                        SBR units attack a territory, only the damage is applied to a selected target. This is how aaGuns work in 'classic' style maps. They can defend against SBR, even though they are not targeted.

                        Cheers...

                        1 Reply Last reply Reply Quote 2

                        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