[gd_scene load_steps=7 format=2] [ext_resource path="res://world/monuments/lighthouse/lighthouse.gltf" type="PackedScene" id=1] [ext_resource path="res://world/monuments/lighthouse/lighthouse.gd" type="Script" id=2] [sub_resource type="SpatialMaterial" id=1] albedo_color = Color( 0.0470588, 0.00392157, 0.00392157, 1 ) [sub_resource type="SpatialMaterial" id=2] emission_enabled = true emission = Color( 1, 0.996078, 0.74902, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false [sub_resource type="Animation" id=3] length = 0.001 tracks/0/type = "value" tracks/0/path = NodePath("lighthouse/light:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ Vector3( 90, 0, 0 ) ] } [sub_resource type="Animation" id=4] resource_name = "spin_light" length = 5.0 loop = true tracks/0/type = "value" tracks/0/path = NodePath("lighthouse/light:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 5 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Vector3( 90, 0, 0 ), Vector3( 90, 0, 360 ) ] } [node name="lighthouse" instance=ExtResource( 1 )] script = ExtResource( 2 ) [node name="OmniLight" type="OmniLight" parent="." index="0"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 165.193, 0 ) light_color = Color( 1, 0.92549, 0.768627, 1 ) shadow_enabled = true omni_range = 76.7922 [node name="light" parent="lighthouse" index="0"] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 165.636, 0 ) material/0 = SubResource( 1 ) material/1 = SubResource( 2 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="." index="2"] anims/RESET = SubResource( 3 ) anims/spin_light = SubResource( 4 )