I'm having a bit of a problem with putting custom music in my levels via GTKRadiant. I know the file should work, but I'm having a bit of trouble with the file paths. Searching this forum provided little to no help at all.
I think it's an issue of the tutorials and such just not being specific enough. So I have a few questions. Now, if my file is called "Dr.mp3" and it's in a folder called music (which is placed in my gamedata/base folder), does that mean the path would be "music/Dr.mp3"? Or would it be more along the lines of "C:/Program Files/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/base/music/Dr.mp3"?
I just need a decent example that includes the exact location of a music file and the path that corresponds to it for the value in GTKRadiant.
Thanks in advance.
Therealvladislak;4951043Now, if my file is called "Dr.mp3" and it's in a folder called music (which is placed in my gamedata/base folder), does that mean the path would be "music/Dr.mp3"?
Yes, I should think so. 'Cause when you play JA and want to play a song via console - for example the "swamp_action" theme, you'd write /music music/yavin1/swamp_action. But I'm thinking you've already tried that without any luck, which brings me to the question: What exactly is your problem? Do you get any error messages or anything that indicates that there's something wrong with the music file?
Sinchiss is correct. The console command and the line you put into Radiant should have the same directory.
Everything in Radiant is relevant to the Base folder, not your C drive. When you type in any directory, start in Base.
Now, if the sound file still doesn't play, make sure it is a stereo MP3 file, sampled at 44,100 hz. You'll want to export it at 128 or 160 kbps.
Okay, thank you. You'd think a tutorial would mention these things. Oh well..
The thing about it being 44100 hz was also an issue but I got it working now. Thanks guys.
Yeah, there aren't a lot of solid, up-to-date tutorials. Get writing, people! =p
NAB622;4951180... make sure it is a stereo MP3 file...
Stereo? I thought it had to be mono? At least all the sounds for playermodels need to be mono, 'else they won't work. Right?
File Finder Xtreme
23rd May 2003
The music files are stereo (except for the opening crawl music); character sounds, sound effects, etc. are mono.
Ah... Well the music files are played in each level by a script, while sound effects and such are randomly played off at different areas - so yeah I guess that makes sense.
Yes, music is stereo, whereas sound effects are mono. If you think about the game mechanics, it makes perfect sense. :)
I got all this in my head (I think) and placed the mp3 in my base folder, and then put the value into the worldspawn. When I tested the map, it showed something like "Unable to find /music/YourMusic.mp3 as blah music or blah-ymic- blah entry blah". :confused: I'm stumped... Please, need help. Also, this map is for JK2, if that makes a difference.