From cdc7b759a1d4e44493378c22d43217d50c40173a Mon Sep 17 00:00:00 2001 From: tpart Date: Sun, 21 Sep 2025 20:56:31 +0200 Subject: Add fake walls in kitchen menu to prevent sky from showing --- client/map/kitchen_background.tscn | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/client/map/kitchen_background.tscn b/client/map/kitchen_background.tscn index ed9f1560..5d572f73 100644 --- a/client/map/kitchen_background.tscn +++ b/client/map/kitchen_background.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=3 uid="uid://wwu574dq2r8h"] +[gd_scene load_steps=6 format=3 uid="uid://wwu574dq2r8h"] [ext_resource type="PackedScene" uid="uid://b4gone8fu53r7" path="res://map/map.tscn" id="1_heqla"] [ext_resource type="Script" uid="uid://ddpr5p4c6p8pn" path="res://map/kitchen_background.gd" id="1_ppf8f"] @@ -7,6 +7,12 @@ background_mode = 1 background_color = Color(0.145548, 0.151043, 0.207031, 1) +[sub_resource type="BoxMesh" id="BoxMesh_ppf8f"] +size = Vector3(14, 5, 0.3) + +[sub_resource type="BoxMesh" id="BoxMesh_xidlh"] +size = Vector3(7.5, 5, 0.3) + [node name="KitchenBackground" type="Node3D"] script = ExtResource("1_ppf8f") @@ -14,3 +20,11 @@ script = ExtResource("1_ppf8f") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_ex25y") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.5, -3.5) +mesh = SubResource("BoxMesh_ppf8f") + +[node name="MeshInstance3D2" type="MeshInstance3D" parent="."] +transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 7.5, 0.5, -1) +mesh = SubResource("BoxMesh_xidlh") -- cgit v1.2.3-70-g09d2