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

    damageableAA question

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    5 Posts 3 Posters 1.4k 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.
    • wc_sumptonW Offline
      wc_sumpton
      last edited by

      In POS2 damageableAA is defined:
      sets if this unit can damage a two-hitpoint unit, instead of killing it instantly with aa fire (default = false = kill instantly).

      Units can have more the hitPoints then 2.

      Are Units with more then 2 hitPoints still killed by damageableAA = false?

      Maybe damageableAA values could be expanded to 'All, None, or a list of Units that this unit does not kill with a single shot. Default: None (All multi-hitPoints units are killed).'

      Fantastic job on the AA supports!!

      Cheers...

      HeppsH 1 Reply Last reply Reply Quote 0
      • HeppsH Offline
        Hepps Lobby Moderators @wc_sumpton
        last edited by

        @wc_sumpton Works on any HP. At the time this was created Triple A only had 1 or 2 HP.

        If you set this to false an AA strike will instantly kill any unit it hits... regardless of how many HP the unit has.

        "A joyous heart sours with the burden of expectation"
        Hepster

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

          @Hepps
          Thank you, that was my thoughts also, was just asking for clarification.

          I'm just thinking that this option could be expanded, and not just true of false, but to something like a name value pairing:
          None = All units hit by this unit are killed with a single shot
          All:2 = All units hit by this unit receive 2 hit points of damage (any unit with more then 2 hit points will survive).
          (if a 'largeArmoredTransport' unit has 2 hit points, and a 'largeArmor' has 2 hit points) Then:
          largeArmoredTransport 2:superArmor:1=largeArmoredTransport is killed, but the largeArmor would survive by receiving only a single hit.

          Change of thought, maybe 'targetsAA' should be used instead, since that already requires a list of units that can be attacked by this unit. The default for 'targetsAA' would be all 'isAir' units are killed by this unit, otherwise a list of the units that this unit could attack followed by the amount of damage caused, with -1 being kills with a single shot. So using the above :

          <option name="targetsAA" value="largeArmoredTransport:-1:largeArmor:1"/>
          

          Then the largeArmordTransport would be killed even if its hit points equaled 3, while the largeArmor would only receive 1 damage.

          These are just some thoughts.

          Cheers...

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

            @wc_sumpton So I think the better way of having some targets damageable and others not, would be to have multiple AA attachments for that unit: https://forums.triplea-game.org/topic/1079/multiple-aa-attachments-per-unit

            So for your example, you'd have 1 AA attachment against largeArmoredTransports which has damageableAA = false and 1 AA attachment against largeArmor that has damageableAA = true. This would provide lots of additional flexibility of having different attack strengths for each AA as well.

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

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

              @redrum
              Just having fun thoughts. Thanks for your explanation!

              Cheers...

              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