Author Topic: Music everywhere  (Read 1425 times)

How would i create Server Music that you hear just everywhere
Or an AudioMusicLooping3d datablock that isn't earrape near the brick and silent far away

Use a 2D audio description.

Use a 2D audio description.
Why you no explain it noob-friendly

Why you no explain it noob-friendly

When defining the audioProfile datablock, set the description member field to a audioDescription datablock with the is2D member field set to true.

I still don't get it
D:
audioProfile datablock?


I still don't get it
D:
audioProfile datablock?
Code: [Select]
datablock AudioProfile(BlahBlahSound)
{
   filename    = "./BlahBlah.wav";
   description = audioDescription;
   is2D = true;
};

I mean music not sound


It's just a name.
I'm confused
I want a music brick that you can hear anywhere

i think one has already been made
edit: hmm, can't find it though, i'll check my addons later
« Last Edit: June 23, 2012, 02:44:23 PM by phflack »

i think one has already been made
edit: hmm, can't find it though, i'll check my addons later
I know there was one but I didn't find it

I made it and no it will not work the way you want it to.

It used to rely on the "Too Loud" error in order to prevent multiple players placing multiple music bricks.

I have no idea where it went.

well, it's in my addons i think
Server_2dMusic
description.txt
Code: [Select]
Title: 2D Music Script
Author: Chrono
Description: Makes a music datablock 2d so it covers the entire server.
server.cs
Code: [Select]
AudioMusicLooping3d.is3d = 0;
AudioMusicLooping3d.referenceDistance = 999999;
AudioMusicLooping3d.maxDistance = 999999;

so small that i don't think it's needed to upload it

Does it require the client to also have the add-on?

Does it require the client to also have the add-on?
It's a server-sided mod...