Author Topic: Zone Music  (Read 1495 times)

I think the name speaks for itself, but just as a recap...

Now: We put music bricks in several different locations to play inside a room or something, where someone far away might not be able to hear.

What I think should be made: Music bricks that can be "connected" to zone bricks and the music would play inside the zones, or, a zone brick that acts exactly like a music brick, except the sound doesn't leave the zone.


This is a good idea, I'll see what I can do when I have some time.

I've been wanting this for a long time.
/support

It can be (somewhat) done with events:
onPlayerEnterZone > namedBrick > MusicBrick1 > setMusic > MusicName1
onPlayerExitZone > namedBrick > MusicBrick1 > setMusic > NONE

It would probably blow up as soon as two people were inside it but it would work for single player instances

But aside from that, this would be better and easier so it's probably best that we have this.

What about editing the code for the zone brick itself? Like, take the music brick's music code, then paste it into the zone brick's code. If anyone knows for a fact that that doesn't work, tell me. Otherwise, Imma try that.

Ok...that didn't work: I can't find the code for the music brick.

Onzoneenter>client>2dplay>song
onzoneexit>client>2dstop

you need zonebricks and 2d music system addons

Onzoneenter>client>2dplay>song
onzoneexit>client>2dstop

you need zonebricks and 2d music system addons
No thanks this has to work without client-sided addons

Then make it work without client-sided addons zeblote

Then make it work without client-sided addons zeblote
This is a good idea, I'll see what I can do when I have some time.
Melting Plastic, the zones creator, is working on it.

Melting Plastic, the zones creator, is working on it.
He won't get it done unless he can find a way to play a song to specific clients entirely server-sided or somehow make a cube audio emitter

No thanks this has to work without client-sided addons
Good luck then. Because you're either working with the spherical music bricks, music that covers the entire server, or you're forcing client add-ons.

He won't get it done unless he can find a way to play a song to specific clients entirely server-sided or somehow make a cube audio emitter
You can play a song to specific clients, but you can't stop the song. I already suggested this to Badspot and he said no, so I had to make a client sided add-on.

You can play a song to specific clients, but you can't stop the song.
Well, that's crap.

can you play like two songs at once to the same client?

Well, that's crap.

can you play like two songs at once to the same client?
Yes.

can you play like two songs at once to the same client?
REMIX