2025-04-21 13:11:49 -06:00
|
|
|
[gd_scene load_steps=15 format=3 uid="uid://d2feet02a603e"]
|
2025-03-20 17:06:29 -06:00
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://gg4c132d2xwj" path="res://src/props/overhead_light/overhead_light.gd" id="1_210ch"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bne1d0r5a8nn6" path="res://assets/props/overhead_light/overhead_light_C.png" id="1_whqf3"]
|
2025-04-21 13:11:49 -06:00
|
|
|
[ext_resource type="ArrayMesh" uid="uid://m4did6uilrp7" path="res://assets/props/overhead_light/overhead_light.obj" id="2_210ch"]
|
2025-03-20 17:06:29 -06:00
|
|
|
[ext_resource type="Texture2D" uid="uid://jag1fu2515j8" path="res://assets/props/overhead_light/overhead_light_E.png" id="2_g27yp"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bh2jmk7jfjmyr" path="res://assets/props/overhead_light/overhead_light_M.png" id="3_ngq1d"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://no4s7dsg8tih" path="res://assets/props/overhead_light/overhead_light_N.png" id="4_3gl0p"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cr5e4hk33wmwf" path="res://assets/props/overhead_light/overhead_light_R.png" id="5_210ch"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="6_3gl0p"]
|
2025-04-15 21:58:45 -06:00
|
|
|
[ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_bright.material" id="8_3gl0p"]
|
2025-03-20 17:06:29 -06:00
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ljcul"]
|
2025-04-21 13:11:49 -06:00
|
|
|
resource_local_to_scene = true
|
2025-03-20 17:06:29 -06:00
|
|
|
albedo_texture = ExtResource("1_whqf3")
|
|
|
|
metallic = 1.0
|
|
|
|
metallic_texture = ExtResource("3_ngq1d")
|
|
|
|
roughness_texture = ExtResource("5_210ch")
|
|
|
|
emission_enabled = true
|
|
|
|
emission_energy_multiplier = 12.0
|
|
|
|
emission_texture = ExtResource("2_g27yp")
|
|
|
|
normal_enabled = true
|
|
|
|
normal_texture = ExtResource("4_3gl0p")
|
|
|
|
texture_filter = 2
|
|
|
|
|
2025-03-20 22:45:19 -06:00
|
|
|
[sub_resource type="Animation" id="Animation_g27yp"]
|
|
|
|
length = 0.001
|
2025-03-20 17:06:29 -06:00
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
2025-04-21 13:11:49 -06:00
|
|
|
tracks/0/path = NodePath(".:surface_material_override/0:emission_energy_multiplier")
|
2025-03-20 17:06:29 -06:00
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
2025-03-20 22:45:19 -06:00
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [12.0]
|
2025-03-20 17:06:29 -06:00
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("../SpotLight3D:light_energy")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
2025-03-20 22:45:19 -06:00
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
2025-03-20 17:06:29 -06:00
|
|
|
"update": 0,
|
2025-03-20 22:45:19 -06:00
|
|
|
"values": [2.0]
|
2025-03-20 17:06:29 -06:00
|
|
|
}
|
|
|
|
|
2025-03-20 22:45:19 -06:00
|
|
|
[sub_resource type="Animation" id="Animation_whqf3"]
|
|
|
|
resource_name = "flicker"
|
|
|
|
length = 0.01
|
|
|
|
loop_mode = 1
|
|
|
|
step = 0.005
|
2025-03-20 17:06:29 -06:00
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
2025-04-21 13:11:49 -06:00
|
|
|
tracks/0/path = NodePath(".:surface_material_override/0:emission_energy_multiplier")
|
2025-03-20 17:06:29 -06:00
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
2025-03-20 22:45:19 -06:00
|
|
|
"times": PackedFloat32Array(0, 0.005),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [12.0, 11.0]
|
2025-03-20 17:06:29 -06:00
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("../SpotLight3D:light_energy")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
2025-03-20 22:45:19 -06:00
|
|
|
"times": PackedFloat32Array(0, 0.005),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
2025-03-20 17:06:29 -06:00
|
|
|
"update": 0,
|
2025-03-20 22:45:19 -06:00
|
|
|
"values": [3.0, 2.7]
|
2025-03-20 17:06:29 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ngq1d"]
|
|
|
|
_data = {
|
|
|
|
&"RESET": SubResource("Animation_g27yp"),
|
|
|
|
&"flicker": SubResource("Animation_whqf3")
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_jdrpd"]
|
|
|
|
data = PackedVector3Array(0.4, -0.1, 0.75, 0.3, -0.2, 0.75, 0.4, 0, 0.75, 0.4, 0, 0.75, 0.3, -0.2, 0.75, -0.4, 0, 0.75, -0.4, 0, 0.75, 0.3, -0.2, 0.75, -0.4, -0.1, 0.75, -0.4, -0.1, 0.75, 0.3, -0.2, 0.75, -0.3, -0.2, 0.75, 0.4, 0, -0.75, 0.4, -0.1, -0.75, 0.4, 0, 0.75, 0.4, 0, 0.75, 0.4, -0.1, -0.75, 0.4, -0.1, 0.75, -0.4, -0.1, -0.75, -0.3, -0.2, -0.75, -0.4, 0, -0.75, -0.4, 0, -0.75, -0.3, -0.2, -0.75, 0.4, 0, -0.75, 0.4, 0, -0.75, -0.3, -0.2, -0.75, 0.4, -0.1, -0.75, 0.4, -0.1, -0.75, -0.3, -0.2, -0.75, 0.3, -0.2, -0.75, -0.4, 0, 0.75, -0.4, -0.1, 0.75, -0.4, 0, -0.75, -0.4, 0, -0.75, -0.4, -0.1, 0.75, -0.4, -0.1, -0.75, -0.4, 0, -0.75, 0.4, 0, -0.75, -0.4, 0, 0.75, -0.4, 0, 0.75, 0.4, 0, -0.75, 0.4, 0, 0.75, -0.3, -0.2, 0.75, -0.3, -0.2, -0.75, -0.4, -0.1, 0.75, -0.4, -0.1, 0.75, -0.3, -0.2, -0.75, -0.4, -0.1, -0.75, 0.3, -0.2, -0.75, 0.3, -0.2, 0.75, 0.4, -0.1, -0.75, 0.4, -0.1, -0.75, 0.3, -0.2, 0.75, 0.4, -0.1, 0.75, 0.3, -0.2, -0.75, -0.3, -0.2, -0.75, 0.3, -0.2, 0.75, 0.3, -0.2, 0.75, -0.3, -0.2, -0.75, -0.3, -0.2, 0.75)
|
|
|
|
|
|
|
|
[node name="OverheadLight" type="Node3D"]
|
|
|
|
script = ExtResource("1_210ch")
|
|
|
|
|
|
|
|
[node name="SpotLight3D" type="SpotLight3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, -0.3, 0)
|
|
|
|
visible = false
|
|
|
|
light_color = Color(1, 0.9825, 0.95, 1)
|
|
|
|
light_energy = 2.0
|
|
|
|
light_specular = 1.0
|
2025-03-21 00:33:33 -06:00
|
|
|
spot_range = 16.0
|
|
|
|
spot_attenuation = 0.5
|
2025-03-28 14:16:43 -06:00
|
|
|
spot_angle = 98.0
|
2025-03-20 17:06:29 -06:00
|
|
|
spot_angle_attenuation = 1.55871
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
2025-04-19 20:04:54 -06:00
|
|
|
gi_mode = 2
|
2025-04-21 13:11:49 -06:00
|
|
|
mesh = ExtResource("2_210ch")
|
|
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_ljcul")
|
2025-03-20 17:06:29 -06:00
|
|
|
|
|
|
|
[node name="FluorescentFlicker" type="AnimationPlayer" parent="MeshInstance3D"]
|
|
|
|
libraries = {
|
|
|
|
&"": SubResource("AnimationLibrary_ngq1d")
|
|
|
|
}
|
|
|
|
autoplay = "flicker"
|
|
|
|
|
|
|
|
[node name="GunkBody" parent="MeshInstance3D" instance=ExtResource("6_3gl0p")]
|
2025-04-22 15:26:31 -06:00
|
|
|
unique_name_in_owner = true
|
2025-03-20 17:06:29 -06:00
|
|
|
mask_dim = 32
|
2025-04-15 21:58:45 -06:00
|
|
|
source_gunk_material = ExtResource("8_3gl0p")
|
2025-03-20 17:06:29 -06:00
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/GunkBody"]
|
|
|
|
shape = SubResource("ConcavePolygonShape3D_jdrpd")
|
|
|
|
|
|
|
|
[connection signal="clear_total_updated" from="MeshInstance3D/GunkBody" to="." method="_on_clear_total_updated"]
|