netfishing/world/test_world.tscn

74 lines
2.5 KiB
Text
Raw Normal View History

2026-07-27 00:13:07 -04:00
[gd_scene load_steps=10 format=3]
2026-07-26 00:33:37 -04:00
[ext_resource type="Script" path="res://world/test_world.gd" id="1_world"]
2026-07-27 00:13:07 -04:00
[ext_resource type="PackedScene" path="res://world/regions/starter_island_region.tscn" id="2_island"]
2026-07-27 03:30:03 -04:00
[ext_resource type="Script" path="res://world/below_world_failsafe.gd" id="3_water_trigger"]
2026-07-31 13:41:59 -04:00
[ext_resource type="Environment" path="res://world/environment/netfishing_environment.tres" id="4_environment"]
2026-07-26 00:33:37 -04:00
[sub_resource type="BoxShape3D" id="NorthSouthBoundsShape"]
2026-07-27 00:13:07 -04:00
size = Vector3(120, 14, 2)
2026-07-26 00:33:37 -04:00
[sub_resource type="BoxShape3D" id="EastWestBoundsShape"]
2026-07-27 00:13:07 -04:00
size = Vector3(2, 14, 90)
2026-07-26 00:33:37 -04:00
[sub_resource type="BoxShape3D" id="FailsafeShape"]
2026-07-27 00:13:07 -04:00
size = Vector3(118, 4, 88)
2026-07-26 00:33:37 -04:00
[node name="TestWorld" type="Node3D"]
script = ExtResource("1_world")
2026-07-26 00:33:37 -04:00
[node name="Environment" type="Node3D" parent="."]
2026-07-26 00:33:37 -04:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="Environment"]
2026-07-31 13:41:59 -04:00
environment = ExtResource("4_environment")
2026-07-26 00:33:37 -04:00
[node name="Sun" type="DirectionalLight3D" parent="Environment"]
rotation_degrees = Vector3(-54, -32, 0)
2026-07-31 13:41:59 -04:00
light_color = Color(1, 0.945098, 0.721569, 1)
light_energy = 0.68
2026-07-26 00:33:37 -04:00
shadow_enabled = true
shadow_opacity = 0.58
shadow_blur = 2.0
2026-07-26 00:33:37 -04:00
[node name="Regions" type="Node3D" parent="."]
2026-07-27 00:13:07 -04:00
[node name="StarterIslandRegion" parent="Regions" instance=ExtResource("2_island")]
2026-07-26 00:33:37 -04:00
[node name="Safety" type="Node3D" parent="."]
2026-07-26 00:33:37 -04:00
[node name="BelowWorldFailsafe" type="Area3D" parent="Safety"]
2026-07-27 00:13:07 -04:00
position = Vector3(12, -7, 0)
collision_layer = 8
collision_mask = 2
2026-07-27 00:13:07 -04:00
script = ExtResource("3_water_trigger")
surface_height = 0.3
2026-07-27 03:30:03 -04:00
[node name="Coverage" type="CollisionShape3D" parent="Safety/BelowWorldFailsafe"]
2026-07-26 00:33:37 -04:00
shape = SubResource("FailsafeShape")
[node name="WorldBounds" type="Node3D" parent="."]
[node name="North" type="StaticBody3D" parent="WorldBounds"]
2026-07-27 00:13:07 -04:00
position = Vector3(12, 5, 45)
2026-07-26 00:33:37 -04:00
[node name="Shape" type="CollisionShape3D" parent="WorldBounds/North"]
shape = SubResource("NorthSouthBoundsShape")
[node name="South" type="StaticBody3D" parent="WorldBounds"]
2026-07-27 00:13:07 -04:00
position = Vector3(12, 5, -45)
2026-07-26 00:33:37 -04:00
[node name="Shape" type="CollisionShape3D" parent="WorldBounds/South"]
shape = SubResource("NorthSouthBoundsShape")
[node name="West" type="StaticBody3D" parent="WorldBounds"]
2026-07-27 00:13:07 -04:00
position = Vector3(-48, 5, 0)
2026-07-26 00:33:37 -04:00
[node name="Shape" type="CollisionShape3D" parent="WorldBounds/West"]
shape = SubResource("EastWestBoundsShape")
2026-07-26 00:33:37 -04:00
[node name="East" type="StaticBody3D" parent="WorldBounds"]
2026-07-27 00:13:07 -04:00
position = Vector3(72, 5, 0)
2026-07-26 00:33:37 -04:00
[node name="Shape" type="CollisionShape3D" parent="WorldBounds/East"]
shape = SubResource("EastWestBoundsShape")