80 lines
2.4 KiB
Plaintext
80 lines
2.4 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[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]
|
|
|
|
[sub_resource type="SpatialMaterial" id=1]
|
|
vertex_color_use_as_albedo = true
|
|
params_cull_mode = 2
|
|
|
|
[sub_resource type="ProceduralSky" id=2]
|
|
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.686275, 0.196078, 0.00392157, 1 )
|
|
sun_longitude = 180.0
|
|
sun_energy = 2.0
|
|
|
|
[sub_resource type="Environment" id=3]
|
|
background_mode = 2
|
|
background_sky = SubResource( 2 )
|
|
background_color = Color( 0.0627451, 0.541176, 0.772549, 1 )
|
|
auto_exposure_speed = 2.0
|
|
|
|
[sub_resource type="CubeMesh" id=4]
|
|
size = Vector3( 5000, 2, 5000 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=5]
|
|
flags_transparent = true
|
|
albedo_color = Color( 0, 0.882353, 1, 0.0313726 )
|
|
|
|
[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 )
|
|
|
|
[node name="GiantsTerrain" parent="." instance=ExtResource( 2 )]
|
|
material_override = SubResource( 1 )
|
|
|
|
[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
|
|
}
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource( 3 )
|
|
|
|
[node name="MyWater" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -10, 0 )
|
|
visible = false
|
|
mesh = SubResource( 4 )
|
|
material/0 = SubResource( 5 )
|
|
|
|
[node name="GiantsDirectory" type="FileDialog" parent="."]
|
|
margin_right = 307.0
|
|
margin_bottom = 130.0
|
|
popup_exclusive = true
|
|
window_title = "Open Giants directory"
|
|
resizable = true
|
|
mode = 2
|
|
access = 2
|
|
current_dir = "/home/tasty/Jeux/GiantsEdit"
|
|
current_path = "/home/tasty/Jeux/GiantsEdit/"
|
|
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
|
|
[connection signal="dir_selected" from="GiantsDirectory" to="." method="_on_GiantsDirectory_dir_selected"]
|