Jump to content
Sign in to follow this  
MacRae

Giving a Map + Getting Intro Music

Recommended Posts

Hey Guys,

Giving a map:

I have just recently asked this but the coding has changed again,

so in the initialization how do i add an map to a player?

Getting Intro Music:

I want to know how to make music play as a player joins into the server...

Noob question again but how do i do it guys

Need this as soon as possible! :)

~MacRae~

---------- Post added at 22:50 ---------- Previous post was at 22:22 ----------

Anyone?? :D

Share this post


Link to post
Share on other sites

There have been threads about these exact issues in the last week. Search or browse. :)

Share this post


Link to post
Share on other sites

I have been searching, and i have worked out the map problem,

but i just cant get intro music to work ...

Share this post


Link to post
Share on other sites

Place down a trigger, condition of time > 1 then click Effects button at the bottom then pick a Track from Tracks. OK, OK. Enjoy.

Share this post


Link to post
Share on other sites

No i know how to do that, but what i want is a Custom .ogg file that plays as you spawn into the mission

Share this post


Link to post
Share on other sites

Save your mysong.ogg into music folder under your mission then put this in your description.ext:

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

// Definition for each sound
class mysong
{
	name = "mysong"; // Name for mission editor
	sound[] = {\music\mysong.ogg, db + 0, 1.0};
	titles[] = {0, ""};
};
};

Then do as above but pick mysong from the track list.

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  

×