Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Enioch on January 07, 2009, 01:34:20 pm

Title: Repeating animation.
Post by: Enioch on January 07, 2009, 01:34:20 pm
Right. I'd like to ask if this is possible :rolleyes::

Can I make an animated subsystem start rotating at the start of a mission, then stop, then rotate back? Then repeat? Again? And again? Until the end of a mission?

Imagine a radar dish. It turns 30 or so degrees to the right. It stops. It turns 30 or so degrees to the left. Then it turns back to the right...and so on.

Doable or not?

P.S. Can I link a rotating subsystem to another rotating subsystem? For example, can I have a ship with a centrifuge wheel, upon which a radar dish is mounted?
Title: Re: Repeating animation.
Post by: Galemp on January 07, 2009, 01:50:44 pm
There ought to be SEXPs for locking and unlocking rotating subsystems.

Reversing the rotation would be possible if you could control its speed, since rotating the other way is simply a negative speed value. There was a mission I think in PI that had a Knossos go haywire and start spinning at ridiculous speeds... though that might have been the POF rotating and not the subsystems.

I see you're talking about doing this in the Argo, though, so... no, not by default. Rotating subsystems on other rotating subsystems might be possible by linking them together in the hierarchy, but the only object that does that now is the multipart turret which has specific limits in how it rotates.
Title: Re: Repeating animation.
Post by: Enioch on January 07, 2009, 02:07:01 pm
First things first: this has NOTHING to do with the Argo. Scratch the Argo. Forget it. Bury it in soft soil and leave it there, until I get a texturer.  :D

And fine, there's no way to do the subsystem-on-subsystem thing.

Think like this: I got a ship. A nice ship. See this ship? Oooohhh, wow, it's a nice ship :D!

Now I wanna put a tail on it! :p ;)

I want to put flaps on the back, kind of like the ones on the Zephyrus. And I want these flaps to go up and down, like wings, or the tail of a fishy. And I want this animation to be a loop, like the rotating solar panels in the Faustus. I want it to go up and down ALL THE TIME, from the minute the mission starts to the minute Alpha 1 jumps out.

Possible?
Title: Re: Repeating animation.
Post by: ssmit132 on January 07, 2009, 07:14:17 pm
There was a mission I think in PI that had a Knossos go haywire and start spinning at ridiculous speeds... though that might have been the POF rotating and not the subsystems.

It was the subsystems - having the whole POF move would be ugly.
Title: Re: Repeating animation.
Post by: Droid803 on January 07, 2009, 07:39:55 pm
Well, you could FRED it by reversing the subsystem using SEXP and setting a repeat count of <insert arbitrary large number> times, with a delay of however seconds you want between rotating.