[gd_scene load_steps=17 format=3 uid="uid://cnmdiewpk1mau"] [ext_resource type="Script" path="res://scripts/maps/forrest.gd" id="1_dns8p"] [ext_resource type="PackedScene" uid="uid://ytbacsuahxie" path="res://scenes/HUD.tscn" id="2_e77cs"] [ext_resource type="Script" path="res://addons/zylann.hterrain/hterrain.gd" id="3_rctco"] [ext_resource type="Resource" path="res://map_data/forest_data/data.hterrain" id="4_ponra"] [ext_resource type="Script" path="res://addons/zylann.hterrain/hterrain_texture_set.gd" id="5_04yy2"] [ext_resource type="Texture2D" uid="uid://dylo328agoxw8" path="res://map_data/forest_textures/forrest_slot0_albedo_bump.png" id="6_6rfna"] [ext_resource type="Texture2D" uid="uid://crwts8kd00o7t" path="res://map_data/forest_textures/aerial_grass_rock_diff_4k.jpg" id="7_a6nha"] [ext_resource type="Texture2D" uid="uid://bihd1ii7cmju5" path="res://map_data/forest_textures/aerial_grass_rock_disp_4k.png" id="8_klmdr"] [ext_resource type="PackedScene" uid="uid://c2f2to78vgbix" path="res://scenes/waterplane.tscn" id="10_dc7ae"] [ext_resource type="PackedScene" uid="uid://on7ofumfw2j1" path="res://objects/tree/tree.tscn" id="10_v8vtj"] [ext_resource type="PackedScene" uid="uid://dytp1teb22c8o" path="res://scenes/death_collider.tscn" id="11_8iuo5"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ell6n"] sky_top_color = Color(0.870588, 0.894118, 0.92549, 1) sky_horizon_color = Color(0.767647, 0.765779, 0.764623, 1) ground_horizon_color = Color(0.767647, 0.765779, 0.764623, 1) [sub_resource type="Sky" id="Sky_lh0lw"] sky_material = SubResource("ProceduralSkyMaterial_ell6n") [sub_resource type="Environment" id="Environment_fnphj"] background_mode = 2 sky = SubResource("Sky_lh0lw") tonemap_mode = 2 glow_enabled = true [sub_resource type="Resource" id="Resource_2dtpm"] script = ExtResource("5_04yy2") mode = 0 textures = [[ExtResource("6_6rfna"), ExtResource("7_a6nha")], [null, ExtResource("8_klmdr")]] [sub_resource type="PlaneMesh" id="PlaneMesh_vtffu"] size = Vector2(1000, 1000) subdivide_width = 200 subdivide_depth = 200 [node name="Forrest" type="Node3D"] script = ExtResource("1_dns8p") [node name="HUD" parent="." instance=ExtResource("2_e77cs")] show_behind_parent = true [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_fnphj") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(-0.0034906, -0.94887, 0.315647, 0, 0.315649, 0.948876, -0.999994, 0.00331215, -0.00110181, 0, 0, 0) shadow_enabled = true [node name="HTerrain" type="Node3D" parent="."] script = ExtResource("3_rctco") ambient_wind = 0.34 map_scale = Vector3(0.5, 1, 0.5) centered = true _terrain_data = ExtResource("4_ponra") chunk_size = 32 collision_enabled = true collision_layer = 1 collision_mask = 1 shader_type = "Classic4Lite" custom_shader = null custom_globalmap_shader = null texture_set = SubResource("Resource_2dtpm") render_layers = 1 cast_shadow = 1 shader_params/u_ground_uv_scale = 20 shader_params/u_depth_blending = true shader_params/u_triplanar = null shader_params/u_tile_reduction = null [node name="Trees" type="Node3D" parent="."] [node name="tree" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(3.80499, 0, 0, 0, 3.80499, 0, 0, 0, 3.80499, -33.8297, 0.000484467, 12.3743) [node name="tree2" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(3.05063, 0, 2.27412, 0, 3.80499, 0, -2.27412, 0, 3.05063, -33.8297, 0.000484467, -22.9371) [node name="tree3" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(3.45431, 0, -1.59553, 0, 3.80499, 0, 1.59553, 0, 3.45431, -73.8383, 0.000484467, -26.9065) [node name="tree4" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(-3.28635, 0, 1.91777, 0, 3.80499, 0, -1.91777, 0, -3.28635, 28.4164, 0.000484467, -12.2152) [node name="tree5" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(2.4719, 0, -2.89269, 0, 3.80499, 0, 2.89269, 0, 2.4719, 31.4366, 0.000484467, -43.2976) [node name="tree6" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(-3.80485, 0, -0.0331377, 0, 3.80499, 0, 0.0331377, 0, -3.80485, 39.448, 0.000484467, -82.9262) [node name="tree7" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(1.94278, 0, -3.27163, 0, 3.80499, 0, 3.27163, 0, 1.94278, 57.7931, 0.000484467, -55.7851) [node name="tree8" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(-3.76979, 0, -0.516397, 0, 3.80499, 0, 0.516397, 0, -3.76979, 57.7931, 0.000484467, -4.95052) [node name="tree9" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(0.361718, 0, -3.78776, 0, 3.80499, 0, 3.78776, 0, 0.361718, 94.0061, 0.000484467, -4.95052) [node name="tree10" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(-0.42526, 0, 3.78116, 0, 3.80499, 0, -3.78116, 0, -0.42526, 65.2084, 0.000484467, 47.7128) [node name="tree11" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(1.2894, 0, -3.57987, 0, 3.80499, 0, 3.57987, 0, 1.2894, 28.0605, 0.000484467, 35.4949) [node name="tree12" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(1.53239, 0, -3.48278, 0, 3.80499, 0, 3.48278, 0, 1.53239, 28.0605, 0.000484467, 77.1617) [node name="tree13" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(-1.28977, 0, 3.57973, 0, 3.80499, 0, -3.57973, 0, -1.28977, -19.3937, 0.000484467, 77.1617) [node name="tree14" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(0.282579, 0, -3.79449, 0, 3.80499, 0, 3.79449, 0, 0.282579, -58.5146, 0.000484467, 77.1617) [node name="tree15" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(3.72322, 0, -0.784606, 0, 3.80499, 0, 0.784606, 0, 3.72322, -58.5146, 0.000484467, 29.8044) [node name="tree16" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(3.80499, 0, 0, 0, 3.80499, 0, 0, 0, 3.80499, -86.6197, 0.000484467, 51.3883) [node name="tree17" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(-2.17854, 0, 3.11961, 0, 3.80499, 0, -3.11961, 0, -2.17854, -29.6134, 0.000484467, 36.1027) [node name="tree18" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(2.28438, 0, -3.04295, 0, 3.80499, 0, 3.04295, 0, 2.28438, -94.6942, 0.000484467, 14.7407) [node name="tree19" parent="Trees" instance=ExtResource("10_v8vtj")] transform = Transform3D(0.320247, 0, -3.79149, 0, 3.80499, 0, 3.79149, 0, 0.320247, -83.1482, 0.000484467, -70.4413) [node name="River_planes" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75534, 0) [node name="WaterPlane" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, 2.08165e-12) skeleton = NodePath("../..") [node name="WaterPlane2" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, 19.7932) skeleton = NodePath("../..") [node name="WaterPlane3" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, 39.5304) skeleton = NodePath("../..") [node name="WaterPlane4" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, 59.0568) skeleton = NodePath("../..") [node name="WaterPlane5" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, 78.4324) skeleton = NodePath("../..") [node name="WaterPlane6" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, 98.193) skeleton = NodePath("../..") [node name="WaterPlane7" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, -19.3472) skeleton = NodePath("../..") [node name="WaterPlane8" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, -38.8894) skeleton = NodePath("../..") [node name="WaterPlane9" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, -58.5276) skeleton = NodePath("../..") [node name="WaterPlane10" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, -77.8236) skeleton = NodePath("../..") [node name="WaterPlane11" parent="River_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 2.08165e-12, -4.40623, -96.2718) skeleton = NodePath("../..") [node name="Ocean_planes" type="Node3D" parent="."] [node name="Background_water" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.08165e-12, -9.344, 2.08165e-12) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="Background_water2" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -985.924, -9.344, 2.08165e-12) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="Background_water3" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -985.924, -9.344, 988.503) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="Background_water4" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.335999, -9.344, 988.503) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="Background_water5" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 993.343, -9.344, 988.503) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="Background_water6" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 993.343, -9.344, -2.49261) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="Background_water7" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 993.343, -9.344, -994.718) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="Background_water8" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.308716, -9.344, -994.718) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="Background_water9" parent="Ocean_planes" instance=ExtResource("10_dc7ae")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -985.232, -9.344, -994.718) mesh = SubResource("PlaneMesh_vtffu") skeleton = NodePath("../..") [node name="death_collider" parent="." instance=ExtResource("11_8iuo5")] transform = Transform3D(20.2687, 0, 0, 0, 6.21204, 0, 0, 0, 210.389, 2.08165e-12, -5.68668, 2.08165e-12)