Jump to content

In the need of help for my music addon

Recommended Posts

Hey there,  CP here.


I started creating my own mod which includes music for my mission. However, it looks like i set everything up correctly, but well, the RPT shows me, that the music is not found. ("Music music0 not found")

Path of my Soundfile is "@console\Ambient.pbo\music\Soundtrack_0.ogg"





CfgMusic in config.cpp

class CfgMusic    
// List of tracks (.ogg files without the .ogg extension)
tracks[] = {"music0"};

class music0
	name = "music0"; // Name for mission editor
	sound[] = {"\Ambient\music\Soundtrack_0.ogg", db + 0, 1.0};



I am using the command "Playmusic "music0";"


CfgPatches is also included.

As far as I know, I dont need to include the cfgMusic in the description.ext, but I could be wrong here.

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