This is a proof of concept GroupAI for spring. This AI implemented dynamic ingame music. It would play music as the game continued in the background, and the music would change depending on the state of the game.

War music would play when battles occurred, and peaceful music would play when normal gameplay ensued. Increasing numbers set of other music, and so on.

Implementation & Development

To do this I used the Windows MCI API to play mp3 files, namely the Total Annihilation soundtrack. Currently I have stopped maintaining the project as other people built their own implementations in lua gadgets using the engines sound playing libraries. The Group AI interface itself was removed in 2009 making further development of the code base impossible.

Leave a Reply

*
*