Air Battles Can Be Ignored
-
@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?
-
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...
-
@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?
-
@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.
-
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.
-
@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...
-
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...
-
@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...
-
I agree with that.
-
@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...
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