Page 1 of 1

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

Posted: Mon Aug 06, 2018 6:07 am
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.

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

Posted: Mon Aug 06, 2018 9:36 am
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?

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

Posted: Mon Aug 06, 2018 12:29 pm
by chud575
Sigh... so embarrassing. LetsBegin was mispehled.

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

Posted: Mon Aug 06, 2018 2:40 pm
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().

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

Posted: Tue Aug 07, 2018 6:46 am
by chud575
Well now you're just pouring salt in the wound... :shock:

That's great though, thank you.