| @@ -30,8 +30,8 @@ · 29 unmodified lines |
| 30 | this.forceMultiplier = 1; | 30 | this.forceMultiplier = 1; |
| 31 | this.laserLength = 100; | 31 | this.laserLength = 100; |
| 32 | | 32 | |
| 33 | this.fireSound = SoundCache.getSound("http://hifi-production.s3.amazonaws.com/tutorials/pistol/GUN-SHOT2.raw"); | 33 | this.fireSound = SoundCache.getSound("https://cdn-1.vircadia.com/us-e-1/Developer/Tutorials/pistol/GUN-SHOT2.raw"); |
| 34 | this.ricochetSound = SoundCache.getSound("http://hifi-production.s3.amazonaws.com/tutorials/pistol/Ricochet.L.wav"); | 34 | this.ricochetSound = SoundCache.getSound("https://cdn-1.vircadia.com/us-e-1/Developer/Tutorials/pistol/Ricochet.L.wav"); |
| 35 | this.playRichochetSoundChance = 0.1; | 35 | this.playRichochetSoundChance = 0.1; |
| 36 | this.fireVolume = 0.2; | 36 | this.fireVolume = 0.2; |
| 37 | this.bulletForce = 10; | 37 | this.bulletForce = 10; |
| @@ -220,7 +220,7 @@ · 182 unmodified lines |
| 220 | "alphaStart": 0, | 220 | "alphaStart": 0, |
| 221 | "alphaFinish": 0, | 221 | "alphaFinish": 0, |
| 222 | "additiveBlending": true, | 222 | "additiveBlending": true, |
| 223 | "textures": "http://hifi-production.s3.amazonaws.com/tutorials/pistol/star.png" | 223 | "textures": "https://cdn-1.vircadia.com/us-e-1/Developer/Tutorials/pistol/star.png" |
| 224 | }); | 224 | }); |
| 225 | | 225 | |
| 226 | Script.setTimeout(function() { | 226 | Script.setTimeout(function() { |
| @@ -270,7 +270,7 @@ · 43 unmodified lines |
| 270 | "alphaStart": 0, | 270 | "alphaStart": 0, |
| 271 | "alphaFinish": 0, | 271 | "alphaFinish": 0, |
| 272 | "additiveBlending": 0, | 272 | "additiveBlending": 0, |
| 273 | "textures": "http://hifi-production.s3.amazonaws.com/tutorials/pistol/smoke.png" | 273 | "textures": "https://cdn-1.vircadia.com/us-e-1/Developer/Tutorials/pistol/smoke.png" |
| 274 | }); | 274 | }); |
| 275 | Script.setTimeout(function() { | 275 | Script.setTimeout(function() { |
| 276 | Entities.editEntity(smoke, { | 276 | Entities.editEntity(smoke, { |
| @@ -333,7 +333,7 @@ · 56 unmodified lines |
| 333 | "alphaStart": 0, | 333 | "alphaStart": 0, |
| 334 | "alphaFinish": 0, | 334 | "alphaFinish": 0, |
| 335 | "additiveBlending": true, | 335 | "additiveBlending": true, |
| 336 | "textures": "http://hifi-production.s3.amazonaws.com/tutorials/pistol/star.png" | 336 | "textures": "https://cdn-1.vircadia.com/us-e-1/Developer/Tutorials/pistol/star.png" |
| 337 | }); | 337 | }); |
| 338 | Script.setTimeout(function() { | 338 | Script.setTimeout(function() { |
| 339 | Entities.editEntity(flash, { | 339 | Entities.editEntity(flash, { |