GTKradiant music file paths -1 reply

  • 1
  • 2

Please wait...

Guest

I didn't make it!

0 XP

 
#1 9 years ago

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.




sinchiss

Om nom nom

50 XP

12th May 2008

0 Uploads

171 Posts

0 Threads

#2 9 years ago
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?




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#3 9 years ago

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.




Guest

I didn't make it!

0 XP

 
#4 9 years ago

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.




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#5 9 years ago

Yeah, there aren't a lot of solid, up-to-date tutorials. Get writing, people! =p




sinchiss

Om nom nom

50 XP

12th May 2008

0 Uploads

171 Posts

0 Threads

#6 9 years ago
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?




Forceboat

File Finder Xtreme

50 XP

23rd May 2003

0 Uploads

545 Posts

0 Threads

#7 9 years ago

The music files are stereo (except for the opening crawl music); character sounds, sound effects, etc. are mono.




sinchiss

Om nom nom

50 XP

12th May 2008

0 Uploads

171 Posts

0 Threads

#8 9 years ago

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.




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#9 9 years ago

Yes, music is stereo, whereas sound effects are mono. If you think about the game mechanics, it makes perfect sense. :)




Guest

I didn't make it!

0 XP

 
#10 9 years ago

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.




  • 1
  • 2