Forums Index >> Modding >> Music in MOds



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?

Monday, January 24, 2005 at 10:08:51 PM

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.

 

Tuesday, January 25, 2005 at 12:17:43 PM

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

Tuesday, January 25, 2005 at 2:25:32 PM

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

Tuesday, January 25, 2005 at 4:06:12 PM

Which ogg file is for TT1_3?
@black dragon-Thanks buddy, way too cool. I appreciate it. Ck

Tuesday, January 25, 2005 at 10:28:10 PM

Audacity is nice, I got it off of cerdip's programming book for those of you who know what that is...

 

 

 

 

Wednesday, January 26, 2005 at 2:53:06 PM

 

 

*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.

Wednesday, January 26, 2005 at 7:18:17 PM

Where in thinktank's code is the datablock for the mission backround music?

 

 

 

 

Wednesday, January 26, 2005 at 7:24:32 PM

Yeah-what warfare said:)

Wednesday, January 26, 2005 at 7:32:33 PM

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.

Wednesday, January 26, 2005 at 7:32:54 PM

I know there's a thread here somewhere about this.......now lemme see......

Wednesday, January 26, 2005 at 7:33:24 PM

AHA!- Here it is
Regarding Ogg Files

Wednesday, January 26, 2005 at 7:38:14 PM

But how do I make it so everyone who plays my mod hear the I changed it to? Pls hlp!

Saturday, January 29, 2005 at 5:43:07 AM

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?

 

Saturday, January 29, 2005 at 6:44:24 AM

Chinesknife.....if ur still having problems converting youre WAV and Mp3 files into OGG, go to download.com and download audioedit deluxe!

 

Friday, February 04, 2005 at 4:04:21 PM

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

Friday, February 04, 2005 at 4:36:43 PM

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.

Friday, February 04, 2005 at 5:56:14 PM

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


Friday, February 04, 2005 at 8:23:56 PM

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

Saturday, February 05, 2005 at 10:31:04 PM

Actually, I was trying out a music clip when some one dies..... Another one bites the dust!

 

 

 

 

Sunday, February 06, 2005 at 2:03:34 PM

NICE!

Sunday, February 06, 2005 at 3:58:33 PM

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

Sunday, February 06, 2005 at 9:33:35 PM

Here is a hint....
dont add sounds, change them, my game wouldent load right after a few times when I added anotheronebitesthedust.ogg

 

 

 

 

Wednesday, February 09, 2005 at 9:24:21 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald