Adding .wav file gets 'invalid directory' even if it's in Sk

Post » Tue Jun 19, 2012 6:27 am

Hello, I'm new to modding and I'm having an issue I can't figure out by myself.
I made a new sword which works perfectly. I then added to the sword an enchant with a scripted magic that also works perfectly.

Now, what I want to do is play a custom sound when that script is applied (basically everytime I hit somebody).

I headed to the 'Music Track' menu, added a new one, selected 'Single track', but if I choose my .wav file i get 'Invalid directory'. I've tried placing the file everywhere, \Steam\steamapps\common\skyrim\Data, \Steam\steamapps\common\skyrim\Data\Sounds, the Skyrim folder in My Documents, the Skyrim's root folder, a custom folder inside Skyrim's Data folder ... nothing worked, still getting the 'Invalid Directory' error.

What am I doing wrong?

Thanks to everyone that will help me, I'm so sad I can't manage to solve this issue.
User avatar
Camden Unglesbee
 
Posts: 3467
Joined: Wed Aug 15, 2007 8:30 am

Post » Tue Jun 19, 2012 1:50 am

try ...\\Steam\steamapps\common\skyrim\Data\Sounds\YourModDirectory
User avatar
ChloƩ
 
Posts: 3351
Joined: Sun Apr 08, 2007 8:15 am

Post » Tue Jun 19, 2012 2:06 am

try ...\\Steam\steamapps\common\skyrim\Data\Sounds\YourModDirectory

my mod file is in the folder ..\skyrim\Data, I've tried with placing the .wav file both inside \Data\Sounds\MyModName and \Data\Sounds\ ... getting the same error everytime :(
User avatar
Saul C
 
Posts: 3405
Joined: Wed Oct 17, 2007 12:41 pm

Post » Tue Jun 19, 2012 5:06 am

YourModDirectory.esp

Also what frequency are your wav files?
User avatar
Emma louise Wendelk
 
Posts: 3385
Joined: Sat Dec 09, 2006 9:31 pm

Post » Tue Jun 19, 2012 1:02 am

Any why use a 'music track' for a hit event?
User avatar
yessenia hermosillo
 
Posts: 3545
Joined: Sat Aug 18, 2007 1:31 pm

Post » Mon Jun 18, 2012 11:41 pm

Scrap whatever I sayd, just tried now and you have to put inside Sound/FX/ThenWhateverYouWant, without the FX folder before it won't work.
User avatar
Cameron Garrod
 
Posts: 3427
Joined: Sat Jun 30, 2007 7:46 am

Post » Tue Jun 19, 2012 4:41 am

EDIT.
didn't see the post above this one.
I'll try it as soon as I can and report back. Thanks!

YourModDirectory.esp

Also what frequency are your wav files?

Frequency is 44100.

What do you mean by "YourModDirectory.esp"? I hope i'm making myself clear because this is my first mod and I don't want to waste your time by saying things in the wrong way, so i'll do a quick recap:
- Mod name is SOFA. What it does is cloning an ingame weapon to make a new one at which I've applied my custom properties (custom enchants, weight, etc)
- I've already tested it and it works fine. I've crafted it, improved it and used it against any kind of npc with no troubles.
- My mod file is called SOFA.esp and it's located in ..\steam\steamapps\common\skyrim\data\
- When I run the CK I select it as the active file (with no other plugins except obviously the standard Skyrim.esm
- What I wont to do now is just to create a sound that I can play in a particular moment inside my enchant script. From this point I'm stuck because I can't import any wave file and I get the above error.

Any why use a 'music track' for a hit event?

Woah, this could have been the question for the next topic, after having solved this 'invalid directory' issue :D
Which one is used for hit events?

Thanks a lot guys for your help and patience.
User avatar
Matthew Barrows
 
Posts: 3388
Joined: Thu Jun 28, 2007 11:24 pm

Post » Mon Jun 18, 2012 8:14 pm

Scrap whatever I sayd, just tried now and you have to put inside Sound/FX/ThenWhateverYouWant, without the FX folder before it won't work.

You are now promoted to my personal hero (at least for today, then we'll see).
Thanks! I was eager to test it and I connected to my home pc via remote desktop, opened the CK and successfully imported my .wav file!
So from now on it should be just a quick edit to my script, I'll test it as soon as I get home.

Thanks again so much!
User avatar
Emily Jeffs
 
Posts: 3335
Joined: Thu Nov 02, 2006 10:27 pm

Post » Mon Jun 18, 2012 10:26 pm

Glad it helped, I'll look forward to try your mod.
User avatar
Shannon Lockwood
 
Posts: 3373
Joined: Wed Aug 08, 2007 12:38 pm

Post » Mon Jun 18, 2012 10:54 pm

I too am having this problem. I tried adding an FX folder to my sound folder and putting it in there; I keep getting the same error.

EDIT: Got it working by putting it in Data/Music instead of Data/Sound
User avatar
Tinkerbells
 
Posts: 3432
Joined: Sat Jun 24, 2006 10:22 pm

Post » Tue Jun 19, 2012 1:28 am

Tried putting a sound file, which I'm going to use as a Dialog sound (got some ready-made wav files, and dont want to use my own sound for this character), but the Sound Descriptor is throwing me a "Can't open sound file" error when I try to play the sound through the CK.

Help? I got my sounds in "Data/Sound/FX/MRR/soundname.wav"

EDIT: Scratch this - the sound plays fine in the game itself.
They've got a lot of fixing with this darned tool...

Alas, you can't seem to be able to create a lip-sync this way.
User avatar
Tyrel
 
Posts: 3304
Joined: Tue Oct 30, 2007 4:52 am


Return to V - Skyrim