Tremulous Forum

Media => Other Tremulous Media => Topic started by: swamp-cecil on August 02, 2010, 07:06:47 pm

Title: command music
Post by: swamp-cecil on August 02, 2010, 07:06:47 pm
well, i was playing around in console and found the command /music
when i typed it in, it asked for the music and loopfile. i thought to get a music, i had to make a music file in the same folder that base is in and paste it there, but idnt work. how do i make it work?
(the error is it couldnt find it)
Title: Re: command music
Post by: Aelita on August 02, 2010, 07:15:05 pm
iirc it's a relic from the Quake # days, where the CD had audio tracks on it. Pretty sure CD emulation with a folder was built into the engine after the F/OSS release. Check Google if you really want to find it - I don't even know if it works on Trem.
Title: Re: command music
Post by: UniqPhoeniX on August 02, 2010, 11:19:18 pm
It works, for example:
Code: [Select]
/music sound/ambient/fan sound/ui/heartbeatwill play the fan sound once and then keep looping the default menu music.
When using /music with only 1 sound file it will loop that one.
/stopmusic stops it.
Title: Re: command music
Post by: swamp-cecil on August 03, 2010, 12:19:52 pm
uh oh;
WARNING: music file sound/ambient/fan is not 22k stero
what is my stupid mistake? is it to small or too big or what?

and technically, to get music i zip my data.pk3 and open ambient and place my music in there
Title: Re: command music
Post by: DraZiLoX on August 03, 2010, 01:06:22 pm
...or put .wav file to your base folder >.>
Title: Re: command music
Post by: Aelita on August 03, 2010, 11:53:23 pm
uh oh;
WARNING: music file sound/ambient/fan is not 22k stero
what is my stupid mistake? is it to small or too big or what?

and technically, to get music i zip my data.pk3 and open ambient and place my music in there

Editing data.pk3 invalidates your client.

Anyway, read the error, don't ask questions. It clearly states that the file is not 22kHz Stereo.