netfishing/world/test_world.tscn

97 lines
3 KiB
Text
Raw Normal View History

[gd_scene load_steps=14 format=3]
[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"]
[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)
[sub_resource type="BoxShape3D" id="FishableWaterShape"]
size = Vector3(40, 0.16, 19.5)
[sub_resource type="BoxShape3D" id="FishableShoreShape"]
size = Vector3(17.5, 0.16, 5.5)
[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"]
[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")
[node name="FishableWater" type="Area3D" parent="."]
position = Vector3(0, 0.2, -29.75)
collision_layer = 4
collision_mask = 0
monitoring = false
script = ExtResource("1_water_region")
location_tags = Array[StringName]([&"test_lake"])
fish_pool = ExtResource("2_fish_pool")
[node name="CollisionShape3D" type="CollisionShape3D" parent="FishableWater"]
shape = SubResource("FishableWaterShape")
[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")