Where can I store audio files, LipSync Pro files, etc?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
chud575
Posts: 50
Joined: Thu May 11, 2017 10:57 am

Where can I store audio files, LipSync Pro files, etc?

Post by chud575 »

Hello again!

So, I am having some trouble storing audio assets in a custom folder. If I store everything in the "Resources" folder root, I can access them fine:
AudioWait(LetsBegin, GameObject);
LipSync(LetsBeginLSP, GameObject);

but if I move them to a subfolder, like "Resources\Audio", I cannot seem to access them, I've tried every syntax I can think of:
AudioWait(Audio/LetsBegin, GameObject);
AudioWait("Audio/LetsBegin", GameObject);
AudioWait(/Audio/LetsBegin, GameObject);
AudioWait("/Audio/LetsBegin", GameObject);
AudioWait(Audio\LetsBegin, GameObject);
AudioWait("Audio\LetsBegin", GameObject);
AudioWait(\Audio\LetsBegin, GameObject);
AudioWait("\Audio\LetsBegin", GameObject);

So how do i do this?
Also, is there a way to define a specific folder where i hold these types of files?

Thanks as always.
User avatar
Tony Li
Posts: 22106
Joined: Thu Jul 18, 2013 1:27 pm

Re: Where can I store audio files, LipSync Pro files, etc?

Post by Tony Li »

Hi,

It's the first one:

Code: Select all

AudioWait(Audio/LetsBegin, GameObject);
As a test, in the Demo's Resources folder, I created a subfolder named Audio. Then I moved all the voiceover files into Audio and set the Dialogue Manager's Default Sequence to:

Code: Select all

AudioWait(Audio/entrytag)
Are there any warnings in the Console window / output log file in your project?
chud575
Posts: 50
Joined: Thu May 11, 2017 10:57 am

Re: Where can I store audio files, LipSync Pro files, etc?

Post by chud575 »

Sigh... so embarrassing. LetsBegin was mispehled.
User avatar
Tony Li
Posts: 22106
Joined: Thu Jul 18, 2013 1:27 pm

Re: Where can I store audio files, LipSync Pro files, etc?

Post by Tony Li »

I forgot to mention that you can drag audio clips on the Sequence field. It will automatically set up the AudioWait() command with the right path, as long as the audio clip is nested somewhere in a Resources folder.

The "+" button will let you change which command gets set up. You can switch it to Audio(), SALSA(), and I think LipSync().
chud575
Posts: 50
Joined: Thu May 11, 2017 10:57 am

Re: Where can I store audio files, LipSync Pro files, etc?

Post by chud575 »

Well now you're just pouring salt in the wound... :shock:

That's great though, thank you.
Post Reply