76 lines
2.5 KiB
Text
76 lines
2.5 KiB
Text
[gd_scene load_steps=10 format=3]
|
|
|
|
[ext_resource type="Script" path="res://world/test_world.gd" id="1_world"]
|
|
[ext_resource type="PackedScene" path="res://world/regions/starter_island_region.tscn" id="2_island"]
|
|
[ext_resource type="Script" path="res://world/player_water_trigger.gd" id="3_water_trigger"]
|
|
|
|
[sub_resource type="Environment" id="Environment"]
|
|
background_mode = 1
|
|
background_color = Color(0.48, 0.74, 0.92, 1)
|
|
ambient_light_source = 3
|
|
ambient_light_color = Color(0.72, 0.78, 0.84, 1)
|
|
ambient_light_energy = 0.72
|
|
|
|
[sub_resource type="BoxShape3D" id="NorthSouthBoundsShape"]
|
|
size = Vector3(120, 14, 2)
|
|
|
|
[sub_resource type="BoxShape3D" id="EastWestBoundsShape"]
|
|
size = Vector3(2, 14, 90)
|
|
|
|
[sub_resource type="BoxShape3D" id="FailsafeShape"]
|
|
size = Vector3(118, 4, 88)
|
|
|
|
[node name="TestWorld" type="Node3D"]
|
|
script = ExtResource("1_world")
|
|
|
|
[node name="Environment" type="Node3D" parent="."]
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="Environment"]
|
|
environment = SubResource("Environment")
|
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="Environment"]
|
|
rotation_degrees = Vector3(-54, -32, 0)
|
|
light_energy = 1.1
|
|
shadow_enabled = true
|
|
|
|
[node name="Regions" type="Node3D" parent="."]
|
|
|
|
[node name="StarterIslandRegion" parent="Regions" instance=ExtResource("2_island")]
|
|
|
|
[node name="Safety" type="Node3D" parent="."]
|
|
|
|
[node name="BelowWorldFailsafe" type="Area3D" parent="Safety"]
|
|
position = Vector3(12, -7, 0)
|
|
collision_layer = 8
|
|
collision_mask = 2
|
|
script = ExtResource("3_water_trigger")
|
|
surface_height = 0.3
|
|
|
|
[node name="FailsafeShape" type="CollisionShape3D" parent="Safety/BelowWorldFailsafe"]
|
|
shape = SubResource("FailsafeShape")
|
|
|
|
[node name="WorldBounds" type="Node3D" parent="."]
|
|
|
|
[node name="North" type="StaticBody3D" parent="WorldBounds"]
|
|
position = Vector3(12, 5, 45)
|
|
|
|
[node name="Shape" type="CollisionShape3D" parent="WorldBounds/North"]
|
|
shape = SubResource("NorthSouthBoundsShape")
|
|
|
|
[node name="South" type="StaticBody3D" parent="WorldBounds"]
|
|
position = Vector3(12, 5, -45)
|
|
|
|
[node name="Shape" type="CollisionShape3D" parent="WorldBounds/South"]
|
|
shape = SubResource("NorthSouthBoundsShape")
|
|
|
|
[node name="West" type="StaticBody3D" parent="WorldBounds"]
|
|
position = Vector3(-48, 5, 0)
|
|
|
|
[node name="Shape" type="CollisionShape3D" parent="WorldBounds/West"]
|
|
shape = SubResource("EastWestBoundsShape")
|
|
|
|
[node name="East" type="StaticBody3D" parent="WorldBounds"]
|
|
position = Vector3(72, 5, 0)
|
|
|
|
[node name="Shape" type="CollisionShape3D" parent="WorldBounds/East"]
|
|
shape = SubResource("EastWestBoundsShape")
|