Frictional Games Forum (read-only)
Creaking footsteps effect - 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: Creaking footsteps effect (/thread-20307.html)



Creaking footsteps effect - Gilligan's Hell - 02-13-2013

I See this alot in custom stories, you walk into a room and you see dust falling from the ceiling and foot steps start, how do i add this effect?


RE: Creaking footsteps effect - No Author - 02-13-2013

You need to create a few area script on the roof. After that, you need to script the script areas by using "AddParticleSystemAtEntity" script (if I'm not mistaken). If you want to add some sound, just use "PlaySoundAtEntity" script (again, if I'm not mistaken).

You need to look at this for the scripts : http://wiki.frictionalgames.com/hpl2/amnesia/script_functions


RE: Creaking footsteps effect - i3670 - 02-13-2013

Just create a looping timer with random times. Like this.

AddTimer("soundtimer", RandFloat(8.0f, 14.0f), "TimerSounds");

The sound will play randomly between 8 and 14 seconds.