How to get working several "Voice effects at same map" [SOLVED] - 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: How to get working several "Voice effects at same map" [SOLVED] (/thread-16115.html) |
How to get working several "Voice effects at same map" [SOLVED] - HumiliatioN - 06-13-2012 Yes my problem is this: I need to get working many voice acting effects on one Intro. void TeleportLocationTwo (string &in asTimer) { TeleportPlayer("PlayerStartArea_2"); AddTimer ("", 7, "FadeOut"); AddEffectVoice("whatanight.ogg", "", "Subtitles", "whatanight", false, "Player", 0, 0); <-- WORKING SetMessage("Message", "ATSL", 4); AddTimer ("", 10, "TeleportLocationThree"); FadeIn (2); StopPlayerLookAt(); } void TeleportLocationThree (string &in asTimer) { TeleportPlayer("PlayerStartArea_3"); FadeIn (2); AddEffectVoice("sleep.ogg", "", "Subtitles", "sleep", false, "Player", 0, 0); <-- NOT WORKING why? SetMessage("Message", "Enjoy", 4); AddTimer ("", 5, "FadeOut4"); AddTimer ("", 8, "TeleportLocationFour"); SetPlayerLookSpeedMul(0.3f); } When player teleports other place I need to make that second "voice acting working too" but nothing happens or I can't hear anything only first effect. Where's the problem? Need help ASAP. RE: How to get working several "Voice effects at same map" - Traggey - 06-13-2012 Moved to the correct forum. RE: How to get working several "Voice effects at same map" - HumiliatioN - 06-13-2012 Thanks for that, wasn't sure where this thread belongs. RE: How to get working several "Voice effects at same map" - Your Computer - 06-13-2012 The hpl.log should say why it doesn't work. RE: How to get working several "Voice effects at same map" - JMFStorm - 06-13-2012 I had that kind of problem when I was making Followed By Death Chapter One almost a year ago and I remember voice effects didn't work too well with AddTimer functions. So you should put that AddEffectVoice("sleep.ogg", "", "Subtitles", "sleep", false, "Player", 0, 0); line of script right after the first voice effect command under the "void TeleportLocationTwo" function and then try to time "TeleportLocationThree" func and the second voice effect right. Or it's just something complete else and all that was completely useless ^^ RE: How to get working several "Voice effects at same map" - HumiliatioN - 06-13-2012 (06-13-2012, 06:29 PM)Your Computer Wrote: The hpl.log should say why it doesn't work.I can't find the problem there. Sry, but I don't get it. (06-13-2012, 08:00 PM)JMFStorm Wrote: I had that kind of problem when I was making Followed By Death Chapter One almost a year ago and I remember voice effects didn't work too well with AddTimer functions. So you should put that |