56 lines
2.6 KiB
Plaintext
56 lines
2.6 KiB
Plaintext
|
[gd_scene load_steps=7 format=2]
|
||
|
|
||
|
[ext_resource path="res://assets/models/black_box/black_box.glb" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://assets/audio/walkie_talkie/talk.ogg" type="AudioStream" id=2]
|
||
|
[ext_resource path="res://assets/models/walkie_talkie/signal_generator.tscn" type="PackedScene" id=3]
|
||
|
[ext_resource path="res://assets/models/black_box/black_box.gd" type="Script" id=4]
|
||
|
|
||
|
[sub_resource type="SphereShape" id=1]
|
||
|
|
||
|
[sub_resource type="Animation" id=2]
|
||
|
resource_name = "Grow"
|
||
|
length = 1.54167
|
||
|
loop = true
|
||
|
tracks/0/type = "value"
|
||
|
tracks/0/path = NodePath("Blackbox:blend_shapes/Grow")
|
||
|
tracks/0/interp = 1
|
||
|
tracks/0/loop_wrap = true
|
||
|
tracks/0/imported = false
|
||
|
tracks/0/enabled = true
|
||
|
tracks/0/keys = {
|
||
|
"times": PoolRealArray( 0.0416667, 0.0833333, 0.125, 0.166667, 0.208333, 0.25, 0.291667, 0.333333, 0.375, 0.416667, 0.458333, 0.5, 0.541667, 0.583333, 0.625, 0.666667, 0.708333, 0.75, 0.791667, 0.833333, 0.875, 0.916667, 0.958333, 1, 1.04167, 1.08333, 1.125, 1.16667, 1.20833, 1.25, 1.29167, 1.33333, 1.375, 1.41667, 1.45833, 1.5, 1.54167 ),
|
||
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
|
||
|
"update": 0,
|
||
|
"values": [ 0.0, 0.00725, 0.028, 0.06075, 0.104, 0.15625, 0.216, 0.28175, 0.352, 0.42525, 0.5, 0.57475, 0.648, 0.71825, 0.784, 0.84375, 0.896, 0.93925, 0.972, 0.99275, 1.0, 0.98877, 0.957031, 0.907715, 0.84375, 0.768066, 0.683594, 0.593262, 0.5, 0.406738, 0.316406, 0.231934, 0.15625, 0.0922852, 0.0429688, 0.0112305, 0.0 ]
|
||
|
}
|
||
|
|
||
|
[node name="black_box" instance=ExtResource( 1 )]
|
||
|
script = ExtResource( 4 )
|
||
|
|
||
|
[node name="Blackbox" parent="." index="0"]
|
||
|
transform = Transform( 0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0 )
|
||
|
blend_shapes/Grow = 0.471218
|
||
|
|
||
|
[node name="StaticBody" type="StaticBody" parent="Blackbox" index="0"]
|
||
|
|
||
|
[node name="CollisionShape" type="CollisionShape" parent="Blackbox/StaticBody" index="0"]
|
||
|
transform = Transform( 2.5, 0, 0, 0, 10, 0, 0, 0, 2.5, 0, 0.592816, 0 )
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Blackbox" index="1"]
|
||
|
root_node = NodePath("../..")
|
||
|
autoplay = "Grow"
|
||
|
anims/Grow = SubResource( 2 )
|
||
|
|
||
|
[node name="SignalGenerator" parent="." index="1" instance=ExtResource( 3 )]
|
||
|
stream = ExtResource( 2 )
|
||
|
|
||
|
[node name="Area" type="Area" parent="." index="3"]
|
||
|
|
||
|
[node name="CollisionShape" type="CollisionShape" parent="Area" index="0"]
|
||
|
transform = Transform( 4, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0.592816, 0 )
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[connection signal="body_entered" from="Area" to="." method="_on_Area_body_entered"]
|
||
|
[connection signal="body_exited" from="Area" to="." method="_on_Area_body_exited"]
|