85 lines
2.5 KiB
Plaintext
85 lines
2.5 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://b7dckyxwj80ff"]
|
|
|
|
[ext_resource type="Script" uid="uid://dib0h35wkm16e" path="res://scenes/props/park_clock.gd" id="1_oxsyg"]
|
|
[ext_resource type="AudioStream" uid="uid://c5ugemxooiq4r" path="res://assets/SFX/big_ben_single_bong.mp3" id="2_5fsla"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_257xc"]
|
|
albedo_color = Color(1, 0.0313726, 0, 1)
|
|
metallic = 0.85
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_oxsyg"]
|
|
albedo_color = Color(1, 0.0313726, 0, 1)
|
|
metallic = 0.85
|
|
|
|
[sub_resource type="Animation" id="Animation_5fsla"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_oxsyg"]
|
|
resource_name = "clock_down"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, 0), Vector3(0, 0, -1.4399)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wxmr0"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_5fsla"),
|
|
&"clock_down": SubResource("Animation_oxsyg")
|
|
}
|
|
|
|
[node name="ParkClock" type="Node3D"]
|
|
script = ExtResource("1_oxsyg")
|
|
|
|
[node name="ClockPole" type="CSGCylinder3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.39027, 0)
|
|
use_collision = true
|
|
radius = 0.2
|
|
height = 2.33301
|
|
sides = 64
|
|
smooth_faces = false
|
|
material = SubResource("StandardMaterial3D_257xc")
|
|
|
|
[node name="ClockTop" type="CSGCylinder3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 2.98738, 0)
|
|
use_collision = true
|
|
height = 0.5
|
|
sides = 64
|
|
material = SubResource("StandardMaterial3D_oxsyg")
|
|
|
|
[node name="ClockSpike" type="CSGCylinder3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -1, 8.74228e-08, 0, -8.74228e-08, -1, 0, -0.0262876, 0)
|
|
radius = 0.2
|
|
height = 0.5
|
|
sides = 64
|
|
cone = true
|
|
material = SubResource("StandardMaterial3D_257xc")
|
|
|
|
[node name="AudioClock" type="AudioStreamPlayer3D" parent="."]
|
|
stream = ExtResource("2_5fsla")
|
|
volume_db = 20.0
|
|
|
|
[node name="AnimationParkClock" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_wxmr0")
|
|
}
|