mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Add Assets and update path to them
This commit is contained in:
parent
9c78c8fb3a
commit
3f73c7ba6d
6 changed files with 6 additions and 5 deletions
BIN
scripts/system/assets/images/Bokeh-Particle.png
Normal file
BIN
scripts/system/assets/images/Bokeh-Particle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
scripts/system/assets/models/equip-Fresnel-3.fbx
Normal file
BIN
scripts/system/assets/models/equip-Fresnel-3.fbx
Normal file
Binary file not shown.
BIN
scripts/system/assets/sounds/3rdbeat_success_bell.wav
Normal file
BIN
scripts/system/assets/sounds/3rdbeat_success_bell.wav
Normal file
Binary file not shown.
BIN
scripts/system/assets/sounds/4beat_sweep.wav
Normal file
BIN
scripts/system/assets/sounds/4beat_sweep.wav
Normal file
Binary file not shown.
|
@ -24,7 +24,7 @@ Script.include("/~/system/libraries/cloneEntityUtils.js");
|
|||
Script.include("/~/system/libraries/utils.js");
|
||||
|
||||
|
||||
var DEFAULT_SPHERE_MODEL_URL = Script.getExternalPath(Script.ExternalPaths.HF_Content, "/alan/dev/equip-Fresnel-3.fbx");
|
||||
var DEFAULT_SPHERE_MODEL_URL = Script.resolvePath("../../assets/models/equip-Fresnel-3.fbx");
|
||||
var EQUIP_SPHERE_SCALE_FACTOR = 0.65;
|
||||
|
||||
|
||||
|
|
|
@ -35,8 +35,9 @@
|
|||
var CONNECTING_TIME = 100; // ms One interval.
|
||||
var PARTICLE_RADIUS = 0.15; // m
|
||||
var PARTICLE_ANGLE_INCREMENT = 360 / 45; // 1hz
|
||||
var HANDSHAKE_SOUND_URL = Script.getExternalPath(Script.ExternalPaths.HF_Content, "/davidkelly/production/audio/4beat_sweep.wav");
|
||||
var SUCCESSFUL_HANDSHAKE_SOUND_URL = Script.getExternalPath(Script.ExternalPaths.HF_Content, "/davidkelly/production/audio/3rdbeat_success_bell.wav");
|
||||
var HANDSHAKE_SOUND_URL = Script.resolvePath("assets/sounds/4beat_sweep.wav");
|
||||
var SUCCESSFUL_HANDSHAKE_SOUND_URL = Script.resolvePath("assets/sounds/3rdbeat_success_bell.wav");
|
||||
var PARTICLE_TEXTURE = Script.resolvePath("assets/images/Bokeh-Particle.png");
|
||||
var PREFERRER_HAND_JOINT_POSTFIX_ORDER = ['Middle1', 'Index1', ''];
|
||||
var HAPTIC_DATA = {
|
||||
initial: { duration: 20, strength: 0.6 }, // duration is in ms
|
||||
|
@ -60,7 +61,7 @@
|
|||
"radiusStart": 0.0025,
|
||||
"emitSpeed": 0.02,
|
||||
"speedSpread": 0.015,
|
||||
"textures": Script.getExternalPath(Script.ExternalPaths.HF_Content, "/alan/dev/Particles/Bokeh-Particle.png"),
|
||||
"textures": PARTICLE_TEXTURE,
|
||||
"color": {"red": 255, "green": 255, "blue": 255},
|
||||
"colorFinish": {"red": 0, "green": 164, "blue": 255},
|
||||
"colorStart": {"red": 255, "green": 255, "blue": 255},
|
||||
|
@ -92,7 +93,7 @@
|
|||
"radiusStart": 0.04,
|
||||
"speedSpread": 0.00,
|
||||
"radiusSpread": 0.0,
|
||||
"textures": Script.getExternalPath(Script.ExternalPaths.HF_Content, "/alan/dev/Particles/Bokeh-Particle.png"),
|
||||
"textures": PARTICLE_TEXTURE,
|
||||
"color": {"red": 200, "green": 170, "blue": 255},
|
||||
"colorFinish": {"red": 0, "green": 134, "blue": 255},
|
||||
"colorStart": {"red": 185, "green": 222, "blue": 255},
|
||||
|
|
Loading…
Reference in a new issue