Jump to content
Sign in to follow this  
D.murphy man

A Music question + script help

Recommended Posts

Hey guys,

First of i have a question, In MP isit possible for each indivisual player to hear different music? As in my latest mission im working on the players will be split up and scatterd over the island for a while through out the mission. And i was going to make a script that changes the music when the player comes undr attack, so if one players gettin attacked, i dont want the other player on the other side of the island to hear the 'attack' music.

Second Question.

Edit:Scrap this question i just solved it my self yay.gif

Cheers,

Murphy

Share this post


Link to post
Share on other sites

so how did you solve it? becuase im looking for exactly the same thing for my  goodnight.gif  pistols.gif  band.gif mission = Scary Mission

Share this post


Link to post
Share on other sites

I did it like so:

Quote[/b] ]#start

Hint "1"

_songs = ["DropsofSilence","TheSuicidalClockChime","IntotheDepthsofSelfDis

covery","Betrayal","DustmanSewer"]

_rndsong = random (count _songs)

_rndsong = _rndsong - (_rndsong mod 1)

_song = _songs select _rndsong

~2

?_rndsong<=1:goto "Drops"

~1

?_rndsong<=2:goto "Suicidal"

~1

?_rndsong<=3:goto "Depths"

~1

?_rndsong<=4:goto "Bet"

~1

?_rndsong<=5:goto "Dust"

~1

?_rndsong>=5:goto "Dust"

hint "Exit!"

exit

#Drops

playmusic _song

hint "drop"

0 fademusic 0.5

~164

5 fademusic 0

~8

goto "start"

#Suicidal

playmusic _song

hint "suid"

0 fademusic 0.5

~60

5 fademusic 0

~8

goto "start"

#Depths

playmusic _song

hint "depth"

0 fademusic 0.5

~165

5 fademusic 0

~8

goto "start"

#Bet

playmusic _song

0 fademusic 0.5

hint "betrayal"

~140

5 fademusic 0

~8

goto "start"

#Dust

playmusic _song

0 fademusic 0.5

hint "Dust"

~287

5 fademusic 0

~8

goto "start"

I just edited a script i found whiles searching the forums for the same questions im asking now wink_o.gif im sure this isnt the best way to go about it but it works!

Share this post


Link to post
Share on other sites

*bump*

Ok i been here long enough to know bumpings frowned upon so ill add somthing constructiv tounge2.gif

Quote[/b] ]It's possible. At least if the players arent on the same side

I got this answer on weather In MP isit possible for each indivisual player to hear different music.

So.. can any one go a bit more in depth on this? isit true? is there a work around? do i have to do somthing in my script like ?player==man1: goto "playman1smusic" etc...

cheers,

Murph

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  

×