mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
added collision sounds to some toys
This commit is contained in:
parent
948479b0e8
commit
e4199439af
3 changed files with 6 additions and 1 deletions
|
@ -1277,7 +1277,6 @@ function update() {
|
|||
Messages.subscribe('Hifi-Hand-Disabler');
|
||||
|
||||
handleHandDisablerMessages = function(channel, message, sender) {
|
||||
|
||||
if (sender === MyAvatar.sessionUUID) {
|
||||
if (message === 'left') {
|
||||
handToDisable = LEFT_HAND;
|
||||
|
|
|
@ -241,6 +241,7 @@
|
|||
gravity: BOW_GRAVITY,
|
||||
shapeType: 'compound',
|
||||
compoundShapeURL: COLLISION_HULL_URL,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/bow_fall.L.wav",
|
||||
script: bowScriptURL,
|
||||
userData: JSON.stringify({
|
||||
resetMe: {
|
||||
|
@ -649,6 +650,7 @@
|
|||
z: 0.08
|
||||
},
|
||||
collisionsWillMove: true,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/flashlight_drop.L.wav",
|
||||
gravity: {
|
||||
x: 0,
|
||||
y: -3.5,
|
||||
|
@ -1185,6 +1187,7 @@
|
|||
z: 0.07
|
||||
},
|
||||
collisionsWillMove: true,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/SpryPntCnDrp1.L.wav",
|
||||
shapeType: 'box',
|
||||
gravity: {
|
||||
x: 0,
|
||||
|
|
|
@ -220,6 +220,7 @@ MasterReset = function() {
|
|||
gravity: BOW_GRAVITY,
|
||||
shapeType: 'compound',
|
||||
compoundShapeURL: COLLISION_HULL_URL,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/bow_fall.L.wav",
|
||||
script: bowScriptURL,
|
||||
userData: JSON.stringify({
|
||||
resetMe: {
|
||||
|
@ -629,6 +630,7 @@ MasterReset = function() {
|
|||
z: 0.08
|
||||
},
|
||||
collisionsWillMove: true,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/flashlight_drop.L.wav",
|
||||
gravity: {
|
||||
x: 0,
|
||||
y: -3.5,
|
||||
|
@ -1165,6 +1167,7 @@ MasterReset = function() {
|
|||
z: 0.07
|
||||
},
|
||||
collisionsWillMove: true,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/SpryPntCnDrp1.L.wav",
|
||||
shapeType: 'box',
|
||||
gravity: {
|
||||
x: 0,
|
||||
|
|
Loading…
Reference in a new issue