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

    Air Battles Can Be Ignored

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    15 Posts 4 Posters 4.0k Views 4 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.
    • VictoryFirstV Offline
      VictoryFirst
      last edited by

      @wc_sumpton

      To be more clear, I refrain from having a separate property called "Air Battles May Be Ignored" as it causes too many problems as you pointed out. I would like to have the property "Land Battles May Be Ignored" to function in such a way, that if a player opts to ignore the land battle, any air battle that might trigger in that territory as a result of the land battle is automatically ignored as well. In WW1 1914, the air and land battles are linked. You cannot start a land battle and ignore the air battle or fight the air battle and not do the land battle. This is stated in the rulebook.

      I have no understanding of how TripleA deals with these things so I don't know how hard it will be to implement something like this, or if it will be easier/harder to implement if there are some changes here and there to the feature request. So again, if there happens to be an SBR in the territory you would like to have no combat (which wouldn't come up in WW1 1914 but might come up in other games), the SBR shouldn't be ignored. However, I don't know if that's possible to make that distinction between the two different types of air battles.

      Awesome you have a 'Why?' process. It is an essential skill to have for any kind of developing project which indeed many people lack. @beelee Hehe now you have to tell me about it too, about what went wrong with the AA abilities 🙂

      1 Reply Last reply Reply Quote 0
      • VictoryFirstV Offline
        VictoryFirst @wc_sumpton
        last edited by

        @wc_sumpton said in Air Battles Can Be Ignored:

        The problem here is that air battles precede (not Preceede) the main land or sea battle. They happen first, so if an attacker wishes to ignore the air battle, should the preceding main battle take place?

        Yeah so the air battle precedes the land battle but the prompt for ignoring land battles is shown after combat movement and before combat. So when the game asks you to fight in a territory and you click "no", no battle happens. I think it should be possible to extend this to air battles too, so I don't understand why the air battle preceding the land battle is a problem?

        wc_sumptonW TheDogT 3 Replies Last reply Reply Quote 0
        • wc_sumptonW Offline
          wc_sumpton @VictoryFirst
          last edited by

          @victoryfirst

          I have not worked on the "Battles May Be Ignored" pieces of the engine yet, so I am not quite sure how they are hooked up. My answers are the quick ones from what I know about the coding, so you may be right in there being a way to "hook" air battles into the main battle. My plate is full so to speak, but I will try to look into this soon.

          @victoryfirst said in Air Battles Can Be Ignored:

          @beelee Hehe now you have to tell me about it too, about what went wrong with the AA abilities

          It was just something he said.

          Cheers...

          VictoryFirstV 1 Reply Last reply Reply Quote 1
          • TheDogT Offline
            TheDog @VictoryFirst
            last edited by

            @victoryfirst
            Not sure what you trying to achieve, but in 1941 GCD some ground units cannot hit air units and vice versa.

            Inf-Conscript is blocked from shooting at air unit, as it has no skill/no AA.
            To achieve this
            <option name="canNotTarget" value="$All-Air$"/>

            Bomber is blocked from attacking sea units, they fly too high to be accurate
            <option name="canNotTarget" value="$All-Air$:$All-Sea$"/>

            Combined with limited combat rounds
            <property name="Land Battle Rounds" value="7" editable="true"> </property>
            <property name="Sea Battle Rounds" value="5" editable="true"> </property>
            <property name="Air Battle Rounds" value="3" editable="true"> </property>

            Might give you the elements of what you are after?

            https://forums.triplea-game.org/tags/thedog
            https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

            VictoryFirstV 1 Reply Last reply Reply Quote 2
            • VictoryFirstV Offline
              VictoryFirst @wc_sumpton
              last edited by

              @wc_sumpton said in Air Battles Can Be Ignored:

              I have not worked on the "Battles May Be Ignored" pieces of the engine yet, so I am not quite sure how they are hooked up. My answers are the quick ones from what I know about the coding, so you may be right in there being a way to "hook" air battles into the main battle. My plate is full so to speak, but I will try to look into this soon.

              No worries. I already appreciate you are looking at this. Take your time and do the things first that are most important.

              1 Reply Last reply Reply Quote 0
              • VictoryFirstV Offline
                VictoryFirst @TheDog
                last edited by

                @thedog

                That's interesting what you have posted there, I think that would come in handy for another game I am working on. However unfortunately that is not what I wanted to achieve for this game. In this game, battles last one round so territories can be contested and players have the option to not have any combat in contested territories. The property "Land Battles May Be Ignored" deals with this and allows players to not fight in any territories of their choosing. However, it doesn't work for air battles. So if there are air units from both sides in a territory, the engine will automatically start an air battle in this territory unless you move out and then edit move in which is pretty annoying.

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

                  @Cernel, @TheDog, @beelee

                  @VictoryFirst has asked an interesting question here. If "Sea Battles May Be Ignored" and/or "Land Battles May Be Ignored" are true, what is to happen to the preceding Air Battle in the same territory? Should it also be ignored also, if so, should the prompt explain this? Should there be a separate property/prompt for Air Battles? These Air Battles only deal with those linked with a land or sea battle, SBR Air Battles should happen normally.

                  Cheers...

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

                    @VictoryFirst

                    In "basic" TripleA rules, Attacking air units must retreat/non-combat move to a safe location to land. This even hold true for defensive air unit that may scramble into a battle. This being the basic rule, if the air battle is ignored, then it would seem pointless to move/scramble air units into an ignored battle, since these units would need to be relocated during non-combat movement.

                    So, you must be using "removeAirThatCanNotLand" in both the move and place steps. Also "isKamikaze" in air units' attachments. Or/And the "Kamikaze Airplanes" property.

                    So, the only time that this ignore air battle setting would be used is when these rules are set.

                    Just food for thought.

                    Cheers...

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

                      @VictoryFirst, @TheDog, @Cernel, @beelee

                      Here is something that I, IMHO, should not be allowed. If "Sea Battles May Be Ignored", the attacker may take loaded transports into a heavily guarded territory, ignore the battle and still land the attacking units. If the sea battle is ignored, the transport should not be able to land their units.

                      Thoughts?

                      Cheers...

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

                        @wc_sumpton

                        I agree with that.

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

                          @victoryfirst said in Air Battles Can Be Ignored:

                          Yeah so the air battle precedes the land battle but the prompt for ignoring land battles is shown after combat movement and before combat. So when the game asks you to fight in a territory and you click "no", no battle happens. I think it should be possible to extend this to air battles too, so I don't understand why the air battle preceding the land battle is a problem?

                          You are right! With the message coming prior to selecting the order in which to fight battles, it is quite easy to check for the preceding air battle and nix it also.

                          Wow who knew?

                          Cheers...

                          1 Reply Last reply Reply Quote 2

                          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