frame-of-mind/src/base-environments/volunteer_room/volunteer_room.tscn

423 lines
19 KiB
Plaintext

[gd_scene load_steps=49 format=3 uid="uid://flisupth27th"]
[ext_resource type="PackedScene" uid="uid://dwbhei5kywqbd" path="res://volunteer_room_visuals.tscn" id="1_ln5pp"]
[ext_resource type="Script" uid="uid://wiw2j1gw230e" path="res://base-environments/volunteer_room/volunteer_room.gd" id="1_wdfvq"]
[ext_resource type="PackedScene" uid="uid://mkccbig41bqb" path="res://logic-scenes/player_controller/player_controller.tscn" id="2_upyac"]
[ext_resource type="Script" uid="uid://c281w7earok6w" path="res://base-environments/youth_room/crouch_volume.gd" id="3_fli74"]
[ext_resource type="PackedScene" uid="uid://dreokijo757l1" path="res://logic-scenes/interactable/interactable.tscn" id="5_my8p4"]
[ext_resource type="VoxelGIData" uid="uid://dw2u8n6l38xjm" path="res://base-environments/volunteer_room/volunteer_room.VoxelGI_data.res" id="8_fli74"]
[ext_resource type="PackedScene" uid="uid://dsnil1roc3x37" path="res://base-environments/volunteer_room/scenes/autism.tscn" id="10_gcdra"]
[ext_resource type="PackedScene" uid="uid://b2fqh0xl224jc" path="res://base-environments/volunteer_room/scenes/burnout.tscn" id="11_kmoh8"]
[ext_resource type="PackedScene" uid="uid://bacg6w3wjgrrx" path="res://base-environments/volunteer_room/scenes/eating_challenges.tscn" id="12_6rb4d"]
[ext_resource type="PackedScene" uid="uid://r8gjxitlwd1f" path="res://base-environments/volunteer_room/scenes/self_advocacy.tscn" id="13_5s6pb"]
[ext_resource type="PackedScene" uid="uid://5dkocippxkwv" path="res://base-environments/volunteer_room/scenes/therapy_uni.tscn" id="14_upyac"]
[ext_resource type="PackedScene" uid="uid://b8iaixkhsnahi" path="res://base-environments/volunteer_room/scenes/therapy_volunteer.tscn" id="15_ci4rn"]
[ext_resource type="Script" uid="uid://bexqccvdqi7ad" path="res://base-environments/volunteer_room/volunteer_scene_players.gd" id="16_5s6pb"]
[ext_resource type="PackedScene" uid="uid://s48pybgsm5mo" path="res://base-environments/volunteer_room/scenes/trans.tscn" id="16_e1uao"]
[ext_resource type="PackedScene" uid="uid://r1dj1l0k0s2e" path="res://base-environments/volunteer_room/scenes/trauma.tscn" id="17_my8p4"]
[ext_resource type="PackedScene" uid="uid://brk4hjdf2x81a" path="res://logic-scenes/card_picker/card_picker.tscn" id="18_upyac"]
[ext_resource type="PackedScene" uid="uid://bnskiyx1sksww" path="res://logic-scenes/board/physics-board.tscn" id="19_ci4rn"]
[ext_resource type="PackedScene" uid="uid://citwb7f4dl3l1" path="res://thank-you.tscn" id="20_e1uao"]
[ext_resource type="Shader" uid="uid://d324neibxpomg" path="res://base-environments/intro/shaders/stars.gdshader" id="22_e1uao"]
[ext_resource type="Texture2D" uid="uid://dabnlcnuticww" path="res://base-environments/intro/textures/sky_textures_2.png" id="23_my8p4"]
[sub_resource type="BoxMesh" id="BoxMesh_tmbwx"]
size = Vector3(1, 2.778, 1.353)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2fihi"]
radius = 1.14469
height = 3.78697
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_5s6pb"]
[sub_resource type="BoxShape3D" id="BoxShape3D_my8p4"]
size = Vector3(2.5496612, 0.8709717, 2.9011602)
[sub_resource type="BoxShape3D" id="BoxShape3D_ri8p0"]
size = Vector3(1.3361943, 1.8311157, 0.5569699)
[sub_resource type="SphereShape3D" id="SphereShape3D_br20t"]
radius = 0.3950032
[sub_resource type="BoxShape3D" id="BoxShape3D_sunku"]
size = Vector3(0.80489576, 0.8709717, 1.8781221)
[sub_resource type="BoxShape3D" id="BoxShape3D_mumj5"]
size = Vector3(3.6337676, 4, 0.1865977)
[sub_resource type="BoxShape3D" id="BoxShape3D_pdgua"]
size = Vector3(1.7968724, 4, 0.1865977)
[sub_resource type="BoxShape3D" id="BoxShape3D_0bxa6"]
size = Vector3(2.4439237, 4, 0.121619165)
[sub_resource type="BoxShape3D" id="BoxShape3D_3k3rl"]
size = Vector3(3.038, 4, 4.9940557)
[sub_resource type="BoxShape3D" id="BoxShape3D_rwcbo"]
size = Vector3(0.607, 4, 7.841)
[sub_resource type="BoxShape3D" id="BoxShape3D_7klvh"]
size = Vector3(0.607, 4, 12.586027)
[sub_resource type="BoxShape3D" id="BoxShape3D_2ixm0"]
size = Vector3(7.010043, 4, 0.7444682)
[sub_resource type="Animation" id="Animation_ri8p0"]
resource_name = "RESET"
length = 0.001
[sub_resource type="AnimationLibrary" id="AnimationLibrary_br20t"]
_data = {
&"RESET": SubResource("Animation_ri8p0")
}
[sub_resource type="GDScript" id="GDScript_ri8p0"]
script/source = "extends Panel
func show():
mouse_filter = MOUSE_FILTER_STOP
visible = true
"
[sub_resource type="Gradient" id="Gradient_ri8p0"]
interpolation_mode = 2
offsets = PackedFloat32Array(0, 0.175337, 0.414258, 0.593449, 0.700565, 0.770713, 0.798493, 0.809793, 0.954802)
colors = PackedColorArray(0, 0, 0, 0, 0.003, 0.0047, 0.02, 0.584314, 0.02385, 0.009, 0.09, 0, 0.06228, 0.0312, 0.12, 1, 0.22, 0.055, 0.1815, 0, 0.816757, 0.155467, 0.208686, 0.819608, 0.0136439, 0.0237636, 0.0955315, 1, 0.0120242, 0.0120251, 0.0360567, 0.356863, 0.00319355, 0.00476964, 0.0186391, 0.313726)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_apxml"]
gradient = SubResource("Gradient_ri8p0")
use_hdr = true
[sub_resource type="Gradient" id="Gradient_br20t"]
interpolation_mode = 2
interpolation_color_space = 1
offsets = PackedFloat32Array(0, 0.137476, 0.46516, 0.851224)
colors = PackedColorArray(0.127188, 0.325303, 0.352533, 1, 0.0512, 0.18112, 0.32, 1, 0.0406, 0.0530699, 0.29, 1, 0.106137, 0.0034, 0.17, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_vetqo"]
gradient = SubResource("Gradient_br20t")
use_hdr = true
[sub_resource type="Gradient" id="Gradient_sunku"]
colors = PackedColorArray(0.85, 0.46325, 0.0765, 1, 0.825717, 0.47559, 0.983214, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_8fou6"]
gradient = SubResource("Gradient_sunku")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_mumj5"]
shader = ExtResource("22_e1uao")
shader_parameter/star_size = 120.0
shader_parameter/star_colors = SubResource("GradientTexture1D_8fou6")
shader_parameter/sky_gradient = SubResource("GradientTexture1D_vetqo")
shader_parameter/nebula_gradient = SubResource("GradientTexture1D_apxml")
shader_parameter/nebula_offset = 0.5
shader_parameter/universe_background = ExtResource("23_my8p4")
[sub_resource type="Sky" id="Sky_85fpg"]
sky_material = SubResource("ShaderMaterial_mumj5")
[sub_resource type="Environment" id="Environment_pdgua"]
background_mode = 2
sky = SubResource("Sky_85fpg")
sky_rotation = Vector3(0, 0.352557, 0)
ambient_light_source = 3
ambient_light_color = Color(1, 1, 1, 1)
reflected_light_source = 1
tonemap_mode = 2
tonemap_exposure = 0.7
tonemap_white = 3.0
ssr_max_steps = 512
ssr_depth_tolerance = 0.01
ssao_enabled = true
ssao_radius = 1.24
ssao_intensity = 3.09
ssao_power = 1.91184
ssao_detail = 3.0
ssil_radius = 2.0
ssil_intensity = 0.5
ssil_normal_rejection = 0.8
sdfgi_use_occlusion = true
sdfgi_read_sky_light = false
sdfgi_min_cell_size = 0.009765625
glow_enabled = true
glow_levels/2 = 0.3
glow_levels/7 = 2.0
glow_intensity = 0.4
glow_strength = 0.7
glow_bloom = 0.13
glow_blend_mode = 1
glow_hdr_threshold = 0.46
fog_enabled = true
fog_light_color = Color(0.141176, 0.133333, 0.301961, 1)
fog_sky_affect = 0.0
fog_height = 1.0
fog_height_density = 0.1
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_0bxa6"]
exposure_multiplier = 4.0
auto_exposure_enabled = true
auto_exposure_scale = 0.3
dof_blur_far_distance = 0.4
dof_blur_far_transition = 0.2
dof_blur_near_distance = 6.0
dof_blur_near_transition = 2.0
dof_blur_amount = 0.0
auto_exposure_max_sensitivity = 1200.0
[sub_resource type="GDScript" id="GDScript_3k3rl"]
script/source = "extends WorldEnvironment
func _ready():
State.environment_settings_changed.connect(_on_environment_settings_update)
Scenes.scene_starting.connect(scene_starting)
Scenes.scene_finished.connect(scene_finished)
_on_environment_settings_update()
func focus_env():
var dof_strength_tween: Tween = create_tween()
dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0, 1)
await(dof_strength_tween.finished)
camera_attributes.dof_blur_near_enabled = false
func focus_object():
camera_attributes.dof_blur_near_enabled = true
var dof_strength_tween: Tween = create_tween()
dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0.4, 1)
func scene_starting(id: int, _repeat: bool):
if id == Scenes.id.YOUTH_VOICE_TRAINING:
await get_tree().create_timer(10).timeout
focus_object()
func scene_finished(_id: int, _repeat: bool):
focus_env()
func _on_environment_settings_update():
environment.ssil_enabled = State.ssil_enable
environment.sdfgi_enabled = State.sdfgi_enable
"
[node name="SharedFlat" type="Node3D"]
script = ExtResource("1_wdfvq")
id = 3
[node name="PlayerController" parent="." instance=ExtResource("2_upyac")]
unique_name_in_owner = true
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2.2023005, 0, 0.7319784)
initial_pitch = 0.0
[node name="Yaw" parent="PlayerController" index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
[node name="Camera3D" parent="PlayerController/Yaw/Pitch/Mount" index="0"]
transform = Transform3D(1, 0, 0, 0, 1.0000006, 0, 0, 0, 1.0000006, 0, 0.202, 0.157)
[node name="volunteer_room" parent="." instance=ExtResource("1_ln5pp")]
[node name="MeshInstance3D" type="MeshInstance3D" parent="volunteer_room"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.39256942, 0, 2.4170494)
mesh = SubResource("BoxMesh_tmbwx")
[node name="bed_crouch" type="Area3D" parent="volunteer_room"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.4831846, 0, 2.44453)
collision_layer = 2
collision_mask = 2
script = ExtResource("3_fli74")
[node name="CollisionShape3D" type="CollisionShape3D" parent="volunteer_room/bed_crouch"]
transform = Transform3D(0.995341, 0.096419, 0, 4.21461e-09, -4.35077e-08, -1, -0.096419, 0.995341, -4.37114e-08, 0.107988, 1.56575e-08, -0.358201)
shape = SubResource("CapsuleShape3D_2fihi")
[node name="Collectables" type="Node3D" parent="."]
[node name="KitchenInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.8310573, 1.0068259, -2.7083611)
interaction = ExtResource("12_6rb4d")
[node name="BurnoutInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
transform = Transform3D(0.32358676, 0, -0.94619733, 0, 1, 0, 0.94619733, 0, 0.32358676, -2.1812932, 0.8092947, 5.313688)
interaction = ExtResource("11_kmoh8")
[node name="DiceInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
transform = Transform3D(0.7071059, 0, -0.7071061, 0, 1, 0, 0.7071061, 0, 0.7071059, -2.07945, 0.5828748, 3.3940656)
interaction = ExtResource("16_e1uao")
[node name="VoluntaryInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
transform = Transform3D(-4.3711346e-08, 0, 0.999999, 0, 1, 0, -0.999999, 0, -4.3711346e-08, 0.36332494, 1.2541859, 4.9624853)
interaction = ExtResource("17_my8p4")
billboard = false
[node name="TherapyVoluntaryInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
unique_name_in_owner = true
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.399901, 1.21835, 1.29166)
interaction = ExtResource("15_ci4rn")
billboard = false
[node name="TherapyUniInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
unique_name_in_owner = true
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.399901, 1.21835, 1.29166)
interaction = ExtResource("14_upyac")
billboard = false
[node name="UniversityInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
transform = Transform3D(-4.371135e-08, 0, -0.9999991, 0, 1, 0, 0.9999991, 0, -4.371135e-08, -2.7745893, 1.4022808, -3.0279322)
interaction = ExtResource("13_5s6pb")
billboard = false
[node name="OldThougtsInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
transform = Transform3D(-4.3711346e-08, 0, -0.999999, 0, 1, 0, 0.999999, 0, -4.3711346e-08, -2.40979, 0.41340256, 0.403546)
interaction = ExtResource("17_my8p4")
[node name="AutismInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
transform = Transform3D(-0.75470823, 0, -0.65605795, 0, 1, 0, 0.65605795, 0, -0.75470823, -1.8407239, 1.0439266, -3.8908288)
interaction = ExtResource("10_gcdra")
[node name="Board" parent="Collectables" instance=ExtResource("5_my8p4")]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -2.7652016, 1.2894461, 4.522677)
interaction = ExtResource("19_ci4rn")
billboard = false
[node name="DoorInteractable" type="Node3D" parent="Collectables"]
unique_name_in_owner = true
[node name="VoxelGI" type="VoxelGI" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.08276367, 1.3269348, 0.09955597)
size = Vector3(6.132324, 2.9212036, 12.147232)
data = ExtResource("8_fli74")
[node name="Collision" type="Node3D" parent="."]
[node name="StaticBody" type="StaticBody3D" parent="Collision"]
[node name="WorldBoundary (Floor)" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0)
shape = SubResource("WorldBoundaryShape3D_5s6pb")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.0295625, 0.43548584, -1.5359472)
shape = SubResource("BoxShape3D_my8p4")
[node name="CollisionShape3D14" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.473804, 0.43548584, -5.2581515)
shape = SubResource("BoxShape3D_my8p4")
[node name="CollisionShape3D15" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5582857, 0.43548584, -4.6777506)
shape = SubResource("BoxShape3D_my8p4")
[node name="CollisionShape3D18" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.318601, 0.43548584, 5.4479933)
shape = SubResource("BoxShape3D_my8p4")
[node name="CollisionShape3D20" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.3467457, 0.91555786, 3.809821)
shape = SubResource("BoxShape3D_ri8p0")
[node name="CollisionShape3D23" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.28132415, 0.91555786, -4.867077)
shape = SubResource("BoxShape3D_ri8p0")
[node name="CollisionShape3D22" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.17872827, 0.43548584, 2.4474537)
shape = SubResource("BoxShape3D_ri8p0")
[node name="CollisionShape3D19" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.02912116, 0.43548584, 5.6458735)
shape = SubResource("SphereShape3D_br20t")
[node name="CollisionShape3D21" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.3792989, 0.43548584, 3.8899004)
shape = SubResource("SphereShape3D_br20t")
[node name="CollisionShape3D16" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(0.99368984, 0, 0.11216268, 0, 1, 0, -0.11216268, 0, 0.99368984, -2.8277857, 0.43548584, -0.90668166)
shape = SubResource("BoxShape3D_my8p4")
[node name="CollisionShape3D17" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(0.9997138, 0, -0.023926191, 0, 1, 0, 0.023926191, 0, 0.9997138, 0.20360646, 0.43548584, -1.0235084)
shape = SubResource("BoxShape3D_sunku")
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5631266, 2, -0.06579882)
shape = SubResource("BoxShape3D_mumj5")
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.0312304, 2, -0.06579882)
shape = SubResource("BoxShape3D_pdgua")
[node name="CollisionShape3D11" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.1283288, 2, 1.3899179)
shape = SubResource("BoxShape3D_0bxa6")
[node name="CollisionShape3D12" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.50890803, 2, -1.4181784)
shape = SubResource("BoxShape3D_0bxa6")
[node name="CollisionShape3D13" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.50890803, 2, -4.862812)
shape = SubResource("BoxShape3D_0bxa6")
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6831162, 2, 1.4073527)
shape = SubResource("BoxShape3D_mumj5")
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.981, 2, 3.8725982)
shape = SubResource("BoxShape3D_3k3rl")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.197, 2, -2.25)
shape = SubResource("BoxShape3D_rwcbo")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.2058272, 2, 0.12251377)
shape = SubResource("BoxShape3D_7klvh")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0043058395, 2, 6.437253)
shape = SubResource("BoxShape3D_2ixm0")
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Collision/StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0043058395, 2, -6.174767)
shape = SubResource("BoxShape3D_2ixm0")
[node name="Scenes" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.4831846, 0, 2.44453)
[node name="SceneAnimationPlayer" type="AnimationPlayer" parent="Scenes"]
unique_name_in_owner = true
libraries = {
&"": SubResource("AnimationLibrary_br20t")
}
script = ExtResource("16_5s6pb")
[node name="UI" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="Picker" parent="UI" groups=["scene_actors"] instance=ExtResource("18_upyac")]
unique_name_in_owner = true
visible = false
layout_mode = 1
[node name="ending" parent="UI" instance=ExtResource("20_e1uao")]
visible = false
layout_mode = 1
mouse_filter = 2
script = SubResource("GDScript_ri8p0")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_pdgua")
camera_attributes = SubResource("CameraAttributesPractical_0bxa6")
script = SubResource("GDScript_3k3rl")
[editable path="PlayerController"]