Navigation

    TripleA Logo

    TripleA Forum

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

    How do I prevent infantry from hitting aircraft?

    Map Making
    5
    13
    1193
    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.
    • RogerCooper
      RogerCooper last edited by RogerCooper

      I am reworking the D-Day scenario and I want to prevent infantry from hitting aircraft in normal combat. Is that possible under the current version of the engine?

      Hepps 1 Reply Last reply Reply Quote 0
      • Hepps
        Hepps Moderators @RogerCooper last edited by

        @RogerCooper You could take a look a HOH. The method that @CrazyG used to have cannons untargetable might be a possible solution for you.

        1 Reply Last reply Reply Quote 0
        • CrazyG
          CrazyG Moderators last edited by

          Three main ways

          1. Make all units sea units. Make infantry isSub=true

          2. Use targeted, AA style attacks for an infantry's normal attack (their normal attack would be 0). Its a really complicated overhaul, but you can control what units target what other units with incredible detail

          3. Make aircraft infastructure. This doesn't work very well because aircraft that get caught by themselves instantly die, attacking or defending.

          RogerCooper C 2 Replies Last reply Reply Quote 1
          • RogerCooper
            RogerCooper @CrazyG last edited by RogerCooper

            @CrazyG Method 2 seems to be the way to go, as I only want 1 round of combat.

            I would like to see this handled by a cannotHit unit property, rather than with a crazy workaround.

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

              @CrazyG said in How do I prevent infantry from hitting aircraft?:

              1. Make aircraft infastructure. This doesn't work very well because aircraft that get caught by themselves instantly die, attacking or defending.

              I think this should be fixed. Flying infrastructures should be captured in defence, but not in attack (the battle should just end with them hovering the territory).

              CrazyG 1 Reply Last reply Reply Quote 1
              • CrazyG
                CrazyG Moderators @Cernel last edited by

                @Cernel
                It would need to be a separate property. Age of Tribes using flying infrastructure to let your opponents "capture" nuclear explosions"

                I really wish we just had some sort of "non-targetable" property, where a unit that has true cannot be chosen a casualty, unless its the only possible casualty.

                RogerCooper 1 Reply Last reply Reply Quote 0
                • RogerCooper
                  RogerCooper @CrazyG last edited by

                  I have another solution. As in Axis & Allies: D-Day, planes don't directly support attacks, I can just use a negative, enemy support modifier to suppress the enemy defense, and a negative, friendly support modifier to discourage friendly units from joining in.

                  Hepps 1 Reply Last reply Reply Quote 0
                  • Hepps
                    Hepps Moderators @RogerCooper last edited by Hepps

                    @RogerCooper That sounds like it would end up making a much worse version of the current DD/Sub mechanics. All you would have to do is use 1 plane in every combat situation and then it would neutralize all infantry.

                    Unless I am misunderstanding what it is you are proposing.

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

                      So a "cannotHit" property wouldn't really add anything to the engine as it would just be another way in the XML to define AA attacks. There really isn't any difference between an infantry having an AA attack against all units except air and having an infantry use a "cannotHit" property. Not really sure I understand why AA style attacks is complex?

                      1 Reply Last reply Reply Quote 2
                      • RogerCooper
                        RogerCooper @Hepps last edited by

                        @Hepps In the D-day game, combat is limited to 1 round, limiting how much damage the planes can do. So in this case, support modifiers would work.

                        A cannotHit property would be more flexible, as it would not be limited to the AA phase of combat. I could think of a number of situations where such a property would be useful. Infantry without proper AT weapons might be unable to hit tanks. Aircraft would be unable to hit guerillas when attacking.

                        You could also have a hitFirst property, allowing some types of attacks to hit the more expensive units first, for example fighters targeting aircraft carriers or tanks.

                        Hepps redrum 2 Replies Last reply Reply Quote 2
                        • Hepps
                          Hepps Moderators @RogerCooper last edited by

                          @RogerCooper Sorry didn't know it was a 1 rnd combat game. 😃 My apologies for interjecting without the knowledge to do so intelligently.

                          1 Reply Last reply Reply Quote 0
                          • redrum
                            redrum Admin @RogerCooper last edited by

                            @RogerCooper I guess I'm still struggling to see how a cannotHit property would be better/different than using targeted attacks. For the 3 scenarios you mentioned so far (inf not hitting air, inf not hitting tanks, air not hitting guerillas), those seem to fit reasonably well into targeted attacks.

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

                              Moved to Mapmaking, as, while there is a map reference, I think this is more of a general matter, that may apply to various maps.

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