Frictional Games Forum (read-only)
Lampoil & narration & custom live main menu background - 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: Lampoil & narration & custom live main menu background (/thread-30871.html)

Pages: 1 2


RE: Lampoil & narration & custom live main menu background - Mudbill - 09-25-2015

PlayMusic()?

Or perhaps just PlayGuiSound() if you want to play a short effect but without a 3D source in the level.


RE: Lampoil & narration & custom live main menu background - Kyzer - 09-25-2015

(09-25-2015, 09:53 PM)Mugbill Wrote: PlayMusic()?

Or perhaps just PlayGuiSound() if you want to play a short effect but without a 3D source in the level.

what is the code for that?
is it just
PlayMusic("<>", 1.0f); ?


RE: Lampoil & narration & custom live main menu background - FlawlessHappiness - 09-25-2015

What do you mean "Not sound sources"?
Background Ambience IS a sound source.

There is a specific sound folder called "Ambience" with a couple of sounds to choose from.

If you place one in your level, it will continue to player everywhere, unless it's a local ambience.


RE: Lampoil & narration & custom live main menu background - Mudbill - 09-26-2015

True. If it's constant ambience you want, most likely you want to play a music track using PlayMusic("file.ogg", 1.0f); (yes, like you put it, pretty much). Some of the levels use these kinda tracks, named things like 07_amb.ogg or such. Check the folder.

By the way, you can check up all the scripts on this page: https://wiki.frictionalgames.com/doku.php?id=hpl2/amnesia/script_functions
Just use the find option to search up whatever you're after.