Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: Kazan on July 20, 2007, 01:55:30 pm
-
http://ferrium.org/media/fs2_open_stable_autopilot.zip
Changes
- Add ship flag for "needs autopilot linkup" (player must get within specified radius for ship to linkup - then is nav carry status automatically and sends training message) [required addition of add_message/change_message/delete_message to missionmessage]
- new sexps - nav-is-linked (is-nav-carry basically), set-nav-needslink, unset-nav-needslink
- Nav-carry-status and nav-needs-link flags for ship added to Ship Flags DLG in FRED (DLG is now two columns, was getting too tall)
- Training-msg+voice for failures on engaging autopilot
- Automatic Cinematics for autopilot - plays cinematic then warps ships along flight path as far as autopilot would have taken them (Requires mission flag to enable)
- Mission Flag - use autopilot cinematics
- autopilot.tbl (copy in deffiles) setting autopilot messages/their sounds + linkup distance
-
Interesting. Will the cinematics affect a trap I have in Starforce's autopilot mission where a wing of fighters warps in to ambush you in the middle of autopilot?
-
...
- ...plays cinematic then warps ships along flight path as far as autopilot would have taken them (Requires mission flag to enable)
- Mission Flag - use autopilot cinematics
...
-
Interesting. Will the cinematics affect a trap I have in Starforce's autopilot mission where a wing of fighters warps in to ambush you in the middle of autopilot?
yes - you need to have the ships already in the mission for them to interrupt autopilot before they reach the nav point
the cinematic lasts 10 seconds then teleports the ships as far along their path as allowable (it follows the line from player_obj to selelected nav and checks if CanAutopilot() every 500 meters)
-
The ships come out of subspace when you're about halfway on the way to the next nav point. The old system would jerk you out of autopilot immediately when the enemy fighters arrived, and you would go back to autopilot after killing them.
-
the new system teleports you after the cinematic - the hostiles have to be in mission at the time and in the flight path