Newbie1 Posted September 5, 2002 Share Posted September 5, 2002 I have used pakscape to unpack the assets1.pk3 containing sounds for use in an icarus script. Example scripts show the sounds in wav format for kyle, jan etc but the unpacked sounds are in mp3 format. They won't play in the script what gives? I have tried them in mp3 format & coverted them back to wavs. Also are filename lengths for sounds limited for them to work. All of the filenames are short & of a particular length. I have renamed them all so its easy to locate based on first few words spoken e.g sithspit.mp3 or sithspit.wav I have written the opening cinematic movement camera views & animations without a hitch, why won't sounds work. Link to comment Share on other sites More sharing options...
Slunker Posted September 5, 2002 Share Posted September 5, 2002 1. Quick Check. Make sure the path matches up EXACTLY with the location of the actual file... from the gamedata/base/ directory... so, this is a good example of a sound path. sound/home_mines/clint/line2.mp3 Notice a few other things. No / in the front. All slashes are this type: /. The file extension IS present. 2. Get original sound files. JK2 doesn't like most mp3 formats. If you try and play a sound in a format that it doesn't like, it just skips it. Any wait()'s that you use on a task that plays these files goes on fine as if it's finished playing. And it doesn't complain. It's horrid. There's a chance that when you changed the files back from .wav to .mp3 (if you did it this way) that you created yourself a new problem, by converting it back to a form which jk2 doesn't like. If you did this, immediately re-export the old sound files from the assets0 file. 3. Make sure the actual script is right. Make sure it's running the sound file properly. Make sure the sound channel you're using is the voice channel. Etc. Write me back. if this stuff doesn't work, then give me information on... what was already how it should be, etc. -Slunker Link to comment Share on other sites More sharing options...
Takeoffyouhoser Posted September 6, 2002 Share Posted September 6, 2002 from a post I read a few weeks ago...I remeber somone saying that there is a certain Khz level that the mp3's should be recorded at so that Jedi Outcast will use them...I wish I cut and pasted this with all the other junk i saved...but never thought it was a big deal.... Link to comment Share on other sites More sharing options...
Deetox187 Posted September 6, 2002 Share Posted September 6, 2002 they must be 44 khz. Link to comment Share on other sites More sharing options...
Slunker Posted September 6, 2002 Share Posted September 6, 2002 44.1kHz and 64kbps -Slunker Link to comment Share on other sites More sharing options...
Deetox187 Posted September 7, 2002 Share Posted September 7, 2002 i use 128kbps 44khz. Link to comment Share on other sites More sharing options...
Newbie1 Posted September 7, 2002 Author Share Posted September 7, 2002 Thanks for the help everyone. I had actually realised 20 minutes after making the post that using the browser within BehavEd was selecting the full path right back to the drive I was using. Its all working well now. I am planning on using custom sound files for character speech so the extra heads up is an advantage. Again thanxs for the help & sorry I didn't post back sooner! Link to comment Share on other sites More sharing options...
Slunker Posted September 7, 2002 Share Posted September 7, 2002 NP... and yah, deetox, I forgot that 128kbps... and I think 1 more sound format works, but I forget what it is... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.