Bit more cleanup.
This commit is contained in:
@@ -1,134 +0,0 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://bicg5j33d72ld"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cu1hvpqmqn31n" path="res://icon.svg" id="1_gnws2"]
|
||||
[ext_resource type="PackedScene" uid="uid://bhnshe87i2bgu" path="res://models/scenery/House.tscn" id="2_2wcmd"]
|
||||
[ext_resource type="PackedScene" uid="uid://dq7dvaeigsrv" path="res://models/scenery/Fence.tscn" id="3_qv7ds"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ee568"]
|
||||
size = Vector3(100, 0.1, 100)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_gnws2"]
|
||||
size = Vector2(100, 100)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2wcmd"]
|
||||
albedo_texture = ExtResource("1_gnws2")
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_qv7ds"]
|
||||
|
||||
[sub_resource type="Sky" id="Sky_nb1wl"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_qv7ds")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_5tafb"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_nb1wl")
|
||||
ambient_light_source = 3
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_qv7ds"]
|
||||
size = Vector3(16.9149, 10.2326, 4.02686)
|
||||
|
||||
[node name="MapTundra" type="Node3D"]
|
||||
|
||||
[node name="Ground" type="Node3D" parent="."]
|
||||
|
||||
[node name="RigidBody3D" type="StaticBody3D" parent="Ground"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/RigidBody3D"]
|
||||
shape = SubResource("BoxShape3D_ee568")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.037714, 0, -0.0143986)
|
||||
mesh = SubResource("PlaneMesh_gnws2")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_2wcmd")
|
||||
|
||||
[node name="House2" parent="." instance=ExtResource("2_2wcmd")]
|
||||
transform = Transform3D(2.05356, 0, 0, 0, 2.05356, 0, 0, 0, 2.05356, -4.16877, -4.76837e-07, 0.802698)
|
||||
|
||||
[node name="House3" parent="." instance=ExtResource("2_2wcmd")]
|
||||
transform = Transform3D(1.77574, 0, -1.03143, 0, 2.05356, 0, 1.03143, 0, 1.77574, 0.646103, -4.76837e-07, -14.4573)
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_5tafb")
|
||||
|
||||
[node name="Fence" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.200043, 0, 1.71894, 0, 1.73054, 0, -1.71894, 0, 0.200043, -5.16816, 0.497752, 9.45936)
|
||||
|
||||
[node name="Fence15" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.200043, 0, 1.71894, 0, 1.73054, 0, -1.71894, 0, 0.200043, -4.72367, 0.497752, -7.08098)
|
||||
|
||||
[node name="Fence16" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.200043, 0, 1.71894, 0, 1.73054, 0, -1.71894, 0, 0.200043, -4.96908, 0.482898, -4.402)
|
||||
|
||||
[node name="Fence2" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(-0.106491, 0, 1.72726, 0, 1.73054, 0, -1.72726, 0, -0.106491, -5.16587, 0.497752, 12.43)
|
||||
|
||||
[node name="Fence3" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(-0.106491, 0, 1.72726, 0, 1.73054, 0, -1.72726, 0, -0.106491, -5.03704, 0.497752, 15.0775)
|
||||
|
||||
[node name="Fence4" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(-0.106491, 0, 1.72726, 0, 1.73054, 0, -1.72726, 0, -0.106491, -4.87449, 0.497752, 17.857)
|
||||
|
||||
[node name="Fence5" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(-0.323262, 0, 1.70008, 0, 1.73054, 0, -1.70008, 0, -0.323262, -4.43461, 0.497752, 20.6605)
|
||||
|
||||
[node name="Fence6" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.200043, 0, 1.71894, 0, 1.73054, 0, -1.71894, 0, 0.200043, -4.50852, 0.497752, 23.1899)
|
||||
|
||||
[node name="Fence7" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(-0.106491, 0, 1.72726, 0, 1.73054, 0, -1.72726, 0, -0.106491, -4.50623, 0.497752, 26.1606)
|
||||
|
||||
[node name="Fence8" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.466278, 0, 1.66654, 0, 1.73054, 0, -1.66654, 0, 0.466278, 5.79505, 0.497752, 9.24247)
|
||||
|
||||
[node name="Fence9" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.164813, 0, 1.72267, 0, 1.73054, 0, -1.72267, 0, 0.164813, 5.33296, 0.497752, 12.177)
|
||||
|
||||
[node name="Fence10" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.164813, 0, 1.72267, 0, 1.73054, 0, -1.72267, 0, 0.164813, 5.04636, 0.497752, 14.812)
|
||||
|
||||
[node name="Fence11" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.164813, 0, 1.72267, 0, 1.73054, 0, -1.72267, 0, 0.164813, 4.77245, 0.497752, 17.5827)
|
||||
|
||||
[node name="Fence12" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(-0.0535426, 0, 1.72971, 0, 1.73054, 0, -1.72971, 0, -0.0535426, 4.76868, 0.497752, 20.4206)
|
||||
|
||||
[node name="Fence13" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.466278, 0, 1.66654, 0, 1.73054, 0, -1.66654, 0, 0.466278, 4.3003, 0.497752, 22.9073)
|
||||
|
||||
[node name="Fence14" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.164813, 0, 1.72267, 0, 1.73054, 0, -1.72267, 0, 0.164813, 3.83821, 0.497752, 25.8418)
|
||||
|
||||
[node name="Fence17" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.517329, 0, 1.6514, 0, 1.73054, 0, -1.6514, 0, 0.517329, 10.8437, 0.497752, -6.39519)
|
||||
|
||||
[node name="Fence18" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.517329, 0, 1.6514, 0, 1.73054, 0, -1.6514, 0, 0.517329, 10.0187, 0.497752, -3.87633)
|
||||
|
||||
[node name="Fence23" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.517329, 0, 1.6514, 0, 1.73054, 0, -1.6514, 0, 0.517329, 11.8201, 0.497752, -8.91034)
|
||||
|
||||
[node name="Fence24" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.517329, 0, 1.6514, 0, 1.73054, 0, -1.6514, 0, 0.517329, 12.7247, 0.497752, -11.4419)
|
||||
|
||||
[node name="Fence19" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.517329, 0, 1.6514, 0, 1.73054, 0, -1.6514, 0, 0.517329, 9.17796, 0.497752, -1.22208)
|
||||
|
||||
[node name="Fence20" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.305144, 0, 1.70342, 0, 1.73054, 0, -1.70342, 0, 0.305144, 8.58768, 0.497752, 1.55375)
|
||||
|
||||
[node name="Fence21" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.800681, 0, 1.53417, 0, 1.73054, 0, -1.53417, 0, 0.800681, 7.61541, 0.497752, 3.88994)
|
||||
|
||||
[node name="Fence22" parent="." instance=ExtResource("3_qv7ds")]
|
||||
transform = Transform3D(0.517329, 0, 1.6514, 0, 1.73054, 0, -1.6514, 0, 0.517329, 6.55674, 0.497752, 6.66555)
|
||||
|
||||
[node name="LEFT EDGE" type="StaticBody3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="LEFT EDGE"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.68842, 4.77113, 25.4865)
|
||||
shape = SubResource("BoxShape3D_qv7ds")
|
||||
|
||||
[node name="RIGHT EDGE" type="StaticBody3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="RIGHT EDGE"]
|
||||
transform = Transform3D(0.813872, 0, -0.581044, 0, 1, 0, 0.581044, 0, 0.813872, 9.30429, 4.77113, -15.9024)
|
||||
shape = SubResource("BoxShape3D_qv7ds")
|
@@ -1,104 +0,0 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://b16ysbx7ah03u"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bicg5j33d72ld" path="res://maps/MapTundra/BaseMapTundra.tscn" id="1_2gju5"]
|
||||
[ext_resource type="PackedScene" uid="uid://2ch34sio36nv" path="res://entities/Player.tscn" id="2_rlkm5"]
|
||||
[ext_resource type="Script" uid="uid://csb0i132lcu0w" path="res://entities/MapCamera.gd" id="3_n77mx"]
|
||||
[ext_resource type="PackedScene" uid="uid://bng2mc7fu5aik" path="res://entities/NPC.tscn" id="4_nb1wl"]
|
||||
[ext_resource type="Script" uid="uid://chxpes3546yoj" path="res://cutscene/Cutscene.gd" id="5_m5dm6"]
|
||||
[ext_resource type="Script" uid="uid://8updtj1mctra" path="res://cutscene/item/CutsceneText.gd" id="6_fws1a"]
|
||||
[ext_resource type="PackedScene" uid="uid://cr6h3g15bf6ts" path="res://MapChangeInteract.tscn" id="8_epq12"]
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_n77mx"]
|
||||
_data = {
|
||||
"points": PackedVector3Array(-0.483396, -0.178879, 4.24736, 0.483396, 0.178879, -4.24736, 7.21406, 2.10688, 14.3008, 0, 0, 0, 0, 0, 0, 10.7626, 2.77149, 5.10037, -1.66175, 0.968716, 12.1186, 1.66175, -0.968716, -12.1186, 20.1087, 3.31252, -17.463),
|
||||
"tilts": PackedFloat32Array(0, 0, 0)
|
||||
}
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_nb1wl"]
|
||||
_data = {
|
||||
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 1.73319, 1.18547, 19.4148, -2.67718, -1.0831, 5.13669, 2.67718, 1.0831, -5.13669, 2.2062, 1.21935, 8.22687, -3.3053, -0.230669, 4.7331, 3.3053, 0.230669, -4.7331, 4.50778, 0.70057, -6.92138, 0, 0, 0, 0, 0, 0, 10.6352, 0.696404, -20.7808),
|
||||
"tilts": PackedFloat32Array(0, 0, 0, 0)
|
||||
}
|
||||
point_count = 4
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_u6bnu"]
|
||||
size = Vector3(5.41431, 3.90259, 3.33496)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_epq12"]
|
||||
size = Vector3(10.521, 3.90259, 3.33496)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_yhikq"]
|
||||
size = Vector3(5.41431, 3.90259, 2.43964)
|
||||
|
||||
[node name="TestScene" type="Node3D"]
|
||||
|
||||
[node name="MapTundra" parent="." instance=ExtResource("1_2gju5")]
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("2_rlkm5")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.18123, 1.54702, 6.35532)
|
||||
|
||||
[node name="NPC" parent="." instance=ExtResource("4_nb1wl")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94096, 1.94676, -8.39115)
|
||||
interactType = 1
|
||||
interactTexts = Array[String](["test"])
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="." node_paths=PackedStringArray("targetFollow", "pathFollow", "pathMap")]
|
||||
transform = Transform3D(-0.179663, -0.124983, 0.975756, 0, 0.991896, 0.12705, -0.983728, 0.0228261, -0.178207, 11.1616, 2.84653, 4.53257)
|
||||
fov = 57.5
|
||||
script = ExtResource("3_n77mx")
|
||||
targetFollow = NodePath("../Player")
|
||||
pathFollow = NodePath("../PathCamera/PathFollow3D")
|
||||
pathMap = NodePath("../PathWorld")
|
||||
metadata/_custom_type_script = "uid://csb0i132lcu0w"
|
||||
|
||||
[node name="PathCamera" type="Path3D" parent="."]
|
||||
curve = SubResource("Curve3D_n77mx")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="PathCamera"]
|
||||
transform = Transform3D(0.826378, -0.0298339, -0.562123, -0.0341959, 0.993954, -0.103028, 0.56187, 0.104372, 0.820481, 11.1616, 2.84653, 4.53253)
|
||||
progress = 10.6482
|
||||
loop = false
|
||||
|
||||
[node name="PathWorld" type="Path3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0606813, -0.0198746, 0.134638)
|
||||
curve = SubResource("Curve3D_nb1wl")
|
||||
|
||||
[node name="Cutscenes" type="Node" parent="."]
|
||||
|
||||
[node name="TestCutscene" type="Node" parent="Cutscenes"]
|
||||
script = ExtResource("5_m5dm6")
|
||||
|
||||
[node name="CutsceneText" type="Node" parent="Cutscenes/TestCutscene"]
|
||||
script = ExtResource("6_fws1a")
|
||||
interactTexts = Array[String](["test cutscene item 1", "tttt2"])
|
||||
metadata/_custom_type_script = "uid://8updtj1mctra"
|
||||
|
||||
[node name="CutsceneText2" type="Node" parent="Cutscenes/TestCutscene"]
|
||||
script = ExtResource("6_fws1a")
|
||||
interactTexts = Array[String](["3", "4"])
|
||||
metadata/_custom_type_script = "uid://8updtj1mctra"
|
||||
|
||||
[node name="MapChangeInteract" parent="." instance=ExtResource("8_epq12")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.63736, 0, 0.933406)
|
||||
|
||||
[node name="ChildOutsideScene" type="CollisionShape3D" parent="MapChangeInteract"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.96407, 1.69859, 0.859571)
|
||||
shape = SubResource("BoxShape3D_u6bnu")
|
||||
debug_color = Color(0.537255, 0.698039, 0, 1)
|
||||
|
||||
[node name="MapChangeInteract2" parent="." instance=ExtResource("8_epq12")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.10542, 9.53674e-07, 24.2305)
|
||||
|
||||
[node name="ChildOutsideScene2" type="CollisionShape3D" parent="MapChangeInteract2"]
|
||||
transform = Transform3D(0.991814, 0.000859021, -0.127689, -0.00103728, 0.999999, -0.0013296, 0.127687, 0.00145116, 0.991813, 4.8648, 2.03135, 0.51722)
|
||||
shape = SubResource("BoxShape3D_epq12")
|
||||
debug_color = Color(0.537255, 0.698039, 0, 1)
|
||||
|
||||
[node name="MapChangeInteract3" parent="." instance=ExtResource("8_epq12")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.63736, 0, 0.933406)
|
||||
|
||||
[node name="ChildOutsideScene" type="CollisionShape3D" parent="MapChangeInteract3"]
|
||||
transform = Transform3D(0.840207, 0, -0.542266, 0, 1, 0, 0.542266, 0, 0.840207, 2.76805, 1.69859, -15.1128)
|
||||
shape = SubResource("BoxShape3D_yhikq")
|
||||
debug_color = Color(0.537255, 0.698039, 0, 1)
|
11
maps/TestMap.tscn
Normal file
11
maps/TestMap.tscn
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://d0ywgijpuqy0r"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cluuhtfjeodwb" path="res://maps/TestMapBase.tscn" id="1_ox0si"]
|
||||
[ext_resource type="PackedScene" uid="uid://2ch34sio36nv" path="res://entities/player/Player.tscn" id="2_0d2qr"]
|
||||
|
||||
[node name="TestMap" type="Node3D"]
|
||||
|
||||
[node name="TestMapBase" parent="." instance=ExtResource("1_ox0si")]
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("2_0d2qr")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.59, 0)
|
12
maps/TestMapBase.tscn
Normal file
12
maps/TestMapBase.tscn
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cluuhtfjeodwb"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://chuogedj81c5" path="res://materials/WorldMaterial.tres" id="1_x4ibw"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_owt5q"]
|
||||
size = Vector2(10, 10)
|
||||
|
||||
[node name="TestMapBase" type="Node3D"]
|
||||
|
||||
[node name="Ground" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("PlaneMesh_owt5q")
|
||||
surface_material_override/0 = ExtResource("1_x4ibw")
|
Reference in New Issue
Block a user