2026-07-25 17:04:39 -04:00
|
|
|
[gd_scene load_steps=18 format=3]
|
2026-07-25 15:15:24 -04:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://world/fishable_water_region.gd" id="1_water_region"]
|
|
|
|
|
[ext_resource type="Resource" path="res://fish/pools/test_water_pool.tres" id="2_fish_pool"]
|
2026-07-25 17:04:39 -04:00
|
|
|
[ext_resource type="Script" path="res://world/test_world.gd" id="3_world"]
|
|
|
|
|
[ext_resource type="Script" path="res://world/player_water_trigger.gd" id="4_water_trigger"]
|
|
|
|
|
[ext_resource type="Script" path="res://world/safe_respawn_point.gd" id="5_safe_point"]
|
2026-07-25 10:42:21 -04:00
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="GroundShape"]
|
|
|
|
|
size = Vector3(30, 1, 30)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="GroundMesh"]
|
|
|
|
|
size = Vector3(30, 1, 30)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="GroundMaterial"]
|
|
|
|
|
albedo_color = Color(0.25, 0.52, 0.24, 1)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="DockShape"]
|
|
|
|
|
size = Vector3(5, 0.5, 10)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="DockMesh"]
|
|
|
|
|
size = Vector3(5, 0.5, 10)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="DockMaterial"]
|
|
|
|
|
albedo_color = Color(0.42, 0.25, 0.12, 1)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="PlaneMesh" id="WaterMesh"]
|
|
|
|
|
size = Vector2(40, 25)
|
|
|
|
|
|
2026-07-25 12:06:19 -04:00
|
|
|
[sub_resource type="BoxShape3D" id="FishableWaterShape"]
|
2026-07-25 13:04:23 -04:00
|
|
|
size = Vector3(40, 0.16, 19.5)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="FishableShoreShape"]
|
|
|
|
|
size = Vector3(17.5, 0.16, 5.5)
|
2026-07-25 12:06:19 -04:00
|
|
|
|
2026-07-25 17:04:39 -04:00
|
|
|
[sub_resource type="BoxShape3D" id="PlayerWaterShape"]
|
|
|
|
|
size = Vector3(40, 5, 19.5)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="PlayerWaterShoreShape"]
|
|
|
|
|
size = Vector3(17.5, 5, 5.5)
|
|
|
|
|
|
2026-07-25 10:42:21 -04:00
|
|
|
[sub_resource type="StandardMaterial3D" id="WaterMaterial"]
|
|
|
|
|
transparency = 1
|
|
|
|
|
albedo_color = Color(0.1, 0.45, 0.7, 0.72)
|
|
|
|
|
roughness = 0.25
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Environment" id="Environment"]
|
|
|
|
|
background_mode = 1
|
|
|
|
|
background_color = Color(0.48, 0.72, 0.9, 1)
|
|
|
|
|
ambient_light_source = 3
|
|
|
|
|
ambient_light_color = Color(0.65, 0.72, 0.8, 1)
|
|
|
|
|
ambient_light_energy = 0.65
|
|
|
|
|
|
|
|
|
|
[node name="TestWorld" type="Node3D"]
|
2026-07-25 17:04:39 -04:00
|
|
|
script = ExtResource("3_world")
|
2026-07-25 10:42:21 -04:00
|
|
|
|
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
|
|
|
environment = SubResource("Environment")
|
|
|
|
|
|
|
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="."]
|
|
|
|
|
rotation_degrees = Vector3(-55, -35, 0)
|
|
|
|
|
shadow_enabled = true
|
|
|
|
|
|
|
|
|
|
[node name="Ground" type="StaticBody3D" parent="."]
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
|
|
|
|
|
shape = SubResource("GroundShape")
|
|
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
|
|
|
|
|
mesh = SubResource("GroundMesh")
|
|
|
|
|
material_override = SubResource("GroundMaterial")
|
|
|
|
|
|
|
|
|
|
[node name="Dock" type="StaticBody3D" parent="."]
|
|
|
|
|
position = Vector3(0, 0.75, -15)
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Dock"]
|
|
|
|
|
shape = SubResource("DockShape")
|
|
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Dock"]
|
|
|
|
|
mesh = SubResource("DockMesh")
|
|
|
|
|
material_override = SubResource("DockMaterial")
|
|
|
|
|
|
|
|
|
|
[node name="Water" type="MeshInstance3D" parent="."]
|
|
|
|
|
position = Vector3(0, 0.2, -27)
|
|
|
|
|
mesh = SubResource("WaterMesh")
|
|
|
|
|
material_override = SubResource("WaterMaterial")
|
2026-07-25 12:06:19 -04:00
|
|
|
|
|
|
|
|
[node name="FishableWater" type="Area3D" parent="."]
|
|
|
|
|
position = Vector3(0, 0.2, -29.75)
|
|
|
|
|
collision_layer = 4
|
|
|
|
|
collision_mask = 0
|
|
|
|
|
monitoring = false
|
2026-07-25 15:15:24 -04:00
|
|
|
script = ExtResource("1_water_region")
|
|
|
|
|
location_tags = Array[StringName]([&"test_lake"])
|
|
|
|
|
fish_pool = ExtResource("2_fish_pool")
|
2026-07-25 12:06:19 -04:00
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="FishableWater"]
|
|
|
|
|
shape = SubResource("FishableWaterShape")
|
2026-07-25 13:04:23 -04:00
|
|
|
|
|
|
|
|
[node name="ShoreLeft" type="CollisionShape3D" parent="FishableWater"]
|
|
|
|
|
position = Vector3(-11.25, 0, 12.5)
|
|
|
|
|
shape = SubResource("FishableShoreShape")
|
|
|
|
|
|
|
|
|
|
[node name="ShoreRight" type="CollisionShape3D" parent="FishableWater"]
|
|
|
|
|
position = Vector3(11.25, 0, 12.5)
|
|
|
|
|
shape = SubResource("FishableShoreShape")
|
2026-07-25 17:04:39 -04:00
|
|
|
|
|
|
|
|
[node name="PlayerWaterTrigger" type="Area3D" parent="."]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
position = Vector3(0, -2.3, -29.75)
|
|
|
|
|
collision_layer = 8
|
|
|
|
|
collision_mask = 2
|
|
|
|
|
script = ExtResource("4_water_trigger")
|
|
|
|
|
surface_height = 0.2
|
|
|
|
|
|
|
|
|
|
[node name="DeepWater" type="CollisionShape3D" parent="PlayerWaterTrigger"]
|
|
|
|
|
shape = SubResource("PlayerWaterShape")
|
|
|
|
|
|
|
|
|
|
[node name="ShoreLeft" type="CollisionShape3D" parent="PlayerWaterTrigger"]
|
|
|
|
|
position = Vector3(-11.25, 0, 12.5)
|
|
|
|
|
shape = SubResource("PlayerWaterShoreShape")
|
|
|
|
|
|
|
|
|
|
[node name="ShoreRight" type="CollisionShape3D" parent="PlayerWaterTrigger"]
|
|
|
|
|
position = Vector3(11.25, 0, 12.5)
|
|
|
|
|
shape = SubResource("PlayerWaterShoreShape")
|
|
|
|
|
|
|
|
|
|
[node name="SafeRespawnPoints" type="Node3D" parent="."]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
|
|
|
|
[node name="DockApproach" type="Marker3D" parent="SafeRespawnPoints"]
|
|
|
|
|
position = Vector3(0, 0.58, -9)
|
|
|
|
|
script = ExtResource("5_safe_point")
|
|
|
|
|
|
|
|
|
|
[node name="WestShore" type="Marker3D" parent="SafeRespawnPoints"]
|
|
|
|
|
position = Vector3(-11.5, 0.58, -11.5)
|
|
|
|
|
script = ExtResource("5_safe_point")
|
|
|
|
|
|
|
|
|
|
[node name="EastShore" type="Marker3D" parent="SafeRespawnPoints"]
|
|
|
|
|
position = Vector3(11.5, 0.58, -11.5)
|
|
|
|
|
script = ExtResource("5_safe_point")
|
|
|
|
|
|
|
|
|
|
[node name="DockEnd" type="Marker3D" parent="SafeRespawnPoints"]
|
|
|
|
|
position = Vector3(0, 1.08, -17)
|
|
|
|
|
script = ExtResource("5_safe_point")
|