From 90875a219cd8122a73cb5a6677406f9c517c123e Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 29 Oct 2022 00:30:16 -0400 Subject: WIP Use new Goo Gun model on player 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. --- assets/weapons/goo_gun_update_model/goo_gun.tscn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'assets/weapons') 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 ) -- cgit v1.2.3