Author: Delta38 & HulkingUnicorn
Author Website: http://www.iast-team.info/

Requirements: Extended Init Event Handler by Solus

Version: 0.9
Signed:

Short description:

Date: 2007-09-06 09:08


Comments: (3)
Rating:



 





3-oggplayer_01.jpg 3-oggplayer_02.jpg

OggPlayer
by
Delta38 & HulkingUnicorn

Description:
This addon gives you the opportunity to play any tune from CfgMusic, letting you play both the original ArmA music and music from other addons (when such are loaded). You can put any tune on the ignorelist (@HULK_OggPlayer\Addons\HULK_OggPlayer_IgnoreList.sqf).


Installation:
Install in your arma/addons folder (not recommended).
Install using a mod folder as explained in our FAQ.


Included files:
HULK_OggPlayer.pbo
HULK_OggPlayer_IgnoreList.sqf


Media:


Video by mr.g-c




Usage:
By activating this addon (Put the @HULK_OggPLayer folder in the main ArmA directory and adding -mod=@HULK_OggPlayer to your ArmA shortcut (separate different mods with semicolons if you already have any), you will find the action "Play music" attached to every vehicle and soldier in every mission. Don't worry, it's all clientside - you can listen to classical music while your gunner enjoys some heavy metal

Activating this action will make a dialog spring into existence, and the first tune in the music library will be selected for playback.


Controls:
- Play button: Plays the selected song
- Stop button: Stops playback
- Track skip : Starts playing the next tune in the selected direction
- Click the selected tune to bring up a list of tunes. Select a tune and click the play button.
- Move the volume slider to change the volume (in the middle is the default by ArmA).
- close the player by pressing escape.


Troubleshooting:
- Make sure that you run this addon in a modfolder, and that the ignorelist is in @HULK_OggPlayer\Addons\
If you find that installing this addon does not do anything at all, please try to run it without any other addons/mod before reporting an error. Also make sure your ingame music volume is turned up high enough and
that the mission you're playing does not mute the music volume.
This addon might conflict with any addons adding EventHandlers not added through the Extended_Init_EventHandlers addon.



How to add your own music:
You need a little config file in the addon folder:
class CfgPatches
{
class HULK_SoundOfMusic
{
 units[] = {};
 weapons[] = {};
 requiredVersion = 1.08;
 requiredAddons[] = {};
};
};


class CfgMusic  
{
class MarchAirBorne
{
name = "01 Airborne";
sound[] = {"\HULK_SoundOfMusic\March1.ogg",1,1 };
};
class MarchHoilero
{
name = "02 Hoilero";
sound[] = {"\HULK_SoundOfMusic\March2.ogg",1,1 };
};
class MarchMontGomery
{
name = "03 Montomerys march";
sound[] = {"\HULK_SoundOfMusic\March3.ogg",1,1 };
};
class MarchGoblins
{
name = "04 March of the Goblins";
sound[] = {"\HULK_SoundOfMusic\March4.ogg",1,1 };
};
};
Just make sure the path in CfgPatches matches the name of your folder (and the filename paths, obviously), and you should be ok.
You can use Audacity for converting songs to .ogg format.


Change log:
v0.9
- Added the music player to soldiers
- Removed white edge around player background picture
- Made the player remember the last played track
- Enabled skip track functionality
- Added ignore list

V0.85
- Quick bugfix (player not added to units starting in vehicles)

v0.8:
- Added the music player to soldiers
- Removed white edge around player background picture
- Made the player remember the last played track
- Enabled skip track functionality
- Added ignore list


Notes:
If you find that installing this addon does not do anything at all, please try to run it without any other addons/mod before reporting an error. This addon might conflict with any addons adding EventHandlers not added through the Extended_Init_EventHandlers addon.


Forum topic:
- BIS




Enable javascript to be able to download from Armaholic please!



Tags: No tags