1339 lines
47 KiB
Plaintext
1339 lines
47 KiB
Plaintext
[gd_scene load_steps=67 format=3 uid="uid://b3b0gyvklqn50"]
|
||
|
||
[ext_resource type="Script" path="res://base-environments/youth_room/room_handle.gd" id="1_aitp0"]
|
||
[ext_resource type="PackedScene" uid="uid://c0i4ydmxtxfho" path="res://base-environments/youth_room/import/youth_room.glb" id="1_jf3oi"]
|
||
[ext_resource type="AudioStream" uid="uid://1h6k2d8q1kw3" path="res://base-environments/youth_room/import/sounds/rain_on_window.mp3" id="2_3haaq"]
|
||
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="2_21x33"]
|
||
[ext_resource type="PackedScene" uid="uid://mkccbig41bqb" path="res://logic-scenes/player_controller/player_controller.tscn" id="3_foj4y"]
|
||
[ext_resource type="AudioStream" uid="uid://bbpo1hu35yer8" path="res://base-environments/youth_room/import/sounds/thunder.mp3" id="3_wcypa"]
|
||
[ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="3_xqd4w"]
|
||
[ext_resource type="ArrayMesh" uid="uid://wuxbl6u3s8yo" path="res://base-environments/youth_room/shaders/starlight-mesh.res" id="6_gy6jv"]
|
||
[ext_resource type="AudioStream" uid="uid://cudna8k7fw06t" path="res://base-environments/youth_room/audio/Moving Loop.wav" id="8_egnow"]
|
||
[ext_resource type="AudioStream" uid="uid://bwh60165c3saj" path="res://base-environments/youth_room/audio/lisa_youth_voice.ogg" id="9_dqdgk"]
|
||
[ext_resource type="AudioStream" uid="uid://cl74a68tjwinh" path="res://base-environments/youth_room/audio/Youth Loop.wav" id="9_i8mqk"]
|
||
[ext_resource type="AudioStream" uid="uid://cho5neuxkvpyh" path="res://base-environments/youth_room/audio/Voice Loop.wav" id="10_wwwdq"]
|
||
[ext_resource type="Script" path="res://base-environments/youth_room/Collectable.gd" id="11_6fwv8"]
|
||
[ext_resource type="Script" path="res://dev-util/click-trough-area.gd" id="11_7uxd8"]
|
||
[ext_resource type="PackedScene" uid="uid://d3pb25xuef2t2" path="res://logic-scenes/collectable/collectable_ui.tscn" id="11_jxai0"]
|
||
[ext_resource type="PackedScene" uid="uid://bdnesuqroi7ss" path="res://vfx/collectable_particles.tscn" id="12_qxx2k"]
|
||
[ext_resource type="Texture2D" uid="uid://d005qvnbnishb" path="res://import/interface-elements/cursor_grab.png" id="13_lqj71"]
|
||
[ext_resource type="PackedScene" uid="uid://brk4hjdf2x81a" path="res://logic-scenes/card_picker/card_picker.tscn" id="19_a4n1o"]
|
||
[ext_resource type="ArrayMesh" uid="uid://bfc3d4g40n0wy" path="res://logic-scenes/collectable/import/old-mask.res" id="19_jr2bb"]
|
||
[ext_resource type="PackedScene" uid="uid://dwtxjvprjyx8p" path="res://base-environments/youth_room/lava-lamp.tscn" id="21_0k2gr"]
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_j3mqx"]
|
||
size = Vector3(0.711297, 2.53136, 1.74815)
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_ddjvs"]
|
||
size = Vector3(0.797403, 1.05979, 1.74423)
|
||
|
||
[sub_resource type="SphereShape3D" id="SphereShape3D_gjlrn"]
|
||
radius = 0.415979
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_r40dp"]
|
||
size = Vector3(1.30429, 0.270057, 2.5769)
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_qck8u"]
|
||
size = Vector3(0.510823, 1.21862, 1.61497)
|
||
|
||
[sub_resource type="SphereShape3D" id="SphereShape3D_srxfv"]
|
||
radius = 0.379997
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_16r57"]
|
||
size = Vector3(0.125842, 1.22363, 0.79255)
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_qmnj2"]
|
||
size = Vector3(0.82534, 0.820503, 0.503813)
|
||
|
||
[sub_resource type="SphereShape3D" id="SphereShape3D_4ckrq"]
|
||
radius = 0.981137
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_wdkxn"]
|
||
size = Vector3(5.75304, 0.238875, 4.229)
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_3lwkl"]
|
||
size = Vector3(2.02493, 2.13981, 1)
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_1nque"]
|
||
size = Vector3(5.24258, 2.13981, 1)
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_eq1fk"]
|
||
size = Vector3(0.25896, 2.51771, 0.244169)
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_js8wo"]
|
||
size = Vector3(0.56931, 1.23778, 1.62664)
|
||
|
||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_f1g8m"]
|
||
radius = 0.156739
|
||
|
||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kewqg"]
|
||
radius = 0.787239
|
||
height = 3.19663
|
||
|
||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_k4x40"]
|
||
radius = 1.0352
|
||
height = 2.55391
|
||
|
||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4q8vc"]
|
||
radius = 1.14469
|
||
height = 3.78697
|
||
|
||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_n20ff"]
|
||
radius = 1.73984
|
||
height = 5.43669
|
||
|
||
[sub_resource type="GDScript" id="GDScript_uyt24"]
|
||
script/source = "extends StaticBody3D
|
||
var risen:bool = false
|
||
var start_position:Vector3 = position
|
||
|
||
func raise(_discard):
|
||
if risen:
|
||
position = start_position
|
||
var raiser = create_tween()
|
||
raiser.tween_property(self, \"position\", position + Vector3(0,1.1,0), 1)
|
||
risen = true
|
||
|
||
func reset(_discard):
|
||
risen = false
|
||
position = start_position
|
||
"
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_gim5a"]
|
||
size = Vector3(1.63347, 0.305693, 0.775269)
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_bq15k"]
|
||
size = Vector3(0.375967, 1, 0.245859)
|
||
|
||
[sub_resource type="GDScript" id="GDScript_35dmj"]
|
||
script/source = "extends SpotLight3D
|
||
|
||
@export var strength:float = 0.3
|
||
@export var speed:float = 5
|
||
var noise = FastNoiseLite.new()
|
||
var spot:float = randf()
|
||
var base_energy = light_energy
|
||
@export var lit: bool = false
|
||
|
||
@onready var secondary_light: OmniLight3D = $OmniLight3D
|
||
|
||
var litnes: float = float(lit)
|
||
|
||
func _ready():
|
||
if not lit: light_energy = 0
|
||
|
||
|
||
func _process(delta):
|
||
spot += speed*delta
|
||
light_energy = base_energy * (1 + noise.get_noise_1d(spot) * strength) * litnes
|
||
secondary_light.light_energy = light_energy/16
|
||
|
||
func switch_on():
|
||
var tween:Tween = create_tween()
|
||
tween.tween_property(self, \"litnes\", 1, 10)
|
||
|
||
func switch_off():
|
||
var tween:Tween = create_tween()
|
||
tween.tween_property(self, \"litnes\", 0, 1)
|
||
"
|
||
|
||
[sub_resource type="Animation" id="Animation_hqls1"]
|
||
length = 0.001
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("OmniLight3D2:light_energy")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [1.0]
|
||
}
|
||
|
||
[sub_resource type="Animation" id="Animation_hxk3n"]
|
||
resource_name = "light_up"
|
||
length = 10.0
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("OmniLight3D2:light_energy")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0, 10),
|
||
"transitions": PackedFloat32Array(1, 1),
|
||
"update": 0,
|
||
"values": [0.0, 1.0]
|
||
}
|
||
tracks/1/type = "method"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("desk_light")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"values": [{
|
||
"args": [],
|
||
"method": &"switch_on"
|
||
}]
|
||
}
|
||
|
||
[sub_resource type="Animation" id="Animation_wa80i"]
|
||
resource_name = "lights_out"
|
||
length = 2.0
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("OmniLight3D2:light_energy")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0, 2),
|
||
"transitions": PackedFloat32Array(1, 1),
|
||
"update": 0,
|
||
"values": [1.0, 0.0]
|
||
}
|
||
tracks/1/type = "method"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("desk_light")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"values": [{
|
||
"args": [],
|
||
"method": &"switch_off"
|
||
}]
|
||
}
|
||
|
||
[sub_resource type="Animation" id="Animation_upogh"]
|
||
resource_name = "menu"
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("OmniLight3D2:light_energy")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [0.0]
|
||
}
|
||
|
||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k8op5"]
|
||
_data = {
|
||
"RESET": SubResource("Animation_hqls1"),
|
||
"light_up": SubResource("Animation_hxk3n"),
|
||
"lights_out": SubResource("Animation_wa80i"),
|
||
"menu": SubResource("Animation_upogh")
|
||
}
|
||
|
||
[sub_resource type="GDScript" id="GDScript_yn0pl"]
|
||
script/source = "extends SpotLight3D
|
||
|
||
@export var flicker_strength:float = 0.7
|
||
@export var speed:float = 4
|
||
var noise = FastNoiseLite.new()
|
||
var light_spot:float = randf()
|
||
var base_energy = light_energy
|
||
|
||
func _process(delta):
|
||
light_spot += speed*delta
|
||
light_energy = base_energy * (1 + noise.get_noise_1d(light_spot) * flicker_strength)
|
||
"
|
||
|
||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_kcdrx"]
|
||
sky_top_color = Color(0, 0, 1, 1)
|
||
sky_horizon_color = Color(0.858824, 0.541176, 0.4, 1)
|
||
sky_curve = 0.54075
|
||
|
||
[sub_resource type="Sky" id="Sky_lumfb"]
|
||
sky_material = SubResource("ProceduralSkyMaterial_kcdrx")
|
||
|
||
[sub_resource type="Environment" id="Environment_pllnm"]
|
||
background_mode = 2
|
||
background_energy_multiplier = 0.2
|
||
sky = SubResource("Sky_lumfb")
|
||
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
|
||
ssr_enabled = true
|
||
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_intensity = 0.72
|
||
ssil_normal_rejection = 0.56
|
||
sdfgi_enabled = true
|
||
sdfgi_use_occlusion = true
|
||
sdfgi_cascades = 3
|
||
sdfgi_min_cell_size = 0.0664062
|
||
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
|
||
adjustment_enabled = true
|
||
|
||
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_26mp0"]
|
||
auto_exposure_enabled = true
|
||
auto_exposure_scale = 0.2
|
||
dof_blur_far_enabled = true
|
||
dof_blur_far_distance = 0.4
|
||
dof_blur_far_transition = 0.2
|
||
dof_blur_near_distance = 0.79
|
||
dof_blur_amount = 0.0
|
||
auto_exposure_min_sensitivity = 100.0
|
||
|
||
[sub_resource type="GDScript" id="GDScript_wb8kg"]
|
||
script/source = "extends WorldEnvironment
|
||
|
||
func _ready():
|
||
focus_env()
|
||
|
||
func focus_env():
|
||
var dof_strength_tween: Tween = create_tween()
|
||
dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0, 1)
|
||
|
||
func focus_object():
|
||
var dof_strength_tween: Tween = create_tween()
|
||
dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0.6, 1)
|
||
"
|
||
|
||
[sub_resource type="Animation" id="Animation_nwry8"]
|
||
length = 0.001
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("AudioPlayer/VoiceTraining:playing")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 1,
|
||
"values": [false]
|
||
}
|
||
tracks/1/type = "value"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("AudioPlayer/Jui Jutsu:playing")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 1,
|
||
"values": [false]
|
||
}
|
||
tracks/2/type = "value"
|
||
tracks/2/imported = false
|
||
tracks/2/enabled = true
|
||
tracks/2/path = NodePath("AudioPlayer/Moving:volume_db")
|
||
tracks/2/interp = 1
|
||
tracks/2/loop_wrap = true
|
||
tracks/2/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [-80.0]
|
||
}
|
||
tracks/3/type = "value"
|
||
tracks/3/imported = false
|
||
tracks/3/enabled = true
|
||
tracks/3/path = NodePath("AudioPlayer/Childhood:volume_db")
|
||
tracks/3/interp = 1
|
||
tracks/3/loop_wrap = true
|
||
tracks/3/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [0.0]
|
||
}
|
||
tracks/4/type = "value"
|
||
tracks/4/imported = false
|
||
tracks/4/enabled = true
|
||
tracks/4/path = NodePath("AudioPlayer/VoiceTraining:volume_db")
|
||
tracks/4/interp = 1
|
||
tracks/4/loop_wrap = true
|
||
tracks/4/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [0.0]
|
||
}
|
||
tracks/5/type = "value"
|
||
tracks/5/imported = false
|
||
tracks/5/enabled = true
|
||
tracks/5/path = NodePath("AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer/Label:visible_ratio")
|
||
tracks/5/interp = 1
|
||
tracks/5/loop_wrap = true
|
||
tracks/5/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [0.0]
|
||
}
|
||
tracks/6/type = "value"
|
||
tracks/6/imported = false
|
||
tracks/6/enabled = true
|
||
tracks/6/path = NodePath("AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer:scroll_vertical")
|
||
tracks/6/interp = 1
|
||
tracks/6/loop_wrap = true
|
||
tracks/6/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 1,
|
||
"values": [0]
|
||
}
|
||
tracks/7/type = "value"
|
||
tracks/7/imported = false
|
||
tracks/7/enabled = true
|
||
tracks/7/path = NodePath("AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer:mouse_filter")
|
||
tracks/7/interp = 1
|
||
tracks/7/loop_wrap = true
|
||
tracks/7/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 1,
|
||
"values": [1]
|
||
}
|
||
tracks/8/type = "value"
|
||
tracks/8/imported = false
|
||
tracks/8/enabled = true
|
||
tracks/8/path = NodePath("AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer:custom_minimum_size")
|
||
tracks/8/interp = 1
|
||
tracks/8/loop_wrap = true
|
||
tracks/8/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [Vector2(800, 750)]
|
||
}
|
||
tracks/9/type = "value"
|
||
tracks/9/imported = false
|
||
tracks/9/enabled = true
|
||
tracks/9/path = NodePath("AudioPlayer/childhood:modulate")
|
||
tracks/9/interp = 1
|
||
tracks/9/loop_wrap = true
|
||
tracks/9/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [Color(1, 1, 1, 0)]
|
||
}
|
||
tracks/10/type = "value"
|
||
tracks/10/imported = false
|
||
tracks/10/enabled = true
|
||
tracks/10/path = NodePath("AudioPlayer/childhood/PanelContainer:self_modulate")
|
||
tracks/10/interp = 1
|
||
tracks/10/loop_wrap = true
|
||
tracks/10/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [Color(1, 1, 1, 1)]
|
||
}
|
||
|
||
[sub_resource type="Animation" id="Animation_g5l1m"]
|
||
resource_name = "childhood"
|
||
length = 100.0
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("AudioPlayer/Moving:volume_db")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0, 9, 89.4, 97.5),
|
||
"transitions": PackedFloat32Array(1.93187, 1, 0.189465, 1.93187),
|
||
"update": 0,
|
||
"values": [0.0, -80.0, -80.0, 0.0]
|
||
}
|
||
tracks/1/type = "value"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("AudioPlayer/Childhood:volume_db")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0, 9, 89.3, 97.6),
|
||
"transitions": PackedFloat32Array(0.176777, 1, 1.93187, 0.176777),
|
||
"update": 0,
|
||
"values": [-80.0, 0.0, 0.0, -80.0]
|
||
}
|
||
tracks/2/type = "audio"
|
||
tracks/2/imported = false
|
||
tracks/2/enabled = true
|
||
tracks/2/path = NodePath("AudioPlayer/Lisa")
|
||
tracks/2/interp = 1
|
||
tracks/2/loop_wrap = true
|
||
tracks/2/keys = {
|
||
"clips": [{
|
||
"end_offset": 200.412,
|
||
"start_offset": 96.656,
|
||
"stream": ExtResource("9_dqdgk")
|
||
}],
|
||
"times": PackedFloat32Array(1.6)
|
||
}
|
||
tracks/2/use_blend = true
|
||
tracks/3/type = "value"
|
||
tracks/3/imported = false
|
||
tracks/3/enabled = true
|
||
tracks/3/path = NodePath("AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer/Label:visible_ratio")
|
||
tracks/3/interp = 1
|
||
tracks/3/loop_wrap = true
|
||
tracks/3/keys = {
|
||
"times": PackedFloat32Array(0.3, 0.8, 3, 14.6, 17.2, 26.4, 28.6, 36.3, 36.8, 50.0759, 51, 53.4, 54.7, 60.8, 61.7, 66.8, 67.8, 74.7, 76.6, 78.3, 81, 81.6, 87.2),
|
||
"transitions": PackedFloat32Array(1, 1, 0.615572, 1, 0.435275, 1, 0.615572, 1, 0.594604, 1, 0.378929, 1, 0.63728, 1, 0.535887, 1, 1, 1, 0.435275, 0.63728, 1, 1, 1),
|
||
"update": 0,
|
||
"values": [0.0, 0.014, 0.014, 0.15, 0.153, 0.287, 0.287, 0.38, 0.38, 0.528, 0.528, 0.563, 0.563, 0.663, 0.663, 0.746, 0.746, 0.859, 0.859, 0.876, 0.92, 0.92, 1.0]
|
||
}
|
||
tracks/4/type = "value"
|
||
tracks/4/imported = false
|
||
tracks/4/enabled = true
|
||
tracks/4/path = NodePath("AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer:scroll_vertical")
|
||
tracks/4/interp = 2
|
||
tracks/4/loop_wrap = true
|
||
tracks/4/keys = {
|
||
"times": PackedFloat32Array(74.8, 76.2),
|
||
"transitions": PackedFloat32Array(1, 1),
|
||
"update": 0,
|
||
"values": [0, 74]
|
||
}
|
||
tracks/5/type = "value"
|
||
tracks/5/imported = false
|
||
tracks/5/enabled = true
|
||
tracks/5/path = NodePath("AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer:mouse_filter")
|
||
tracks/5/interp = 1
|
||
tracks/5/loop_wrap = true
|
||
tracks/5/keys = {
|
||
"times": PackedFloat32Array(0, 90),
|
||
"transitions": PackedFloat32Array(1, 1),
|
||
"update": 1,
|
||
"values": [2, 0]
|
||
}
|
||
tracks/6/type = "value"
|
||
tracks/6/imported = false
|
||
tracks/6/enabled = true
|
||
tracks/6/path = NodePath("AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer:custom_minimum_size")
|
||
tracks/6/interp = 2
|
||
tracks/6/loop_wrap = true
|
||
tracks/6/keys = {
|
||
"times": PackedFloat32Array(0, 0.4),
|
||
"transitions": PackedFloat32Array(0.466516, 1),
|
||
"update": 0,
|
||
"values": [Vector2(800, 750), Vector2(800, 800)]
|
||
}
|
||
tracks/7/type = "value"
|
||
tracks/7/imported = false
|
||
tracks/7/enabled = true
|
||
tracks/7/path = NodePath("AudioPlayer/childhood:modulate")
|
||
tracks/7/interp = 1
|
||
tracks/7/loop_wrap = true
|
||
tracks/7/keys = {
|
||
"times": PackedFloat32Array(0, 0.4, 91.7, 92.6),
|
||
"transitions": PackedFloat32Array(1, 1, 1.93187, 1),
|
||
"update": 0,
|
||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||
}
|
||
tracks/8/type = "value"
|
||
tracks/8/imported = false
|
||
tracks/8/enabled = true
|
||
tracks/8/path = NodePath("AudioPlayer/childhood/PanelContainer:self_modulate")
|
||
tracks/8/interp = 1
|
||
tracks/8/loop_wrap = true
|
||
tracks/8/keys = {
|
||
"times": PackedFloat32Array(89.3, 91.8),
|
||
"transitions": PackedFloat32Array(1, 1),
|
||
"update": 0,
|
||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||
}
|
||
tracks/9/type = "method"
|
||
tracks/9/imported = false
|
||
tracks/9/enabled = true
|
||
tracks/9/path = NodePath(".")
|
||
tracks/9/interp = 1
|
||
tracks/9/loop_wrap = true
|
||
tracks/9/keys = {
|
||
"times": PackedFloat32Array(91.9),
|
||
"transitions": PackedFloat32Array(1),
|
||
"values": [{
|
||
"args": [],
|
||
"method": &"_on_childhood_done"
|
||
}]
|
||
}
|
||
|
||
[sub_resource type="Animation" id="Animation_as75l"]
|
||
resource_name = "childhood_intro"
|
||
length = 10.0
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("AudioPlayer/Moving:volume_db")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0, 9),
|
||
"transitions": PackedFloat32Array(1.93187, 1),
|
||
"update": 0,
|
||
"values": [0.0, -80.0]
|
||
}
|
||
tracks/1/type = "value"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("AudioPlayer/Childhood:volume_db")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0, 9),
|
||
"transitions": PackedFloat32Array(0.176777, 1),
|
||
"update": 0,
|
||
"values": [-80.0, 0.0]
|
||
}
|
||
tracks/2/type = "value"
|
||
tracks/2/imported = false
|
||
tracks/2/enabled = true
|
||
tracks/2/path = NodePath("AudioPlayer/Lisa:playing")
|
||
tracks/2/interp = 1
|
||
tracks/2/loop_wrap = true
|
||
tracks/2/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 1,
|
||
"values": [true]
|
||
}
|
||
|
||
[sub_resource type="Animation" id="Animation_60him"]
|
||
resource_name = "childhood_outro"
|
||
length = 10.0
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("AudioPlayer/Moving:volume_db")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0, 9),
|
||
"transitions": PackedFloat32Array(0.307786, 1),
|
||
"update": 0,
|
||
"values": [-80.0, 0.0]
|
||
}
|
||
tracks/1/type = "value"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("AudioPlayer/Childhood:volume_db")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0, 9),
|
||
"transitions": PackedFloat32Array(2.54912, 1),
|
||
"update": 0,
|
||
"values": [0.0, -80.0]
|
||
}
|
||
|
||
[sub_resource type="Animation" id="Animation_1pmhi"]
|
||
resource_name = "intro"
|
||
length = 20.0
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("AudioPlayer/Moving:volume_db")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0, 18.8),
|
||
"transitions": PackedFloat32Array(0.0717937, 0.120742),
|
||
"update": 0,
|
||
"values": [-80.0, 0.0]
|
||
}
|
||
tracks/1/type = "method"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("AudioPlayer")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0.8),
|
||
"transitions": PackedFloat32Array(1),
|
||
"values": [{
|
||
"args": [],
|
||
"method": &"start_soundtrack"
|
||
}]
|
||
}
|
||
tracks/2/type = "value"
|
||
tracks/2/imported = false
|
||
tracks/2/enabled = true
|
||
tracks/2/path = NodePath("AudioPlayer/Childhood:volume_db")
|
||
tracks/2/interp = 1
|
||
tracks/2/loop_wrap = true
|
||
tracks/2/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [-80.0]
|
||
}
|
||
tracks/3/type = "value"
|
||
tracks/3/imported = false
|
||
tracks/3/enabled = true
|
||
tracks/3/path = NodePath("AudioPlayer/VoiceTraining:volume_db")
|
||
tracks/3/interp = 1
|
||
tracks/3/loop_wrap = true
|
||
tracks/3/keys = {
|
||
"times": PackedFloat32Array(0),
|
||
"transitions": PackedFloat32Array(1),
|
||
"update": 0,
|
||
"values": [-80.0]
|
||
}
|
||
|
||
[sub_resource type="Animation" id="Animation_t64y4"]
|
||
resource_name = "voice training"
|
||
length = 100.0
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("AudioPlayer/Moving:volume_db")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0, 5.6, 89.4, 97.5),
|
||
"transitions": PackedFloat32Array(1.93187, 1, 0.189465, 1.93187),
|
||
"update": 0,
|
||
"values": [0.0, -80.0, -80.0, 0.0]
|
||
}
|
||
tracks/1/type = "value"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("AudioPlayer/VoiceTraining:volume_db")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0.1, 5.7, 89.4, 97.7),
|
||
"transitions": PackedFloat32Array(0.176777, 1, 1.93187, 0.176777),
|
||
"update": 0,
|
||
"values": [-80.0, 0.0, 0.0, -80.0]
|
||
}
|
||
tracks/2/type = "audio"
|
||
tracks/2/imported = false
|
||
tracks/2/enabled = true
|
||
tracks/2/path = NodePath("AudioPlayer/Lisa")
|
||
tracks/2/interp = 1
|
||
tracks/2/loop_wrap = true
|
||
tracks/2/keys = {
|
||
"clips": [{
|
||
"end_offset": 290.288,
|
||
"start_offset": 0.0,
|
||
"stream": ExtResource("9_dqdgk")
|
||
}],
|
||
"times": PackedFloat32Array(0.4)
|
||
}
|
||
tracks/2/use_blend = true
|
||
|
||
[sub_resource type="Animation" id="Animation_8gaqi"]
|
||
resource_name = "voice_intro"
|
||
length = 10.0
|
||
tracks/0/type = "value"
|
||
tracks/0/imported = false
|
||
tracks/0/enabled = true
|
||
tracks/0/path = NodePath("AudioPlayer/Moving:volume_db")
|
||
tracks/0/interp = 1
|
||
tracks/0/loop_wrap = true
|
||
tracks/0/keys = {
|
||
"times": PackedFloat32Array(0, 9),
|
||
"transitions": PackedFloat32Array(1.93187, 1),
|
||
"update": 0,
|
||
"values": [0.0, -80.0]
|
||
}
|
||
tracks/1/type = "value"
|
||
tracks/1/imported = false
|
||
tracks/1/enabled = true
|
||
tracks/1/path = NodePath("AudioPlayer/VoiceTraining:volume_db")
|
||
tracks/1/interp = 1
|
||
tracks/1/loop_wrap = true
|
||
tracks/1/keys = {
|
||
"times": PackedFloat32Array(0, 9.1),
|
||
"transitions": PackedFloat32Array(0.241484, 1),
|
||
"update": 0,
|
||
"values": [-80.0, 0.0]
|
||
}
|
||
|
||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ilekd"]
|
||
_data = {
|
||
"RESET": SubResource("Animation_nwry8"),
|
||
"childhood": SubResource("Animation_g5l1m"),
|
||
"childhood_intro": SubResource("Animation_as75l"),
|
||
"childhood_outro": SubResource("Animation_60him"),
|
||
"intro": SubResource("Animation_1pmhi"),
|
||
"voice training": SubResource("Animation_t64y4"),
|
||
"voice_intro": SubResource("Animation_8gaqi")
|
||
}
|
||
|
||
[sub_resource type="GDScript" id="GDScript_tfc2r"]
|
||
script/source = "extends AnimationPlayer
|
||
|
||
func start_soundtrack():
|
||
$Moving.play(70)
|
||
$Childhood.play(70)
|
||
$VoiceTraining.play(70)
|
||
|
||
func _on_childhood_collected():
|
||
play(\"childhood\")
|
||
"
|
||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_cb3g8"]
|
||
size = Vector3(1.81843, 2.13395, 0.0774798)
|
||
|
||
[sub_resource type="ViewportTexture" id="ViewportTexture_7hana"]
|
||
viewport_path = NodePath("Collectable/UiWrapper/UiSprite/SubViewport")
|
||
|
||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_72g2i"]
|
||
radius = 0.342951
|
||
height = 1.08154
|
||
|
||
[node name="youth room" type="Node3D"]
|
||
script = ExtResource("1_aitp0")
|
||
|
||
[node name="logic" type="Node3D" parent="."]
|
||
|
||
[node name="PlayerController" parent="logic" groups=["camera_owner"] instance=ExtResource("3_foj4y")]
|
||
transform = Transform3D(0.686123, 0, 0.727485, 0, 1, 0, -0.727485, 0, 0.686123, 0.63, 0, 0.925)
|
||
|
||
[node name="colission" type="Node3D" parent="logic"]
|
||
|
||
[node name="Desk_Colission" type="StaticBody3D" parent="logic/colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.500324, 0, 1.36908)
|
||
|
||
[node name="wardrobe" type="CollisionShape3D" parent="logic/colission/Desk_Colission"]
|
||
transform = Transform3D(0.998323, 0, -0.0578951, 0, 1, 0, 0.0578951, 0, 0.998323, -0.340775, 1.06708, -1.66491)
|
||
shape = SubResource("BoxShape3D_j3mqx")
|
||
|
||
[node name="desk" type="CollisionShape3D" parent="logic/colission/Desk_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0231352, 0.250741, 0.104591)
|
||
shape = SubResource("BoxShape3D_ddjvs")
|
||
|
||
[node name="beanbag" type="CollisionShape3D" parent="logic/colission/Desk_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.617999, 0.0319539, 0.997871)
|
||
shape = SubResource("SphereShape3D_gjlrn")
|
||
|
||
[node name="Bed_Colission" type="StaticBody3D" parent="logic/colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.33596, 0, -0.345267)
|
||
|
||
[node name="bed" type="CollisionShape3D" parent="logic/colission/Bed_Colission"]
|
||
transform = Transform3D(0.997568, 0, 0.0697043, 0, 1, 0, -0.0697042, 0, 0.997568, -0.474526, 0.939937, 0.0332472)
|
||
shape = SubResource("BoxShape3D_r40dp")
|
||
|
||
[node name="shelf" type="CollisionShape3D" parent="logic/colission/Bed_Colission"]
|
||
transform = Transform3D(0.999866, 0, 0.0163991, 0, 1, 0, -0.016399, 0, 0.999865, -1.30004, 0.523912, 0.0332471)
|
||
shape = SubResource("BoxShape3D_qck8u")
|
||
|
||
[node name="beanbag" type="CollisionShape3D" parent="logic/colission/Bed_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 2.98023e-08, 0, 1, -1.02669, 0.222592, 1.01232)
|
||
shape = SubResource("SphereShape3D_srxfv")
|
||
|
||
[node name="ladder" type="CollisionShape3D" parent="logic/colission/Bed_Colission"]
|
||
transform = Transform3D(0.903933, 0.427674, 0, -0.427674, 0.903933, 0, 2.98023e-08, 0, 1, -1.27755, 0.47535, 1.08849)
|
||
shape = SubResource("BoxShape3D_16r57")
|
||
|
||
[node name="seat" type="StaticBody3D" parent="logic/colission"]
|
||
transform = Transform3D(0.915582, 0, -0.402131, 0, 1, 0, 0.402131, 0, 0.915582, 1.393, 0, -0.762)
|
||
|
||
[node name="rest" type="CollisionShape3D" parent="logic/colission/seat"]
|
||
transform = Transform3D(1, 0, -3.74434e-08, 0, 1, 0, 3.74434e-08, 0, 1, -4.94719e-06, 0.266536, -0.000100613)
|
||
shape = SubResource("BoxShape3D_qmnj2")
|
||
|
||
[node name="seat" type="CollisionShape3D" parent="logic/colission/seat"]
|
||
transform = Transform3D(1, 0, -2.98023e-08, 0, 1, 0, 2.98023e-08, 0, 1, 0.246583, -0.1835, 0.392215)
|
||
shape = SubResource("BoxShape3D_qmnj2")
|
||
|
||
[node name="step" type="CollisionShape3D" parent="logic/colission/seat"]
|
||
transform = Transform3D(1, 0, -2.98023e-08, 0, 1, 0, 2.98023e-08, 0, 1, 0.124096, -0.746043, 0.388092)
|
||
shape = SubResource("SphereShape3D_4ckrq")
|
||
|
||
[node name="Room_Colission" type="StaticBody3D" parent="logic/colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.811571, 0, 0)
|
||
|
||
[node name="Floor2" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.931684, -0.12195, 0.721855)
|
||
shape = SubResource("BoxShape3D_wdkxn")
|
||
|
||
[node name="Wall1" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.02419, 1.06708, 2.75985)
|
||
shape = SubResource("BoxShape3D_3lwkl")
|
||
|
||
[node name="Wall2" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.64826, 1.06708, 2.75985)
|
||
shape = SubResource("BoxShape3D_3lwkl")
|
||
|
||
[node name="Wall3" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.254488, 1.06708, 3.24245)
|
||
shape = SubResource("BoxShape3D_3lwkl")
|
||
|
||
[node name="Wall4" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 3.34814, 1.06708, 1.83013)
|
||
shape = SubResource("BoxShape3D_3lwkl")
|
||
|
||
[node name="Wall5" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 3.83265, 1.06708, -0.147208)
|
||
shape = SubResource("BoxShape3D_3lwkl")
|
||
|
||
[node name="Wall7" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.62379, 2.06427, -0.010276)
|
||
shape = SubResource("BoxShape3D_3lwkl")
|
||
|
||
[node name="Wall6" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.1011, 1.06708, -1.5493)
|
||
shape = SubResource("BoxShape3D_1nque")
|
||
|
||
[node name="Pillar" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.27524, 1.07009, 1.26831)
|
||
shape = SubResource("BoxShape3D_eq1fk")
|
||
|
||
[node name="shelf3" type="CollisionShape3D" parent="logic/colission/Room_Colission"]
|
||
transform = Transform3D(0.98956, 0, -0.144121, 0, 1, 0, 0.144121, 0, 0.98956, 2.60628, 0.308069, 1.91136)
|
||
shape = SubResource("BoxShape3D_js8wo")
|
||
|
||
[node name="Bed and Ladders" type="Node3D" parent="logic"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.84538, 0, 0.803611)
|
||
|
||
[node name="ladder_trigger" type="Area3D" parent="logic/Bed and Ladders"]
|
||
collision_layer = 2
|
||
collision_mask = 2
|
||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="logic/Bed and Ladders/ladder_trigger"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.170028, 0.244833, -0.0455775)
|
||
shape = SubResource("CapsuleShape3D_f1g8m")
|
||
|
||
[node name="ladder_reset" type="Area3D" parent="logic/Bed and Ladders"]
|
||
collision_layer = 2
|
||
collision_mask = 2
|
||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="logic/Bed and Ladders/ladder_reset"]
|
||
transform = Transform3D(0.995341, 0.096419, 0, 4.21461e-09, -4.35077e-08, -1, -0.096419, 0.995341, -4.37114e-08, 0.916567, 1.64525, -1.14479)
|
||
shape = SubResource("CapsuleShape3D_kewqg")
|
||
|
||
[node name="bed_enter" type="Area3D" parent="logic/Bed and Ladders"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.35717, 0, -0.255744)
|
||
collision_layer = 2
|
||
collision_mask = 2
|
||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="logic/Bed and Ladders/bed_enter"]
|
||
transform = Transform3D(0.995341, 0.096419, 0, 4.21461e-09, -4.35077e-08, -1, -0.096419, 0.995341, -4.37114e-08, 0, 0, 0)
|
||
shape = SubResource("CapsuleShape3D_k4x40")
|
||
|
||
[node name="bed_reset" type="Area3D" parent="logic/Bed and Ladders"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.24356, 0, -0.796765)
|
||
collision_layer = 2
|
||
collision_mask = 2
|
||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="logic/Bed and Ladders/bed_reset"]
|
||
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_4q8vc")
|
||
|
||
[node name="reset_failover" type="Area3D" parent="logic/Bed and Ladders"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.24356, 0, -0.531366)
|
||
collision_layer = 2
|
||
collision_mask = 2
|
||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="logic/Bed and Ladders/reset_failover"]
|
||
transform = Transform3D(0.995341, 0.096419, 0, 4.21461e-09, -4.35077e-08, -1, -0.096419, 0.995341, -4.37114e-08, 0, 0, 0)
|
||
shape = SubResource("CapsuleShape3D_n20ff")
|
||
|
||
[node name="ladder" type="StaticBody3D" parent="logic/Bed and Ladders"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0699199, 0, -0.082733)
|
||
script = SubResource("GDScript_uyt24")
|
||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="logic/Bed and Ladders/ladder"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.336261, -0.199846, 0.0549462)
|
||
shape = SubResource("BoxShape3D_gim5a")
|
||
|
||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="logic/Bed and Ladders/ladder"]
|
||
transform = Transform3D(0.833085, 0, -0.553144, 0, 1, 0, 0.553144, 0, 0.833085, -0.0238513, 0, -0.359131)
|
||
shape = SubResource("BoxShape3D_bq15k")
|
||
|
||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="logic/Bed and Ladders/ladder"]
|
||
transform = Transform3D(0.707304, 0, 0.706909, 0, 1, 0, -0.706909, 0, 0.707304, 0.188369, 0, 0.502213)
|
||
shape = SubResource("BoxShape3D_bq15k")
|
||
|
||
[node name="UI" type="Control" parent="logic"]
|
||
layout_mode = 3
|
||
anchors_preset = 0
|
||
offset_right = 40.0
|
||
offset_bottom = 40.0
|
||
|
||
[node name="picker" parent="logic/UI" instance=ExtResource("19_a4n1o")]
|
||
visible = false
|
||
layout_mode = 1
|
||
|
||
[node name="sfx" type="Node3D" parent="."]
|
||
|
||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="sfx"]
|
||
transform = Transform3D(-0.410985, -0.460061, 0.787042, -0.904759, 0.311726, -0.290238, -0.111814, -0.831367, -0.544359, 3.06375, 1.7366, -0.351724)
|
||
stream = ExtResource("2_3haaq")
|
||
volume_db = -15.367
|
||
autoplay = true
|
||
panning_strength = 0.5
|
||
bus = &"sfx"
|
||
emission_angle_enabled = true
|
||
emission_angle_degrees = 57.0
|
||
|
||
[node name="AudioStreamPlayer3D2" type="AudioStreamPlayer3D" parent="sfx"]
|
||
transform = Transform3D(-0.410985, -0.460061, 0.787042, -0.904759, 0.311726, -0.290238, -0.111814, -0.831367, -0.544359, -0.248397, 4.34956, 8.85405)
|
||
stream = ExtResource("3_wcypa")
|
||
bus = &"sfx"
|
||
|
||
[node name="visuals" type="Node3D" parent="."]
|
||
|
||
[node name="lights" type="Node3D" parent="visuals"]
|
||
|
||
[node name="desk_light" type="SpotLight3D" parent="visuals/lights"]
|
||
transform = Transform3D(1, 0, 0, 0, 0.30009, 0.953911, 0, -0.953911, 0.30009, -0.599038, 1.39757, 1.64821)
|
||
layers = 2
|
||
light_color = Color(0.94902, 0.737255, 0.627451, 1)
|
||
light_energy = 8.0
|
||
light_size = 0.1
|
||
shadow_enabled = true
|
||
shadow_bias = 0.002
|
||
spot_range = 2.47523
|
||
spot_angle = 58.1539
|
||
spot_angle_attenuation = 0.812252
|
||
script = SubResource("GDScript_35dmj")
|
||
|
||
[node name="desk-secondary" type="OmniLight3D" parent="visuals/lights/desk_light"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 2.98023e-08, 1, 0.0352738, 0.0654936, -0.292101)
|
||
light_color = Color(0.952941, 0.662745, 0.54902, 1)
|
||
light_energy = 0.5
|
||
light_size = 0.499
|
||
light_specular = 0.0
|
||
shadow_enabled = true
|
||
shadow_bias = 0.0
|
||
shadow_normal_bias = 6.753
|
||
shadow_blur = 0.5
|
||
omni_attenuation = 1.51572
|
||
|
||
[node name="shade-light" type="OmniLight3D" parent="visuals/lights/desk_light"]
|
||
light_color = Color(0.94902, 0.737255, 0.627451, 1)
|
||
light_energy = 0.5
|
||
omni_range = 0.147682
|
||
|
||
[node name="OmniLight3D2" type="OmniLight3D" parent="visuals/lights"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.15688, 0.480778, 0.0648447)
|
||
light_size = 0.1
|
||
shadow_enabled = true
|
||
omni_range = 2.17653
|
||
|
||
[node name="light_animation" type="AnimationPlayer" parent="visuals/lights"]
|
||
autoplay = "menu"
|
||
libraries = {
|
||
"": SubResource("AnimationLibrary_k8op5")
|
||
}
|
||
|
||
[node name="lighting aids" type="Node3D" parent="visuals"]
|
||
|
||
[node name="radiator_probe" type="ReflectionProbe" parent="visuals/lighting aids"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3601, 0.498433, 2.59152)
|
||
max_distance = 5.0
|
||
size = Vector3(0.967903, 0.802809, 0.260947)
|
||
origin_offset = Vector3(0, 0.0473633, 0.0112305)
|
||
|
||
[node name="door_probe" type="ReflectionProbe" parent="visuals/lighting aids"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.587879, 1.71708, -0.403385)
|
||
max_distance = 5.0
|
||
size = Vector3(3.31181, 3.24101, 2.95173)
|
||
origin_offset = Vector3(0, -0.625, 0)
|
||
box_projection = true
|
||
enable_shadows = true
|
||
|
||
[node name="lower_bunkbed_probe" type="ReflectionProbe" parent="visuals/lighting aids"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.58996, 0.192757, -0.633191)
|
||
max_distance = 5.0
|
||
size = Vector3(2.58293, 1.36611, 3.1946)
|
||
origin_offset = Vector3(-0.718262, 0, 0.460938)
|
||
box_projection = true
|
||
enable_shadows = true
|
||
|
||
[node name="upper_bunkbed_probe" type="ReflectionProbe" parent="visuals/lighting aids"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.89428, 1.75054, -0.0384804)
|
||
max_distance = 5.0
|
||
size = Vector3(2.39921, 1.61006, 2.62172)
|
||
origin_offset = Vector3(-0.456543, -0.353516, -0.0356445)
|
||
box_projection = true
|
||
interior = true
|
||
enable_shadows = true
|
||
|
||
[node name="desk_probe" type="ReflectionProbe" parent="visuals/lighting aids"]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.539355, 1.28256, 1.24151)
|
||
max_distance = 5.0
|
||
size = Vector3(1.22007, 1.24704, 2)
|
||
origin_offset = Vector3(0, -0.438, 0)
|
||
|
||
[node name="vfx" type="Node3D" parent="visuals"]
|
||
|
||
[node name="lava-lamp" parent="visuals/vfx" instance=ExtResource("21_0k2gr")]
|
||
transform = Transform3D(0.488743, 0, -0.872428, 0, 1, 0, 0.872428, 0, 0.488743, 3.1041, 0.962981, 2.21157)
|
||
skeleton = NodePath("")
|
||
|
||
[node name="ReflectionProbe" type="ReflectionProbe" parent="visuals/vfx/lava-lamp"]
|
||
transform = Transform3D(0.866853, 0, -0.498563, 0, 1, 0, 0.498563, 0, 0.866853, -0.0356357, 0.0416123, 0.020328)
|
||
max_distance = 7.0
|
||
size = Vector3(2, 2, 2)
|
||
|
||
[node name="OmniLight3D" type="SpotLight3D" parent="visuals/vfx/lava-lamp"]
|
||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0.0113046, 0.199004, -0.00212491)
|
||
light_color = Color(0.282353, 0.45098, 0.258824, 1)
|
||
light_energy = 1.5
|
||
light_size = 0.2
|
||
light_specular = 0.1
|
||
spot_range = 1.5
|
||
spot_attenuation = 1.1487
|
||
spot_angle = 126.18
|
||
spot_angle_attenuation = 0.68302
|
||
script = SubResource("GDScript_yn0pl")
|
||
|
||
[node name="starlight_mesh" type="MeshInstance3D" parent="visuals/vfx"]
|
||
transform = Transform3D(0.999, 0, 0, 0, 0.999, 0, 0, 0, 0.999, 0, 0, 0)
|
||
layers = 2
|
||
mesh = ExtResource("6_gy6jv")
|
||
skeleton = NodePath("../../..")
|
||
|
||
[node name="starlight_ambient" type="SpotLight3D" parent="visuals/vfx/starlight_mesh"]
|
||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.644969, 2.60833, -0.247641)
|
||
light_color = Color(0.0313726, 0, 1, 1)
|
||
light_energy = 0.2
|
||
light_volumetric_fog_energy = 0.0
|
||
light_specular = 0.0
|
||
light_cull_mask = 4294967293
|
||
shadow_blur = 1.277
|
||
spot_angle = 85.9425
|
||
spot_angle_attenuation = 0.57435
|
||
|
||
[node name="starlight_lamp" type="SpotLight3D" parent="visuals/vfx/starlight_mesh"]
|
||
transform = Transform3D(0.551241, -0.677235, 0.489376, 0.695947, 0.0477087, -0.717903, 0.462379, 0.735581, 0.497121, 1.76541, 0.251864, 0.941618)
|
||
light_color = Color(0, 1, 1, 1)
|
||
light_energy = 2.0
|
||
light_specular = 0.0
|
||
light_cull_mask = 4293918722
|
||
spot_range = 3.85757
|
||
spot_attenuation = 0.732044
|
||
spot_angle = 27.6108
|
||
spot_angle_attenuation = 1.18921
|
||
|
||
[node name="youth_room" parent="visuals" instance=ExtResource("1_jf3oi")]
|
||
|
||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||
environment = SubResource("Environment_pllnm")
|
||
camera_attributes = SubResource("CameraAttributesPractical_26mp0")
|
||
script = SubResource("GDScript_wb8kg")
|
||
|
||
[node name="AudioPlayer" type="AnimationPlayer" parent="." groups=["animation_player"]]
|
||
libraries = {
|
||
"": SubResource("AnimationLibrary_ilekd")
|
||
}
|
||
script = SubResource("GDScript_tfc2r")
|
||
|
||
[node name="Lisa" type="AudioStreamPlayer" parent="AudioPlayer"]
|
||
bus = &"text"
|
||
|
||
[node name="Moving" type="AudioStreamPlayer" parent="AudioPlayer"]
|
||
stream = ExtResource("8_egnow")
|
||
volume_db = -80.0
|
||
bus = &"music"
|
||
|
||
[node name="Childhood" type="AudioStreamPlayer" parent="AudioPlayer"]
|
||
stream = ExtResource("9_i8mqk")
|
||
bus = &"music"
|
||
|
||
[node name="childhood" type="CenterContainer" parent="AudioPlayer"]
|
||
modulate = Color(1, 1, 1, 0)
|
||
self_modulate = Color(1, 1, 1, 0.923078)
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
offset_right = -424.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
|
||
[node name="PanelContainer" type="PanelContainer" parent="AudioPlayer/childhood"]
|
||
layout_mode = 2
|
||
|
||
[node name="StartFrame" type="TextureRect" parent="AudioPlayer/childhood/PanelContainer"]
|
||
custom_minimum_size = Vector2(0, 900)
|
||
layout_mode = 2
|
||
size_flags_vertical = 0
|
||
texture = ExtResource("2_21x33")
|
||
expand_mode = 2
|
||
stretch_mode = 4
|
||
|
||
[node name="Panel" type="PanelContainer" parent="AudioPlayer/childhood/PanelContainer/StartFrame"]
|
||
show_behind_parent = true
|
||
layout_mode = 2
|
||
offset_left = 199.0
|
||
offset_top = -112.0
|
||
offset_right = 1039.0
|
||
offset_bottom = 697.0
|
||
rotation = 0.459022
|
||
|
||
[node name="VBoxContainer" type="VBoxContainer" parent="AudioPlayer/childhood/PanelContainer"]
|
||
layout_mode = 2
|
||
|
||
[node name="Label" type="Label" parent="AudioPlayer/childhood/PanelContainer/VBoxContainer"]
|
||
layout_mode = 2
|
||
theme_type_variation = &"HeaderLarge"
|
||
text = " Childhood"
|
||
|
||
[node name="ScrollContainer" type="ScrollContainer" parent="AudioPlayer/childhood/PanelContainer/VBoxContainer"]
|
||
custom_minimum_size = Vector2(800, 750)
|
||
layout_mode = 2
|
||
size_flags_horizontal = 4
|
||
size_flags_vertical = 4
|
||
horizontal_scroll_mode = 0
|
||
vertical_scroll_mode = 3
|
||
|
||
[node name="Label" type="Label" parent="AudioPlayer/childhood/PanelContainer/VBoxContainer/ScrollContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
text = "Oh, my old mask. I have so many good memories about theatre club. I would stand on my bed for entire afternoons, weeks on end, practicing my lines. Pretending to be on the big stage ... my mom would get mad at me, when she had to call me three or four times for dinner. I just … didn’t like the interruptions. We both were often mad at each other.
|
||
|
||
Dinner was difficult. I just couldn’t bring myself to eat, because I couldn’t deal with the bread and my mom. She was always so worried. ‘Lisa, you forgot your homework, Lisa why won’t you play with the other girls, Lisa why didn’t Steffi invite you to her birthday, Lisa this, Lisa that.’
|
||
|
||
But I was fine. She just wouldn’t listen.
|
||
Yes, I didn’t do homework, but my teachers didn’t mind it as much with me - which the other kids wouldn’t shut up about. But like … they also made fun of me reading school books and talking to my teachers during breaks.
|
||
|
||
But at least I could fucking talk to teachers and they had stuff to say. Mr Thomas probably even understood me better than my own mom.
|
||
|
||
He said I was gifted. He said I just didn’t need homework for good grades. And he also made sure to always include extra credits. So my silly slip-ups wouldn’t get me a B."
|
||
autowrap_mode = 3
|
||
visible_characters = 0
|
||
visible_characters_behavior = 1
|
||
visible_ratio = 0.0
|
||
|
||
[node name="StartBottom" type="TextureRect" parent="AudioPlayer/childhood/PanelContainer/VBoxContainer"]
|
||
custom_minimum_size = Vector2(0, 64)
|
||
layout_mode = 2
|
||
size_flags_vertical = 8
|
||
texture = ExtResource("3_xqd4w")
|
||
expand_mode = 2
|
||
stretch_mode = 4
|
||
|
||
[node name="VoiceTraining" type="AudioStreamPlayer" parent="AudioPlayer"]
|
||
stream = ExtResource("10_wwwdq")
|
||
bus = &"music"
|
||
|
||
[node name="VoiceTraining2" type="AudioStreamPlayer" parent="AudioPlayer"]
|
||
stream = ExtResource("10_wwwdq")
|
||
bus = &"music"
|
||
|
||
[node name="Jui Jutsu" type="AudioStreamPlayer" parent="AudioPlayer"]
|
||
bus = &"music"
|
||
|
||
[node name="Mask-interaction" type="Area3D" parent="." groups=["interactables"]]
|
||
transform = Transform3D(-0.863025, 0, 0.50516, 0, 1, 0, -0.50516, 0, -0.863025, 0.121309, 0.803665, 2.4765)
|
||
collision_layer = 16
|
||
script = ExtResource("11_6fwv8")
|
||
|
||
[node name="collectable_particles" parent="Mask-interaction" instance=ExtResource("12_qxx2k")]
|
||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00898492, -0.14171, 0.152755)
|
||
visible = false
|
||
|
||
[node name="UiWrapper" type="Area3D" parent="Mask-interaction"]
|
||
transform = Transform3D(0.1, -1.86265e-09, 0, 0, 0.0906676, 0.0421827, 0, -0.0421827, 0.0906676, -2.38419e-07, 0, 0.0718942)
|
||
script = ExtResource("11_7uxd8")
|
||
|
||
[node name="UI_click_collider" type="CollisionShape3D" parent="Mask-interaction/UiWrapper"]
|
||
transform = Transform3D(2.56, -5.96046e-08, 4.76837e-07, 1.78814e-07, 2.56, -4.17233e-07, -2.38419e-07, -5.96046e-08, 2.56, 0, 1.90735e-06, 0.238397)
|
||
shape = SubResource("BoxShape3D_cb3g8")
|
||
|
||
[node name="UiSprite" type="Sprite3D" parent="Mask-interaction/UiWrapper"]
|
||
transform = Transform3D(1, 0, 2.4869e-14, 0, 1, 0, -2.4869e-14, 0, 1, 0, 0, 0.610758)
|
||
pixel_size = 0.015
|
||
no_depth_test = true
|
||
texture = SubResource("ViewportTexture_7hana")
|
||
|
||
[node name="SubViewport" type="SubViewport" parent="Mask-interaction/UiWrapper/UiSprite"]
|
||
transparent_bg = true
|
||
size = Vector2i(300, 350)
|
||
render_target_update_mode = 4
|
||
|
||
[node name="Collectable_ui" parent="Mask-interaction/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")]
|
||
visible = false
|
||
is_story = true
|
||
item_name = "my old Mask"
|
||
content_notes = "CN: testing testing 123"
|
||
|
||
[node name="HoverDetect" type="CollisionShape3D" parent="Mask-interaction"]
|
||
shape = SubResource("CapsuleShape3D_72g2i")
|
||
|
||
[node name="SceneUI" type="Control" parent="."]
|
||
visible = false
|
||
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="Mouse" type="CenterContainer" parent="SceneUI"]
|
||
visible = false
|
||
layout_mode = 1
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
|
||
[node name="TextureRect" type="TextureRect" parent="SceneUI/Mouse"]
|
||
visible = false
|
||
layout_mode = 2
|
||
texture = ExtResource("13_lqj71")
|
||
|
||
[node name="old-mask" type="Node3D" parent="."]
|
||
|
||
[node name="old_mask" type="MeshInstance3D" parent="old-mask"]
|
||
transform = Transform3D(-0.51156, -0.746323, -0.425804, 0.144568, -0.563249, 0.813542, -0.846999, 0.354618, 0.396029, -0.0221631, 0.492276, 2.56703)
|
||
mesh = ExtResource("19_jr2bb")
|
||
skeleton = NodePath("")
|
||
|
||
[node name="OmniLight3D" type="OmniLight3D" parent="old-mask/old_mask"]
|
||
transform = Transform3D(1, -3.8743e-07, 5.96046e-08, 3.57628e-07, 1, 8.9407e-08, -5.96046e-08, -8.9407e-08, 1, 0.083235, -0.219628, 0.176047)
|
||
light_color = Color(0.972549, 0.752941, 0.592157, 1)
|
||
light_energy = 0.1
|
||
light_specular = 0.0
|
||
omni_range = 0.457129
|
||
omni_attenuation = 0.659754
|
||
|
||
[connection signal="ui_entered" from="logic/PlayerController" to="SceneUI" method="show"]
|
||
[connection signal="ui_exited" from="logic/PlayerController" to="SceneUI" method="hide"]
|
||
[connection signal="body_entered" from="logic/Bed and Ladders/ladder_trigger" to="logic/PlayerController" method="_on_bed_enter"]
|
||
[connection signal="body_entered" from="logic/Bed and Ladders/ladder_trigger" to="logic/Bed and Ladders/ladder" method="raise"]
|
||
[connection signal="body_exited" from="logic/Bed and Ladders/ladder_reset" to="logic/PlayerController" method="_on_bed_exit"]
|
||
[connection signal="body_exited" from="logic/Bed and Ladders/ladder_reset" to="logic/Bed and Ladders/ladder" method="reset"]
|
||
[connection signal="body_entered" from="logic/Bed and Ladders/bed_enter" to="logic/PlayerController" method="_on_bed_enter"]
|
||
[connection signal="body_exited" from="logic/Bed and Ladders/bed_reset" to="logic/PlayerController" method="_on_bed_exit"]
|
||
[connection signal="body_exited" from="logic/Bed and Ladders/reset_failover" to="logic/PlayerController" method="_on_bed_exit"]
|
||
[connection signal="animation_finished" from="AudioPlayer" to="logic/PlayerController" method="_on_childhood_done"]
|
||
[connection signal="input_event" from="Mask-interaction/UiWrapper" to="Mask-interaction/UiWrapper" method="_on_input_event" flags=18]
|
||
[connection signal="card_collected" from="Mask-interaction/UiWrapper/UiSprite/SubViewport/Collectable_ui" to="." method="_on_childhood_collected"]
|
||
[connection signal="card_collected" from="Mask-interaction/UiWrapper/UiSprite/SubViewport/Collectable_ui" to="logic/PlayerController" method="_on_childhood_collected"]
|
||
[connection signal="card_collected" from="Mask-interaction/UiWrapper/UiSprite/SubViewport/Collectable_ui" to="WorldEnvironment" method="focus_object"]
|
||
[connection signal="card_collected" from="Mask-interaction/UiWrapper/UiSprite/SubViewport/Collectable_ui" to="AudioPlayer" method="_on_childhood_collected"]
|