Jump to content
Sign in to follow this  
Howard

Positional voice

Recommended Posts

How can you make it so that it sounds like a voice is coming from where an AI is standing, sort of like Direct Communication?

Right now I've just got an AI stand ~3 meters away from the player trying to do a briefing, but it doesn't sound natural at all since the sound is coming directly from the player.

Also, how can you make lips move? I tried getting wav2lip but all download links seem to have been removed...

Share this post


Link to post
Share on other sites

Hmm... The sound plays and it seems to be coming from a spesific source but it doesn't fade out in the distance, it sounds the same even if I'm 1 meter or 100 meters away.

Here's the line I'm using in a trigger: brief say ["briefing", 5,1] this is the syntax from the wiki: unit say [sound, maxTitlesDistance,speed]

Share this post


Link to post
Share on other sites

You need to make sure the sound is in mono - after that its all about the volume..

The way your trying looks to be COMPLICATED for a simple task :)

Share this post


Link to post
Share on other sites
Is "brief" an object/person? Also how is "briefing" defined in the description.ext?

class CfgSounds
{

sounds[] = {briefing};


class briefing
{
	name = "briefing";
	sound[] = {\sound\briefing.ogg, db + 0, 1.0};
	titles[] = {0, ""};
};
};

Brief is a person.

And just to keep you aware of the second question: how do you make the lips move now that wav2lip is gone?

Edited by Howard

Share this post


Link to post
Share on other sites

I meeting the same problem now, sound is position but that fade on distance not working, sound file is mono and 44100 Khz, and ogg, you actualy can hear it from 1 km, and if you start turning than speekers from where is sound going is chaging, so you can understand direction... but what about distance...

Share this post


Link to post
Share on other sites
I meeting the same problem now, sound is position but that fade on distance not working, sound file is mono and 44100 Khz, and ogg, you actualy can hear it from 1 km, and if you start turning than speekers from where is sound going is chaging, so you can understand direction... but what about distance...

make the sound file 16000 Khz and cut the sound volume down by half in the sound editor.

Share this post


Link to post
Share on other sites
make the sound file 16000 Khz and cut the sound volume down by half in the sound editor.

Dosen`t it have to be 16 bit and 44,1 Khz, i will try to lower level, will see how it`s gonna work, it`s just hard to find in any converter...

Edited by kolotei

Share this post


Link to post
Share on other sites

Anybody fix it, i lower my volume, by half, now can`t barely hera what the people saying but it`s fade but very slow, so it`s not the solution...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×