Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get working several "Voice effects at same map" [SOLVED]
Author Message
HumiliatioN Online
Posting Freak

Posts: 984
Joined: Dec 2010
Reputation: 10
Post: #1
How to get working several "Voice effects at same map" [SOLVED]
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.

Investigator - WIP
(This post was last modified: 06-13-2012 10:34 PM by HumiliatioN.)
06-13-2012 05:09 PM
Find all posts by this user Quote this message in a reply
Traggey Offline
The Doctor

Posts: 1,939
Joined: Feb 2012
Reputation: 109
Post: #2
RE: How to get working several "Voice effects at same map"
Moved to the correct forum.

06-13-2012 05:17 PM
Find all posts by this user Quote this message in a reply
HumiliatioN Online
Posting Freak

Posts: 984
Joined: Dec 2010
Reputation: 10
Post: #3
RE: How to get working several "Voice effects at same map"
Thanks for that, wasn't sure where this thread belongs.

Investigator - WIP
06-13-2012 05:31 PM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,236
Joined: Jul 2011
Reputation: 216
Post: #4
RE: How to get working several "Voice effects at same map"
The hpl.log should say why it doesn't work.

Tutorials: From Noob to Pro
06-13-2012 06:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
JMFStorm Offline
Member

Posts: 205
Joined: Aug 2011
Reputation: 28
Post: #5
RE: How to get working several "Voice effects at same map"
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 ^^

(This post was last modified: 06-13-2012 08:01 PM by JMFStorm.)
06-13-2012 08:00 PM
Find all posts by this user Quote this message in a reply
HumiliatioN Online
Posting Freak

Posts: 984
Joined: Dec 2010
Reputation: 10
Post: #6
RE: How to get working several "Voice effects at same map"
(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

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 ^^


Lol it worked. Thanks JMFStorn I owe you one Tongue

Investigator - WIP
(This post was last modified: 06-13-2012 10:15 PM by HumiliatioN.)
06-13-2012 10:12 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)