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
How do I make jump scares?
Imevil23 Offline
Member

Posts: 83
Threads: 23
Joined: Jan 2012
Reputation: 0
#1
How do I make jump scares?

Title says it all. I know how to make entities active when you enter/exit an area or pick something up. But the one thing I want to know is how do I add the sound? You know, like the loud scream or yell when a naked dead guy comes flying at you.

02-01-2012, 07:46 PM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#2
RE: How do I make jump scares?

To add sound use this:
PlaySoundAtEntity("", "21_screams.snt", "THE ENTITYS NAME", 0, false);

02-01-2012, 07:49 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#3
RE: How do I make jump scares?

Study: http://wiki.frictionalgames.com/hpl2/amn..._functions

Tutorials: From Noob to Pro
02-01-2012, 07:50 PM
Website Find
Imevil23 Offline
Member

Posts: 83
Threads: 23
Joined: Jan 2012
Reputation: 0
#4
RE: How do I make jump scares?

(02-01-2012, 07:49 PM)Datguy5 Wrote: To add sound use this:
PlaySoundAtEntity("", "21_screams.snt", "THE ENTITYS NAME", 0, false);
Thanks!



02-01-2012, 08:09 PM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#5
RE: How do I make jump scares?

(02-01-2012, 08:09 PM)Imevil23 Wrote:
(02-01-2012, 07:49 PM)Datguy5 Wrote: To add sound use this:
PlaySoundAtEntity("", "21_screams.snt", "THE ENTITYS NAME", 0, false);
Thanks!
Np bro!



02-01-2012, 08:09 PM
Find
Measuring Offline
Member

Posts: 130
Threads: 16
Joined: Dec 2011
Reputation: 15
#6
RE: How do I make jump scares?

nevermind...
(02-01-2012, 07:46 PM)Imevil23 Wrote: Title says it all. I know how to make entities active when you enter/exit an area or pick something up. But the one thing I want to know is how do I add the sound? You know, like the loud scream or yell when a naked dead guy comes flying at you.


The Facility
Tenebris Lake
Killings In Altstadt
(This post was last modified: 02-01-2012, 09:41 PM by Measuring.)
02-01-2012, 09:39 PM
Find
bassim Offline
Junior Member

Posts: 1
Threads: 0
Joined: Aug 2012
Reputation: 0
#7
can you tell me pleas how to make the entities active ?

(02-01-2012, 07:46 PM)Imevil23 Wrote: Title says it all. I know how to make entities active when you enter/exit an area or pick something up. But the one thing I want to know is how do I add the sound? You know, like the loud scream or yell when a naked dead guy comes flying at you.
08-16-2012, 01:32 PM
Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#8
RE: can you tell me pleas how to make the entities active ?

(08-16-2012, 01:32 PM)bassim Wrote:
(02-01-2012, 07:46 PM)Imevil23 Wrote: Title says it all. I know how to make entities active when you enter/exit an area or pick something up. But the one thing I want to know is how do I add the sound? You know, like the loud scream or yell when a naked dead guy comes flying at you.
You just have to look around at:
http://wiki.frictionalgames.com/hpl2/amn...en_effects
and you can probably find it.

If you're lazy or can't find, the function is called "SetEntityActive("name of entity", "false/true(deactivate/activate)");" But it really is important to be tenacious when you're scripting; or else it's really gonna be an uphill battle. :/

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
08-16-2012, 02:56 PM
Website Find
failedALIAS Offline
Posting Freak

Posts: 2,782
Threads: 16
Joined: Jun 2012
Reputation: 97
#9
RE: How do I make jump scares?

. . .
"Brace yourselves; another shitty map is coming our way."
08-16-2012, 11:13 PM
Find




Users browsing this thread: 2 Guest(s)