generated from krampus/template-godot4
bulkhead sfx
This commit is contained in:
parent
b8f36a44af
commit
1880273eeb
BIN
asset_dev/sfx/367125__jofae__air-hiss.mp3
Normal file
BIN
asset_dev/sfx/367125__jofae__air-hiss.mp3
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
asset_dev/sfx/mechanical_door.aup3
Normal file
BIN
asset_dev/sfx/mechanical_door.aup3
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
assets/sfx/air_hiss.wav
Normal file
BIN
assets/sfx/air_hiss.wav
Normal file
Binary file not shown.
24
assets/sfx/air_hiss.wav.import
Normal file
24
assets/sfx/air_hiss.wav.import
Normal file
@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dkdw7viq1nqte"
|
||||
path="res://.godot/imported/air_hiss.wav-6d6f9a218e231e48bcec06290ac3f919.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/sfx/air_hiss.wav"
|
||||
dest_files=["res://.godot/imported/air_hiss.wav-6d6f9a218e231e48bcec06290ac3f919.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
BIN
assets/sfx/click_electronic_04.wav
Normal file
BIN
assets/sfx/click_electronic_04.wav
Normal file
Binary file not shown.
24
assets/sfx/click_electronic_04.wav.import
Normal file
24
assets/sfx/click_electronic_04.wav.import
Normal file
@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bgayfws34lg7q"
|
||||
path="res://.godot/imported/click_electronic_04.wav-405bfc3a592e267c269b8db1b4b7de41.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/sfx/click_electronic_04.wav"
|
||||
dest_files=["res://.godot/imported/click_electronic_04.wav-405bfc3a592e267c269b8db1b4b7de41.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
BIN
assets/sfx/mechanical_door.wav
Normal file
BIN
assets/sfx/mechanical_door.wav
Normal file
Binary file not shown.
24
assets/sfx/mechanical_door.wav.import
Normal file
24
assets/sfx/mechanical_door.wav.import
Normal file
@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://6mm0npep4ul1"
|
||||
path="res://.godot/imported/mechanical_door.wav-50e0182a55479a777ff92ad2f47afc1f.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/sfx/mechanical_door.wav"
|
||||
dest_files=["res://.godot/imported/mechanical_door.wav-50e0182a55479a777ff92ad2f47afc1f.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
BIN
assets/sfx/mechanical_door_2.wav
Normal file
BIN
assets/sfx/mechanical_door_2.wav
Normal file
Binary file not shown.
24
assets/sfx/mechanical_door_2.wav.import
Normal file
24
assets/sfx/mechanical_door_2.wav.import
Normal file
@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bqpugpqalequx"
|
||||
path="res://.godot/imported/mechanical_door_2.wav-e0653e987bbbfc2411d5837d3195861e.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/sfx/mechanical_door_2.wav"
|
||||
dest_files=["res://.godot/imported/mechanical_door_2.wav-e0653e987bbbfc2411d5837d3195861e.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
@ -2,11 +2,13 @@ extends Node3D
|
||||
|
||||
@onready var animation: AnimationPlayer = $AnimationPlayer
|
||||
@onready var dust_animation: AnimationPlayer = %DustAnimation
|
||||
@onready var open_sfx: AudioStreamPlayer3D = %OpenSFX
|
||||
|
||||
|
||||
func open() -> void:
|
||||
animation.play("open")
|
||||
dust_animation.play("spray")
|
||||
open_sfx.play()
|
||||
|
||||
|
||||
func close() -> void:
|
||||
|
@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=17 format=4 uid="uid://cubwniraol1qn"]
|
||||
[gd_scene load_steps=19 format=4 uid="uid://cubwniraol1qn"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bopvgd18a1dl0" path="res://assets/props/bulkhead/bulkhead.gltf" id="1_77udb"]
|
||||
[ext_resource type="Material" uid="uid://dim1g2sr3axr5" path="res://assets/props/bulkhead/bulkhead_frame.material" id="2_88qrs"]
|
||||
[ext_resource type="Script" uid="uid://rjygr6ybnl30" path="res://src/props/bulkhead/bulkhead.gd" id="2_hknvo"]
|
||||
[ext_resource type="PackedScene" uid="uid://64kcxg3x6631" path="res://src/effects/dust_spray.tscn" id="3_88qrs"]
|
||||
[ext_resource type="Material" uid="uid://ba5iycnw36138" path="res://assets/props/bulkhead/bulkhead_door.material" id="3_w7oba"]
|
||||
[ext_resource type="AudioStream" uid="uid://6mm0npep4ul1" path="res://assets/sfx/mechanical_door.wav" id="5_4jho1"]
|
||||
[ext_resource type="AudioStream" uid="uid://dkdw7viq1nqte" path="res://assets/sfx/air_hiss.wav" id="7_4jho1"]
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_hx0vd"]
|
||||
_surfaces = [{
|
||||
@ -179,6 +181,18 @@ tracks/7/keys = {
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("DustSFX:playing")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_88qrs"]
|
||||
resource_name = "spray"
|
||||
@ -280,6 +294,18 @@ tracks/7/keys = {
|
||||
"update": 1,
|
||||
"values": [true, false]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("DustSFX:playing")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0.275),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_hx0vd"]
|
||||
_data = {
|
||||
@ -308,7 +334,13 @@ collision_layer = 5
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/StaticBody3D" index="0"]
|
||||
shape = SubResource("ConcavePolygonShape3D_w7oba")
|
||||
|
||||
[node name="Ramp" type="StaticBody3D" parent="." index="3"]
|
||||
[node name="OpenSFX" type="AudioStreamPlayer3D" parent="." index="3"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.9, 0)
|
||||
stream = ExtResource("5_4jho1")
|
||||
volume_db = -10.0
|
||||
|
||||
[node name="Ramp" type="StaticBody3D" parent="." index="4"]
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp" index="0"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0.1, 0.325)
|
||||
@ -323,7 +355,7 @@ shape = SubResource("ConcavePolygonShape3D_hx0vd")
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0.1, -0.325)
|
||||
shape = SubResource("ConcavePolygonShape3D_hx0vd")
|
||||
|
||||
[node name="Dust" type="Node3D" parent="." index="4"]
|
||||
[node name="Dust" type="Node3D" parent="." index="5"]
|
||||
|
||||
[node name="DustSpray" parent="Dust" index="0" instance=ExtResource("3_88qrs")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.25, 0.0897675)
|
||||
@ -350,3 +382,7 @@ unique_name_in_owner = true
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_hx0vd")
|
||||
}
|
||||
|
||||
[node name="DustSFX" type="AudioStreamPlayer3D" parent="Dust" index="5"]
|
||||
stream = ExtResource("7_4jho1")
|
||||
volume_db = -24.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=28 format=4 uid="uid://b6eg8t04rkh0c"]
|
||||
[gd_scene load_steps=29 format=4 uid="uid://b6eg8t04rkh0c"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bkmn5m47mt1gh" path="res://src/props/wall_switch/wall_switch.gd" id="2_kfvqd"]
|
||||
[ext_resource type="Texture2D" uid="uid://1wjcyqynwlb6" path="res://assets/props/wall_switch/wall_switch_C.png" id="2_vufqs"]
|
||||
@ -10,6 +10,7 @@
|
||||
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="8_6aabu"]
|
||||
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="9_7shuc"]
|
||||
[ext_resource type="Script" uid="uid://deg5xd87cy8rg" path="res://src/props/interactive.gd" id="10_qw6jt"]
|
||||
[ext_resource type="AudioStream" uid="uid://bgayfws34lg7q" path="res://assets/sfx/click_electronic_04.wav" id="11_7shuc"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jtkkw"]
|
||||
resource_local_to_scene = true
|
||||
@ -135,6 +136,18 @@ tracks/1/keys = {
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Lights/SuccessLight/SuccessSFX:playing")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_6aabu"]
|
||||
resource_name = "disable"
|
||||
@ -210,6 +223,18 @@ tracks/1/keys = {
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Lights/SuccessLight/SuccessSFX:playing")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_6ueib"]
|
||||
_data = {
|
||||
@ -251,6 +276,13 @@ mesh = SubResource("BoxMesh_g24yf")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.06, 0)
|
||||
mesh = SubResource("BoxMesh_a6hjm")
|
||||
|
||||
[node name="SuccessSFX" type="AudioStreamPlayer3D" parent="Lights/SuccessLight" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.17, -0.18, -0.1)
|
||||
stream = ExtResource("11_7shuc")
|
||||
volume_db = -16.0
|
||||
unit_size = 4.0
|
||||
bus = &"SFX"
|
||||
|
||||
[node name="LightAnimation" type="AnimationPlayer" parent="Lights" index="2"]
|
||||
unique_name_in_owner = true
|
||||
root_node = NodePath("../..")
|
||||
|
@ -2,4 +2,17 @@
|
||||
- "Walking on Metal"
|
||||
- author: Sanderboah
|
||||
- retrieved from https://freesound.org/people/Sanderboah/sounds/696374/
|
||||
- assets/sfx/footsteps/metal/metal*.wav
|
||||
- assets/sfx/footsteps/metal/metal*.wav
|
||||
- "Click_Electronic_04.wav"
|
||||
- author: LittleRobotSoundFactory
|
||||
- retrieved from https://freesound.org/people/LittleRobotSoundFactory/sounds/288956/
|
||||
- assets/sfx/click_electronic_04.wav
|
||||
- "Air Hiss"
|
||||
- author: Jofae
|
||||
- retrieved from https://freesound.org/people/Jofae/sounds/367125/
|
||||
- assets/sfx/air_hiss.wav
|
||||
- modified
|
||||
- "Heavy Mechanical Door Open"
|
||||
- author: lowpolygon
|
||||
- retrieved from https://freesound.org/people/lowpolygon/sounds/421722/
|
||||
- assets/sfx/mechanical_door.wav
|
Loading…
x
Reference in New Issue
Block a user