How to make screen shaking with sound? - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: How to make screen shaking with sound? (/thread-24509.html) |
How to make screen shaking with sound? - Radical Batz - 02-01-2014 If you've played amnesia the dark descent then you know what I'm talking about! if you remember in the begining of amnesia when you enter the area where there is a oven with a wardrobe/the room where you'll enter after you grabbed the lantern. yeah that room where it will unlock the door after you get the lantern, everything starts to shake and makes a shaking rumble sound, how do I do that? I want to do that in my custom story! thanks RE: How to make screen shaking with sound? - Wapez - 02-01-2014 You play a sound and shake the screen, pretty basic. All the functions for this can be found here: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions RE: How to make screen shaking with sound? - i3670 - 02-01-2014 Look for the functions in the original script and "get inspired". RE: How to make screen shaking with sound? - daortir - 02-01-2014 You'll need a Screenshake function to make the screen shake, basically. Then a PlayGuiSound that will play a rumble sound (PlayGuiSound works with .ogg sound files, no need to use any .snt). Also you will need a AddPropForce to the items ! Shaking the screen and playing the sound are very good, but you want the whole room to shake ! So AddPropForce to the chandeliers, to the details, maybe turn some lights off using SetLampLit. Also, create some dust particles in the room when the screen shakes ! RE: How to make screen shaking with sound? - Daemian - 02-02-2014 (02-01-2014, 09:47 PM)i3670 Wrote: Look for the functions in the original script and "get inspired".lol. RE: How to make screen shaking with sound? - daortir - 02-02-2014 (02-02-2014, 03:23 AM)Amn Wrote:(02-01-2014, 09:47 PM)i3670 Wrote: Look for the functions in the original script and "get inspired".lol. Yeah, it made me laugh my ass off too xD RE: How to make screen shaking with sound? - Slanderous - 02-02-2014 Well, you can use my script if you wish. Spoiler below!
|