GTK Radiant 1.4 - Sound


(samper) #1

Hi, i am starting own mapping. How i can add to Radiant own music or sounds ? Convert sounds I can. But give sounds to Radiant and florers in etmain i cant, pls help.


(Ganjaman) #2

If you want to place custom sound in your level read this :

http://www.pythononline.co.uk/et/tutorial10.htm

Make sure you use 11, 22 or 44 khz sound ( mono or stereo I’m not sure of ).

Good luck. :smiley:


(shagileo) #3

IIRC it’s mono you have to use


(samper) #4

OK, i readed ths tutorial, lesson 10. Here is wrote only how to place sounds from ET. (pak0.pk3) It I can, but how to place my own music ? Maybe convert it and give it to “sound” florer in etmain, and in ET spectator edit speakers ? or how ?


(stealth6) #5

in etmain make a folder “sound” if you don’t have one yet.
Inside that folder make a folder called “samper” or any name, just something so you know what it was.
Put your custom sounds in there ie:
/path/to/etmain/sound/samper/myfirstsound.wav

then you can add them like any other sound. Don’t forgot to include them in your pk3 when you make it, otherwise it won’t work when you release the map.


(samper) #6

Thank you, i will try it :slight_smile:


(samper) #7

I was pasted:
C:/Wolfenstein - Enemy Territory/etmain/sound/samper

and nothing.

Sound have frequency: 22000
bits: 16
Channels: mono

and i can hear it :frowning: sound is long 50-57 soconds.


(stealth6) #8

My sounds are:
Mono, 22050Hz, 32-bit


(samper) #9

Yeah! now it is OK ! Some changes it needed - Path i was tried sound/samper/test.wav and all OK.
Look:


(samper) #10

If you cant see image, try it here :http://www.flickr.com/photos/57550738@N04/5510138710/


(samper) #11

Thank you for all :slight_smile:


(samper) #12

I have still one question, how i can make button - if you use “f” in game, song will start. I saw it in fun TJ maps.