diff options
Diffstat (limited to 'prefabs')
-rw-r--r-- | prefabs/bsp_level_generator.tscn | 8 | ||||
-rw-r--r-- | prefabs/bullet.tscn | 17 | ||||
-rw-r--r-- | prefabs/door.tscn | 16 | ||||
-rw-r--r-- | prefabs/enemy.tscn | 29 | ||||
-rw-r--r-- | prefabs/level_generator.tscn | 6 | ||||
-rw-r--r-- | prefabs/round_room.tscn | 16 | ||||
-rw-r--r-- | prefabs/test_arena.tscn | 120 |
7 files changed, 212 insertions, 0 deletions
diff --git a/prefabs/bsp_level_generator.tscn b/prefabs/bsp_level_generator.tscn new file mode 100644 index 0000000..9b3c198 --- /dev/null +++ b/prefabs/bsp_level_generator.tscn @@ -0,0 +1,8 @@ +[gd_scene load_steps=2 format=3 uid="uid://w7hxcvuvud"] + +[ext_resource type="Script" path="res://scripts/bsp_level_generator.gd" id="1_6jn1x"] + +[node name="BspLevelGenerator" type="Node2D"] +script = ExtResource("1_6jn1x") + +[node name="Camera2D" type="Camera2D" parent="."] diff --git a/prefabs/bullet.tscn b/prefabs/bullet.tscn new file mode 100644 index 0000000..db6cf54 --- /dev/null +++ b/prefabs/bullet.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=4 format=3 uid="uid://cmhycifu5uwoc"] + +[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_3dasu"] + +[sub_resource type="BoxMesh" id="BoxMesh_bp3aw"] +size = Vector3(0.05, 0.05, 1) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_c2hx3"] +shading_mode = 0 +albedo_color = Color(0, 1, 0, 1) + +[node name="Bullet" type="Node3D"] +script = ExtResource("1_3dasu") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +mesh = SubResource("BoxMesh_bp3aw") +surface_material_override/0 = SubResource("StandardMaterial3D_c2hx3") diff --git a/prefabs/door.tscn b/prefabs/door.tscn new file mode 100644 index 0000000..bfe3abe --- /dev/null +++ b/prefabs/door.tscn @@ -0,0 +1,16 @@ +[gd_scene load_steps=3 format=3 uid="uid://lq1udyctjxaj"] + +[ext_resource type="ArrayMesh" uid="uid://wwps1q5d5bo8" path="res://models/round_room_Door.res" id="1_f3lgx"] + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_r75os"] +data = PackedVector3Array(-0.5167, 1.2472, -7, -1.2472, -0.5167, -7, -1.2472, 0.5166, -7, -1.2472, -0.5167, -7, 0.5166, -1.2472, -7, -0.5167, -1.2472, -7, 0.5166, -1.2472, -7, 1.2472, 0.5166, -7, 1.2472, -0.5167, -7, 1.2472, 0.5166, -7, -0.5167, 1.2472, -7, 0.5166, 1.2472, -7, -0.5167, 1.2472, -7, 0.5166, -1.2472, -7, -1.2472, -0.5167, -7, 0.5166, -1.2472, -7, -0.5167, 1.2472, -7, 1.2472, 0.5166, -7) + +[node name="Door" type="Node3D"] + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +mesh = ExtResource("1_f3lgx") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_r75os") diff --git a/prefabs/enemy.tscn b/prefabs/enemy.tscn new file mode 100644 index 0000000..9ed692e --- /dev/null +++ b/prefabs/enemy.tscn @@ -0,0 +1,29 @@ +[gd_scene load_steps=5 format=3 uid="uid://cuad3khwmhnsa"] + +[ext_resource type="Script" path="res://scripts/enemy.gd" id="1_aut2k"] + +[sub_resource type="CapsuleMesh" id="CapsuleMesh_xh601"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7r0x4"] + +[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_s5qw4"] + +[node name="Enemy" type="CharacterBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.54414, -1.58742) +motion_mode = 1 +wall_min_slide_angle = 0.0872665 +script = ExtResource("1_aut2k") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) +mesh = SubResource("CapsuleMesh_xh601") +surface_material_override/0 = SubResource("StandardMaterial3D_7r0x4") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) +shape = SubResource("CapsuleShape3D_s5qw4") + +[node name="HitTimer" type="Timer" parent="."] +wait_time = 0.2 + +[connection signal="timeout" from="HitTimer" to="." method="_on_hit_timer_timeout"] diff --git a/prefabs/level_generator.tscn b/prefabs/level_generator.tscn new file mode 100644 index 0000000..73924f6 --- /dev/null +++ b/prefabs/level_generator.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://dcu5otkh0t1pg"] + +[ext_resource type="Script" path="res://scripts/level_generator.gd" id="1_nqcyo"] + +[node name="LevelGenerator" type="Node3D"] +script = ExtResource("1_nqcyo") diff --git a/prefabs/round_room.tscn b/prefabs/round_room.tscn new file mode 100644 index 0000000..4601f05 --- /dev/null +++ b/prefabs/round_room.tscn @@ -0,0 +1,16 @@ +[gd_scene load_steps=3 format=3 uid="uid://bps2lettms1up"] + +[ext_resource type="ArrayMesh" uid="uid://bemri7myupqwc" path="res://models/round_room_RoundRoom.res" id="1_8mdb7"] + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wurhb"] +data = PackedVector3Array(-1.9134, 1.5, -5, -0.5166, 1.2472, -5, -1.2472, 0.5166, -5, 4.9995, 1.5, -1.9132, 1.9134, -1.5, -5, 1.9134, 1.5, -5, 4.9995, 1.5, -1.9132, 4.9995, -1.5, -1.9132, 1.9134, -1.5, -5, 1.9134, 1.5, 5, 4.9995, -1.5, 1.9136, 4.9995, 1.5, 1.9136, 1.9134, 1.5, 5, 1.9134, -1.5, 5, 4.9995, -1.5, 1.9136, 0.5166, 1.2472, 5, 1.2472, 0.5166, 5, 1.9134, 1.5, 5, -1.9134, -1.5, 5, -5, 1.5, 1.9134, -5, -1.5, 1.9134, -1.9134, -1.5, 5, -1.9134, 1.5, 5, -5, 1.5, 1.9134, 4.9995, 1.5, 1.9136, -1.9134, 1.5, 5, 1.9134, 1.5, 5, -1.9134, 1.5, 5, -5, 1.5, -1.9134, -5, 1.5, 1.9134, -5, 1.5, -1.9134, 1.9134, 1.5, -5, -1.9134, 1.5, -5, 1.9134, 1.5, -5, 4.9995, 1.5, 1.9136, 4.9995, 1.5, -1.9132, 4.9995, 1.5, 1.9136, -5, 1.5, -1.9134, -1.9134, 1.5, 5, -5, 1.5, -1.9134, 4.9995, 1.5, 1.9136, 1.9134, 1.5, -5, -5, 1.5, 1.9134, -5, 1.2472, -0.5166, -5, 1.2472, 0.5166, -5, 1.5, 1.9134, -5, 1.5, -1.9134, -5, 1.2472, -0.5166, -5, -1.5, -1.9134, -1.9134, 1.5, -5, -1.9134, -1.5, -5, -5, -1.5, -1.9134, -5, 1.5, -1.9134, -1.9134, 1.5, -5, 4.9995, -1.5, -1.9132, -1.9134, -1.5, -5, 1.9134, -1.5, -5, -1.9134, -1.5, -5, -5, -1.5, 1.9134, -5, -1.5, -1.9134, -5, -1.5, 1.9134, 1.9134, -1.5, 5, -1.9134, -1.5, 5, 1.9134, -1.5, 5, 4.9995, -1.5, -1.9132, 4.9995, -1.5, 1.9136, 4.9995, -1.5, -1.9132, -5, -1.5, 1.9134, -1.9134, -1.5, -5, -5, -1.5, 1.9134, 4.9995, -1.5, -1.9132, 1.9134, -1.5, 5, 5.0003, 0.5166, -1.2473, 7, -0.5166, -1.2472, 5.0003, -0.5166, -1.2473, 5.0003, 0.5166, -1.2473, 7, 0.5166, -1.2472, 7, -0.5166, -1.2472, 5.0003, -0.5166, -1.2473, 7, -1.2472, -0.5166, 5.0003, -1.2472, -0.5167, 5.0003, -0.5166, -1.2473, 7, -0.5166, -1.2472, 7, -1.2472, -0.5166, 5.0003, -1.2472, -0.5167, 7, -1.2472, 0.5166, 5.0003, -1.2472, 0.5165, 5.0003, -1.2472, -0.5167, 7, -1.2472, -0.5166, 7, -1.2472, 0.5166, 5.0003, -1.2472, 0.5165, 7, -0.5166, 1.2472, 5.0003, -0.5166, 1.2471, 5.0003, -1.2472, 0.5165, 7, -1.2472, 0.5166, 7, -0.5166, 1.2472, 5.0003, 0.5166, 1.2471, 7, -0.5166, 1.2472, 7, 0.5166, 1.2472, 5.0003, 0.5166, 1.2471, 5.0003, -0.5166, 1.2471, 7, -0.5166, 1.2472, 5.0003, 1.2472, 0.5165, 7, 0.5166, 1.2472, 7, 1.2472, 0.5166, 5.0003, 1.2472, 0.5165, 5.0003, 0.5166, 1.2471, 7, 0.5166, 1.2472, 5.0003, 1.2472, -0.5167, 7, 1.2472, 0.5166, 7, 1.2472, -0.5166, 5.0003, 1.2472, -0.5167, 5.0003, 1.2472, 0.5165, 7, 1.2472, 0.5166, 5.0003, 1.2472, -0.5167, 7, 0.5166, -1.2472, 5.0003, 0.5166, -1.2473, 5.0003, 1.2472, -0.5167, 7, 1.2472, -0.5166, 7, 0.5166, -1.2472, 4.9995, 1.5, -1.9132, 5.0003, 1.2472, -0.5167, 5.0003, 0.5166, -1.2473, 4.9995, 1.5, -1.9132, 5.0003, 1.2472, 0.5165, 5.0003, 1.2472, -0.5167, 4.9995, 1.5, -1.9132, 4.9995, 1.5, 1.9136, 5.0003, 1.2472, 0.5165, 5.0003, 1.2472, 0.5165, 4.9995, 1.5, 1.9136, 5.0003, 0.5166, 1.2471, 4.9995, 1.5, 1.9136, 5.0003, -0.5166, 1.2471, 5.0003, 0.5166, 1.2471, 4.9995, 1.5, 1.9136, 4.9995, -1.5, 1.9136, 5.0003, -0.5166, 1.2471, 5.0003, -0.5166, 1.2471, 4.9995, -1.5, 1.9136, 5.0003, -1.2472, 0.5165, 4.9995, -1.5, 1.9136, 5.0003, -1.2472, -0.5167, 5.0003, -1.2472, 0.5165, 4.9995, -1.5, 1.9136, 4.9995, -1.5, -1.9132, 5.0003, -1.2472, -0.5167, 5.0003, -1.2472, -0.5167, 4.9995, -1.5, -1.9132, 5.0003, -0.5166, -1.2473, 4.9995, -1.5, -1.9132, 5.0003, 0.5166, -1.2473, 5.0003, -0.5166, -1.2473, 4.9995, -1.5, -1.9132, 4.9995, 1.5, -1.9132, 5.0003, 0.5166, -1.2473, -7, 0.5166, -1.2472, -5, -0.5166, -1.2472, -7, -0.5166, -1.2472, -7, 0.5166, -1.2472, -5, 0.5166, -1.2472, -5, -0.5166, -1.2472, -7, -0.5166, -1.2472, -5, -1.2472, -0.5166, -7, -1.2472, -0.5166, -7, -0.5166, -1.2472, -5, -0.5166, -1.2472, -5, -1.2472, -0.5166, -7, -1.2472, -0.5166, -5, -1.2472, 0.5166, -7, -1.2472, 0.5166, -7, -1.2472, -0.5166, -5, -1.2472, -0.5166, -5, -1.2472, 0.5166, -7, -1.2472, 0.5166, -5, -0.5166, 1.2472, -7, -0.5166, 1.2472, -7, -1.2472, 0.5166, -5, -1.2472, 0.5166, -5, -0.5166, 1.2472, -7, 0.5166, 1.2472, -5, -0.5166, 1.2472, -5, 0.5166, 1.2472, -7, 0.5166, 1.2472, -7, -0.5166, 1.2472, -5, -0.5166, 1.2472, -7, 1.2472, 0.5166, -5, 0.5166, 1.2472, -5, 1.2472, 0.5166, -7, 1.2472, 0.5166, -7, 0.5166, 1.2472, -5, 0.5166, 1.2472, -5, 1.2472, 0.5166, -5, 0.5166, 1.2472, -5, 1.5, 1.9134, -7, 1.2472, -0.5166, -5, 1.2472, 0.5166, -5, 1.2472, -0.5166, -7, 1.2472, -0.5166, -7, 1.2472, 0.5166, -5, 1.2472, 0.5166, -7, 1.2472, -0.5166, -5, 0.5166, -1.2472, -7, 0.5166, -1.2472, -7, 1.2472, -0.5166, -5, 1.2472, -0.5166, -5, 0.5166, -1.2472, -5, 1.2472, -0.5166, -5, 1.5, -1.9134, -5, 0.5166, -1.2472, -5, 1.5, -1.9134, -5, -0.5166, -1.2472, -5, 0.5166, -1.2472, -5, 1.5, -1.9134, -5, -1.5, -1.9134, -5, -0.5166, -1.2472, -5, -0.5166, -1.2472, -5, -1.5, -1.9134, -5, -1.2472, -0.5166, -5, -1.5, -1.9134, -5, -1.2472, 0.5166, -5, -1.2472, -0.5166, -5, -1.5, -1.9134, -5, -1.5, 1.9134, -5, -1.2472, 0.5166, -5, -1.2472, 0.5166, -5, -1.5, 1.9134, -5, -0.5166, 1.2472, -5, -1.5, 1.9134, -5, 0.5166, 1.2472, -5, -0.5166, 1.2472, -5, -1.5, 1.9134, -5, 1.5, 1.9134, -5, 0.5166, 1.2472, -1.2472, 0.5166, -5, -1.2472, -0.5166, -7, -1.2472, -0.5166, -5, -1.2472, 0.5166, -5, -1.2472, 0.5166, -7, -1.2472, -0.5166, -7, -1.2472, -0.5166, -5, -0.5166, -1.2472, -7, -0.5166, -1.2472, -5, -1.2472, -0.5166, -5, -1.2472, -0.5166, -7, -0.5166, -1.2472, -7, -0.5166, -1.2472, -5, 0.5166, -1.2472, -7, 0.5166, -1.2472, -5, -0.5166, -1.2472, -5, -0.5166, -1.2472, -7, 0.5166, -1.2472, -7, 0.5166, -1.2472, -5, 1.2472, -0.5166, -7, 1.2472, -0.5166, -5, 0.5166, -1.2472, -5, 0.5166, -1.2472, -7, 1.2472, -0.5166, -7, 1.2472, 0.5166, -5, 1.2472, -0.5166, -7, 1.2472, 0.5166, -7, 1.2472, 0.5166, -5, 1.2472, -0.5166, -5, 1.2472, -0.5166, -7, 0.5166, 1.2472, -5, 1.2472, 0.5166, -7, 0.5166, 1.2472, -7, 0.5166, 1.2472, -5, 1.2472, 0.5166, -5, 1.2472, 0.5166, -7, -0.5166, 1.2472, -5, 0.5166, 1.2472, -7, -0.5166, 1.2472, -7, -0.5166, 1.2472, -5, 0.5166, 1.2472, -5, 0.5166, 1.2472, -7, -0.5166, 1.2472, -5, -1.2472, 0.5166, -7, -1.2472, 0.5166, -5, -0.5166, 1.2472, -5, -0.5166, 1.2472, -7, -1.2472, 0.5166, -7, 1.9134, 1.5, -5, -0.5166, 1.2472, -5, -1.9134, 1.5, -5, 1.9134, 1.5, -5, 0.5166, 1.2472, -5, -0.5166, 1.2472, -5, 0.5166, 1.2472, -5, 1.9134, 1.5, -5, 1.2472, 0.5166, -5, 1.9134, -1.5, -5, 1.2472, 0.5166, -5, 1.9134, 1.5, -5, 1.9134, -1.5, -5, 1.2472, -0.5166, -5, 1.2472, 0.5166, -5, 1.2472, -0.5166, -5, 1.9134, -1.5, -5, 0.5166, -1.2472, -5, -1.9134, -1.5, -5, 0.5166, -1.2472, -5, 1.9134, -1.5, -5, -1.9134, -1.5, -5, -0.5166, -1.2472, -5, 0.5166, -1.2472, -5, -0.5166, -1.2472, -5, -1.9134, -1.5, -5, -1.2472, -0.5166, -5, -1.9134, 1.5, -5, -1.2472, -0.5166, -5, -1.9134, -1.5, -5, -1.9134, 1.5, -5, -1.2472, 0.5166, -5, -1.2472, -0.5166, -5, -1.2472, 0.5166, 7, -1.2472, -0.5166, 5, -1.2472, -0.5166, 7, -1.2472, 0.5166, 7, -1.2472, 0.5166, 5, -1.2472, -0.5166, 5, -1.2472, -0.5166, 7, -0.5166, -1.2472, 5, -0.5166, -1.2472, 7, -1.2472, -0.5166, 7, -1.2472, -0.5166, 5, -0.5166, -1.2472, 5, -0.5166, -1.2472, 7, 0.5166, -1.2472, 5, 0.5166, -1.2472, 7, -0.5166, -1.2472, 7, -0.5166, -1.2472, 5, 0.5166, -1.2472, 5, 0.5166, -1.2472, 7, 1.2472, -0.5166, 5, 1.2472, -0.5166, 7, 0.5166, -1.2472, 7, 0.5166, -1.2472, 5, 1.2472, -0.5166, 5, 1.2472, 0.5166, 7, 1.2472, -0.5166, 5, 1.2472, 0.5166, 5, 1.2472, 0.5166, 7, 1.2472, -0.5166, 7, 1.2472, -0.5166, 5, 0.5166, 1.2472, 7, 1.2472, 0.5166, 5, 0.5166, 1.2472, 5, 0.5166, 1.2472, 7, 1.2472, 0.5166, 7, 1.2472, 0.5166, 5, -0.5166, 1.2472, 7, 0.5166, 1.2472, 5, -0.5166, 1.2472, 5, -0.5166, 1.2472, 7, 0.5166, 1.2472, 7, 0.5166, 1.2472, 5, -0.5166, 1.2472, 7, -1.2472, 0.5166, 5, -1.2472, 0.5166, 7, -0.5166, 1.2472, 7, -0.5166, 1.2472, 5, -1.2472, 0.5166, 5, -1.9134, 1.5, 5, 0.5166, 1.2472, 5, 1.9134, 1.5, 5, -1.9134, 1.5, 5, -0.5166, 1.2472, 5, 0.5166, 1.2472, 5, -0.5166, 1.2472, 5, -1.9134, 1.5, 5, -1.2472, 0.5166, 5, -1.9134, -1.5, 5, -1.2472, 0.5166, 5, -1.9134, 1.5, 5, -1.9134, -1.5, 5, -1.2472, -0.5166, 5, -1.2472, 0.5166, 5, -1.2472, -0.5166, 5, -1.9134, -1.5, 5, -0.5166, -1.2472, 5, 1.9134, -1.5, 5, -0.5166, -1.2472, 5, -1.9134, -1.5, 5, 1.9134, -1.5, 5, 0.5166, -1.2472, 5, -0.5166, -1.2472, 5, 0.5166, -1.2472, 5, 1.9134, -1.5, 5, 1.2472, -0.5166, 5, 1.9134, 1.5, 5, 1.2472, -0.5166, 5, 1.9134, -1.5, 5, 1.9134, 1.5, 5, 1.2472, 0.5166, 5, 1.2472, -0.5166, 5) + +[node name="RoundRoom" type="Node3D"] + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +mesh = ExtResource("1_8mdb7") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wurhb") diff --git a/prefabs/test_arena.tscn b/prefabs/test_arena.tscn new file mode 100644 index 0000000..7b7a510 --- /dev/null +++ b/prefabs/test_arena.tscn @@ -0,0 +1,120 @@ +[gd_scene load_steps=9 format=3 uid="uid://dlevowk0jrhlg"] + +[ext_resource type="PackedScene" uid="uid://cc1m2a1obsyn4" path="res://addons/fpc/character.tscn" id="1_vc6b5"] +[ext_resource type="Script" path="res://scripts/player.gd" id="2_puqns"] +[ext_resource type="PackedScene" uid="uid://cuad3khwmhnsa" path="res://prefabs/enemy.tscn" id="3_4ykmj"] + +[sub_resource type="Environment" id="Environment_2poci"] +background_color = Color(0.130548, 0.170599, 0.433834, 1) +ambient_light_source = 2 +ambient_light_color = Color(0.244776, 0.244776, 0.244776, 1) +ambient_light_energy = 2.27 + +[sub_resource type="BoxMesh" id="BoxMesh_ox60m"] +size = Vector3(0.1, 0.1, 0.5) + +[sub_resource type="Animation" id="Animation_l0ukc"] +resource_name = "RESET" +length = 0.001 +tracks/0/type = "bezier" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:position:x") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"handle_modes": PackedInt32Array(0), +"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0), +"times": PackedFloat32Array(0) +} +tracks/1/type = "bezier" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath(".:position:y") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"handle_modes": PackedInt32Array(0), +"points": PackedFloat32Array(1.5, -0.25, 0, 0.25, 0), +"times": PackedFloat32Array(0) +} + +[sub_resource type="Animation" id="Animation_nw35k"] +resource_name = "walk" +length = 2.0 +tracks/0/type = "bezier" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath(".:position:x") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"handle_modes": PackedInt32Array(0, 0, 0, 0, 0), +"points": PackedFloat32Array(0.04, -0.25, 0, 0.25, 0, 0, 0, 0, 0, 0, -0.04, -0.25, 0, 0.25, 0, 0, 0, 0, 0, 0, 0.04, -0.25, 0, 0.25, 0), +"times": PackedFloat32Array(0, 0.5, 1, 1.5, 2) +} +tracks/1/type = "bezier" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath(".:position:y") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"handle_modes": PackedInt32Array(0, 0, 0, 0, 0), +"points": PackedFloat32Array(1.45, -0.25, 0, 0.2, 0.005, 1.5, -0.2, 0.000186046, 0.2, 0.000186046, 1.45, -0.2, 0.005, 0.2, 0.005, 1.5, -0.2, 0, 0.2, 0, 1.45, -0.2, 0.005, 0.25, 0), +"times": PackedFloat32Array(0, 0.5, 1, 1.5, 2) +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_7dyvd"] +_data = { +"RESET": SubResource("Animation_l0ukc"), +"walk": SubResource("Animation_nw35k") +} + +[node name="Node3D" type="WorldEnvironment"] +environment = SubResource("Environment_2poci") + +[node name="OmniLight3D" type="DirectionalLight3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, -0.0795405) + +[node name="Player" parent="." node_paths=PackedStringArray("HEAD", "HEADBOB_ANIMATION") instance=ExtResource("1_vc6b5")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.97532, -1.28752, 0.602886) +HEAD = NodePath("PlayerCam") +HEADBOB_ANIMATION = NodePath("PlayerCam/HeadAnimation") +LEFT = "left" +RIGHT = "right" +FORWARD = "forward" +BACKWARD = "backward" +jumping_enabled = false +in_air_momentum = false +sprint_enabled = false +crouch_enabled = false + +[node name="PlayerCam" type="Node3D" parent="Player"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) +script = ExtResource("2_puqns") +grapple_distance = 50.0 + +[node name="Camera3D" type="Camera3D" parent="Player/PlayerCam"] +current = true + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Player/PlayerCam"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.215, -0.09, 0) +mesh = SubResource("BoxMesh_ox60m") + +[node name="HeadAnimation" type="AnimationPlayer" parent="Player/PlayerCam"] +libraries = { +"": SubResource("AnimationLibrary_7dyvd") +} + +[node name="Enemy" parent="." node_paths=PackedStringArray("target") instance=ExtResource("3_4ykmj")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.49959, -1.54414, -8.92046) +collision_layer = 5 +motion_mode = 0 +target = NodePath("../Player") +gravity_enabled = true + +[node name="CSGBox3D" type="CSGBox3D" parent="."] +use_collision = true +flip_faces = true +size = Vector3(20, 4, 20) |