Battle Dynamic Music Player V1.1
Posted: 20 May 2012, 12:42
Edit: Tried to fix for Linux, let me know if this works please
I've had quite a bit of help with Lua stuff here, so I thought I'd give something back:
A new music player that changes track according to what's happening in the game, using completely customisable .ogg music for each theme (peace/coldwar/war) and easy game/music volume control with hotkeys.
Although tested with BA only, it should work with most spring games (provided that each unit/building has a parameter called metalCost).
Use whatever music you like as long as it is in .ogg format.
To convert music files to .ogg, I recommend using Audacity, a free sound editor. It has a batch converter for multiple files (edit chain/apply chain => apply to files) so you can add whatever music you want and convert it to .ogg
Code:
http://pastebin.com/TTCUzpW3
Full .zip with some TA music to inspire you (extract to Spring install folder):
http://www.2shared.com/file/VKGiaL0p/Ba ... icV11.html
Any feedback would be appreciated; enjoy!
I've had quite a bit of help with Lua stuff here, so I thought I'd give something back:
A new music player that changes track according to what's happening in the game, using completely customisable .ogg music for each theme (peace/coldwar/war) and easy game/music volume control with hotkeys.
Although tested with BA only, it should work with most spring games (provided that each unit/building has a parameter called metalCost).
Use whatever music you like as long as it is in .ogg format.
To convert music files to .ogg, I recommend using Audacity, a free sound editor. It has a batch converter for multiple files (edit chain/apply chain => apply to files) so you can add whatever music you want and convert it to .ogg
Code:
http://pastebin.com/TTCUzpW3
Full .zip with some TA music to inspire you (extract to Spring install folder):
http://www.2shared.com/file/VKGiaL0p/Ba ... icV11.html
Any feedback would be appreciated; enjoy!