Frictional Games Forum (read-only)
Preloading Models - 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: Preloading Models (/thread-24248.html)



Preloading Models - RaideX - 12-30-2013

Hey guys.

Simple question:

What would be the smoothest possible fix to get a model/texture to preload. Like for instance when i want a simple wall to appear behind a player when he enters an area. As I've made this already and as it should have created a map cache file i was sure that it would just fix itself, but it didn't.

Is there any other solution to get something to pop up without any stuttering etc. ?


RE: Preloading Models - DreamScripters - 12-31-2013

Are you talking about setting a entity active that was already currently not active via scripting?


RE: Preloading Models - RaideX - 01-01-2014

(12-31-2013, 08:37 AM)DreamScripters Wrote: Are you talking about setting a entity active that was already currently not active via scripting?

I fixed the issue i had. The problem was not really the entity that would be activated but the sound that came with the activation, all i had to do is preload the sounds via script.