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
[SOLVED]CS voice placement
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#7
RE: CS voice placement

(10-27-2012, 02:18 PM)SmokeMelvin Wrote: You can set up an area. And then just use the

{
AddEntityCollideCallback("Player", "YourArea", "YourFunction", true, 1);
}


void YourFunction (string &in asParent , string &in asChild , int alState)
{
PlaySoundAtEntity("", "voice_mark_hall_9.snt", "Player", 0, false);
}

And place it in

redist/custom_stories/yourcustomstory/sounds/


Be sure to convert voice_mark_hall_9 to .snt. And place the .ogg and the .snt files both in redist/custom_stories/yourcustomstory/sounds/ !

(10-27-2012, 02:06 PM)beecake Wrote: It's a normal voice. You know, the character is speaking.

EDIT: Ok i think i got it. I just once experienced that this didn't work. I guess the blackbox error was just some kind of mistake. Anyway, it works now. There was one minor problem in the .lang file, but that is fixed
Great! Glad it works
No, PlaySoundAtEntity is not a solution! There won't be subtitles either, and it's pretty good to have subtitles so the player doesn't get lost

Trying is the first step to success.
10-27-2012, 08:38 PM
Find


Messages In This Thread
[SOLVED]CS voice placement - by FlawlessHappiness - 10-27-2012, 01:28 PM
RE: CS voice placement - by Melvin - 10-27-2012, 01:42 PM
RE: CS voice placement - by FlawlessHappiness - 10-27-2012, 01:46 PM
RE: CS voice placement - by Melvin - 10-27-2012, 02:03 PM
RE: CS voice placement - by FlawlessHappiness - 10-27-2012, 02:06 PM
RE: CS voice placement - by Melvin - 10-27-2012, 02:18 PM
RE: CS voice placement - by FlawlessHappiness - 10-27-2012, 08:38 PM



Users browsing this thread: 1 Guest(s)