[gd_scene load_steps=9 format=3 uid="uid://cpx5yjfg3a2hw"] [ext_resource type="Script" uid="uid://dxhf1twoxf4j0" path="res://Scripts/Interactables/AlarmBox3D.cs" id="1_4ysgp"] [ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_5t8l3"] [ext_resource type="PackedScene" uid="uid://s4yb3i3td11j" path="res://3D/BlockbenchModels/AlarmBox/Alarm_Box.gltf" id="4_4ysgp"] [ext_resource type="Script" uid="uid://0g2sdu48c2x8" path="res://Scripts/Actors/3D/AlarmSoundPlayer3D.cs" id="4_t4kxh"] [sub_resource type="SphereShape3D" id="SphereShape3D_itd0i"] radius = 0.419927 [sub_resource type="Animation" id="Animation_1acc0"] resource_name = "Flash" length = 0.4 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("blockbench_export/Node/cuboid2/cuboid:mesh:surface_0/material:uv1_offset") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.2), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [Vector3(0, 0, 0), Vector3(0, 0.5, 0)] } [sub_resource type="Animation" id="Animation_4ysgp"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("blockbench_export/Node/cuboid2/cuboid:mesh:surface_0/material:uv1_offset") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0, 0, 0)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_t4kxh"] _data = { &"Flash": SubResource("Animation_1acc0"), &"RESET": SubResource("Animation_4ysgp") } [node name="AlarmBox" type="Area3D" groups=["Interactable"]] collision_layer = 32 collision_mask = 0 script = ExtResource("1_4ysgp") metadata/_edit_group_ = true [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("SphereShape3D_itd0i") [node name="ActivationSound" type="AudioStreamPlayer3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.197789) stream = ExtResource("3_5t8l3") bus = &"Effects" [node name="blockbench_export" parent="." instance=ExtResource("4_4ysgp")] [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_t4kxh") } [node name="AlarmSound" type="AudioStreamPlayer3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.198581) volume_db = -5.551 max_distance = 25.08 bus = &"Effects" script = ExtResource("4_t4kxh") [connection signal="PlayActivationSound" from="." to="ActivationSound" method="play"] [editable path="blockbench_export"]