music -1 reply

Please wait...

mikenike07054

I Am The Lizard King

50 XP

19th October 2004

0 Uploads

184 Posts

0 Threads

#1 15 years ago

Hey, can anyone tell me how to get music to play from targets, Kinda like if i made a model of a stereo system, hot to make it so the music emenates from the model, and can only be heard within a set radius, if this is possible can you help me out? thanks




Pb2Au

Droolworthy

50 XP

4th October 2004

0 Uploads

8,461 Posts

0 Threads

#2 15 years ago

right-click>target>target_speaker. Position that in the middle of your brush, or md3, and type in the key 'noise' and the value 'yourfolder\yourmusic.wav' 9I suggest using pakscape to insert it into your assets pk3). Note: for it to loop (play incessantly) it must be .wav. If you have no conversion tools for this, I'll see if I can get you a basic one I have somewhere on my computer. Check the 'loopedon' box in the entity window, and you're done! Although I doubt you want these right now, I'll write them in for future reference and for any one who might stumble across this thread looking for a music tutorail: If you want it to be heard all around your level, like the stereo plays the ambient music, check global. If you want it to go in sync with some other thing, attach them both to a trigger_multiple. _______________- Hope this helps, but I've realized that the sound can be heard from fairly far off, and I have no clue how to edit volume. But, for a loud stereo, that shouldn't be much of a problem right now. Good luck!!1




mikenike07054

I Am The Lizard King

50 XP

19th October 2004

0 Uploads

184 Posts

0 Threads

#3 15 years ago

thanks so much, you were very clear, and yes i have a mp3,wma converter that converts them to .wavs thanks alot, and as of now you dont know how to edit volume?




mikenike07054

I Am The Lizard King

50 XP

19th October 2004

0 Uploads

184 Posts

0 Threads

#4 15 years ago

For The pk3 folder input my music in sounds but theres no sounds folder in my base so wat do i do?




Pb2Au

Droolworthy

50 XP

4th October 2004

0 Uploads

8,461 Posts

0 Threads

#5 15 years ago

No, I don't know how to edit volume, which sucks because I have a torch in a map I'm working on that you can hear halfway down the hall. To get music into your maps, download pakscape (just google 'download pakscape' or something to find the site), and use it to open up assets. In your academy base folder, you should have about six files named assets0, assets1, assets2... assets5. 0 and 1 are most important. So, after you have pakscape you open them up and in assets0 you should have a folder named music. So you open that, make a folder in my documents (not assets) with the music you want to get into GTKRadiant, go to the opened version of assets0 on Pakscape, right-click, and go to object>import directory. THe only problem is you have to recompile the entire folder when you hit save, but if you have a modern computer just start it and go off to get a drink or watch tv or something.




mikenike07054

I Am The Lizard King

50 XP

19th October 2004

0 Uploads

184 Posts

0 Threads

#6 15 years ago

yea i figured i could do that, but when a person downloads my map, they shouldnt have to do that, how do i get it to work for the people that download it? thanks for your help




Pb2Au

Droolworthy

50 XP

4th October 2004

0 Uploads

8,461 Posts

0 Threads

#7 15 years ago

Damn straight they can't. That's why, when you make your pk3, you have to insert all custom textures, scripts, shaders, sounds, etc. into folders in your maps pk3, along with your actual map. Then you have to playtest it to see if the links still work, and get some friends to beta test it to make sure it's cool on their PC.