Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: LoneKnight on October 24, 2011, 10:59:00 pm
-
I'm in the process of putting some recently voiced CB's into a mission, but I seem to have hit a wall. The files are .wav, 16 bit mono at 44100 hz. The file I was trying to play was named Anchor_CB_0005.wav.
In FRED, I posted "Anchor_CB_0005.wav" in the Wave Filename section of the Command Briefing window. The .wav file itself has been placed in voice/command_briefings.
I posted a debug log for what I ran. Any ideas as to what is causing it to not work?
Thanks so much in advance!
Received post for event GS_EVENT_CMD_BRIEF during state transtition. Find Allender if you are unsure if this is bad.
Got event GS_EVENT_CMD_BRIEF (55) in state GS_STATE_START_GAME (52)
No briefing music is selected, so play first briefing track: Brief1
AUDIOSTR => Successfully opened: FS2_Brief_01.ogg
AUDIOSTR => Successfully opened: Anchor_CB_0005.wav
SOUND: c:\temp\fs2_final_export\code\sound\audiostr-openal.cpp:1224 - OpenAL error = 'Invalid Value'
AUDIOSTR => Successfully opened: Command_Controlsb.wav
SOUND: c:\temp\fs2_final_export\code\sound\audiostr-openal.cpp:1224 - OpenAL error = 'Invalid Value'
ANI CB_default.ani with size 440x200 (21.9% wasted)
Frame 0 too long!!: frametime = 13.625 (13.625)
Loaded user_o.wav
Loaded textdraw.wav
SOUND: c:\temp\fs2_final_export\code\sound\audiostr-openal.cpp:1224 - OpenAL error = 'Invalid Value'
Int3(): From c:\temp\fs2_final_export\code\sound\audiostr-openal.cpp at line 1387
Frame 0 too long!!: frametime = 3.971 (3.971)
-
Make sure your files are in the right folder. Command briefing files go into <mod folder>/data/voices/command_briefings
From the looks of the log your .wav files might not be properly formatted, but I don't know much more than that. What recording software are you using?
-
Recorded them in Soundbooth, exported as a .wav, processed them in Audacity, exported in the format I mentioned above. For testing, I was just running the sounds of out the main /data folder, not my MOD folder, but I'll test that.
Put it in my MOD /data folder, built it into a .VP, but neither worked.
-
WAV files have to be in a particular format, and I don't know what that is offhand. But if you use FS_Open (and it looks like you are) then you can simply save them as any OGG Vorbis format you want, and they will work.