Frictional Games Forum (read-only)
Sound at start of map - 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: Sound at start of map (/thread-17479.html)



Sound at start of map - Lukaboy8 - 08-04-2012

Hello everybody,

I'm making a custom story right now but if I play my story at the start of the map you hear some bangs because all the objects are falling on the floor which I didn't place exactly on it. How can I stop these bangs without having to put all my objects(big map) exactly on the floor? It's kind of anoying and doesn't sound profesional.

Luke


RE: Sound at start of map - GoranGaming - 08-04-2012

Move down all the objects to the floor, press the magnet button in the left corner and you will have no grid:

[Image: bb0Fi.jpg]


RE: Sound at start of map - Lukaboy8 - 08-04-2012

Yes I know that but to move all the objects exactly on all the things is really hard and takes a lot of time.


RE: Sound at start of map - SilentStriker - 08-04-2012

where it says height beside the magnet you can lower or higher the grid where you add stuff. That might help you.


RE: Sound at start of map - GoranGaming - 08-04-2012

void OnStart()
{
FadeGlobalSoundVolume(0, 0); //Sets the volume to 0 at the start of the map
AddTimer("", 3, "StartSound"); // Adds a timer of 3 seconds to make the sound go back to normal
}

void StartSound(string &in asTimer)
{
FadeGlobalSoundVolume(1, 0);
}


RE: Sound at start of map - Artyom - 08-04-2012

What you could do is make a sticky area, it's a bit tricky but check the engine scripts at frictionals wiki...