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

    Support Attachment Question

    Scheduled Pinned Locked Moved Map Making
    4 Posts 2 Posters 623 Views 2 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 Online
      beelee
      last edited by

      How does a unit determine which unit to give support to if there are more units than the "number" that can be supported ?

      For example, an artillery unit can support 3 different units but it can only support 1 at a time. How does it decide which one and can you force it to pick one ?

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

        @beelee
        Positive support is given to the strongest, by attack power, first.
        Negative support is given to the weakest.

        There is no way to force support to one unit over another. And even though the above rules are simple, sometimes it may seem that TripleA gives support randomly.

        Cheers...

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

          @wc_sumpton hmm...that's what I thought but I'm getting the opposite effect. I have an A2 D4 and two A1 D2 all supported in the same attachment and it picks the A1 D2 units on Attack.

          <attachment name="unitAttachment" attachTo="infantry" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
          <option name="movement" value="1"/>
          <option name="transportCost" value="2"/>
          <option name="isInfantry" value="true"/>
          <option name="attack" value="1"/>
          <option name="defense" value="2"/>
          <!--<option name="artillerySupportable" value="true"/>-->
          <option name="isAirTransportable" value="true"/>
          </attachment>

          <attachment name="unitAttachment" attachTo="guard_infantry" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
          <option name="movement" value="2"/>
          <option name="transportCost" value="2"/>
          <option name="isInfantry" value="true"/>
          <option name="attack" value="2"/>
          <option name="defense" value="3"/>
          <!--<option name="artillerySupportable" value="true"/>-->
          <option name="isAirTransportable" value="true"/>
          <option name="maxBuiltPerPlayer" value="9"/>
          <option name="unitPlacementOnlyAllowedIn" value="Russia"/>
          </attachment>

          <!-- Mech Infantry -->
          <attachment name="unitAttachment" attachTo="mech_infantry" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
            <option name="movement" value="2"/>
            <option name="transportCost" value="3"/>
            <option name="attack" value="1"/>
            <option name="defense" value="2"/>
            <!--<option name="artillerySupportable" value="true"/>-->
            <option name="receivesAbilityWhenWith" value="canBlitz:armour"/>
            <option name="canBeGivenByTerritoryTo" value="British"/>
          </attachment>
          

          And the supportAttachment

          <attachment name="supportAttachmentInfantryAndMechInf" attachTo="artillery" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType">
          <option name="unitType" value="infantry:guard_infantry:mech_infantry"/>
          <option name="faction" value="allied"/>
          <option name="side" value="offence"/>
          <option name="dice" value="strength"/>
          <option name="bonus" value="1"/>
          <option name="number" value="1"/>
          <option name="bonusType" value="infantry_bonus"/>
          <option name="impArtTech" value="true"/>
          <option name="players" value="Germans:Russians:Americans:British:French:Italians:Japanese:Chinese:ANZAC:French:Dutch"/>
          </attachment>

          I tried a separate attachment for the Guards unit with same "bonusType" name but that just made the Artillery unit support 2 units.

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

            @beelee well I sent an arty and inf against 2 inf and it had 48% success rate. I sent 1 tank and 1 inf and it had 51% success. Both had same attack power.

            I guess it's just not gonna pick that Guard unit until all the other supported units are dead. Bummer.

            I can't really think of any way to hack around it. Even if I could make a trigger work somehow, doubtful, if a Guard and arty were present in same TTy, it would negate the first attachment and I could use a second one for Guards only, It'd negate all the battles with artillery. Unless I could specify each TTy.

            As I said, I'm doubtful of that idea.

            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
            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums