Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Kusanagi on July 29, 2010, 04:46:25 pm

Title: Making a ship list over
Post by: Kusanagi on July 29, 2010, 04:46:25 pm
Hey all! Been having alot of fun the last week with Fred and am working on a mission that I eventually want to put as part of a campaign. Anyhow, here's my problem.

I have an Orion destroyer that ends up having its reactors explode on trying to jump into subspace. I already have the fake explosion effects in place, but my problem is, I need to make the ship roll over slowly onto its side for effect and plot device. I've tried the set orientation sexp, and can't seem to figure out how to get it to work...

Any help would be appreciated!
Title: Re: Making a ship list over
Post by: General Battuta on July 29, 2010, 04:47:53 pm
You'll need to clear the ship's orders, then use ship-maneuver to roll it.
Title: Re: Making a ship list over
Post by: Droid803 on July 29, 2010, 05:07:51 pm
We're capsizing! In space! :lol:
But yeah, ship-maneuver was made for this, basically :P
Title: Re: Making a ship list over
Post by: Kusanagi on July 29, 2010, 05:36:11 pm
My inspiration for the listing came from the old X wing games when you blow up a capship, the thing rolls off to the side as if its venting plasma/air etc. That and the Orion does it after getting slammed by the Lucifer in the intro movie :P

I guess I'll have to put the disabling/damaging SEXPs after the maneuver position, since it doesn't look like ship-maneuver will work with disabled engines :P

The plot point is that the Orion is overseeing a field repair of a Hecate when a Ravana jumps in. Both ships make a run for the node but the Orion lists to the side after the reactor fails, blocking the node. I want to have an Argo that's docked to the Hecate dock with the Orion to get the survivors off. Since the docking points on the Hecate and Orion are polar opposites, it takes the transport forever. I figure if the orion rolls to the side it will make the docking happen much faster, plus make for a cool effect :P

EDIT: Ok, I'm an idiot...I can't find the ship-maneuver sexp and I'm using 3.6.10. Where the heck is it, or do I need to download a new version?

EDIT 2: Realized I needed to update to one of the 3.6.12 release candidates :P Oops!
Title: Re: Making a ship list over
Post by: FreeSpaceFreak on July 30, 2010, 12:50:39 am
Well, make sure the Orion stops rolling when the transport nears it - I'm not quite sure if the AI can handle docking with moving objects.
Title: Re: Making a ship list over
Post by: Colonol Dekker on July 30, 2010, 03:45:08 am
Supports ships are useless at docking if i'm going over 0.00005 mps. So i'd assume the AI are bloody useless.
Title: Re: Making a ship list over
Post by: Kusanagi on July 30, 2010, 03:01:30 pm
The roll happens for about twenty seconds, and lists nicely on its side while explosions play out across the hull. Can't wait to see 3.6.12 final, thanks for the help guys!