Author: A-SUICIDAL
Author Website:

Requirements: No addons required

Version: 1.0

Short description: This script adds a loudspeaker to your mission that will play through a custom playlist of songs.

Date: 2013-02-15 11:59


Comments: (0)
Rating:



 

Loudspeaker Playlist

by
A-SUICIDAL


Description:
This script adds a loudspeaker to your mission that will play through a custom playlist of songs. There is no ability to interact or select an action to change to the next song. The loudspeaker does it's own thing.

When a player disconnects from a dedicated server during a song and then reconnects, the player will not hear any music until the next songs starts.

I have an older version of a PA System radio script, but I was not happy with it. This method works much better and the scripts are easier to work with when it comes to replacing the songs with your own selection of songs.


Installation / Usage:
There is an Arma 2 as well as an Arma 2: OA/CO version!

The example mission shows how to add loudspeaker to your mission that will play a custom playlist of songs. There is no ability to interact or select an action to change to the next song. The loudspeaker does it's own thing. When a player disconnects from a dedicated server during a song and then reconnects right away, the player will not hear any music until the next songs starts.

I do not take any credit for the songs used in the sample mission, they are just for demonstration. Mission creators can use the sample mission as a template and replace the songs with their own selection.

I created the loudspeaker pole by spawning a lamp post and flipping it upside down and then I pushed it into the ground a little and attached 2 pairs of speakers to the top facing opposite directions. In the editor it just looks like 1 loudspeaker object, the loudspeaker init spawns the pole and second speaker. Makes it easier to deal with.

It doesn't hurt to test it out. Sorry the movie sucks, but I just wanted to show how it works when you disconnect and reconnect. The songs are medium quality, you can easily replace the songs with lower quality sound files to keep your overall mission file size small.

If you replace any of the music, make sure that you add the correct timing for each song and add an extra 3 seconds. So if you add a song that is a minute and a half long, set the time to be 93. It's simple.


Media:



Forum Topic:
- [url=]BI forums[/url]




Enable javascript to be able to download from Armaholic please!



Tags: Loudspeaker,   Music,   Song