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")

View file

@ -1,9 +1,10 @@
[gd_scene load_steps=9 format=3 uid="uid://cbyee7drds7qu"]
[gd_scene load_steps=10 format=3 uid="uid://cbyee7drds7qu"]
[ext_resource type="Script" path="res://scripts/maps/map.gd" id="1_4npcs"]
[ext_resource type="Script" path="res://scripts/maps/objectives/hungry.gd" id="2_qrp84"]
[ext_resource type="PackedScene" uid="uid://bsghm187n6ykx" path="res://scenes/objects/closet.tscn" id="2_yvpvm"]
[ext_resource type="PackedScene" uid="uid://cvnjpnvchvakj" path="res://scenes/entities/npc.tscn" id="3_x3gyc"]
[ext_resource type="PackedScene" uid="uid://ctpubhh2gsccb" path="res://scenes/maps/elements/guncase.tscn" id="5_k7k8h"]
[sub_resource type="Environment" id="Environment_pq0iv"]
@ -71,3 +72,6 @@ skeleton = NodePath("../..")
shape = SubResource("BoxShape3D_rnmx0")
[node name="Timer" type="Timer" parent="."]
[node name="Guncase" parent="." instance=ExtResource("5_k7k8h")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 1, 0)