GiantsEditReloaded/3d.tscn

89 lines
1.8 MiB
Plaintext
Raw Normal View History

[gd_scene load_steps=10 format=2]
2020-04-15 13:45:56 +02:00
[ext_resource path="res://player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://MeshInstance.tscn" type="PackedScene" id=2]
[ext_resource path="res://3d.gd" type="Script" id=3]
2020-04-17 17:39:48 +02:00
[sub_resource type="SpatialMaterial" id=1]
2020-04-15 13:45:56 +02:00
vertex_color_use_as_albedo = true
params_cull_mode = 2
[sub_resource type="ArrayMesh" id=2]
surfaces/0 = {
"aabb": AABB( -1000, -40, -2360, 2080, 312.596, 4960 ),
"array_data": PoolByteArray( 0, 0, 32, 195, 57, 57, 249, 193, 0, 0, 17, 197, 19, 52, 255, 255, 0, 0, 32, 195, 0, 0, 32, 194, 0, 128, 19, 197, 34, 77, 255, 255, 0, 0, 240, 194, 220, 218, 154, 193, 0, 0, 17, 197, 19, 52, 255, 255, 0, 0, 240, 194, 104, 104, 8, 194, 0, 128, 19, 197, 22, 57, 255, 255, 0, 0, 32, 195, 0, 0, 32, 194, 0, 128, 19, 197, 34, 77, 255, 255, 0, 0, 240, 194, 220, 218, 154, 193, 0, 0, 17, 197, 19, 52, 255, 255, 0, 0, 240, 194, 220, 218, 154, 193, 0, 0, 17, 197, 19, 52, 255, 255, 0, 0, 240, 194, 104, 104, 8, 194, 0, 128, 19, 197, 22, 57, 255, 255, 0, 0, 160, 194, 88, 87, 87, 193, 0, 0, 17, 197, 22, 58, 255, 255, 0, 0, 160, 194, 162, 161, 225, 193, 0, 128, 19, 197, 23, 58, 255, 255, 0, 0, 240, 194, 104, 104, 8, 194, 0, 128, 19, 197, 22, 57, 255, 255, 0, 0, 160, 194, 88, 87, 87, 193, 0, 0, 17, 197, 22, 58, 255, 255, 0, 0, 160, 194, 88, 87, 87, 193, 0, 0, 17, 197, 22, 58, 255, 255, 0, 0, 160, 194, 162, 161, 225, 193, 0, 128, 19, 197, 23, 58, 255, 255, 0, 0, 32, 194, 43, 40, 40, 193, 0, 0, 17, 197, 11, 39, 255, 255, 0, 0, 32, 194, 57, 57, 249, 193, 0, 128, 19, 197, 11, 40, 255, 255, 0, 0, 160, 194, 162, 161, 225, 193, 0, 128, 19, 197, 23, 58, 255, 255, 0, 0, 32, 194, 43, 40, 40, 193, 0, 0, 17, 197, 11, 39, 255, 255, 0, 0, 32, 194, 43, 40, 40, 193, 0, 0, 17, 197, 11, 39, 255, 255, 0, 0, 32, 194, 57, 57, 249, 193, 0, 128, 19, 197, 11, 40, 255, 255, 0, 0, 0, 0, 247, 241, 241, 192, 0, 0, 17, 197, 8, 35, 255, 255, 0, 0, 0, 0, 57, 57, 249, 193, 0, 128, 19, 197, 6, 31, 255, 255, 0, 0, 32, 194, 57, 57, 249, 193, 0, 128, 19, 197, 11, 40, 255, 255, 0, 0, 0, 0, 247, 241, 241, 192, 0, 0, 17, 197, 8, 35, 255, 255, 0, 0, 0, 0, 247, 241, 241, 192, 0, 0, 17, 197, 8, 35, 255, 255, 0, 0, 0, 0, 57, 57, 249, 193, 0, 128, 19, 197, 6, 31, 255, 255, 0, 0, 32, 66, 43, 40, 40, 193, 0, 0, 17, 197, 8, 35, 255, 255, 0, 0, 32, 66, 104, 104, 8, 194, 0, 128, 19, 197, 6, 31, 255, 255, 0, 0, 0, 0, 57, 57, 249, 193, 0, 128, 19, 197, 6, 31, 255, 255, 0, 0, 32, 66, 43, 40, 40, 193, 0, 0, 17, 197, 8, 35, 255, 255, 0, 0, 32, 66, 43, 40, 40, 193, 0, 0, 17, 197, 8, 35, 255, 255, 0, 0, 32, 66, 104, 104, 8, 194, 0, 128, 19, 197, 6, 31, 255, 255, 0, 0, 160, 66, 88, 87, 87, 193, 0, 0, 17, 197, 3, 27, 255, 255, 0, 0, 160, 66, 0, 0, 32, 194, 0, 128, 19, 197, 0, 23, 255, 255, 0, 0, 32, 66, 104, 104, 8, 194, 0, 128, 19, 197, 6, 31, 255, 255, 0, 0, 160, 66, 88, 87, 87, 193, 0, 0, 17, 197, 3, 27, 255, 255, 0, 0, 160, 66, 88, 87, 87, 193, 0, 0, 17, 197, 3, 27, 255, 255, 0, 0, 160, 66, 0, 0, 32, 194, 0, 128, 19, 197, 0, 23, 255, 255, 0, 0, 240, 66, 11, 10, 202, 193, 0, 0, 17, 197, 11, 40, 255, 255, 0, 0, 240, 66, 0, 0, 32, 194, 0, 128, 19, 197, 23, 58, 255, 255, 0, 0, 160, 66, 0, 0, 32, 194, 0, 128, 19, 197, 0, 23, 255, 255, 0, 0, 240, 66, 11, 10, 202, 193, 0, 0, 17, 197, 11, 40, 255, 255, 0, 0, 240, 66, 11, 10, 202, 193, 0, 0, 17, 197, 11, 40, 255, 255, 0, 0, 240, 66, 0, 0, 32, 194, 0, 128, 19, 197, 23, 58, 255, 255, 0, 0, 32, 67, 104, 104, 8, 194, 0, 0, 17, 197, 1, 23, 255, 255, 0, 0, 112, 195, 57, 57, 249, 193, 0, 128, 14, 197, 10, 37, 255, 255, 0, 0, 112, 195, 0, 0, 32, 194, 0, 0, 17, 197, 35, 78, 255, 255, 0, 0, 72, 195, 68, 67, 131, 193, 0, 128, 14, 197, 12, 42, 255, 255, 0, 0, 72, 195, 52, 52, 20, 194, 0, 0, 17, 197, 10, 39, 255, 255, 0, 0, 112, 195, 0, 0, 32, 194, 0, 0, 17, 197, 35, 78, 255, 255, 0, 0, 72, 195, 68, 67, 131, 193, 0, 128, 14, 197, 12, 42, 255, 255, 0, 0, 72, 195, 68, 67, 131, 193, 0, 128, 14, 197, 12, 42, 255, 255, 0, 0, 72, 195, 52, 52, 20, 194, 0, 0, 17, 197, 10, 39, 255, 255, 0, 0, 32, 195, 247, 241, 241, 192, 0, 128, 14, 197, 16, 47, 255, 255, 0, 0, 32, 195, 57, 57, 249, 193, 0, 0, 17, 197, 19, 52, 255, 255, 0, 0, 72, 195, 52, 52, 20, 194, 0, 0, 17, 197, 10, 39, 255, 255, 0, 0, 32, 195, 247, 241, 241, 192, 0, 128, 14, 197, 16, 47, 255, 255, 0, 0, 32, 195, 247, 241, 241, 192, 0, 128, 14, 197, 16, 47, 255, 255, 0, 0, 32, 195, 57, 57, 249, 193, 0, 0, 17, 197, 19, 52, 255, 255, 0, 0, 240, 194, 250, 212, 212, 191, 0, 128, 14, 197, 32, 73, 255, 255, 0, 0, 240, 194, 220, 218, 154, 193, 0, 0, 17, 197, 19, 52, 255, 255, 0, 0, 32, 195, 57, 57
"array_index_data": PoolByteArray( ),
"blend_shape_data": [ ],
"format": 97289,
"index_count": 0,
"primitive": 4,
"skeleton_aabb": [ ],
"vertex_count": 29262
}
[sub_resource type="ProceduralSky" id=3]
2020-04-17 17:39:48 +02:00
sky_top_color = Color( 0.00392157, 0.235294, 0.360784, 1 )
sky_horizon_color = Color( 0.0117647, 0.482353, 0.980392, 1 )
ground_bottom_color = Color( 0.0431373, 0.509804, 0.980392, 1 )
ground_horizon_color = Color( 0.0117647, 0.482353, 0.980392, 1 )
ground_energy = 1.5
sun_color = Color( 0.972549, 0.972549, 0.972549, 1 )
2020-04-17 17:39:48 +02:00
sun_longitude = 180.0
sun_energy = 5.0
2020-04-17 17:39:48 +02:00
[sub_resource type="Environment" id=4]
2020-04-17 17:39:48 +02:00
background_mode = 2
background_sky = SubResource( 3 )
2020-04-17 17:39:48 +02:00
background_color = Color( 0.0627451, 0.541176, 0.772549, 1 )
auto_exposure_speed = 2.0
[sub_resource type="CubeMesh" id=5]
2020-04-17 17:39:48 +02:00
size = Vector3( 5000, 2, 5000 )
[sub_resource type="SpatialMaterial" id=6]
2020-04-17 17:39:48 +02:00
flags_transparent = true
albedo_color = Color( 0, 0.882353, 1, 0.0313726 )
2020-04-15 13:45:56 +02:00
[node name="Spatial" type="Spatial"]
script = ExtResource( 3 )
[node name="Player" parent="." instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.151, 200, -0.003 )
2020-04-17 18:43:29 +02:00
fly_speed = 50
2020-04-15 13:45:56 +02:00
[node name="GiantsTerrain" parent="." instance=ExtResource( 2 )]
2020-04-17 17:39:48 +02:00
material_override = SubResource( 1 )
mesh = SubResource( 2 )
material/0 = null
2020-04-15 13:45:56 +02:00
[node name="Label" type="Label" parent="."]
margin_right = 40.0
margin_bottom = 14.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="."]
margin_top = 579.365
margin_right = 40.0
margin_bottom = 599.365
text = "Quit"
__meta__ = {
"_edit_use_anchors_": false
}
2020-04-17 17:39:48 +02:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 4 )
2020-04-17 17:39:48 +02:00
[node name="MyWater" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -10, 0 )
visible = false
mesh = SubResource( 5 )
material/0 = SubResource( 6 )
2020-04-17 17:39:48 +02:00
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, -0.0299628, 0.999551, 0, 0.999551, 0.0299628, 0, 54.4037, 0 )
visible = false
light_energy = 7.38
2020-04-15 13:45:56 +02:00
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]