![]() |
Monsters constantly distracted - 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: Monsters constantly distracted (/thread-17406.html) |
Monsters constantly distracted - Theforgot3n1 - 08-01-2012 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. ![]() Thanks! RE: Monsters constantly distracted - Theforgot3n1 - 08-02-2012 Bumple RE: Monsters constantly distracted - Rapture - 08-02-2012 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. RE: Monsters constantly distracted - Theforgot3n1 - 08-02-2012 I have nodes aplenty, and everything seems fine except this constant distraction. ![]() RE: Monsters constantly distracted - Seragath - 08-03-2012 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 RE: Monsters constantly distracted - Theforgot3n1 - 08-06-2012 (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.That would be very, very useful! RE: Monsters constantly distracted - Kazakarumariou - 08-06-2012 PlayGuiSound("player_cough.snt", 0.7f); RE: Monsters constantly distracted - Theforgot3n1 - 08-06-2012 (08-06-2012, 04:14 AM)Harthex Wrote: PlayGuiSound("player_cough.snt", 0.7f);Oh, perhaps Harthex knows the solution? RE: Monsters constantly distracted - Theforgot3n1 - 08-06-2012 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. RE: Monsters constantly distracted - Kazakarumariou - 08-06-2012 send me a file of the map and hps, ill fix it |