Files
frog/scenes/animals/horses.tscn
T
E250429F 3e857fa9f3 credit
2026-09-17 23:19:43 +02:00

84 lines
4.2 KiB
Plaintext

[gd_scene format=3 uid="uid://dwko4ah7ewaxt"]
[ext_resource type="Script" uid="uid://mnf6fljk6624" path="res://scripts/animals/horses.gd" id="1_ntoat"]
[ext_resource type="AudioStream" uid="uid://c4fe4b8e67av" path="res://assets/audio/sound-effects/horse-snort.mp3" id="2_gxcj6"]
[ext_resource type="PackedScene" uid="uid://mogk36rt8fhy" path="res://assets/blender/horses.blend" id="2_ntoat"]
[sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_gxcj6"]
[sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_ntoat"]
[sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_lqtvf"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ad4bg"]
animation = &"Armature_002Action"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_bwx0q"]
animation = &"Armature_003Action"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_6l0j3"]
animation = &"Armature_004Action"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_dodqp"]
animation = &"Armature_001Action"
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_ka232"]
graph_offset = Vector2(-192.294, 43.56093)
nodes/output/position = Vector2(1220, 240)
nodes/Animation/node = SubResource("AnimationNodeAnimation_dodqp")
nodes/Animation/position = Vector2(280, 100)
"nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_ad4bg")
"nodes/Animation 2/position" = Vector2(280, 260)
"nodes/Animation 3/node" = SubResource("AnimationNodeAnimation_bwx0q")
"nodes/Animation 3/position" = Vector2(280, 420)
"nodes/Animation 4/node" = SubResource("AnimationNodeAnimation_6l0j3")
"nodes/Animation 4/position" = Vector2(280, 580)
nodes/Add2/node = SubResource("AnimationNodeAdd2_lqtvf")
nodes/Add2/position = Vector2(620, 120)
"nodes/Add2 2/node" = SubResource("AnimationNodeAdd2_gxcj6")
"nodes/Add2 2/position" = Vector2(600, 440)
"nodes/Add2 3/node" = SubResource("AnimationNodeAdd2_ntoat")
"nodes/Add2 3/position" = Vector2(880, 260)
node_connections = [&"output", 0, &"Add2 3", &"Add2", 0, &"Animation", &"Add2", 1, &"Animation 2", &"Add2 2", 0, &"Animation 3", &"Add2 2", 1, &"Animation 4", &"Add2 3", 0, &"Add2", &"Add2 3", 1, &"Add2 2"]
[node name="horses" type="Node3D" unique_id=506898663]
script = ExtResource("1_ntoat")
[node name="horses" parent="." unique_id=985518793 instance=ExtResource("2_ntoat")]
[node name="Skeleton3D" parent="horses/Armature_002" parent_id_path=PackedInt32Array(985518793, 1679468984) index="0" unique_id=305353409]
bones/0/rotation = Quaternion(0.05996142, -0.021150274, 0.23242806, 0.97053313)
bones/1/rotation = Quaternion(-0.07400438, -0.043566473, 0.16281754, 0.9829119)
[node name="Skeleton3D" parent="horses/Armature_003" parent_id_path=PackedInt32Array(985518793, 324608343) index="0" unique_id=566807659]
bones/0/rotation = Quaternion(0.043244284, -0.0013356614, -0.01648798, 0.99892765)
bones/1/rotation = Quaternion(0.08554217, -0.029846592, 0.17295219, 0.9807545)
[node name="Skeleton3D" parent="horses/Armature_001" parent_id_path=PackedInt32Array(985518793, 482989068) index="0" unique_id=2075055954]
bones/0/rotation = Quaternion(0.0867614, -0.100712866, 0.83153236, -0.53933597)
bones/1/rotation = Quaternion(0.053238384, -0.034027103, 0.011647905, 0.997934)
[node name="Skeleton3D" parent="horses/Armature_004" parent_id_path=PackedInt32Array(985518793, 780370002) index="0" unique_id=393517518]
bones/0/rotation = Quaternion(-0.02536754, 0.12018125, -0.6320067, 0.76516694)
bones/1/rotation = Quaternion(-0.20103139, -0.28264776, 0.3075746, 0.88605565)
[node name="AnimationTree" type="AnimationTree" parent="." unique_id=183096557]
root_node = NodePath("../horses")
tree_root = SubResource("AnimationNodeBlendTree_ka232")
anim_player = NodePath("../horses/AnimationPlayer")
parameters/Add2/add_amount = 1.0
"parameters/Add2 2/add_amount" = 1.0
"parameters/Add2 3/add_amount" = 1.0
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="." unique_id=675398598]
stream = ExtResource("2_gxcj6")
volume_db = -7.0
[node name="SnortTimer" type="Timer" parent="." unique_id=1784611382]
wait_time = 25.0
autostart = true
[connection signal="timeout" from="SnortTimer" to="." method="_on_snort_timer_timeout"]
[editable path="horses"]