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

    How do I prevent infantry from hitting aircraft?

    Scheduled Pinned Locked Moved Map Making
    13 Posts 5 Posters 2.1k Views 5 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.
    • RogerCooperR Offline
      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 Offline
        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).

        CrazyGC 1 Reply Last reply Reply Quote 1
        • CrazyGC Offline
          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.

          RogerCooperR 1 Reply Last reply Reply Quote 0
          • RogerCooperR Offline
            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.

            HeppsH 1 Reply Last reply Reply Quote 0
            • HeppsH Offline
              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.

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

              RogerCooperR 1 Reply Last reply Reply Quote 0
              • redrumR Offline
                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?

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

                1 Reply Last reply Reply Quote 2
                • RogerCooperR Offline
                  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.

                  HeppsH redrumR 2 Replies Last reply Reply Quote 2
                  • HeppsH Offline
                    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.

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

                    1 Reply Last reply Reply Quote 0
                    • redrumR Offline
                      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.

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

                      1 Reply Last reply Reply Quote 1
                      • C Offline
                        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

                        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