From b6d402eb937c83c898c422f1a79e564a0e52f98d Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Tue, 3 Dec 2024 08:16:03 +0100 Subject: [PATCH] Add missing files. --- assets/scene_props/log_cabin.tscn | 32 ++++++++++++++++++++++++++ assets/scene_props/wall_segment.tscn | 34 ++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 assets/scene_props/log_cabin.tscn create mode 100644 assets/scene_props/wall_segment.tscn diff --git a/assets/scene_props/log_cabin.tscn b/assets/scene_props/log_cabin.tscn new file mode 100644 index 0000000..ff47723 --- /dev/null +++ b/assets/scene_props/log_cabin.tscn @@ -0,0 +1,32 @@ +[gd_scene load_steps=2 format=3 uid="uid://dmj2ftqvmu7ic"] + +[ext_resource type="PackedScene" uid="uid://bbtp6w3ubgt0k" path="res://assets/scene_props/wall_segment.tscn" id="1_1uh55"] + +[node name="LogCabin" type="Node3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13, -0.5, -3) + +[node name="WallSegment6" parent="." instance=ExtResource("1_1uh55")] + +[node name="WallSegment7" parent="." instance=ExtResource("1_1uh55")] +transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, -1.5) + +[node name="WallSegment8" parent="." instance=ExtResource("1_1uh55")] +transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.5, 0.5, -1.5) + +[node name="WallSegment9" parent="." instance=ExtResource("1_1uh55")] +transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -1, 0.5, -1) + +[node name="WallSegment10" parent="." instance=ExtResource("1_1uh55")] +transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -1, 0.5, 0) + +[node name="WallSegment11" parent="." instance=ExtResource("1_1uh55")] +transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 2, 0.5, -1) + +[node name="WallSegment12" parent="." instance=ExtResource("1_1uh55")] +transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 2, 0.5, 0) + +[node name="WallSegment13" parent="." instance=ExtResource("1_1uh55")] +transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.5, 0.5, 0.5) + +[node name="WallSegment14" parent="." instance=ExtResource("1_1uh55")] +transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.5, 0.5, 0.5) diff --git a/assets/scene_props/wall_segment.tscn b/assets/scene_props/wall_segment.tscn new file mode 100644 index 0000000..b0ad877 --- /dev/null +++ b/assets/scene_props/wall_segment.tscn @@ -0,0 +1,34 @@ +[gd_scene load_steps=6 format=3 uid="uid://bbtp6w3ubgt0k"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_0hyct"] +size = Vector3(0.25, 1, 1) + +[sub_resource type="FastNoiseLite" id="FastNoiseLite_ehwcd"] +frequency = 0.1797 + +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_mrcv7"] +width = 32 +height = 32 +seamless = true +noise = SubResource("FastNoiseLite_ehwcd") + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rvqit"] +albedo_color = Color(0.900017, 0.599212, 0.397565, 1) +albedo_texture = SubResource("NoiseTexture2D_mrcv7") +texture_filter = 0 + +[sub_resource type="BoxMesh" id="BoxMesh_0lmcs"] +material = SubResource("StandardMaterial3D_rvqit") +size = Vector3(0.25, 1, 1) + +[node name="WallSegment6" type="StaticBody3D"] +transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.5, 0.5, -1.5) + +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) +shape = SubResource("BoxShape3D_0hyct") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) +mesh = SubResource("BoxMesh_0lmcs") +skeleton = NodePath("../..")