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
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#6
RE: CS voice placement

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

[Image: 25F7U37.png]
(This post was last modified: 10-27-2012, 02:19 PM by Melvin.)
10-27-2012, 02:18 PM
Website 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: 2 Guest(s)