gui_music.lua UPDATE

Spring EngineLua Scripts

v1.2
347
3882 (0 today)
No votes yet

TA Music Widget

File Information

Title / Version gui_music.lua UPDATE v1.2
License Freeware / Free
Filename gui_music.lua
Filesize 6.98 KB
Date 12/31/2010 - 12:35
Changed 01/31/2011 - 07:22
Publisher / Author xponen (Uploaded by xponen)

Description

Fixed a bug from the original version, ( http://www.springfiles.com/show_file.php?id=1188 , http://springfiles.com/spring/lua-scripts/ta-music-widget) .

Now it (version 1.2) can work perfectly like it was designed to do; to play TA music in game.

How it work?:
The widget list down the number of unit destroyed in the game and play music accordingly (either a peace or a war music). And since there are many music available; the widget also featured a randomizer to randomize the playlist. This widget will also randomize the start music at the beginning of the game.
___

FIX:
version 1.2 will stop playing music when the game paused. Also fixed the gamestart's randomizer to be more random.