Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: TrashMan on November 25, 2017, 10:26:19 am

Title: FRED - Ship speed control
Post by: TrashMan on November 25, 2017, 10:26:19 am
I suggest adding a FRED command that controls a ships speed, but isn't tied to a waypoint - rather a more general command that works regardless of what a ship is doing.
Title: Re: FRED - Ship speed control
Post by: General Battuta on November 25, 2017, 12:55:42 pm
You can do this with Z-axis field on the ship-maneuver sexp.
Title: Re: FRED - Ship speed control
Post by: Trivial Psychic on November 25, 2017, 05:31:05 pm
I'd like a way to force ships that are in a wing and commended to follow a waypoint, to fly parallel to the lead ship and not try to converge on the points as they cross them.
Title: Re: FRED - Ship speed control
Post by: X3N0-Life-Form on November 26, 2017, 03:13:32 am
I'd like a way to force ships that are in a wing and commended to follow a waypoint, to fly parallel to the lead ship and not try to converge on the points as they cross them.
That would be neat, 'cause right now the only way to do something like this is through a ton of SEXPs :
Give each ship its own waypoint, then constantly move these waypoints relative to the lead ship's position, regulate each ship's speed according to the lead ship's own, speed them up if they are falling behind, manually change which ship is the lead if it gets destroyed, etc.

So, doable but kinda heavy SEXP-wise.
Title: Re: FRED - Ship speed control
Post by: karajorma on November 26, 2017, 06:18:03 am
Couldn't you just give the lead ship orders and get everyone else to form on them?