Someone asked me to make an end round music script the other day, I thought I'd share it with you all.
This script will stream music from any .mp3 URL source, whether it be .mp3s hosted on your webserver, or a link you found on mp3skull.
Features include:
-Different tables for different win scenarios (inno, traitor, timeout)
-5 included ulx commands for various things such as playing urls sv/cl side, stopping urls and queuing songs
-Nice looking HUD overlay displaying the name of the sound playing at the end of the round
-Queue system: donators can queue up any url they want that will play at the end round. (3 minute cool down between requests, configurable) and input the name and artist for end round HUD viewing. Admins can remove any queued song.
-Derma GUI with tabs for viewing all sounds loaded into the script, and for viewing all queued sounds. In the music tab it will show the type of song (inno/traitor/timeout), the artist and song name, and the URL. In the queue tab you can see the name of the user who added the song, the song name, and the url. Right click on any entry for various options such as playing that url for the server, for yourself, stopping sounds for the server, stopping sounds for yourself / Playing queued song for server or yourself, and removing any queued song.
Hope some of you find this useful.
Instructions:
Extract the file into your addons/ulx/lua/ulx/modules/sh folder
Screenshots:
HUD Overlay:
http://puu.sh/6gghR.jpgMenu:
http://puu.sh/6ggna.jpgMusic tab:
http://puu.sh/6ggnR.jpgQueuing a song:
Step 1:
http://puu.sh/6ggt1.bmp Step 2:
http://puu.sh/6gguz.bmp Done:
http://puu.sh/6ggxy.bmpQueue:
http://puu.sh/6ggAe.bmpCooldown:
http://puu.sh/6ggMC.jpg