Guns and Reviving added - Other minor Bugfixes.

This commit is contained in:
Patrick 2024-12-19 17:41:41 +01:00
parent 8c90c4e744
commit 139e9a5134
11 changed files with 317 additions and 47 deletions

View file

@ -0,0 +1,31 @@
[gd_scene load_steps=6 format=3 uid="uid://ctpubhh2gsccb"]
[ext_resource type="Script" path="res://scripts/maps/guncase.gd" id="1_dh5qf"]
[sub_resource type="BoxShape3D" id="BoxShape3D_g6om3"]
size = Vector3(2, 0.5, 0.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wgwuf"]
albedo_color = Color(0, 0.501961, 0, 1)
[sub_resource type="BoxMesh" id="BoxMesh_qtnys"]
material = SubResource("StandardMaterial3D_wgwuf")
size = Vector3(2, 0.5, 0.5)
[sub_resource type="BoxShape3D" id="BoxShape3D_emap1"]
size = Vector3(3, 1, 2)
[node name="Guncase" type="StaticBody3D"]
script = ExtResource("1_dh5qf")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_g6om3")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_qtnys")
[node name="Area3D" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
shape = SubResource("BoxShape3D_emap1")