Forums Index >> Modding >> Music in MOds
Page : <1> :
I think TT only supports ogg files as it is, but I'm not sure of that.
I think the command to use sounds is something like:
*datablock*.soundFile = "game/data/sounds/big_bang.ogg";
Where *datablock* is what you want to give the custom sound to. You also have to be running a dedicated server, so that the people can download the sounds. In a regular server, they can't download sounds automatically.
I got the downloading part, but as far as encoding mp3's and wav files to.ogg files I;m lost on. I downloaded VorbisOgg encoder/decoder but I dont know how to work it. Can someone please help?ck
This is an easier program to use, just open the file and go to File->Export Ogg Vorbis.
An ex-PC DJ taught me about Audacity and Ogg Vorbis. And also, TT doesn't support mp3s, but it allows Oggs.
EDIT: Sorry, the link was dead.
Last edited: Tuesday, January 25, 2005 at 4:07:42 PM
Which ogg file is for TT1_3?
@black dragon-Thanks buddy, way too cool. I appreciate it. Ck
Audacity is nice, I got it off of cerdip's programming book for those of you who know what that is...
*datablock*.soundFile = "game/data/sounds/big_bang.ogg";
Where *datablock* is what you want to give the custom sound to. You also have to be running a dedicated server, so that the people can download the sounds. In a regular server, they can't download sounds automatically.
If you want to be the only one to listen to the music and not let any one download it then what would the *datablock* be?
Thanks.
Where in thinktank's code is the datablock for the mission backround music?
Yeah-what warfare said:)
What I mean is what is replaced by the word *datablock* that spunky wrote to make it so you can only listen to the musci and no one els can or download it.
I know there's a thread here somewhere about this.......now lemme see......
AHA!- Here it is
Regarding Ogg Files
But how do I make it so everyone who plays my mod hear the I changed it to? Pls hlp!
Umm...I think to change the music played in-game would require major source code editing, so I don't think it's really "do-able" on a regular basis by non-C++-literates. But...I'm not too sure, so I could be wrong. Anyone else heard anything about this?
Chinesknife.....if ur still having problems converting youre WAV and Mp3 files into OGG, go to download.com and download audioedit deluxe!
I got the ogg partbut how do I make it so everyone who plays that server hears the same music?
do I add the music file to the downloadable zip file I make available?
ck
I would rather not download music in TT so I don't think this would be a good idea. Just make it avaible to every one on PTT and if they like they will use it and if they don't they will not use it. Pluse TT download rate is almost 0 it takes forever to download any thing on TT, and making people download music isn't going to make them happy.
I have an idea! Change the sound let's say... Of the collision of a tank(found in special.cs file) or any other sound.
change it to your music. And when a tank hits a rock...boom, your music starts playing, but of course this isn't full proof and every time you'd hit something the song would repeat... 8o
M@Mr. Big Show
Yes -well techinically speaking you could put the sound of reload voice to a complete song and put the reload gate in a far away spot on the map. You could roll through it, hear your song, and when it's over, roll through it again. You could only put one reload gate per map, but it would still be cool
ck
Actually, I was trying out a music clip when some one dies..... Another one bites the dust!
NICE!
How, exactly, would I do this? Someone?
I have the file I need in ogg format...
what do I need to code now?
Last edited: Sunday, February 06, 2005 at 9:34:06 PM
Here is a hint....
dont add sounds, change them, my game wouldent load right after a few times when I added anotheronebitesthedust.ogg
Page : <1> :
How do you put a.wav,.mp3, and such in your mod so that everyone hears it. Also, when its done what files do I zip to post for downloading by other TT'ers?