cirnogodot/3D/Scenes/Props/Floor_Emitter_3D.tscn

42 lines
2 KiB
Text
Raw Normal View History

2025-10-09 09:11:25 +02:00
[gd_scene load_steps=8 format=3 uid="uid://d4ek8xjuh6y11"]
2025-06-20 15:39:19 +02:00
[ext_resource type="Script" uid="uid://dpibtd73awwp7" path="res://Scripts/Actors/ScriptableBulletsEmitter3D.cs" id="1_dtfaj"]
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="2_dtfaj"]
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/3D/Explosion_Harmless_Small_3D.tres" id="2_o5sow"]
2025-06-20 15:39:19 +02:00
[ext_resource type="PackedScene" uid="uid://sy821kigcoqx" path="res://3D/BlockbenchModels/FloorEmitter/Floor_Emitter.gltf" id="3_ro7iq"]
[ext_resource type="Script" uid="uid://bf5f2phitdqw8" path="res://Scripts/Actors/BulletSpawner3D.cs" id="4_0cjnq"]
2025-10-09 09:11:25 +02:00
[ext_resource type="Script" uid="uid://c077xadpua5iy" path="res://Scripts/Actors/3D/OpenCloseActorAnimationManager3D.cs" id="6_0cjnq"]
2025-06-20 15:39:19 +02:00
2025-06-28 13:59:12 +02:00
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ro7iq"]
height = 0.297607
radius = 0.277344
2025-06-20 15:39:19 +02:00
[node name="FloorEmitter" type="StaticBody3D" groups=["Destroyable"]]
2025-06-28 13:59:12 +02:00
collision_layer = 64
2025-06-20 15:39:19 +02:00
collision_mask = 0
script = ExtResource("1_dtfaj")
EmitOnStart = true
Health = 10.0
ExplosionData = ExtResource("2_o5sow")
DamageResistances = Array[ExtResource("2_dtfaj")]([])
2025-06-20 15:39:19 +02:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
2025-10-09 09:11:25 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, -0.08682054, -0.000488281)
2025-06-28 13:59:12 +02:00
shape = SubResource("CylinderShape3D_ro7iq")
2025-06-20 15:39:19 +02:00
[node name="blockbench_export" parent="." instance=ExtResource("3_ro7iq")]
[node name="BulletSpawner3D" type="Node3D" parent="."]
script = ExtResource("4_0cjnq")
2025-10-09 09:11:25 +02:00
[node name="AnimationManager" type="Node" parent="." node_paths=PackedStringArray("AnimationPlayer")]
script = ExtResource("6_0cjnq")
AnimationPlayer = NodePath("../blockbench_export/AnimationPlayer")
OpeningAnimationName = &"TurnOn"
ClosingAnimationName = &"TurnOff"
OpenAnimationName = &"On"
ClosedAnimationName = &"Off"
[connection signal="StateChanged" from="." to="AnimationManager" method="Toggle"]
[editable path="blockbench_export"]