Some checks failed
Godot CI / Import + smoke test (push) Failing after 14s
ДИАГНОСТИКА:
- call_deferred не сработал (find_child вернул null при ранее).
- Прежний debug headless не показывал printы т.к. main_scene =
main_menu, Act1 загружался только через клик.
- Временно поменял main_scene → act1_room, запустил → увидел:
«[father] AnimationPlayer FOUND, 32 анимаций»
«[father] idle ИГРАЕТСЯ» ✅
РЕШЕНИЕ:
- В _start_father_idle добавил await get_tree().process_frame ×2
→ даём 2 кадра чтоб glb subscene полностью инстанцировалась
ДО поиска AnimationPlayer.
- Вызов прямой (не call_deferred) — функция сама ждёт frames.
- Setting anim_player.autoplay = «idle» (на будущее).
- Fallback на «static» если «idle» не запустилась.
- Debug-print подтвердил работоспособность.
SCALE 1.7 (компромисс):
- Раньше 2.35 = 1.7м высоты, но в T-pose ширина 1.8м (огромный).
- Теперь 1.7 → высота 1.23м (короче но не громадный), ширина в
T-pose 1.3м, в idle ~0.5м.
- Когда idle стабильно работает можем поднять до 2.0-2.35.
PROJECT.GODOT восстановлен — main_scene снова main_menu.tscn.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
661 lines
23 KiB
Text
661 lines
23 KiB
Text
[gd_scene load_steps=103 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/prologue/act1.gd" id="1_act1"]
|
|
[ext_resource type="Script" path="res://scripts/interactables/interactable.gd" id="2_int"]
|
|
[ext_resource type="PackedScene" path="res://scenes/components/player_fpv.tscn" id="3_player"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/characters/character-male-d.glb" id="100_father"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/furniture/bedSingle.glb" id="101_bed"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/furniture/desk.glb" id="102_desk"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/furniture/chairDesk.glb" id="103_chair"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/furniture/computerScreen.glb" id="104_monitor"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/furniture/computerKeyboard.glb" id="105_keyboard"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/furniture/bookcaseClosedDoors.glb" id="106_bookcase"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/furniture/computerScreen.glb" id="107_systemunit"]
|
|
[ext_resource type="PackedScene" path="res://assets/models/furniture/cardboardBoxClosed.glb" id="108_giftbox"]
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_floor"]
|
|
size = Vector3(4, 0.1, 4)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_floor"]
|
|
size = Vector3(4, 0.1, 4)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_wall_ns"]
|
|
size = Vector3(4, 2.5, 0.1)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_wall_ns"]
|
|
size = Vector3(4, 2.5, 0.1)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_wall_ew"]
|
|
size = Vector3(0.1, 2.5, 4)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_wall_ew"]
|
|
size = Vector3(0.1, 2.5, 4)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_window"]
|
|
size = Vector3(1.5, 1.0, 0.06)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_window_frame_h"]
|
|
size = Vector3(1.6, 0.06, 0.08)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_window_frame_v"]
|
|
size = Vector3(0.06, 1.1, 0.08)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_windowsill"]
|
|
size = Vector3(1.7, 0.06, 0.18)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_radiator"]
|
|
size = Vector3(1.0, 0.5, 0.1)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_door"]
|
|
size = Vector3(0.06, 2.0, 1.0)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_door"]
|
|
size = Vector3(0.06, 2.0, 1.0)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_desk"]
|
|
size = Vector3(1.5, 0.7, 0.6)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_desk"]
|
|
size = Vector3(1.5, 0.7, 0.6)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_old_pc"]
|
|
size = Vector3(0.25, 0.4, 0.3)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_keyboard"]
|
|
size = Vector3(0.4, 0.03, 0.15)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_bed"]
|
|
size = Vector3(2.0, 0.4, 1.0)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_bed"]
|
|
size = Vector3(2.0, 0.4, 1.0)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_blanket"]
|
|
size = Vector3(1.95, 0.06, 0.95)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_pillow"]
|
|
size = Vector3(0.5, 0.1, 0.25)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_wall_carpet"]
|
|
size = Vector3(1.4, 1.0, 0.02)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_poster"]
|
|
size = Vector3(0.4, 0.5, 0.02)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_shelf"]
|
|
size = Vector3(0.3, 1.7, 1.0)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_shelf"]
|
|
size = Vector3(0.3, 1.7, 1.0)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_book"]
|
|
size = Vector3(0.22, 0.04, 0.18)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_book_thick"]
|
|
size = Vector3(0.22, 0.08, 0.18)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_gift"]
|
|
size = Vector3(0.5, 0.4, 0.5)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_gift"]
|
|
size = Vector3(0.5, 0.4, 0.5)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_sys"]
|
|
size = Vector3(0.35, 0.5, 0.45)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_note"]
|
|
size = Vector3(0.18, 0.012, 0.12)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_note"]
|
|
size = Vector3(0.18, 0.012, 0.12)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_flash"]
|
|
size = Vector3(0.06, 0.02, 0.025)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_flash"]
|
|
size = Vector3(0.06, 0.02, 0.025)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_father"]
|
|
size = Vector3(0.4, 1.7, 0.4)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_p4"]
|
|
size = Vector3(0.25, 0.42, 0.4)
|
|
|
|
[sub_resource type="BoxShape3D" id="shape_p4"]
|
|
size = Vector3(0.25, 0.42, 0.4)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_sock"]
|
|
size = Vector3(0.15, 0.03, 0.08)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_lays"]
|
|
size = Vector3(0.15, 0.01, 0.1)
|
|
|
|
[sub_resource type="CylinderMesh" id="mesh_can"]
|
|
top_radius = 0.03
|
|
bottom_radius = 0.03
|
|
height = 0.13
|
|
radial_segments = 16
|
|
rings = 2
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_screen"]
|
|
size = Vector3(0.21, 0.15, 0.005)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_screen"]
|
|
albedo_color = Color(0.04, 0.05, 0.08, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.18, 0.24, 0.4, 1)
|
|
emission_energy_multiplier = 0.5
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_plant"]
|
|
size = Vector3(0.09, 0.13, 0.09)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_cup"]
|
|
size = Vector3(0.07, 0.08, 0.07)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_floor"]
|
|
albedo_color = Color(0.72, 0.6, 0.41, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_wall"]
|
|
albedo_color = Color(0.83, 0.72, 0.55, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_ceiling"]
|
|
albedo_color = Color(0.92, 0.9, 0.85, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_window"]
|
|
albedo_color = Color(0.6, 0.85, 1.0, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.6, 0.85, 1.0, 1)
|
|
emission_energy_multiplier = 0.6
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_window_frame"]
|
|
albedo_color = Color(0.95, 0.95, 0.95, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_windowsill"]
|
|
albedo_color = Color(0.96, 0.95, 0.92, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_radiator"]
|
|
albedo_color = Color(0.96, 0.94, 0.88, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_door"]
|
|
albedo_color = Color(0.85, 0.82, 0.75, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_desk"]
|
|
albedo_color = Color(0.96, 0.95, 0.93, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_old_pc"]
|
|
albedo_color = Color(0.55, 0.55, 0.5, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_keyboard"]
|
|
albedo_color = Color(0.85, 0.82, 0.74, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_bed_frame"]
|
|
albedo_color = Color(0.36, 0.23, 0.11, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_blanket"]
|
|
albedo_color = Color(0.13, 0.16, 0.32, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_pillow"]
|
|
albedo_color = Color(0.92, 0.88, 0.78, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_wall_carpet"]
|
|
albedo_color = Color(0.36, 0.12, 0.13, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_poster_csgo"]
|
|
albedo_color = Color(0.94, 0.71, 0.1, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.94, 0.71, 0.1, 1)
|
|
emission_energy_multiplier = 0.25
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_poster_morgen"]
|
|
albedo_color = Color(0.7, 0.13, 0.13, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_shelf"]
|
|
albedo_color = Color(0.93, 0.91, 0.88, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_book_a"]
|
|
albedo_color = Color(0.36, 0.18, 0.15, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_book_b"]
|
|
albedo_color = Color(0.2, 0.35, 0.5, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_book_c"]
|
|
albedo_color = Color(0.13, 0.13, 0.15, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_gift"]
|
|
albedo_color = Color(0.1, 0.1, 0.12, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_sys"]
|
|
albedo_color = Color(0.3, 0.32, 0.38, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.2, 0.5, 0.9, 1)
|
|
emission_energy_multiplier = 0.7
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_note"]
|
|
albedo_color = Color(0.95, 0.95, 0.9, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.95, 0.95, 0.7, 1)
|
|
emission_energy_multiplier = 0.3
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_flash"]
|
|
albedo_color = Color(0.78, 0.18, 0.18, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.78, 0.18, 0.18, 1)
|
|
emission_energy_multiplier = 0.4
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_father"]
|
|
albedo_color = Color(0.18, 0.22, 0.4, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_p4"]
|
|
albedo_color = Color(0.45, 0.44, 0.4, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_sock"]
|
|
albedo_color = Color(0.18, 0.22, 0.32, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_lays"]
|
|
albedo_color = Color(0.96, 0.84, 0.34, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_can"]
|
|
albedo_color = Color(0.13, 0.32, 0.68, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_plant"]
|
|
albedo_color = Color(0.25, 0.45, 0.2, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_cup"]
|
|
albedo_color = Color(0.85, 0.83, 0.78, 1)
|
|
|
|
[sub_resource type="Environment" id="env_room"]
|
|
background_mode = 1
|
|
background_color = Color(0.04, 0.04, 0.06, 1)
|
|
ambient_light_source = 2
|
|
ambient_light_color = Color(0.78, 0.72, 0.6, 1)
|
|
ambient_light_energy = 0.45
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_head"]
|
|
size = Vector3(0.26, 0.28, 0.26)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_hair"]
|
|
size = Vector3(0.28, 0.08, 0.28)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_torso"]
|
|
size = Vector3(0.42, 0.55, 0.25)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_arm"]
|
|
size = Vector3(0.13, 0.45, 0.13)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_hand"]
|
|
size = Vector3(0.12, 0.13, 0.12)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_leg"]
|
|
size = Vector3(0.18, 0.75, 0.18)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_shoe"]
|
|
size = Vector3(0.18, 0.08, 0.25)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_skin"]
|
|
albedo_color = Color(0.85, 0.7, 0.55, 1)
|
|
roughness = 0.85
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_hair"]
|
|
albedo_color = Color(0.18, 0.12, 0.08, 1)
|
|
roughness = 0.95
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_shirt"]
|
|
albedo_color = Color(0.38, 0.42, 0.5, 1)
|
|
roughness = 0.9
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_pants"]
|
|
albedo_color = Color(0.18, 0.22, 0.4, 1)
|
|
roughness = 0.95
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_shoe"]
|
|
albedo_color = Color(0.12, 0.12, 0.14, 1)
|
|
roughness = 0.6
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_eye_white"]
|
|
size = Vector3(0.038, 0.025, 0.005)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_pupil"]
|
|
size = Vector3(0.018, 0.018, 0.005)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_eyebrow"]
|
|
size = Vector3(0.045, 0.012, 0.006)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_nose"]
|
|
size = Vector3(0.028, 0.05, 0.035)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_mouth"]
|
|
size = Vector3(0.065, 0.012, 0.005)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_stubble"]
|
|
size = Vector3(0.2, 0.075, 0.004)
|
|
|
|
[sub_resource type="BoxMesh" id="mesh_ear"]
|
|
size = Vector3(0.025, 0.045, 0.025)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_eye_white"]
|
|
albedo_color = Color(0.95, 0.93, 0.88, 1)
|
|
roughness = 0.4
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_pupil"]
|
|
albedo_color = Color(0.08, 0.1, 0.16, 1)
|
|
roughness = 0.3
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_mouth"]
|
|
albedo_color = Color(0.4, 0.18, 0.16, 1)
|
|
roughness = 0.9
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_stubble"]
|
|
albedo_color = Color(0.32, 0.24, 0.18, 1)
|
|
roughness = 0.95
|
|
|
|
[node name="Act1Room" type="Node3D"]
|
|
script = ExtResource("1_act1")
|
|
|
|
[node name="WorldEnv" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("env_room")
|
|
|
|
[node name="SunLight" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(-1, 0, 0, 0, 0.866, 0.5, 0, 0.5, -0.866, 0, 4, -1.5)
|
|
light_color = Color(1, 0.94, 0.82, 1)
|
|
light_energy = 1.0
|
|
shadow_enabled = true
|
|
shadow_bias = 0.08
|
|
|
|
[node name="WindowFillLight" type="OmniLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, -1.6)
|
|
light_color = Color(0.7, 0.85, 1, 1)
|
|
light_energy = 0.5
|
|
omni_range = 3.5
|
|
|
|
[node name="Floor" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="Floor"]
|
|
mesh = SubResource("mesh_floor")
|
|
material_override = SubResource("mat_floor")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="Floor"]
|
|
shape = SubResource("shape_floor")
|
|
|
|
[node name="Ceiling" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.55, 0)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="Ceiling"]
|
|
mesh = SubResource("mesh_floor")
|
|
material_override = SubResource("mat_ceiling")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="Ceiling"]
|
|
shape = SubResource("shape_floor")
|
|
|
|
[node name="WallN" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, -2.05)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="WallN"]
|
|
mesh = SubResource("mesh_wall_ns")
|
|
material_override = SubResource("mat_wall")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="WallN"]
|
|
shape = SubResource("shape_wall_ns")
|
|
|
|
[node name="Window" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0.06)
|
|
mesh = SubResource("mesh_window")
|
|
material_override = SubResource("mat_window")
|
|
|
|
[node name="WindowFrameTop" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.82, 0.08)
|
|
mesh = SubResource("mesh_window_frame_h")
|
|
material_override = SubResource("mat_window_frame")
|
|
|
|
[node name="WindowFrameBot" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.22, 0.08)
|
|
mesh = SubResource("mesh_window_frame_h")
|
|
material_override = SubResource("mat_window_frame")
|
|
|
|
[node name="WindowFrameLeft" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.78, 0.3, 0.08)
|
|
mesh = SubResource("mesh_window_frame_v")
|
|
material_override = SubResource("mat_window_frame")
|
|
|
|
[node name="WindowFrameRight" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.78, 0.3, 0.08)
|
|
mesh = SubResource("mesh_window_frame_v")
|
|
material_override = SubResource("mat_window_frame")
|
|
|
|
[node name="WindowFrameMid" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0.08)
|
|
mesh = SubResource("mesh_window_frame_v")
|
|
material_override = SubResource("mat_window_frame")
|
|
|
|
[node name="Windowsill" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.2, 0.18)
|
|
mesh = SubResource("mesh_windowsill")
|
|
material_override = SubResource("mat_windowsill")
|
|
|
|
[node name="Plant" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -0.11, 0.18)
|
|
mesh = SubResource("mesh_plant")
|
|
material_override = SubResource("mat_plant")
|
|
|
|
[node name="Cup" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, -0.13, 0.18)
|
|
mesh = SubResource("mesh_cup")
|
|
material_override = SubResource("mat_cup")
|
|
|
|
[node name="Radiator" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.0, 0.1)
|
|
mesh = SubResource("mesh_radiator")
|
|
material_override = SubResource("mat_radiator")
|
|
|
|
[node name="PosterCSGO" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.1, 0.45, 0.06)
|
|
mesh = SubResource("mesh_poster")
|
|
material_override = SubResource("mat_poster_csgo")
|
|
|
|
[node name="PosterMorgen" type="MeshInstance3D" parent="WallN"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.1, 0.45, 0.06)
|
|
mesh = SubResource("mesh_poster")
|
|
material_override = SubResource("mat_poster_morgen")
|
|
|
|
[node name="WallS" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 2.05)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="WallS"]
|
|
mesh = SubResource("mesh_wall_ns")
|
|
material_override = SubResource("mat_wall")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="WallS"]
|
|
shape = SubResource("shape_wall_ns")
|
|
|
|
[node name="WallCarpet" type="MeshInstance3D" parent="WallS"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.0, -0.06)
|
|
mesh = SubResource("mesh_wall_carpet")
|
|
material_override = SubResource("mat_wall_carpet")
|
|
|
|
[node name="WallE" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.05, 1.25, 0)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="WallE"]
|
|
mesh = SubResource("mesh_wall_ew")
|
|
material_override = SubResource("mat_wall")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="WallE"]
|
|
shape = SubResource("shape_wall_ew")
|
|
|
|
[node name="DoorPanel" type="MeshInstance3D" parent="WallE"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.06, -0.25, 0)
|
|
mesh = SubResource("mesh_door")
|
|
material_override = SubResource("mat_door")
|
|
|
|
[node name="Door" type="Area3D" parent="WallE"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.1, -0.25, 0)
|
|
script = ExtResource("2_int")
|
|
prompt = "выйти на кухню"
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="WallE/Door"]
|
|
visible = false
|
|
mesh = SubResource("mesh_door")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="WallE/Door"]
|
|
shape = SubResource("shape_door")
|
|
|
|
[node name="WallW" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.05, 1.25, 0)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="WallW"]
|
|
mesh = SubResource("mesh_wall_ew")
|
|
material_override = SubResource("mat_wall")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="WallW"]
|
|
shape = SubResource("shape_wall_ew")
|
|
|
|
[node name="Shelf" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, -1.85, 0, -1.0)
|
|
|
|
[node name="BookcaseModel" parent="Shelf" instance=ExtResource("106_bookcase")]
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="Shelf"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
|
shape = SubResource("shape_shelf")
|
|
|
|
[node name="BookA" type="MeshInstance3D" parent="Shelf"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.05, 0.4, 0)
|
|
mesh = SubResource("mesh_book")
|
|
material_override = SubResource("mat_book_a")
|
|
|
|
[node name="BookB" type="MeshInstance3D" parent="Shelf"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.05, 0.46, 0)
|
|
mesh = SubResource("mesh_book")
|
|
material_override = SubResource("mat_book_b")
|
|
|
|
[node name="BookC" type="MeshInstance3D" parent="Shelf"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.05, 0.54, 0)
|
|
mesh = SubResource("mesh_book_thick")
|
|
material_override = SubResource("mat_book_c")
|
|
|
|
[node name="BookD" type="MeshInstance3D" parent="Shelf"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.05, -0.2, 0.2)
|
|
mesh = SubResource("mesh_book_thick")
|
|
material_override = SubResource("mat_book_a")
|
|
|
|
[node name="BookE" type="MeshInstance3D" parent="Shelf"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.05, -0.12, 0.2)
|
|
mesh = SubResource("mesh_book")
|
|
material_override = SubResource("mat_book_b")
|
|
|
|
[node name="OldP4" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.75, 0.21, -1.7)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="OldP4"]
|
|
mesh = SubResource("mesh_p4")
|
|
material_override = SubResource("mat_p4")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="OldP4"]
|
|
shape = SubResource("shape_p4")
|
|
|
|
[node name="Desk" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.5)
|
|
|
|
[node name="DeskModel" parent="Desk" instance=ExtResource("102_desk")]
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="Desk"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.35, 0)
|
|
shape = SubResource("shape_desk")
|
|
|
|
[node name="OldPC" parent="Desk" instance=ExtResource("104_monitor")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.4, 0.7, 0)
|
|
|
|
[node name="Chair" parent="Desk" instance=ExtResource("103_chair")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.7)
|
|
|
|
[node name="Keyboard" type="MeshInstance3D" parent="Desk"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.37, 0.18)
|
|
mesh = SubResource("mesh_keyboard")
|
|
material_override = SubResource("mat_keyboard")
|
|
|
|
[node name="AdrenalineCan" type="MeshInstance3D" parent="Desk"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.1, 0.42, 0.1)
|
|
mesh = SubResource("mesh_can")
|
|
material_override = SubResource("mat_can")
|
|
|
|
[node name="LaysWrapper" type="MeshInstance3D" parent="Desk"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.1, 0.36, 0.0)
|
|
mesh = SubResource("mesh_lays")
|
|
material_override = SubResource("mat_lays")
|
|
|
|
[node name="FlashDrive" type="Area3D" parent="Desk"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.4, 0.36, 0.15)
|
|
script = ExtResource("2_int")
|
|
prompt = "взять флешку"
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="Desk/FlashDrive"]
|
|
mesh = SubResource("mesh_flash")
|
|
material_override = SubResource("mat_flash")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="Desk/FlashDrive"]
|
|
shape = SubResource("shape_flash")
|
|
|
|
[node name="Bed" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0, 1.4)
|
|
|
|
[node name="BedModel" parent="Bed" instance=ExtResource("101_bed")]
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="Bed"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
|
|
shape = SubResource("shape_bed")
|
|
|
|
[node name="Sock1" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.015, 0.9)
|
|
mesh = SubResource("mesh_sock")
|
|
material_override = SubResource("mat_sock")
|
|
|
|
[node name="Sock2" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.85, 0.015, 0.2)
|
|
mesh = SubResource("mesh_sock")
|
|
material_override = SubResource("mat_sock")
|
|
|
|
[node name="GiftBox" type="Area3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.3)
|
|
script = ExtResource("2_int")
|
|
prompt = "открыть коробку"
|
|
|
|
[node name="BoxModel" parent="GiftBox" instance=ExtResource("108_giftbox")]
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="GiftBox"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2, 0)
|
|
shape = SubResource("shape_gift")
|
|
|
|
[node name="SystemUnit" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.2, 0.7, -1.5)
|
|
visible = false
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="SystemUnit"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
|
mesh = SubResource("mesh_sys")
|
|
material_override = SubResource("mat_sys")
|
|
|
|
[node name="Keyboard" parent="SystemUnit" instance=ExtResource("105_keyboard")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.2, 0, 0.25)
|
|
|
|
[node name="Note" type="Area3D" parent="SystemUnit"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.26, 0)
|
|
script = ExtResource("2_int")
|
|
prompt = "прочитать записку"
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="SystemUnit/Note"]
|
|
mesh = SubResource("mesh_note")
|
|
material_override = SubResource("mat_note")
|
|
|
|
[node name="Coll" type="CollisionShape3D" parent="SystemUnit/Note"]
|
|
shape = SubResource("shape_note")
|
|
|
|
[node name="FatherNPC" parent="." instance=ExtResource("100_father")]
|
|
transform = Transform3D(0, 0, -1.7, 0, 1.7, 0, 1.7, 0, 0, 1.7, 0, 0)
|
|
|
|
[node name="PlayerFPV" parent="." instance=ExtResource("3_player")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5)
|
|
|
|
[connection signal="interacted" from="Desk/FlashDrive" to="." method="_on_drive_interacted"]
|
|
[connection signal="interacted" from="GiftBox" to="." method="_on_gift_interacted"]
|
|
[connection signal="interacted" from="SystemUnit/Note" to="." method="_on_note_interacted"]
|
|
[connection signal="interacted" from="WallE/Door" to="." method="_on_door_interacted"]
|