Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: wistler on November 13, 2011, 05:59:09 pm

Title: Making the players ship shudder
Post by: wistler on November 13, 2011, 05:59:09 pm
Is it possible to make the players ship shudder similary to the shaking effect you encounter when firing the maxim type weapons.

I was thinking of using the effect to represent turbulence, but wasn't sure if its possible to do this either through FRED or tabling.
Title: Re: Making the players ship shudder
Post by: bigchunk1 on November 13, 2011, 06:10:04 pm
Yes, you can do this using a change sexp from the cutscene category. It's called set-camera-shudder. It prettymuch does what you want. You can set the intensity and the time. It will work on whatever camera you have set, including the player camera.
Title: Re: Making the players ship shudder
Post by: wistler on November 14, 2011, 04:03:32 am
Thats great, thanks for the help bigchunk  :yes:
Title: Re: Making the players ship shudder
Post by: Colonol Dekker on November 14, 2011, 07:54:52 am
I could simulate a fart using this :D
Title: Re: Making the players ship shudder
Post by: wistler on November 14, 2011, 01:20:39 pm
I'd worry if your farts made you shake that much  :shaking:
Title: Re: Making the players ship shudder
Post by: Rodo on November 15, 2011, 10:21:16 pm
It will work on whatever camera you have set, including the player camera.

Last time I checked that sexp did not work for cutscene cameras, only to player pov ones, so it's been changed?
Title: Re: Making the players ship shudder
Post by: bigchunk1 on November 15, 2011, 10:30:37 pm
Oop, well I'm not positive about that, but that's nothing a good ol' test can't answer.
Title: Re: Making the players ship shudder
Post by: LoneKnight on January 27, 2012, 10:59:48 pm
Oop, well I'm not positive about that, but that's nothing a good ol' test can't answer.

If that doesn't work you could always use a create-explosion at the location near the player, but just don't make it powerful enough to be visible. Disable the sound on it, and it could do an adequate job of shaking the ship. But that's a total rough workaround.