Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: SF-Junky on May 31, 2014, 07:09:57 am
-
If you have a group of ships forming a wing and you give more than one of these ships a single order to fly to a waypoint, all ships that are given the order are forming up, flying into the same direction, even if their destinations lie in opposite directions.
1) Why is this the case?
2) Is there anything to do against that? Because I have a group of convoy ships and I'd like to fly in a single line and head for different waypoints. I tried to help me out by using the waypoints-once SEXP, but it doesn't work. They're still taking their blasted formation around the wing leader. ;)
-
I don't know the details of the AI code, but it makes sense that ships in a wing would move as a unit for navigation purposes; after all, ships in a wing will be moving and acting together in almost all circumstances.
I think you'll have to dissolve the wing into single ships.
-
If you give each ship it's own waypoints once order towards its own, separate waypoint, the wing formation shouldn't occur. Are you sure that each ship has its own waypoint?
-
If you give each ship it's own waypoints once order towards its own, separate waypoint, the wing formation shouldn't occur. Are you sure that each ship has its own waypoint?
Yes, of course. I wrote that:
If you have a group of ships forming a wing and you give more than one of these ships a single order to fly to a waypoint, all ships that are given the order are forming up, flying into the same direction, even if their destinations lie in opposite directions.
;)
Well, I guess I'll just have to live with it.
-
I just remembered that I fixed a similar problem some time ago (see this http://scp.indiegames.us/mantis/view.php?id=1496). I'm pretty sure this should fix any formation problems where ships have conflicting waypoint orders. Maybe you can try to use this flag.