mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-22 22:34:15 +02:00
renamed weapons folder to exterminatorGame
This commit is contained in:
parent
ed1ee50865
commit
f77b7b9105
4 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
Script.include("../libraries/utils.js");
|
Script.include("../libraries/utils.js");
|
||||||
Script.include("../libraries/constants.js");
|
Script.include("../libraries/constants.js");
|
||||||
|
|
||||||
|
@ -166,7 +167,9 @@ function fire(side, value) {
|
||||||
velocity: Vec3.multiply(shotDirection, GUN_FORCE)
|
velocity: Vec3.multiply(shotDirection, GUN_FORCE)
|
||||||
});
|
});
|
||||||
createEntityHitEffect(intersection.intersection);
|
createEntityHitEffect(intersection.intersection);
|
||||||
} else {
|
}
|
||||||
|
|
||||||
|
if (intersection.properties.name === "rat") {
|
||||||
|
|
||||||
}
|
}
|
||||||
//Attempt to call entity method's shot method
|
//Attempt to call entity method's shot method
|
Loading…
Reference in a new issue