Jump to content

AI Ships behaviour


Aki

Recommended Posts

While almost every aspect of NPC ships behaviour is at least weird there are some that may break game for someone. For me currently the most game-breaking bug in AI is "Escort Me" pathfinding and ships' behaviour after hyperjump. Let's start with the pathfinding.

Let's build two ships dangerously close (like really, really close) to each other and third ship somewhere else. Then give those two order to escort the third hit. It will take them several minutes and a high number of collisions before they will be able to start moving towards their escort target. That's not all. Sometimes when they reach their target, they will again move dangerously close to each other which will result in another silly situation.

Another problem is with hyperjumps. I have noticed that when you give your ship order to escort you, then it will jump with you. Then I have tried to do so with 8+ ships at once. Result was horrible. For some reason the ships after jump started spinning so fast, and they were placed so close to each other, that after one small hit they were destroyed and, almost, everywher (junk created after their destruction, to be more precise).

 

In general I think that collision avoid algorithm for AI could use some work and, when ships are part of a bigger group they should have some different behaviours (formation? distance-keeping? anything that could make them fly safely).

Link to comment
Share on other sites

  • Boxelware Team

What you're describing is basically the ship avoidance, which needs improvement, yeah.

This ship avoidance (and formations as well) is a difficult topic since ships can have any shape. Formations will most likely not be happening in the near future, but I'm working on the ship avoidance AI.

Link to comment
Share on other sites

  • 1 month later...

I've set my ships to patrol the sector and I noticed that they don't actually do anything once they pass a hostile ship. They would just continue with their patrol ignoring the enemies shooting at them. Tested this in multiplayer.

Link to comment
Share on other sites

I've set my ships to patrol the sector and I noticed that they don't actually do anything once they pass a hostile ship. They would just continue with their patrol ignoring the enemies shooting at them. Tested this in multiplayer.

Yep that's how patrol behaviour works now in demo. It just rolls five points and then ship fly around them. Not sure if it is intended tho.

Link to comment
Share on other sites

  • 9 months later...
  • 2 months later...

Just set my ship to patrol the sector and it took off like a bat out of hell and is 800 away atm still moving. I guess the new captain was like F U...

 

Update: Fixed it, Had to leave sector and come back 3 times he then finally started to come back after I turned off auto pay crew. lol

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...