[color=navy]Hey all its RuFio here. You may or may not recognize me from the servers...but this is my first post and i need some help. I have read RichDiesels and other tutorials on mapping. I have been practicing for about a month now and have become very effective at making maps (20 practice at least). I hav ethe functions down pretty much...but i am a bit confused on the WorldSpawn and how to add music to my map. Pressing N with no brushes selected brings up the Worldspawn and there is a music option. But i dont know how to find the music on my comp that are WAV files and make them play as looping music. In addition to this, i cant find the music in WAV format for JA...not even in game/base/music folder. So if anyone can tell me how to add music i appreciate it since chances are im close but i am doing something wrong. In addition, if some1 could sum up how to put all my files into pakscape id appreciate it. Heres what i need if possible 1. how to add music in WAV format. 2. how to put my map together to send to JK2 Files If all goes well loook for my map Space Castle soon. :flag:
This is a copy of the tutorial I made (in here I act like a total noob is doing it but I made this for a total noob so it fits, anyway):
Putting music in a map:
Find your music file and name it something with one name for simplicity. For our example, let's say the music is called Death, and the map is called Woot.
Ok open your .map, now select a worldspawn entity, meaning a regular brush. Open up the entities window (N key). Type the following: (using our example)
key: music value: music/Woot/Death.mp3
Replace Woot with your mapname and Death with your .mp3/.wav file.
Now open your .pk3 with pakscape (make one if you didnt already) and create a "music" folder (if it's not already there). In the music folder make a folder called Woot, or whatever your map name is. In there put your music, just make SURE you have your .mp3 file correspond to the value you typed earlier in the tutorial. Also, make sure you do not have spaces in your .mp3 name.
Compile your map and it should work.
its easy just press n with the no brush selected and type in for the first name and put music no caps then the next which is under it put in music/whatever.mp3 then save now goto pakscape or what ever paking prgram you have and put you mp3 in the music file directory if not make a new directory name music then save and your done!
Kite_a_dot_hackerits easy just press n with the no brush selected and type in for the first name and put music no caps then the next which is under it put in music/whatever.mp3 then save now goto pakscape or what ever paking prgram you have and put you mp3 in the music file directory if not make a new directory name music then save and your done!
Right on... :lol:
~RuFio~[color=navy]1. how to add music in WAV format. 2. how to put my map together to send to JK2 Files[/color]
1. Don't use wav format. It takes 10 times more space than mp3. And it'd be wasted space, believe me. 2. Custom PK3 files must have the exact same structure that the original asset# files have in your base folder. The root of the pk3 is the base. Folders in the pk3 are those folders you have under your base in Windows Explorer: music, textures, shaders, scripts, etc... Generally it's a VERY good idea to keep all your custom stuff in their own subfolders, like Evil_Jedi said: music/yourmapname/musicfile.mp3 or textures/yourmapname/ubermarble.jpg or scripts/yourmapname/superrancor.ibi. Some stuff, like shaders, don't have level specific subfolders, though.