Quote:
Originally Posted by flamerboy67664
How to I put music to my maps?
|
First you may need to understand how the WAC works with sound files.
Dave61's DFX/DFX2 Website
You may use various script methods to achieve it.
The most simple way is to use the waveready command in the WAC but there are other more complex methods and there are limitations.
FORMAT: 16bit PCM Wave
CHANNELS: x1 Mono recommended
BITS PER SAMPLE: 16
FREQUENCY: 41100Hz - 8000Hz
// plays once
if waveready() and never() then
wave("yourwavefile.wav")
endif
//plays as loop
if waveready() then
loop
wave("yourwavefile.wav")
end
endif