Explosion_der_Spiele/scenes/massage_studio.tscn
copilot 1cc8aa9b9d Add village 3D wiring, voice lines, and 1.74 m world scale.
Houses ~8.5 m; chimps capped ~0.85 m with safer axis fitting. Large GLB/PBR packs stay local until Git LFS (Forgejo HTTP 413).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 12:02:57 +02:00

103 lines
3.3 KiB
Text

[gd_scene load_steps=8 format=3]
[ext_resource type="Script" path="res://scripts/levels/massage_studio.gd" id="1"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/player.tscn" id="2"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/exit_trigger.tscn" id="3"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/model_prop.tscn" id="5"]
[sub_resource type="BoxMesh" id="BoxMesh_ground"]
size = Vector3(40, 0.2, 40)
[sub_resource type="StandardMaterial3D" id="Mat_ground"]
albedo_color = Color(0.7, 0.55, 0.5, 1)
shading_mode = 0
[sub_resource type="BoxShape3D" id="BoxShape_ground"]
size = Vector3(40, 0.2, 40)
[node name="massage_studio" type="Node3D"]
script = ExtResource("1")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.866, -0.354, 0.354, 0, 0.707, 0.707, -0.5, -0.612, 0.612, 0, 8, 0)
shadow_enabled = false
[node name="Ground" type="StaticBody3D" parent="."]
collision_layer = 1
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
mesh = SubResource("BoxMesh_ground")
surface_material_override/0 = SubResource("Mat_ground")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
shape = SubResource("BoxShape_ground")
[node name="Player" parent="." instance=ExtResource("2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 4)
[node name="MasseurHouseInterior" parent="." instance=ExtResource("5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6)
model_path = "res://assets/3DModelle/houses/massour/massourhaus.glb"
fit_height = 8.5
fit_max_width = 12.0
ground_align = true
add_collision = false
can_interact = false
[node name="CowMasseur" parent="." instance=ExtResource("5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.2, 0.0, -1.5)
model_path = "res://assets/3DModelle/animals/cow/cow.glb"
fit_height = 1.5
fit_max_width = 2.4
model_rotation_degrees = Vector3(0, 140, 0)
ground_align = true
add_collision = false
can_interact = true
prompt_key = "prompt_talk"
[node name="Exit" parent="." instance=ExtResource("3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, -10)
[node name="ChoiceUI" type="CanvasLayer" parent="."]
layer = 50
[node name="Panel" type="PanelContainer" parent="ChoiceUI"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -220.0
offset_top = -100.0
offset_right = 220.0
offset_bottom = 100.0
[node name="Margin" type="MarginContainer" parent="ChoiceUI/Panel"]
layout_mode = 2
theme_override_constants/margin_left = 12
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 12
theme_override_constants/margin_bottom = 10
[node name="VBox" type="VBoxContainer" parent="ChoiceUI/Panel/Margin"]
layout_mode = 2
[node name="Label" type="Label" parent="ChoiceUI/Panel/Margin/VBox"]
layout_mode = 2
autowrap_mode = 3
text = "Kuh"
[node name="MassageBtn" type="Button" parent="ChoiceUI/Panel/Margin/VBox"]
layout_mode = 2
text = "Massage"
[node name="DrinkBtn" type="Button" parent="ChoiceUI/Panel/Margin/VBox"]
layout_mode = 2
text = "Trinken"
[connection signal="pressed" from="ChoiceUI/Panel/Margin/VBox/MassageBtn" to="." method="_on_massage_pressed"]
[connection signal="pressed" from="ChoiceUI/Panel/Margin/VBox/DrinkBtn" to="." method="_on_drink_pressed"]