Jump to content
Sign in to follow this  
stingfish74

Personal Track Addon

Recommended Posts

gents,

i'm at a loss and really need some help.

goal:

i want to create a simple addon that places tracks in the editor>triggers>effects>track listing.

i've converted my tracks to .ogg files, tested and they are fine.

Issue: when i package up my .pbo file and navigate to the editor to test my tracks are not available in the list of tracks. i think its my config and would like to ask if you can take a look and helo.

What i did.

1. created a folder = reconmusic

2. created a sub folder = music

3. placed my .ogg files in the music folder reconmusic/music/GR_Main_Theme_BB

4. created my config file, and placed it in the reconmusic folder

5. pbo'd it and tested, nothing shows. :(

Here my my config. Am i missing anything?

class CfgPatches

{

class reconmusic

{

units[] = {};

weapons[] = {};

requiredVersion = 0.1000;

};

};

class CfgMusic

{

class GR_Main_Theme_BB

{

name = "$STR_GR_Main_Theme_BB";

sound[] = {"\reconmusic\music\GR_Main_Theme_BB.ogg",1.0,1.0};

};

};

class CfgSFX

class FunMusicSfx

{

sounds[] = {"music1"};

name = "GR_Main_Theme_BB";

music1[] = {"\reconmusic\music\GR_Main_Theme_BB.ogg",0.0032,1,30,1,0,0,0};

empty[] = {"",0,0,0,0,0,0,0};

};

};

Share this post


Link to post
Share on other sites

Missing opening bracket.

Do yourself a favor, get Notepad++ and the plugin from i0n0s. :)

class CfgPatches
{
class reconmusic
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
};
};
class CfgMusic
{
class GR_Main_Theme_BB
{
	name = "$STR_GR_Main_Theme_BB";
	sound[] = {"\reconmusic\music\GR_Main_Theme_BB.ogg",1,1};
};
};
class CfgSFX
{
class FunMusicSfx
{
	sounds[] = {"music1"};
	name = "GR_Main_Theme_BB";
	music1[] = {"\reconmusic\music\GR_Main_Theme_BB.ogg",0.0032,1,30,1,0,0,0};
	empty[] = {"",0,0,0,0,0,0,0};
};
};

Share this post


Link to post
Share on other sites

Hm try to find another addon that adds custom music and compare the configs.

Share this post


Link to post
Share on other sites

thanks for the feedback.

after several attempts at making my own custom music addon i am unable to. i dont understand the issue and i think its a problem with my config. everything else is fine.

request: if anyone has a config and pulls music into the editor/track menu please post it for me to reuse. i'll just update the paths to my music.

i know how to do this using a mission sound method, but id rather have the music available in the editor at all times for just quick plays.

thanks all.

thanks!

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
Sign in to follow this  

×