Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Unknown Target on February 17, 2017, 07:51:13 pm
-
But is there such a thing as a SEXP that applies a vector change to ship movement over time, or when a targeted object's speed is reduced below a certain range?
-
...Maybe? What are you trying to do, exactly?
-
Moving objects around with SEXPs directly is generally kiiiind of ****ty. It's possible, but usually requires you to be operating within the object's existing flight envelope.
I would kill for the tableside ability to scale maneuverability with throttle, though, it'd be a nice way to get rid of Turretspace.
-
I have a theory that you can simulate gravity by applying a negative Z force to the spacecraft once it reaches below a certain forward velocity. It's just a quick hack I thought of and I was wondering if the engine could do it.
@General Battuta yea that would be nice.
-
Oh, yeah, we have semi-decent gravity via scripts and a couple engine features Kobrar was working on. The AI can't handle it, though.
-
Oh, yeah, we have semi-decent gravity via scripts and a couple engine features Kobrar was working on. The AI can't handle it, though.
I seem to recall somebody modifying the AI code to aim gravity-affected weapons properly, but I don't remember who off the top of my head; I'd have to check my logs.