giants-godot/assets/terrains/intro_island/MainMenu.tscn

376 lines
10 KiB
Plaintext
Raw Normal View History

2021-09-08 18:36:41 +02:00
[gd_scene load_steps=16 format=2]
[ext_resource path="res://assets/terrains/intro_island/intro_island.obj" type="ArrayMesh" id=1]
[ext_resource path="res://assets/terrains/intro_island/intro_sky.w_intro_island.gzp.tga" type="Texture" id=2]
[ext_resource path="res://assets/Water.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/terrains/intro_island/lightmap.png" type="Texture" id=4]
[ext_resource path="res://assets/terrains/intro_island/intro_grnd.w_intro_island.gzp.tga" type="Texture" id=5]
[ext_resource path="res://assets/terrains/intro_island/intro_rock.w_intro_island.gzp.tga" type="Texture" id=6]
[ext_resource path="res://assets/terrain.gdshader" type="Shader" id=7]
[ext_resource path="res://assets/terrains/intro_island/intro_island.wav" type="AudioStream" id=8]
[ext_resource path="res://ui/ui_theme.tres" type="Theme" id=9]
[ext_resource path="res://assets/terrains/intro_island/MainMenu.gd" type="Script" id=10]
[ext_resource path="res://assets/audio/Sounds/VI_INJR1.xx_vimp.gzp.wav" type="AudioStream" id=11]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 7 )
shader_param/slope_factor = 8.0
shader_param/blend_value = 0.5
shader_param/grass_scale = Vector2( 40, 40 )
shader_param/dirt_scale = Vector2( 40, 40 )
shader_param/light_map = ExtResource( 4 )
shader_param/grass_tex = ExtResource( 5 )
shader_param/dirt_tex = ExtResource( 6 )
[sub_resource type="PanoramaSky" id=2]
panorama = ExtResource( 2 )
[sub_resource type="Environment" id=3]
background_mode = 2
background_sky = SubResource( 2 )
[sub_resource type="Animation" id=4]
resource_name = "MainMenuCamera"
tracks/0/type = "value"
tracks/0/path = NodePath("Camera:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( -1220, 863, 66 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Camera:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( -45, -90, 0 ) ]
}
[node name="MainMenu" type="Spatial"]
script = ExtResource( 10 )
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 40, 0, 0, 0, 40, 0, 0, 0, 40, 0, 0, 0 )
mesh = ExtResource( 1 )
material/0 = SubResource( 1 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 3 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( -0.866025, -0.5, 0, 0.353553, -0.612372, 0.707107, -0.353553, 0.612372, 0.707107, 0, 904, 62 )
light_color = Color( 0.94902, 0.815686, 0.67451, 1 )
[node name="Water3" parent="." instance=ExtResource( 3 )]
transform = Transform( 10000, 0, 0, 0, 10000, 0, 0, 0, 10000, 0, 25, 0 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( -4.37114e-08, 0.707107, -0.707107, 0, 0.707107, 0.707107, 1, 3.09086e-08, -3.09086e-08, -1220, 863, 66 )
current = true
far = 5000.0
[node name="CameraAnimation" type="AnimationPlayer" parent="."]
anims/MainMenuCamera = SubResource( 4 )
[node name="MainMenuMusic" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
autoplay = true
bus = "Music"
[node name="ButtonsSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 11 )
bus = "Sounds"
[node name="MainMenuUI" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 9 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="MainMenuUI"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 469.519
margin_right = -475.481
custom_constants/separation = 50
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Start" type="Button" parent="MainMenuUI/VBoxContainer"]
margin_top = 197.0
margin_right = 79.0
margin_bottom = 232.0
theme = ExtResource( 9 )
text = "Start"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Options" type="Button" parent="MainMenuUI/VBoxContainer"]
margin_top = 282.0
margin_right = 79.0
margin_bottom = 317.0
text = "Options"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Quit" type="Button" parent="MainMenuUI/VBoxContainer"]
margin_top = 367.0
margin_right = 79.0
margin_bottom = 402.0
text = "Quit"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="OptionsMenu" type="Control" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 9 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="OptionsMenu"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 273.0
margin_top = 30.0
margin_right = -274.0
margin_bottom = -49.0
custom_constants/separation = 100
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GridContainer" type="GridContainer" parent="OptionsMenu/VBoxContainer"]
margin_right = 477.0
margin_bottom = 386.0
columns = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label2" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_right = 151.0
margin_bottom = 35.0
text = "Master volume"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MasterVolume" type="HSlider" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_right = 477.0
margin_bottom = 16.0
max_value = 1.0
step = 0.05
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 39.0
margin_right = 151.0
margin_bottom = 74.0
text = "Music volume"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MusicVolume" type="HSlider" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 39.0
margin_right = 477.0
margin_bottom = 55.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.05
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label3" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 78.0
margin_right = 151.0
margin_bottom = 113.0
text = "Move forward"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Forward" type="Button" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 78.0
margin_right = 477.0
margin_bottom = 113.0
text = "Forward"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label4" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 117.0
margin_right = 151.0
margin_bottom = 152.0
text = "Move backward"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Backward" type="Button" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 117.0
margin_right = 477.0
margin_bottom = 152.0
text = "Backward"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label5" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 156.0
margin_right = 151.0
margin_bottom = 191.0
text = "Move left"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Left" type="Button" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 156.0
margin_right = 477.0
margin_bottom = 191.0
text = "Left"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label6" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 195.0
margin_right = 151.0
margin_bottom = 230.0
text = "Move right"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Right" type="Button" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 195.0
margin_right = 477.0
margin_bottom = 230.0
text = "Right"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label7" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 234.0
margin_right = 151.0
margin_bottom = 269.0
text = "Jump"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Jump" type="Button" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 234.0
margin_right = 477.0
margin_bottom = 269.0
text = "Jump"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label8" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 273.0
margin_right = 151.0
margin_bottom = 308.0
text = "Sprint"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprint" type="Button" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 273.0
margin_right = 477.0
margin_bottom = 308.0
text = "Sprint"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label9" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 312.0
margin_right = 151.0
margin_bottom = 347.0
text = "Front camera"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Frontcamera" type="Button" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 312.0
margin_right = 477.0
margin_bottom = 347.0
text = "Front Camera"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label10" type="Label" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_top = 351.0
margin_right = 151.0
margin_bottom = 386.0
text = "Change weapon"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Changeweapon" type="Button" parent="OptionsMenu/VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 351.0
margin_right = 477.0
margin_bottom = 386.0
text = "Change weapon"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Save" type="Button" parent="OptionsMenu/VBoxContainer"]
margin_top = 486.0
margin_right = 477.0
margin_bottom = 521.0
text = "Save"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="MainMenuUI/VBoxContainer/Start" to="." method="_on_Start_pressed"]
[connection signal="pressed" from="MainMenuUI/VBoxContainer/Options" to="." method="_on_Options_pressed"]
[connection signal="pressed" from="MainMenuUI/VBoxContainer/Quit" to="." method="_on_Quit_pressed"]
[connection signal="value_changed" from="OptionsMenu/VBoxContainer/GridContainer/MasterVolume" to="." method="_on_Master_value_changed"]
[connection signal="value_changed" from="OptionsMenu/VBoxContainer/GridContainer/MusicVolume" to="." method="_on_Music_value_changed"]
[connection signal="pressed" from="OptionsMenu/VBoxContainer/Save" to="." method="_on_Save_pressed"]