megalith/src/world/world.tscn

115 lines
76 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=12 format=3 uid="uid://daxngklaqlyba"]
2025-09-29 12:12:34 -06:00
[ext_resource type="PackedScene" uid="uid://dtbulshrxetes" path="res://src/player/player.tscn" id="1_1k4gi"]
2025-09-29 12:38:13 -06:00
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="2_6fy3g"]
[ext_resource type="PackedScene" uid="uid://cop4mkrv70yhc" path="res://src/world/generation/generated_world.tscn" id="2_jte2u"]
2025-09-29 12:12:34 -06:00
2025-09-29 12:40:04 -06:00
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_6fy3g"]
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
[sub_resource type="Sky" id="Sky_jte2u"]
sky_material = SubResource("ProceduralSkyMaterial_6fy3g")
[sub_resource type="Environment" id="Environment_bsf3i"]
background_mode = 2
sky = SubResource("Sky_jte2u")
tonemap_mode = 2
ssr_enabled = true
ssao_enabled = true
sdfgi_enabled = true
glow_enabled = true
volumetric_fog_enabled = true
volumetric_fog_density = 0.001
volumetric_fog_albedo = Color(0.78, 0.9559999, 1, 1)
volumetric_fog_length = 1024.0
volumetric_fog_sky_affect = 0.3
2025-09-29 12:40:04 -06:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jte2u"]
2025-09-29 12:12:34 -06:00
albedo_color = Color(0.16, 0.16, 0.16, 1)
[sub_resource type="SphereMesh" id="SphereMesh_jte2u"]
material = SubResource("StandardMaterial3D_jte2u")
radius = 10.0
height = 10.0
radial_segments = 32
rings = 16
is_hemisphere = true
2025-09-29 12:12:34 -06:00
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_jte2u"]
data = PackedVector3Array(0, 10, 0, 0, 10, 0, 0, 9.8296995, 1.8375, 0, 10, 0, 0.3585, 9.8296995, 1.8022, 0, 9.8296995, 1.8375, 0, 10, 0, 0, 10, 0, 0.3585, 9.8296995, 1.8022, 0, 10, 0, 0.7032, 9.8296995, 1.6976, 0.3585, 9.8296995, 1.8022, 0, 10, 0, 0, 10, 0, 0.7032, 9.8296995, 1.6976, 0, 10, 0, 1.0209, 9.8296995, 1.5278, 0.7032, 9.8296995, 1.6976, 0, 10, 0, 0, 10, 0, 1.0209, 9.8296995, 1.5278, 0, 10, 0, 1.2993, 9.8296995, 1.2993, 1.0209, 9.8296995, 1.5278, 0, 10, 0, 0, 10, 0, 1.2993, 9.8296995, 1.2993, 0, 10, 0, 1.5278, 9.8296995, 1.0209, 1.2993, 9.8296995, 1.2993, 0, 10, 0, 0, 10, 0, 1.5278, 9.8296995, 1.0209, 0, 10, 0, 1.6976, 9.8296995, 0.7032, 1.5278, 9.8296995, 1.0209, 0, 10, 0, 0, 10, 0, 1.6976, 9.8296995, 0.7032, 0, 10, 0, 1.8022, 9.8296995, 0.3585, 1.6976, 9.8296995, 0.7032, 0, 10, 0, 0, 10, 0, 1.8022, 9.8296995, 0.3585, 0, 10, 0, 1.8375, 9.8296995, 0, 1.8022, 9.8296995, 0.3585, 0, 10, 0, 0, 10, 0, 1.8375, 9.8296995, 0, 0, 10, 0, 1.8022, 9.8296995, -0.3585, 1.8375, 9.8296995, 0, 0, 10, 0, 0, 10, 0, 1.8022, 9.8296995, -0.3585, 0, 10, 0, 1.6976, 9.8296995, -0.7032, 1.8022, 9.8296995, -0.3585, 0, 10, 0, 0, 10, 0, 1.6976, 9.8296995, -0.7032, 0, 10, 0, 1.5278, 9.8296995, -1.0209, 1.6976, 9.8296995, -0.7032, 0, 10, 0, 0, 10, 0, 1.5278, 9.8296995, -1.0209, 0, 10, 0, 1.2993, 9.8296995, -1.2993, 1.5278, 9.8296995, -1.0209, 0, 10, 0, 0, 10, 0, 1.2993, 9.8296995, -1.2993, 0, 10, 0, 1.0209, 9.8296995, -1.5278, 1.2993, 9.8296995, -1.2993, 0, 10, 0, 0, 10, 0, 1.0209, 9.8296995, -1.5278, 0, 10, 0, 0.7032, 9.8296995, -1.6976, 1.0209, 9.8296995, -1.5278, 0, 10, 0, 0, 10, 0, 0.7032, 9.8296995, -1.6976, 0, 10, 0, 0.3585, 9.8296995, -1.8022, 0.7032, 9.8296995, -1.6976, 0, 10, 0, 0, 10, 0, 0.3585, 9.8296995, -1.8022, 0, 10, 0, 0, 9.8296995, -1.8375, 0.3585, 9.8296995, -1.8022, 0, 10, 0, 0, 10, 0, 0, 9.8296995, -1.8375, 0, 10, 0, -0.3585, 9.8296995, -1.8022, 0, 9.8296995, -1.8375, 0, 10, 0, 0, 10, 0, -0.3585, 9.8296995, -1.8022, 0, 10, 0, -0.7032, 9.8296995, -1.6976, -0.3585, 9.8296995, -1.8022, 0, 10, 0, 0, 10, 0, -0.7032, 9.8296995, -1.6976, 0, 10, 0, -1.0209, 9.8296995, -1.5278, -0.7032, 9.8296995, -1.6976, 0, 10, 0, 0, 10, 0, -1.0209, 9.8296995, -1.5278, 0, 10, 0, -1.2993, 9.8296995, -1.2993, -1.0209, 9.8296995, -1.5278, 0, 10, 0, 0, 10, 0, -1.2993, 9.8296995, -1.2993, 0, 10, 0, -1.5278, 9.8296995, -1.0209, -1.2993, 9.8296995, -1.2993, 0, 10, 0, 0, 10, 0, -1.5278, 9.8296995, -1.0209, 0, 10, 0, -1.6976, 9.8296995, -0.7032, -1.5278, 9.8296995, -1.0209, 0, 10, 0, 0, 10, 0, -1.6976, 9.8296995, -0.7032, 0, 10, 0, -1.8022, 9.8296995, -0.3585, -1.6976, 9.8296995, -0.7032, 0, 10, 0, 0, 10, 0, -1.8022, 9.8296995, -0.3585, 0, 10, 0, -1.8375, 9.8296995, 0, -1.8022, 9.8296995, -0.3585, 0, 10, 0, 0, 10, 0, -1.8375, 9.8296995, 0, 0, 10, 0, -1.8022, 9.8296995, 0.3585, -1.8375, 9.8296995, 0, 0, 10, 0, 0, 10, 0, -1.8022, 9.8296995, 0.3585, 0, 10, 0, -1.6976, 9.8296995, 0.7032, -1.8022, 9.8296995, 0.3585, 0, 10, 0, 0, 10, 0, -1.6976, 9.8296995, 0.7032, 0, 10, 0, -1.5278, 9.8296995, 1.0209, -1.6976, 9.8296995, 0.7032, 0, 10, 0, 0, 10, 0, -1.5278, 9.8296995, 1.0209, 0, 10, 0, -1.2993, 9.8296995, 1.2993, -1.5278, 9.8296995, 1.0209, 0, 10, 0, 0, 10, 0, -1.2993, 9.8296995, 1.2993, 0, 10, 0, -1.0209, 9.8296995, 1.5278, -1.2993, 9.8296995, 1.2993, 0, 10, 0, 0, 10, 0, -1.0209, 9.8296995, 1.5278, 0, 10, 0, -0.7032, 9.8296995, 1.6976, -1.0209, 9.8296995, 1.5278, 0, 10, 0, 0, 10, 0, -0.7032, 9.8296995, 1.6976, 0, 10, 0, -0.3585, 9.8296995, 1.8022, -0.7032, 9.8296995, 1.6976, 0, 10, 0, 0, 10, 0, -0.3585, 9.8296995, 1.8022, 0, 10, 0, 0, 9.8296995, 1.8375, -0.3585, 9.8296995, 1.8022, 0, 9.8296995, 1.8375, 0.3585, 9.8296995, 1.8022, 0, 9.324699, 3.6123998, 0.3585, 9.8296995, 1.8022, 0.7047, 9.324699, 3.543, 0, 9.324699, 3.6123998, 0.3585, 9.8296995, 1.8022, 0.7032, 9.8296995, 1.6976, 0.7047, 9.324699, 3.543, 0.7032, 9.8296995, 1.6976, 1.3823999, 9.324699, 3.3374, 0.7047, 9.324699, 3.543, 0.7032, 9.8296995, 1.6976, 1.0209, 9.8296995, 1.5278, 1.3823999, 9.324699, 3.3374, 1.0209, 9.8296995, 1.5278, 2.007, 9.324699, 3.0036, 1.3823999, 9.324699, 3.3374, 1.0209, 9.8296
2025-09-29 12:12:34 -06:00
2025-09-29 13:32:23 -06:00
[sub_resource type="BoxMesh" id="BoxMesh_6fy3g"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_6fy3g"]
data = PackedVector3Array(-0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
2025-09-29 12:12:34 -06:00
[node name="World" type="Node3D"]
2025-09-29 12:40:04 -06:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_bsf3i")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
shadow_enabled = true
2025-09-29 13:35:22 -06:00
directional_shadow_max_distance = 20.0
2025-09-29 12:40:04 -06:00
[node name="GeneratedWorld" parent="." instance=ExtResource("2_jte2u")]
2025-09-29 12:38:13 -06:00
[node name="Camera3D" type="Camera3D" parent="."]
physics_interpolation_mode = 1
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 121.5, 0)
far = 40000.0
2025-09-29 12:38:13 -06:00
[node name="PhantomCameraHost" type="Node" parent="Camera3D"]
process_priority = 300
process_physics_priority = 300
script = ExtResource("2_6fy3g")
2025-09-29 13:32:23 -06:00
[node name="PlayerSpawn" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 120, 0)
[node name="SpawnIsland" type="MeshInstance3D" parent="PlayerSpawn"]
transform = Transform3D(1, 0, 0, 0, -1, 8.742278e-08, 0, -8.742278e-08, -1, 0, 0, 0)
mesh = SubResource("SphereMesh_jte2u")
skeleton = NodePath("../..")
[node name="StaticBody3D" type="StaticBody3D" parent="PlayerSpawn/SpawnIsland"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerSpawn/SpawnIsland/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_jte2u")
[node name="Player" parent="PlayerSpawn" instance=ExtResource("1_1k4gi")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="ReferenceCube" type="MeshInstance3D" parent="PlayerSpawn"]
2025-09-29 13:32:23 -06:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 0.5, 4.5)
mesh = SubResource("BoxMesh_6fy3g")
skeleton = NodePath("../..")
2025-09-29 13:32:23 -06:00
[node name="StaticBody3D" type="StaticBody3D" parent="PlayerSpawn/ReferenceCube"]
2025-09-29 13:32:23 -06:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerSpawn/ReferenceCube/StaticBody3D"]
2025-09-29 13:32:23 -06:00
shape = SubResource("ConcavePolygonShape3D_6fy3g")
[node name="BigTorus" type="CSGTorus3D" parent="."]
transform = Transform3D(-0.76604444, 0.64278764, 0, -0.5421216, -0.6460753, -0.53729963, -0.34536955, -0.4115954, 0.8433914, 10000, 2000, 0)
inner_radius = 4000.0
outer_radius = 8000.0
sides = 32
ring_sides = 16
[node name="FarTower" type="CSGCylinder3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5000, -4000)
radius = 2000.0
height = 10000.0
sides = 32
cone = true
[node name="NearTower" type="CSGCylinder3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -600, 500, -400)
radius = 200.0
height = 1000.0
sides = 32
cone = true