PDA

View Full Version : Music



SOMEGUY789
April 16th, 2010, 10:44 PM
I wanted to know is it possible to add music to the game nad if possible how?

Higuy
April 16th, 2010, 11:33 PM
Compile a in, which is the intro to the song, a loop which loops and an end which ends the song when needed. Compile them through tool as a wav. Use tool sounds <directory> ogg 128000. Set the new sound files you made to music, recompile, then add into a sound_looping tag. Script them into the map using sound_looping start or something.

SOMEGUY789
April 17th, 2010, 02:10 PM
Thanks for the help and when compiling where do I put the music?

Higuy
April 17th, 2010, 02:51 PM
data\sounds\music\"name of track"\

inside the "name of track" you'd have 3 other folders and in those other folders would be in, loops, and out.

so if my folder name was "finalvictory" id type the following command:

tool sounds sounds\music\finalvictory ogg 128000