Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Suicide Units don't fire if not accompanied by non suicide units

    Map Making
    4
    7
    929
    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.
    • S
      scallen1 last edited by

      Example - Domination 1914 No Man's Land. Has Gas suicide unit that on attack suicides. If you have a gas only attack, all that happens is all the gas you send dies without dealing damage. This seems like a bug

      Any known workaround?

      C 2 Replies Last reply Reply Quote 0
      • C
        Cernel Moderators @scallen1 last edited by

        @scallen1 I'm moving this to mapmaking, as definitely it isn't a bug report.

        The reason why gas in NML doesn't do anything but getting captured if alone is because it is an infrastructure. The main reason (that I know, since I talked extensively with Imbaked during the making of Domination NML) why it is an infrastructure stems from the fact that it is not wanted for it to suicide on defence, neither to be taken as casualty. I assume you can make a feature request for a property that gives priority to the suicide ability over the infrastructure characteristic, so that suicidal infrastructures will suicide rather than getting captured, if alone. I think such a behaviour may generally have a good use in representing shells in more operational level maps.

        1 Reply Last reply Reply Quote 0
        • C
          Cernel Moderators @scallen1 last edited by

          @scallen1 said in Suicide Units don't fire if not accompanied by non suicide units:

          Any known workaround?

          You could have triggers keeping switching off and on the infrastructure option before combat move and after combat resolution, but this is a hack.

          S 1 Reply Last reply Reply Quote 0
          • S
            scallen1 @Cernel last edited by

            @cernel Thank you. I'm trying to create suicide units I'd like to use on their own and this info helps

            Jason Green-Lowe 1 Reply Last reply Reply Quote 0
            • Jason Green-Lowe
              Jason Green-Lowe @scallen1 last edited by

              @scallen1 @Cernel @wc_sumpton I'm having a similar problem with a new suicide unit I've created called "bomb." The idea is that strategic bombers will create (via trigger) two bombs before each battle; each bomb will then get one roll @ 2, and then the bomb is destroyed regardless of whether it hit or not.

              The triggers that create the bombs are working just fine. However, even when I send a normal unit like a destroyer along with the bomber, my bombs are suiciding before they ever get to roll, as shown in the attached screenshot. My bombs are not infrastructure. Any ideas about how to fix this? I'm open to other ways of implementing the single-shot bombing, as long as it isn't limited to amphibious attacks or anti-air hits; the bombing needs to work against ground targets in a landlocked territory.

                  <attachment name="unitAttachment" attachTo="bomb" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
                    <option name="movement" value="0"/>
                    <option name="isAir" value="true"/>
                    <option name="isSuicide" value="true"/>
                    <option name="attack" value="2"/>
                    <option name="defense" value="0"/>    
                  </attachment> 
              

              2318adb0-84ea-4da2-b6b4-f4e30b37efd2-image.png

              TheDog 1 Reply Last reply Reply Quote 0
              • TheDog
                TheDog @Jason Green-Lowe last edited by

                Try isSuicideOnAttack or a variant but not isSuicide, as I dont think it works.

                Jason Green-Lowe 1 Reply Last reply Reply Quote 2
                • Jason Green-Lowe
                  Jason Green-Lowe @TheDog last edited by

                  @thedog That worked, thanks!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums