Merge pull request #7010 from imgntn/cellscience

Decrease Cell Science Volume
This commit is contained in:
Eric Levin 2016-02-03 17:46:56 -08:00
commit 32fc973698
5 changed files with 7 additions and 8 deletions

View file

@ -8,7 +8,7 @@
(function() {
var self = this;
var baseURL = "https://hifi-content.s3.amazonaws.com/DomainContent/CellScience/";
var version = 8;
var version = 9;
this.preload = function(entityId) {
self.soundPlaying = false;
self.entityId = entityId;
@ -20,7 +20,7 @@
stereo: true,
loop: true,
localOnly: true,
volume: 0.5
volume: 0.035
};
this.sound = SoundCache.getSound(self.soundURL);
@ -36,7 +36,6 @@
}
}
this.enterEntity = function(entityID) {
print("entering audio zone");
if (self.sound.downloaded) {
@ -49,7 +48,6 @@
}
this.leaveEntity = function(entityID) {
print("leaving audio area " + self.userData.name);
if (self.soundPlaying !== false) {

View file

@ -24,7 +24,7 @@
stereo: true,
loop: false,
localOnly: true,
volume: 0.5
volume: 0.035
};
this.sound = SoundCache.getSound(this.soundURL);
}

View file

@ -22,7 +22,7 @@
stereo: true,
loop: false,
localOnly: true,
volume: 0.5,
volume: 0.035,
position: this.position
};
this.sound = SoundCache.getSound(this.soundURL);

View file

@ -25,8 +25,9 @@
loop: false,
localOnly: false,
position: this.position,
volume: 0.5
volume: 0.035
};
this.teleportSound = SoundCache.getSound("https://hifi-content.s3.amazonaws.com/DomainContent/CellScience/Audio/whoosh.wav");
//print('Script.clearTimeout PRELOADING A ZOOM ENTITY')
print(" portal destination is " + portalDestination);

View file

@ -5,7 +5,7 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var version = 1003;
var version = 1004;
var cellLayout;
var baseLocation = "https://hifi-content.s3.amazonaws.com/DomainContent/CellScience/";