VeteranGames

Music upon joining the server

8 posts in this topic

description.ext

 

 

class CfgSounds
{
    sounds[] = {Intro};
    class Intro
    {
        name = "Intro";
        sound[] = {"\custom\intro.ogg", 1, 1};
        titles[] = {};
    };
};

 

create folder called custom in you mpmission folder after you extract the pbo..drop the song make it an ogg format and call it like that

  • Like 2

Share this post


Link to post
Share on other sites
Advertisement

description.ext

 

 

class CfgSounds
{
    sounds[] = {Intro};
    class Intro
    {
        name = "Intro";
        sound[] = {"\custom\intro.ogg", 1, 1};
        titles[] = {};
    };
};

 

create folder called custom in you mpmission folder after you extract the pbo..drop the song make it an ogg format and call it like that

then u need to call this sound on a sqf file. With this u definet it only. 

Share this post


Link to post
Share on other sites

This is a long long dead thread but i was wondering can it be possible to play a random 1 of a list of say 6-7 tacks? so each time you or anyone loads in they may get a different song to the last time I or they logged in 

Edited by -SnowMan-

Share this post


Link to post
Share on other sites

i have this on my server, thing is i want to add ANOTHER sound file for a missile warning script. any ideas on how to add multiple sound files in that file? this below AS IS call and error saying the sound file is allready defined with BOTH

class CfgSounds
{
    sounds[] = {Intro};
    class Intro
    {
        name = "Intro";
        sound[] = {"\intro\intro.ogg", 1, 1};
        titles[] = {};
    };
    sounds[] = {};
    class MWarningAlarm
    {
        name = "MWarningAlarm";
        sound[] = {"custom\MWarning\alarm.ogg", 0.4, 0.8};
        titles[] = {};
    };
};

Share this post


Link to post
Share on other sites

LMAOOOO, sorry was drunk as fk last night and saw my own error when i checked in for an answer

rofl! love me some Budweiser and coding! i forgot to remove the };  in between the sound files

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.