Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: MetalDestroyer on December 29, 2005, 02:22:25 pm
-
I'm actually testing the SEXP "set-object-speed" for arrival and departure jump. Instead of having a subspace portal like Fs2, I'm trying to set an hyperspace jump like X Wing Alliance when ships arrive.
Unfortunately, the ship didn't go as fast as possible (speed like 15 000 m/s).
Here what I put in FRED2 Open.
#Events ;! 2 total
$Formula: ( when
( has-arrived-delay 0 "Defender" )
( set-object-speed-x "Defender" 15800 )
)
+Name: Hyperspace Jump
+Repeat Count: 1
+Interval: 1
+Team: 0
-
Why not use warpin speed (http://www.hard-light.net/wiki/index.php/Ships.tbl#.24Warpin_speed:) and warpout speed (http://www.hard-light.net/wiki/index.php/Ships.tbl#.24Warpout_speed:)?
-
Why not use warpin speed (http://www.hard-light.net/wiki/index.php/Ships.tbl#.24Warpin_speed:) and warpout speed (http://www.hard-light.net/wiki/index.php/Ships.tbl#.24Warpout_speed:)?
It works if only I use the Warp effect. :sigh: It would be weird to see Star Wars Ship jump with a vortex.
-
Change the warpin effect. Make a 1 frame, 1x1 ani, pure green (0, 255, 0 ), copy the file a few times and give it the same name as all the warpin ani lods.
-
Change the warpin effect. Make a 1 frame, 1x1 ani, pure green (0, 255, 0 ), copy the file a few times and give it the same name as all the warpin ani lods.
What is the texture for the warpin effect ? and How can I do to get only 1 frame and change its attributs ?
-
Extract these files to your data/effects directory and try it.
[attachment deleted by admin]
-
Extract these files to your data/effects directory and try it.
thanks for the file. I'll test it later. I've some code to do... :shaking:
-
Or check the "no warp effect" box.
-
Or check the "no warp effect" box.
If I check the box I don't have the warpin speed like that (http://sam.sothi77.free.fr/videos/Hyperspace.avi)
-
Or check the "no warp effect" box.
A lot of people make this mistake - No Warp Effect completely eliminates the whole warp-in/out process - the ships simply appear and disappear like someone flicked a switch - not what you want for hyperspace.
-
Then I stand corrected, and I agree, probably not what you want for hyperspace. When I use it it's for ships appearing on radar, so naturally I don't see whether they have a warp sequence. I just look to make sure I can't see an obvious blue glow.
-
Extract these files to your data/effects directory and try it.
I've just tested, and the warp ani is still here. :/ I don't know why.