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
Monsters constantly distracted
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#1
Monsters constantly distracted

Hello.
So I've got a problem where the monsters I deploy just can't understand when the sounds are coming from the player or the map. I'll explain; my problem is that I have sounds in the background playing randomly, for example a few door-slams. They play around every 20th second. Each time they play though, the brute tries to go to it's location (which is far up in the air, on an Area), and just acts weird. Is there any way to fix this, maybe make the sounds not trigger hearing?
This would fix so many things for me. Tongue

Thanks!

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
(This post was last modified: 08-06-2012, 10:06 AM by Theforgot3n1.)
08-01-2012, 05:11 PM
Website Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#2
RE: Monsters constantly distracted

Bumple

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

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#3
RE: Monsters constantly distracted

You have the Nodes (So monsters can move around. Check the Amnesia maps if your not sure what I'm talking about.) sparingly spread out, right?

Wasn't aware that monsters reacted to sounds from areas either, interesting.
08-02-2012, 01:18 AM
Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#4
RE: Monsters constantly distracted

I have nodes aplenty, and everything seems fine except this constant distraction. Undecided

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
08-02-2012, 02:11 AM
Website Find
Seragath Offline
Junior Member

Posts: 34
Threads: 1
Joined: Jan 2011
Reputation: 0
#5
RE: Monsters constantly distracted

I think there is a way to make the sound only to be heard by the player. Then the creatures should not be able to hear the sound. I'm at work right now so I cannot nor do I have the time to look it up and check. Hopefully someone else will help you soon.





Seragath
08-03-2012, 12:02 PM
Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#6
RE: Monsters constantly distracted

(08-03-2012, 12:02 PM)Seragath Wrote: I think there is a way to make the sound only to be heard by the player. Then the creatures should not be able to hear the sound. I'm at work right now so I cannot nor do I have the time to look it up and check. Hopefully someone else will help you soon.





Seragath
That would be very, very useful!

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
08-06-2012, 03:44 AM
Website Find
Kazakarumariou Away
An angry man.

Posts: 283
Threads: 8
Joined: Jul 2012
Reputation: 14
#7
RE: Monsters constantly distracted

PlayGuiSound("player_cough.snt", 0.7f);
08-06-2012, 04:14 AM
Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#8
RE: Monsters constantly distracted

(08-06-2012, 04:14 AM)Harthex Wrote: PlayGuiSound("player_cough.snt", 0.7f);
Oh, perhaps Harthex knows the solution?

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
08-06-2012, 06:23 AM
Website Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#9
RE: Monsters constantly distracted

Okay, it seems I found the solution, actually. It's something very weird, in my opinion.
Anyway, to avoid enemies hearing sounds that you want to play randomly, you just have to put a decimal number onto afFadeTime (in PlaySoundAtEntity)(I used 0.1 seconds).
It's indeed weird, but worked for me nonetheless. Marking as solved.

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
(This post was last modified: 08-06-2012, 10:38 AM by Theforgot3n1.)
08-06-2012, 10:06 AM
Website Find
Kazakarumariou Away
An angry man.

Posts: 283
Threads: 8
Joined: Jul 2012
Reputation: 14
#10
RE: Monsters constantly distracted

send me a file of the map and hps, ill fix it
08-06-2012, 03:19 PM
Find




Users browsing this thread: 2 Guest(s)