Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent auto-RTB when aircraft without ammo are ordered to attack #16668

Open
matjaeck opened this issue Jun 9, 2019 · 6 comments

Comments

Projects
None yet
4 participants
@matjaeck
Copy link
Contributor

commented Jun 9, 2019

This is in most cases not what the player wants and often the reason why aircraft get killed during attacks. This mechanic makes it really hard to micro aircraft in attacks (constantly have to babysit the units that automatically want to return to rearm so they don't fly over the next AA gun) and only rewards laziness. It should at least be a thing that can be configured via yaml. I haven't found an issue for this, but this has been requested before.

Instead of silently overriding the attack order with a RTB order that the player never wanted to issue, aircraft without ammo should behave like other unarmed units. As long as there is an armed unit selected, show the attack cursor and order unarmed units to move towards the attack target. When all units are out of ammo show the move cursor.

@Punsho

This comment has been minimized.

Copy link
Contributor

commented Jun 9, 2019

I would prefer that when an attack order was issued, the ammoless aircraft would just cancel it and start idling. That also creates another useful behaviour for when orders are queued, all attack ones will be skipped. That behaviour can be used to easily separate ammoless aircraft from a group as well as preset paths for rearming

@pchote

This comment has been minimized.

Copy link
Member

commented Jun 9, 2019

That would lead to aircraft idling inside the enemy base if you queue attack orders against multiple structures.

@Punsho

This comment has been minimized.

Copy link
Contributor

commented Jun 9, 2019

Same would happen if you just queue an attack order for just one structure. If after those attack orders a move or any other order that does not require attacking is queued the ammoless aircraft will just skip to them.

On a side note it would also be good if attack orders were canceled for all non-armed units such as medics.

@matjaeck

This comment has been minimized.

Copy link
Contributor Author

commented Jun 9, 2019

Attempting the attack / moving to the target would also be more similar to the original RA. Aircraft only returned when idle.

Peek 2019-06-09 20-32
Peek 2019-06-09 20-24

@abcdefg30

This comment has been minimized.

Copy link
Member

commented Jun 9, 2019

That would lead to aircraft idling inside the enemy base if you queue attack orders against multiple structures.

That is still better than your aircraft taking the direct path back to your base through enemy defences. I really like the idea of @Punsho.

@matjaeck

This comment has been minimized.

Copy link
Contributor Author

commented Jun 9, 2019

The more I think about it I agree with @Punsho as well. A behavior that I could get behind is aircraft only ignoring attack orders and continuing their running orders when out of ammo - so you have full control on move and precision on attack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.