Jump to content

Recommended Posts

KLPQ Music Radio

Showcase Video

 

Configuration Video

 

INFO

This is a configurable music radio mod. It provides an ability to play music inside of the vehicles.

How it works in-game and how to configure it for your community is explained in the videos above.

Mod itself doesn't come with any music. It's up to you to add anything you want.

Check readme for more info about the mod.

 

Readme.

https://github.com/rebelvg/klpq_musicRadio/blob/master/README.md

 

Changelog.
Initial release - 1.0 (12.04.2017)

https://github.com/rebelvg/klpq_musicRadio/commits/master

 

Sources.

https://github.com/rebelvg/klpq_musicRadio

 

CREDITS / THANKS

Rebel - configs, scripting, tools.
Facel - icons.

 

DOWNLOADS

Steam Workshop

GitHub

  • Like 24
  • Thanks 1

Share this post


Link to post
Share on other sites

OUTSTANDING!!!!!

 

One question though and you may have answered it in the configuration video; which I have not watched yet. Is it possible to have multiple radio stations? Such as a station or location/vehicles that play predominatly US music and then another that would play songs on radio from Mexico, Germany, China, etc...

 

Share this post


Link to post
Share on other sites
1 minute ago, Nichols said:

OUTSTANDING!!!!!

 

One question though and you may have answered it in the configuration video; which I have not watched yet. Is it possible to have multiple radio stations? Such as a station or location/vehicles that play predominatly US music and then another that would play songs on radio from Mexico, Germany, China, etc...

 

 

Short answer is no, not right now. Mod supports themes, but they are global. But, that's a nice idea you have, I think I'll add that at some point.

  • Like 2

Share this post


Link to post
Share on other sites

Glad you like the idea @rebelvg; that is what I am here for. No brain power to implement the idea but plenty of ideas for people to work on.

Share this post


Link to post
Share on other sites

Oi rebel.

A friend of mine has done everything according to your videoinstructions,

but he cant hear the music ingame.

Any idea what could have gone wrong?

(sorry for bad english)

 

http://steamcommunity.com/id/Tschingta/screenshot/92730090849829384

 

(this is all he is seeing)

Edited by schaefer
Picture

Share this post


Link to post
Share on other sites
26 minutes ago, schaefer said:

Oi rebel.

A friend of mine has done everything according to your videoinstructions,

but he cant hear the music ingame.

Any idea what could have gone wrong?

(sorry for bad english)

 

http://steamcommunity.com/id/Tschingta/screenshot/92730090849829384

 

(this is all he is seeing)

 

Send me the config that the program generated. Looks like some tags or filenames have some forbidden symbols.

  • Like 1

Share this post


Link to post
Share on other sites
Spoiler

class CfgPatches {
    class klpq_musicRadio_configs {
        units[] = {};
        weapons[] = {};
        requiredVersion = 1;
        requiredAddons[] = {};
    };
};

class CfgMusic {
    tracks[] = {};

    class klpq_musicRadio_0 {
        sound[] = {"radio\mix\Amazing_Grace.ogg", db+3, 1};
        tag = "klpq_musicRadio";
        theme = "mix";
        duration = 313;
        artist = "Amazing Grace";
        title = "Best Version By Far_";
    };
 class klpq_musicRadio_1 {
        sound[] = {"radio\mix\ATR_Speed.ogg", db+3, 1};
        tag = "klpq_musicRadio";
        theme = "mix";
        duration = 170;
        artist = "";
        title = "";
    };
    class klpq_musicRadio_2 {
        sound[] = {"radio\mix\Isao_Tomita_Aranjuez.ogg", db+3, 1};
        tag = "klpq_musicRadio";
        theme = "mix";
        duration = 385;
        artist = "Isao Tomita";
        title = "Aranjuez (Rodrigo)";
    };
    class klpq_musicRadio_3 {
        sound[] = {"radio\mix\Pelageja.ogg", db+3, 1};
        tag = "klpq_musicRadio";
        theme = "mix";
        duration = 311;
        artist = "_______";
        title = "___, __ __ ______. HD _________ ____.";
    };
 class CfgSounds {
    tracks[] = {};

    class klpq_musicRadio_0 {
        sound[] = {"radio\mix\Amazing_Grace.ogg", db+6, 1, 100};
        titles[] = {};
    };
    class klpq_musicRadio_0_loud {
        sound[] = {"radio\mix\Amazing_Grace.ogg", db+12, 1, 500};
        titles[] = {};
    };
    class klpq_musicRadio_1 {
        sound[] = {"radio\mix\ATR_Speed.ogg", db+6, 1, 100};
        titles[] = {};
    };
    class klpq_musicRadio_1_loud {
        sound[] = {"radio\mix\ATR_Speed.ogg", db+12, 1, 500};
        titles[] = {};
    };
    class klpq_musicRadio_2 {
        sound[] = {"radio\mix\Isao_Tomita_Aranjuez.ogg", db+6, 1, 100};
        titles[] = {};
    };
 class klpq_musicRadio_2_loud {
        sound[] = {"radio\mix\Isao_Tomita_Aranjuez.ogg", db+12, 1, 500};
        titles[] = {};
    };
    class klpq_musicRadio_3 {
        sound[] = {"radio\mix\Pelageja.ogg", db+6, 1, 100};
        titles[] = {};
    };
    class klpq_musicRadio_3_loud {
        sound[] = {"radio\mix\Pelageja.ogg", db+12, 1, 500};
        titles[] = {};
    };
};

 

 

I hope this helps?! my friend send this to me via steamchat.

(can the metadatainside the ogg. contain any special carakters?)

Share this post


Link to post
Share on other sites
1 minute ago, schaefer said:
  Reveal hidden contents

class CfgPatches {
    class klpq_musicRadio_configs {
        units[] = {};
        weapons[] = {};
        requiredVersion = 1;
        requiredAddons[] = {};
    };
};

class CfgMusic {
    tracks[] = {};

    class klpq_musicRadio_0 {
        sound[] = {"radio\mix\Amazing_Grace.ogg", db+3, 1};
        tag = "klpq_musicRadio";
        theme = "mix";
        duration = 313;
        artist = "Amazing Grace";
        title = "Best Version By Far_";
    };
 class klpq_musicRadio_1 {
        sound[] = {"radio\mix\ATR_Speed.ogg", db+3, 1};
        tag = "klpq_musicRadio";
        theme = "mix";
        duration = 170;
        artist = "";
        title = "";
    };
    class klpq_musicRadio_2 {
        sound[] = {"radio\mix\Isao_Tomita_Aranjuez.ogg", db+3, 1};
        tag = "klpq_musicRadio";
        theme = "mix";
        duration = 385;
        artist = "Isao Tomita";
        title = "Aranjuez (Rodrigo)";
    };
    class klpq_musicRadio_3 {
        sound[] = {"radio\mix\Pelageja.ogg", db+3, 1};
        tag = "klpq_musicRadio";
        theme = "mix";
        duration = 311;
        artist = "_______";
        title = "___, __ __ ______. HD _________ ____.";
    };
 class CfgSounds {
    tracks[] = {};

    class klpq_musicRadio_0 {
        sound[] = {"radio\mix\Amazing_Grace.ogg", db+6, 1, 100};
        titles[] = {};
    };
    class klpq_musicRadio_0_loud {
        sound[] = {"radio\mix\Amazing_Grace.ogg", db+12, 1, 500};
        titles[] = {};
    };
    class klpq_musicRadio_1 {
        sound[] = {"radio\mix\ATR_Speed.ogg", db+6, 1, 100};
        titles[] = {};
    };
    class klpq_musicRadio_1_loud {
        sound[] = {"radio\mix\ATR_Speed.ogg", db+12, 1, 500};
        titles[] = {};
    };
    class klpq_musicRadio_2 {
        sound[] = {"radio\mix\Isao_Tomita_Aranjuez.ogg", db+6, 1, 100};
        titles[] = {};
    };
 class klpq_musicRadio_2_loud {
        sound[] = {"radio\mix\Isao_Tomita_Aranjuez.ogg", db+12, 1, 500};
        titles[] = {};
    };
    class klpq_musicRadio_3 {
        sound[] = {"radio\mix\Pelageja.ogg", db+6, 1, 100};
        titles[] = {};
    };
    class klpq_musicRadio_3_loud {
        sound[] = {"radio\mix\Pelageja.ogg", db+12, 1, 500};
        titles[] = {};
    };
};

 

 

I hope this helps?! my friend send this to me via steamchat.

 

If this is exactly what you're using, then this doesn't look right.

class CfgMusic is not closed anywhere, and it should be closed before class CfgSounds.

Other than that, it looks fine, just run the program and copy all and paste all into the config. Don't edit or don't copy it by blocks, it's all prepared right for the fast copy-paste.

And double check if you're packing everything correctly. If you want, PM me both PBOs, I can take a look.

  • Like 1

Share this post


Link to post
Share on other sites
4 minutes ago, bad benson said:

very cool! any chance for a none-ACE version?

 

It's planned. No ETA atm. But I still want to keep CBA as a dependency.

  • Like 2

Share this post


Link to post
Share on other sites

Hey Rebel!

My friend got it to work!!

Thanks for your quick replies and help.

  • Like 1

Share this post


Link to post
Share on other sites
1 minute ago, schaefer said:

Hey Rebel!

My friend got it to work!!

Thanks for your quick replies and help.

 

Glad you got it working, have fun!

  • Like 1

Share this post


Link to post
Share on other sites

Update for the tool.

https://github.com/rebelvg/klpq_musicRadio/releases/tag/1.0.1

 

It now uses md5 as a base for the classname.

Previously the tool generated classnames depending on the order of the songs in the folder, so if you added something new the order could change, breaking compatibility with missions that use classnames of the songs.

And old method didn't allow for packing new songs into other pbo since the new classnames would overwrite previous classnames.

Now, the classnames will always be the same unless the file was actually changed somehow. I wanted to actually build classnames using tags but it's not 100% reliable.

And now you can create music_config2.pbo and music_files2.pbo and just add it.

There's a progress bar in the program now and a copy to clipboard button.

 

In the next update for the arma code, I'll add a special function for mission makers to get all the list of the songs currently in your mod pack.

  • Like 1

Share this post


Link to post
Share on other sites

Can somebody pls uppload sample mission,i am failing to do settup cant get option on any of the objects.

And constantly getting an error Local variable in global space
0 = [_object, true] call klpq_musicRadio_fnc_addRadio;  in that line of code.

Share this post


Link to post
Share on other sites
32 minutes ago, DJankovic said:

Can somebody pls uppload sample mission,i am failing to do settup cant get option on any of the objects.

And constantly getting an error Local variable in global space
0 = [_object, true] call klpq_musicRadio_fnc_addRadio;  in that line of code.

 

You have to change "_object" to whatever you're using. If you're adding this code to the init box, you have to change "_object " to "this". In this case this will refer to the object.

 

Quote

0 = [this, true] call klpq_musicRadio_fnc_addRadio;

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×