Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Lucika on March 16, 2011, 04:32:36 pm

Title: Possible? Warp ou--- no-no!
Post by: Lucika on March 16, 2011, 04:32:36 pm
I'd like to sexp a situation where a ship starts to warp out (like, already engages the speed-up) but POOF! the engines get squashed and it stops dead in its tracks. If the above is impossible, could I imitate the above events somehow?
Title: Re: Possible? Warp ou--- no-no!
Post by: Scotty on March 16, 2011, 07:27:07 pm
Dead in its tracks would be weird, because that's hundreds of m/s to zero in almost an instant.  However, you could probably do something with warp-effect, co-ord manipulation and set-subsystem strength.
Title: Re: Possible? Warp ou--- no-no!
Post by: jr2 on March 16, 2011, 07:41:09 pm
Quote
Less than optimal indeed, captain!

~Vader, one of the X-Wing games, the Star Destroyer's engines were supposedly repaired but might have a "less than optimal" Hyperspace capability.  xD
Title: Re: Possible? Warp ou--- no-no!
Post by: General Battuta on March 16, 2011, 08:13:12 pm
I'd like to sexp a situation where a ship starts to warp out (like, already engages the speed-up) but POOF! the engines get squashed and it stops dead in its tracks. If the above is impossible, could I imitate the above events somehow?

Should be easy, give it a depart order then sabotage engines shortly thereafter. No sweat.
Title: Re: Possible? Warp ou--- no-no!
Post by: Lucika on March 16, 2011, 08:15:57 pm
I'd like to sexp a situation where a ship starts to warp out (like, already engages the speed-up) but POOF! the engines get squashed and it stops dead in its tracks. If the above is impossible, could I imitate the above events somehow?

Should be easy, give it a depart order then sabotage engines shortly thereafter. No sweat.

I tried that but it departed anyway, the delay was just a mere second :nervous:
EDIT: Same with 0 seconds. Also, the subsystem's destruction doesn't even show up in the event list.
Title: Re: Possible? Warp ou--- no-no!
Post by: General Battuta on March 16, 2011, 08:21:33 pm
Well that's not cool!
Title: Re: Possible? Warp ou--- no-no!
Post by: karajorma on March 16, 2011, 10:31:32 pm
Should be easy, give it a depart order then sabotage engines shortly thereafter. No sweat.

I'm pretty sure that worked at one point but I think it was due to an SCP bug. :)
Title: Re: Possible? Warp ou--- no-no!
Post by: Goober5000 on March 18, 2011, 01:52:31 am
It's definitely worked for me before, and I think it would be a bug if it didn't...
Title: Re: Possible? Warp ou--- no-no!
Post by: Nohiki on March 18, 2011, 02:09:47 am
I remember when i was trying to do something like that. I had something disable Hades in mid-jump with beamz, and the Hades stayed half-invisible and invulnerable in normal space :D  :banghead:
Title: Re: Possible? Warp ou--- no-no!
Post by: DarthWang on April 04, 2011, 11:03:16 pm
Wasn't this done in Sync?
Title: Re: Possible? Warp ou--- no-no!
Post by: bigchunk1 on April 09, 2011, 09:35:51 pm
You can use SEXPS to get the warp effect you want without actually warping.

Step 1: trigger the false warp cycle on an event cue.
Step 2a: Use ship maneuver under coordinate manipulation to control the speed of the ship in the warp cycle.
Step 2b: Activate the warp sounds using play-sound-from-table. The warpout sound you are looking for is Rev1 or sound #50 in the tables.
Step 2c: Display the 'warp icon' in the hud using the hud sexps.
Step 3: Open a warp hole, if you want, in front of the player ship using a sexp.
Step 4: Break warp. By cancelling ship maneuver, closing the 'warp icon' and playing the aburn_1f sound using play-sound-from table. This one is #47 in the sounds .tbl.

By doing things this way, you never run the risk of the player leaving the mission and the game ending, and it prettymuch looks like the real thing.
Title: Re: Possible? Warp ou--- no-no!
Post by: Lucika on April 10, 2011, 06:19:22 am
It's not the players' ship.
Title: Re: Possible? Warp ou--- no-no!
Post by: mjn.mixael on April 10, 2011, 08:19:58 am
Should still work though. Of course the 'play sound' cues might make things a little odd...
Title: Re: Possible? Warp ou--- no-no!
Post by: General Battuta on April 10, 2011, 08:30:46 am
It's not the players' ship.

Should be even easier then. Bigchunk's approach will work.