Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creaking footsteps effect
Gilligan's Hell Offline
Posting Freak

Posts: 851
Threads: 17
Joined: Feb 2012
Reputation: 36
#1
Creaking footsteps effect

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?

The International Narcotics Traffic
02-13-2013, 12:18 PM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#2
RE: Creaking footsteps effect

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/amn..._functions

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-13-2013, 12:29 PM
Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#3
RE: Creaking footsteps effect

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.

"What you think is irrelevant" - A character of our time

A Christmas Hunt
02-13-2013, 02:25 PM
Find




Users browsing this thread: 2 Guest(s)