mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 07:45:33 +00:00
42 lines
2 KiB
Text
42 lines
2 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://d4ek8xjuh6y11"]
|
|
|
|
[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"]
|
|
[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"]
|
|
[ext_resource type="Script" uid="uid://c077xadpua5iy" path="res://Scripts/Actors/3D/OpenCloseActorAnimationManager3D.cs" id="6_0cjnq"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ro7iq"]
|
|
height = 0.297607
|
|
radius = 0.277344
|
|
|
|
[node name="FloorEmitter" type="StaticBody3D" groups=["Destroyable"]]
|
|
collision_layer = 64
|
|
collision_mask = 0
|
|
script = ExtResource("1_dtfaj")
|
|
EmitOnStart = true
|
|
Health = 10.0
|
|
ExplosionData = ExtResource("2_o5sow")
|
|
DamageResistances = Array[ExtResource("2_dtfaj")]([])
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, -0.08682054, -0.000488281)
|
|
shape = SubResource("CylinderShape3D_ro7iq")
|
|
|
|
[node name="blockbench_export" parent="." instance=ExtResource("3_ro7iq")]
|
|
|
|
[node name="BulletSpawner3D" type="Node3D" parent="."]
|
|
script = ExtResource("4_0cjnq")
|
|
|
|
[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"]
|