Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: adwight on December 04, 2003, 04:12:55 pm

Title: Convoy Question
Post by: adwight on December 04, 2003, 04:12:55 pm
How do you guys make it so a convoy stays equidistant from each other???  Is there any other way, besides making each of them go to their own waypoints to do this???
Title: Convoy Question
Post by: StratComm on December 04, 2003, 10:50:48 pm
Haven't I seen this thread somewhere else?
Title: Convoy Question
Post by: Carl on December 04, 2003, 11:45:47 pm
make them all go the same speed, and tell them to all stop when the first one stops.
Title: Convoy Question
Post by: Sesquipedalian on December 05, 2003, 02:45:42 am
Cap-waypoint-speed is the sexp you need.
Title: Convoy Question
Post by: BlueFlames on December 05, 2003, 10:50:27 pm
If all you do is cap the waypoint speed, the convoy will slowly turn into a single-file line and possibly have ships ramming each other using only one waypoint.  Because there's no order to have a ship move straight ahead without a waypoint, you have to set waypoints up in the same formation as the ships start in AND cap the ships' speed.
Title: Convoy Question
Post by: karajorma on December 06, 2003, 04:25:16 am
I haven't tried this but there is another method using less waypoints that I can think of. Set one waypoint where ever you want the fleet to go. Set a second one 30,000m away in a straight line between the fleet and the first waypoint.
 Tell the fleet to go to the second waypoint and use distance from the first waypoint to check when they get where you want them to go.

Because the second waypoint is so far away the convergence of the ships should be minimal.