Anuken / Mindustry-Suggestions

Repository for Mindustry suggestions and feedback
128 stars 58 forks source link

Enhancing AI for support Drones #5200

Open betalars opened 2 weeks ago

betalars commented 2 weeks ago

Describe the content or mechanics you are proposing.

I have been experiencing an issue that causes flying support units to seek their doom and it has been a cause for frustration.

So here are some suggestions of AI mechanics to help reduce my annoyance.

  1. Units should seek out repair turrets when idle and damaged
  2. Units should fly back to their last MOVE_TO destination when set to REPAIR or REBUILD if that helps get out of the way of enemies. (User experience: I told you to move there you dumb drones, so you won't get shot all the time!!!)
  3. Units set to SUPPORT PLAYER should disengage enemies when the player is out of reach.
  4. Units should prefer moving trough and idling inside shields. Maybe not if it takes them more then twice the distance line of sight would.

Describe how you think this content will improve the game. If you're proposing new content, mention how it may add more gameplay options or how it will fill a new niche.

I currently have no viable way to fix buildings, because my support drones seek out being destroyed and won't even heal themselves and sometimes even hover at spots that I can't reach with healing turrets.

Making all or some of these changes would allow me to manipulate friendly AI paths so I can conserve more of my drones.

Before making this issue, check the boxes below to confirm that you have acknowledged them.

jehosula commented 2 weeks ago

all it takes is making them try to simply avoid enemy range when getting to what they need to repair, same with rebuild and turrets, would minimize them going to their doom without complicating too much