DomeFox/DomeFox/Game Objects/Wall/Wall.tscn

104 lines
5.0 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://be3xq8wvk32p8"]
[ext_resource type="Script" uid="uid://drcfv6u34vs61" path="res://DomeFox/Game Objects/Wall/Wall.cs" id="1_4k145"]
[ext_resource type="Script" uid="uid://dbgwebayabwd5" path="res://addons/rokojori_action_library/Runtime/Interactions/Collidable.cs" id="1_d4yus"]
[ext_resource type="Resource" uid="uid://ckyvygk7xtnpm" path="res://DomeFox/Game Objects/Wall/Projectile-Collision.tres" id="2_7ycdx"]
[ext_resource type="Script" uid="uid://ceaglilesxsi4" path="res://addons/rokojori_action_library/Runtime/Actions/ActionSequence.cs" id="3_auw5h"]
[ext_resource type="Script" uid="uid://dq5kae8x62gre" path="res://addons/rokojori_action_library/Runtime/Actions/RemoveNode.cs" id="4_c5shf"]
[ext_resource type="Resource" uid="uid://ch5nsa6yafs5l" path="res://addons/rokojori_action_library/Runtime/Time/TimeLines/GameTime.tres" id="8_04wpl"]
[ext_resource type="Script" uid="uid://c7gjkwcuwo17h" path="res://DomeFox/Game Objects/Wall/WallHealth.cs" id="10_0bi28"]
[ext_resource type="Script" uid="uid://ddgf2mfdmqywc" path="res://addons/rokojori_action_library/Runtime/Actions/Node3D/PlaySound.cs" id="11_0bi28"]
[ext_resource type="Script" uid="uid://b751wl58yqkn3" path="res://addons/rokojori_action_library/Runtime/Rendering/TextureAttributes/SetTextureAttributeChannel.cs" id="11_tpf5v"]
[ext_resource type="Resource" uid="uid://j358ucfvi2gp" path="res://DomeFox/Game Objects/Wall/Wall-Sound.tres" id="12_ebsfu"]
[ext_resource type="Script" uid="uid://ddhwhwos5kkrm" path="res://addons/rokojori_action_library/Runtime/Time/Duration/SecondsDuration.cs" id="13_73h16"]
[ext_resource type="AudioStream" uid="uid://by14wgfo8ateq" path="res://DomeFox/Game Objects/Laser/water-fox-impact.ogg" id="14_7vxi8"]
[sub_resource type="BoxShape3D" id="BoxShape3D_dlj2d"]
resource_local_to_scene = true
size = Vector3(604.6057, 170, 0.2)
[sub_resource type="Resource" id="Resource_juwdv"]
script = ExtResource("13_73h16")
seconds = 0.1
timeLine = ExtResource("8_04wpl")
metadata/_custom_type_script = "uid://ddhwhwos5kkrm"
[node name="Wall" type="Node3D"]
[node name="Wall" type="Node" parent="." node_paths=PackedStringArray("collisionShape3D")]
script = ExtResource("1_4k145")
collisionShape3D = NodePath("../StaticBody3D/CollisionShape3D")
metadata/_custom_type_script = "uid://drcfv6u34vs61"
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5817833, 46.382984, 0)
shape = SubResource("BoxShape3D_dlj2d")
[node name="Collidable" type="Node3D" parent="StaticBody3D" node_paths=PackedStringArray("onEntered")]
script = ExtResource("1_d4yus")
collisionTypes = [ExtResource("2_7ycdx")]
onEntered = NodePath("../../WallHealth")
metadata/_custom_type_script = "uid://dbgwebayabwd5"
[node name="On Final Hit" type="Node" parent="."]
script = ExtResource("3_auw5h")
metadata/_custom_type_script = "uid://ceaglilesxsi4"
[node name="Play Death Sound" type="Node" parent="On Final Hit" node_paths=PackedStringArray("player")]
script = ExtResource("11_0bi28")
player = NodePath("../../Hit Transform/Low Hit Sound")
overdrivePreventionFlag = ExtResource("12_ebsfu")
overdrivePreventionDuration = SubResource("Resource_juwdv")
metadata/_custom_type_script = "uid://ddgf2mfdmqywc"
[node name="SetTextureAttributeChannel" type="Node" parent="On Final Hit"]
script = ExtResource("11_tpf5v")
value = 0.0
channel = 3
metadata/_custom_type_script = "uid://b751wl58yqkn3"
[node name="RemoveNode" type="Node" parent="On Final Hit" node_paths=PackedStringArray("target")]
script = ExtResource("4_c5shf")
target = NodePath("../..")
metadata/_custom_type_script = "uid://dq5kae8x62gre"
[node name="On Hit" type="Node" parent="."]
script = ExtResource("3_auw5h")
metadata/_custom_type_script = "uid://ceaglilesxsi4"
[node name="SetTextureAttributeChannel2" type="Node" parent="On Hit"]
script = ExtResource("11_tpf5v")
value = 0.04
operatorType = 2
metadata/_custom_type_script = "uid://b751wl58yqkn3"
[node name="PlaySound" type="Node" parent="On Hit" node_paths=PackedStringArray("player")]
script = ExtResource("11_0bi28")
player = NodePath("../../Hit Transform/High Hit Sound")
overdrivePreventionFlag = ExtResource("12_ebsfu")
overdrivePreventionDuration = SubResource("Resource_juwdv")
metadata/_custom_type_script = "uid://ddgf2mfdmqywc"
[node name="WallHealth" type="Node" parent="." node_paths=PackedStringArray("onHit", "onFinalHit")]
script = ExtResource("10_0bi28")
onHit = NodePath("../On Hit")
onFinalHit = NodePath("../On Final Hit")
metadata/_custom_type_script = "uid://c7gjkwcuwo17h"
[node name="Hit Transform" type="Node3D" parent="."]
[node name="High Hit Sound" type="AudioStreamPlayer3D" parent="Hit Transform"]
stream = ExtResource("14_7vxi8")
unit_size = 50.0
pitch_scale = 2.0
attenuation_filter_cutoff_hz = 20500.0
attenuation_filter_db = 0.0
[node name="Low Hit Sound" type="AudioStreamPlayer3D" parent="Hit Transform"]
stream = ExtResource("14_7vxi8")
unit_size = 50.0
attenuation_filter_cutoff_hz = 20500.0
attenuation_filter_db = 0.0