Hey, I had an idea. Right now music files are named "Name of music file.ogg" right ?
It would be cool if you could make it so that you could add songs to the internal playlist just by naming the files a certain way.
For example, say you had two different hyperspace tracks, and you wanted it to randomly select which track each time you enter hyperspace, you could name the tracks like this:
hyperspace.ogg hyperspace_2.ogg hyperspace_3.ogg
It would be cool if the UQM engine could detect this, and if "use remixes" mode is on, it would randomly select one of the 3 mixes.
You could also maybe even tell the engine only to play mix_2 of each song, or only mix_3
So you could have multiple concurrent game tracks in the same directory structure..
I dunno if this would be a good idea for an official release, but surely this is a programmable possibility in your game. I could see problems that would arise, but I think it would neat if you wanted to try that in your game. I wouldn't do it, because I don't trust my programming, hehe... But hey, knock yourself out man!
Logged
"Even Our House Pets Are Rather Evil." - Ilwrath Captain
I't'd certainly be an inetresting possibility. You could have a menu when you srart up the game (before the actuaal in-game menu's) Wehre you can choose "classical" SC2, "remixed" SC2, "own Sc2" and so on. All the ogg files of one verison would have the same number after them, and this way you'd have a lot of musical variation.
Riku has already proposed that we should support multiple tunes for eg. hyperspace, so something like this will quite probably be included to official release. Actually implementing it is dependant on new resource system which has to be done first (meep-eep is working on that).