Page MenuHomeFeedback Tracker

Diver waypoint pathfinding broken
Closed, ResolvedPublic

Description

Waypoint pathfinding for diver units (while they are underwater) is broken in at least 2 ways. Firstly, the divers do not always follow the most direct path to the waypoint destination. Often times they will veer off course and end up clipping through land/buildings and take a very roundabout way to get to their destination. This seems to depend on the dive team's location and their destination, as well as what is in between them and their destination.

Secondly, setting the combat mode to "STEALTH" results in divers moving extremely slowly underwater. Divers will move a few feet, then stop for 5 or so seconds before moving a few feet again.

Also, while underwater, it seems the waypoint's SPEED property is ignored. AI divers always seem to move at a "walking" speed while underwater.

Details

Legacy ID
3114555685
Severity
Major
Resolution
Open
Reproducibility
Always
Category
AI Issues
Steps To Reproduce
  1. Open the editor into Stratis
  2. Place a dive team group in the ocean north of the airport, and west of the large concrete pier
  3. Set a waypoint for movement to the area of the beach that is directly southeast of the pier
  4. To reproduce the slow/jittery movement, change the combat mode to stealth and/or change around the speed settings for the waypoint
  5. Preview and watch the AI divers' erratic behavior

Event Timeline

pater edited Steps To Reproduce. (Show Details)Mar 8 2013, 2:34 AM
pater edited Additional Information. (Show Details)
pater set Category to AI Issues.
pater set Reproducibility to Always.
pater set Severity to Major.
pater set Resolution to Open.
pater set Legacy ID to 3114555685.May 7 2016, 11:37 AM

I noticed that there is now a height parameter for a waypoint. Maybe if you don't increase the waypoint completion radius to account for possible depth of the diver or set a negative height to the waypoint the waypoint won't be completed?

Closing due to lack of activity in over five months. If this issue is still reproducable for you, please create a new ticket for it or ask for this one to be re-opened.