Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Akalabeth Angel on April 07, 2008, 02:43:19 am
-
Is there an option in FredOpen to enable a ship to move faster than normal?? I'm guessing the answer is no, as all I found on a cursory glance was hit-point related stuff.
As to the question why . . . . well, maybe some mission specific situations would have a ship "diverting power to engines" so it could move faster as opposed to tabling that ship to have that higher speed all the time and consequently having to "set-waypoint-speed" in every single mission.
-
I tried using a repeating event with set-object-z-speed and it kind of did the trick except set-object-z-speed was broken at the time I tried it. If it's fixed it should work. Only drawback (other then the ship going off in the wrong direction) was the speed fluctuating on the targeting window.
-
It is fixed. The directions were using the wrong world coordinates but that is fixed now. :)
However, unless the use_newtonian_dampening (http://www.hard-light.net/wiki/index.php/Ai_profiles.tbl#.24use_newtonian_dampening:) ai_profile flag is set, the physics engine immediately sets the Z direction back to 0.
-
Thats where the everytime event comes in. You just keep setting it to say 200 and it will do 200. Of course the flag is a better option but not if you aren't using a mod.
-
Right, but I mean it INSTANTLY goes back to 0. No drift, no slowly ramping down to 0. As a result you don't even see it move one iota.
-
You sure about that? This (http://fubar4.fubar.org/fubar/fs2/screen0251.jpg) sure looks like an Aeolus doing 200+ to me. That was with the 04/03 trunk build. BTW that waypoint it is headed to is 20k away and it's 1:43 to get there.
-
Hmm! Well, if that Aeolus is moving that speed in it's subjective Z direction and you don't have that flag set, I stand corrected. Heh, wonder how that got fixed?
-
You're right it doesn't work with subjective. Also makes the ship go kind of nuts when your close to it. Same problem I had when I tried it before. Guess that method is out then.
-
Don't modify the existing table entry, but copy/paste a new one, change the name slightly, and change the speed in the new entry, then I'm pretty sure there's a sexp that lets you swap out ships.
-
Another way to get around it is to dock a small fast ship to the one you want to move then you can make both ships do the speed of the fast one. Doesn't look too good though.