Frictional Games Forum (read-only)
[SCRIPT] Preloading sounds/particles? - 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: [SCRIPT] Preloading sounds/particles? (/thread-21804.html)



Preloading sounds/particles? - Cyfiawn - 06-11-2013

Quick question, what sounds/particles need preloading? Music, only sounds found in the script? sounds in put in via level editor? both?

Thanks,
Cyfiawn


RE: Preloading sounds/particles? - i3670 - 06-11-2013

Sounds/ps created via script.


RE: Preloading sounds/particles? - Theforgot3n1 - 06-12-2013

(06-11-2013, 11:27 PM)i3670 Wrote: Sounds/ps created via script.

What does preloading even do?


RE: Preloading sounds/particles? - PutraenusAlivius - 06-12-2013

(06-12-2013, 01:56 AM)Theforgot3n1 Wrote:
(06-11-2013, 11:27 PM)i3670 Wrote: Sounds/ps created via script.

What does preloading even do?

It preloads the PS/Sound so that while the Sound/PS is played, it's smooth. Not a bit laggy.


RE: Preloading sounds/particles? - Cyfiawn - 06-12-2013

If you don't preload, it'll load during when it's called for. If it's a large sound file, it can be quite delayed. Preloading allows the sound to be ready to be played as soon as it's called.

Thanks for the answer though, i3670. I assume the sounds in the map are loaded with the map anyway.