summaryrefslogtreecommitdiffstats
path: root/assets/weapons
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2022-10-29 00:30:16 -0400
committerMalfurious <m@lfurio.us>2022-10-29 00:30:16 -0400
commit90875a219cd8122a73cb5a6677406f9c517c123e (patch)
tree52492237a67b2843913f0586f1d1edb1358008e4 /assets/weapons
parentdb1712f718fd9d6161e02cee55763434187b5730 (diff)
downloadproject-s-wip/mika-googun-model.tar.gz
project-s-wip/mika-googun-model.zip
WIP Use new Goo Gun model on playerwip/mika-googun-model
This is a quick hack to enable the gun model for use. The Nozzle node (which previously also provided part of the gun geometry) is referenced by a script as the spawn location of projectiles, and so is added for compatibility.
Diffstat (limited to '')
-rw-r--r--assets/weapons/goo_gun_update_model/goo_gun.tscn7
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/weapons/goo_gun_update_model/goo_gun.tscn b/assets/weapons/goo_gun_update_model/goo_gun.tscn
index bfcc229..5e9c4fe 100644
--- a/assets/weapons/goo_gun_update_model/goo_gun.tscn
+++ b/assets/weapons/goo_gun_update_model/goo_gun.tscn
@@ -1,5 +1,10 @@
-[gd_scene load_steps=2 format=2]
+[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/weapons/goo_gun_update_model/goo_gun.gltf" type="PackedScene" id=1]
+[ext_resource path="res://assets/weapons/goo_gun/GooGun.gd" type="Script" id=2]
[node name="goo_gun" instance=ExtResource( 1 )]
+script = ExtResource( 2 )
+
+[node name="Nozzle" type="Spatial" parent="." index="2"]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.342731, 1.96888 )