Start Up Musik

Doniel

New Member
Hey guys :) iam new here and i have a question about some server things...

Pwnoz0r's server is dreamfull Thx to him :)

my problem is that i will have a startup sountrack when i join my server :)
i dont wanna do this with a trigger...
just wenn i am at the server menu! than the musik has to start...
i creat a

// Music
class CfgMusic {
tracks[]= { Track1 };
class Track1 {
name = "Track1";
sound[] = {track\track1.ogg};
};
};
in my server "disciption.ext"

but how can i start this soundtrack?!

thx 4 your help :)
greetings Doniel!

sry my englisch is totaly bad :(

Sry i have posted the theard in the Mission folder before ... sry 4 that!
 
Hey guys :) iam new here and i have a question about some server things...​
Pwnoz0r's server is dreamfull Thx to him :)
my problem is that i will have a startup sountrack when i join my server :)
i dont wanna do this with a trigger...​
just wenn i am at the server menu! than the musik has to start...​
i creat a​
// Music​
class CfgMusic {​
tracks[]= { Track1 };​
class Track1 {​
name = "Track1";​
sound[] = {track\track1.ogg};​
};​
};​
in my server "disciption.ext"​
but how can i start this soundtrack?!​
thx 4 your help :)
greetings Doniel!​
sry my englisch is totaly bad :(

Sry i have posted the theard in the Mission folder before ... sry 4 that!
What exactly do you want it do? Play in the lobby?
 
Hey guys :) iam new here and i have a question about some server things...​
Pwnoz0r's server is dreamfull Thx to him :)
my problem is that i will have a startup sountrack when i join my server :)
i dont wanna do this with a trigger...​
just wenn i am at the server menu! than the musik has to start...​
i creat a​
// Music​
class CfgMusic {​
tracks[]= { Track1 };​
class Track1 {​
name = "Track1";​
sound[] = {track\track1.ogg};​
};​
};​
in my server "disciption.ext"​
but how can i start this soundtrack?!​
thx 4 your help :)
greetings Doniel!​
sry my englisch is totaly bad :(

Sry i have posted the theard in the Mission folder before ... sry 4 that!
It would be nice to know what you are wanting!
 
I want a song (ogg format) occurs when i join the server!
So everyone who connects to my server via Lan has to hear this particular soundtrack, when they are in the server lobby.
is this possible?
 
I want a song (ogg format) occurs when i join the server!
So everyone who connects to my server via Lan has to hear this particular soundtrack, when they are in the server lobby.
is this possible?

I don't think it's possible to make a trigger in the lobby because the database hasn't recognized anythings happened yet. I could be wrong.
 
I don't believe so. The server basically has to wait for a player to;
Code:
 _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
The event the server seeing is the player respawning so you'd have to find a way for the server to find a trigger point when a player connects to the lobby.
 
my consideration is the following...

if i join my server, the server calls me, player XY has joind, from this point the server w8s 4 seconds and plays the sountrack after the countdown...
in my minde the connection to the server itself is my trigger!
but i dunno how to realyz it?!
 
The other thing I just realized, when the player is in the lobby they haven't loaded any of your mission files yet. So it's impossible for them to join and have a file executed straight from the lobby.
 
thats a death argument xD

ok and what about the loadingscreen part? the players can also see my own loadingscreen, because of this:

loadScreen="loadscreen\loading.paa";

is there a way like kinda this?

musik="track\track1.ogg"
 
I don't see a way, but I'm not the most experienced out there so I very well could be wrong. Hopefully someone can help you out. Sorry. :(
 
:) i have change my consideration and wanna do this with a trigger, did anybody can explane me how to do it?

here is my idea:

person joins the server (lobby), and than join the game (download of the special gamecontent), if he is ingame, a short soundtrack has to start.

how to realiz this? pl help out :)
greetings doniel
 
Ok ive done it!

heres the way it works:

backup your files first!
go to your "X:\Program Files\Bohemia Interactive\ArmA 2\mpmissions" or wherever your ARMA2 is installed.
copy the "dayz_1.chernarus" to your desktop. (the 1 could be nother number)

go into the copyed folder on your desktop and creat a new folder called "sound".
covert your soundfile into the .ogg format and place it in the new created folder.
i called the file "sound.ogg".

go back to the copyed folder and open the "description.ext".
scoll down and place the following lines at the bottom:

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

ok the hardest part is done :)

the next thing youve to do is to open chernarus map with the Editor (3D).
creat a new trigger and set the axis to what ever you want.
I set em to 15000, to cash the hole map.

klick into the empy folder "on Act" and past this line into the folder:

playSound "sound"

save it to a name of your ideas and "merge" it with the original DayZ map.
copy the merge map into the desktop folder "dayz_1.chernarus" and copy the hole folder back to your main directory:
"X:\Program Files\Bohemia Interactive\ArmA 2\mpmissions"
or wherever your ARMA2 is installed.

thats it!

if someone needs a video-tutorial, i found a good one that explains this very well!
see you later,

Doniel
 
Back
Top