Files
fs2open.github.com/code
Goober5000 b89cbbd530 fix and upgrade ai-fly-to-ship
The ai-fly-to-ship goal was added early in FSO's development but never worked right.  Until recently it could crash; and even aside from the crash the AI would try to reach the target's exact position, causing repeated collisions.  This folds ai-fly-to-ship into ai-stay-near-ship, since the behaviors are conceptually the same except for fly-to being satisfied as soon as the target is in range.

This also adds a new "escort" mode usable by both behaviors.  The default Volition behavior is to swoop toward the target in a long, graceful arc; the new mode generates a goal point and flies directly to that point.  These can be toggled via an optional sexp parameter.

There is also some minor cleanup and a new vec3d operator for convenience.

Needed for Scroll; depends on #5667.
2023-10-16 03:24:52 -04:00
..
2022-08-29 09:27:30 -04:00
2023-10-16 03:24:52 -04:00
2023-01-14 16:45:10 +01:00
2023-07-07 01:22:40 -04:00
2023-08-09 15:17:45 -04:00
2021-03-14 23:43:22 -03:00
2023-04-20 02:48:19 -04:00
2018-07-15 19:37:24 +02:00
2023-10-05 17:32:53 -04:00
2023-09-27 23:17:32 -05:00
2023-10-16 01:44:17 +09:00
2023-10-16 01:44:17 +09:00
2023-04-15 00:06:33 -04:00
2023-04-26 19:36:16 -04:00
2023-02-19 14:58:17 -06:00
2023-10-16 03:24:52 -04:00
2023-10-16 01:44:17 +09:00
2023-04-20 22:31:34 -04:00
2023-09-30 20:06:41 -04:00
2023-03-05 19:01:45 +09:00
2023-02-15 16:42:03 -06:00
2023-10-16 03:24:52 -04:00
2019-11-03 16:27:23 -05:00
2022-11-21 20:13:35 -05:00
2023-10-16 01:44:17 +09:00
2023-08-23 21:10:05 -04:00
2023-05-20 18:21:37 -04:00
2018-04-25 11:57:55 +02:00
2023-02-23 12:33:33 +01:00
2016-07-22 12:07:19 +02:00