[gd_scene load_steps=15 format=3 uid="uid://dq3pqbjg7o241"] [ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_iqxey"] [ext_resource type="PackedScene" uid="uid://brl0bsqjl5dg3" path="res://assets/mac_10.tscn" id="2_bbv4q"] [ext_resource type="Material" uid="uid://br2pyyyl2n3cx" path="res://assets/materials/prototype/prototype1.tres" id="3_ol40x"] [ext_resource type="PackedScene" uid="uid://b5eclfg0cmmal" path="res://assets/revolver_1.tscn" id="3_tt31v"] [ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="4_1k4dj"] [ext_resource type="PackedScene" uid="uid://cnfc8rtk6l1d8" path="res://assets/crate1.tscn" id="6_4jfab"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_s7a4u"] sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1) ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1) [sub_resource type="Sky" id="Sky_c52rg"] sky_material = SubResource("ProceduralSkyMaterial_s7a4u") [sub_resource type="Environment" id="Environment_c1yeo"] background_mode = 2 sky = SubResource("Sky_c52rg") tonemap_mode = 2 ssao_enabled = true sdfgi_enabled = true glow_enabled = true [sub_resource type="BoxMesh" id="BoxMesh_fi4o8"] [sub_resource type="BoxShape3D" id="BoxShape3D_1u1id"] [sub_resource type="Animation" id="Animation_qlawa"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(6.78104, 1.26555, -18.3016)] } [sub_resource type="Animation" id="Animation_l1fwm"] resource_name = "new_animation" length = 7.0 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0.0105508, 0.7, 1.9, 3.96, 4.16, 4.75514), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1), "update": 0, "values": [Vector3(6.78104, 1.26555, -18.3016), Vector3(6.78104, 8.4087, -18.3016), Vector3(-4.99932, 8.4087, -18.3016), Vector3(21.2047, 8.4087, -18.3016), Vector3(21.2047, 8.4087, -18.3016), Vector3(21.2047, 8.4087, 16.4439)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_dlky4"] _data = { "RESET": SubResource("Animation_qlawa"), "new_animation": SubResource("Animation_l1fwm") } [node name="BulletTest" type="Node3D" node_paths=PackedStringArray("player")] script = ExtResource("1_iqxey") player = NodePath("Player") gun_1 = ExtResource("2_bbv4q") gun_2 = ExtResource("3_tt31v") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_c1yeo") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(0.614285, -0.683367, 0.394542, 0, 0.5, 0.866025, -0.789084, -0.531987, 0.307143, 0, 0, 0) shadow_enabled = true [node name="CSGBox3D2" type="CSGBox3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -20.2065, 1.06369, -8.35413) use_collision = true size = Vector3(9.58691, 1.80511, 9.50757) material = ExtResource("3_ol40x") [node name="CSGBox3D" type="CSGBox3D" parent="."] use_collision = true size = Vector3(50, 0.5, 50) material = ExtResource("3_ol40x") [node name="Player" parent="." instance=ExtResource("4_1k4dj")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.93316, 1.36359, 21.3029) [node name="AnimatableBody3D" type="AnimatableBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.78104, 1.26555, -18.3016) [node name="MeshInstance3D" type="MeshInstance3D" parent="AnimatableBody3D"] mesh = SubResource("BoxMesh_fi4o8") [node name="CollisionShape3D" type="CollisionShape3D" parent="AnimatableBody3D"] shape = SubResource("BoxShape3D_1u1id") [node name="AnimationPlayer" type="AnimationPlayer" parent="AnimatableBody3D"] libraries = { "": SubResource("AnimationLibrary_dlky4") } autoplay = "new_animation" [node name="Crate1" parent="." instance=ExtResource("6_4jfab")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.8157, 3.08948, -17.9593)