477 lines
15 KiB
Plaintext
477 lines
15 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
|
|
[ext_resource path="res://menu/settings_menu.gd" type="Script" id=2]
|
|
[ext_resource path="res://menu/default_theme.tres" type="Theme" id=3]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 64
|
|
font_data = ExtResource( 1 )
|
|
|
|
[sub_resource type="DynamicFont" id=5]
|
|
font_data = ExtResource( 1 )
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
font_data = ExtResource( 1 )
|
|
|
|
[node name="SettingsMenu" type="Panel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme = ExtResource( 3 )
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 20.0
|
|
margin_top = 20.0
|
|
margin_right = -20.0
|
|
margin_bottom = -20.0
|
|
|
|
[node name="VSplitContainer" type="VSplitContainer" parent="MarginContainer"]
|
|
margin_right = 984.0
|
|
margin_bottom = 560.0
|
|
dragger_visibility = 1
|
|
|
|
[node name="HSplitContainer" type="HSplitContainer" parent="MarginContainer/VSplitContainer"]
|
|
margin_right = 984.0
|
|
margin_bottom = 72.0
|
|
dragger_visibility = 1
|
|
|
|
[node name="BackButton" type="Button" parent="MarginContainer/VSplitContainer/HSplitContainer"]
|
|
margin_right = 116.0
|
|
margin_bottom = 72.0
|
|
text = "Back"
|
|
|
|
[node name="Title" type="Label" parent="MarginContainer/VSplitContainer/HSplitContainer"]
|
|
margin_left = 140.0
|
|
margin_right = 984.0
|
|
margin_bottom = 72.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Settings"
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="MarginContainer/VSplitContainer"]
|
|
margin_top = 96.0
|
|
margin_right = 984.0
|
|
margin_bottom = 560.0
|
|
|
|
[node name="Gameplay" type="ScrollContainer" parent="MarginContainer/VSplitContainer/TabContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 8.0
|
|
margin_top = 72.0
|
|
margin_right = -8.0
|
|
margin_bottom = -8.0
|
|
|
|
[node name="Gameplay" type="VBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Gameplay"]
|
|
margin_right = 968.0
|
|
margin_bottom = 82.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="MultiplayerNameLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Gameplay/Gameplay"]
|
|
margin_right = 968.0
|
|
margin_bottom = 18.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Multiplayer name"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MultiplayerNameBox" type="LineEdit" parent="MarginContainer/VSplitContainer/TabContainer/Gameplay/Gameplay"]
|
|
margin_top = 26.0
|
|
margin_right = 968.0
|
|
margin_bottom = 82.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Audio" type="ScrollContainer" parent="MarginContainer/VSplitContainer/TabContainer"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 8.0
|
|
margin_top = 72.0
|
|
margin_right = -8.0
|
|
margin_bottom = -8.0
|
|
|
|
[node name="Audio" type="VBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Audio"]
|
|
margin_right = 968.0
|
|
margin_bottom = 190.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="MasterLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Audio/Audio"]
|
|
margin_right = 968.0
|
|
margin_bottom = 18.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Master"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MasterSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Audio/Audio"]
|
|
margin_top = 26.0
|
|
margin_right = 968.0
|
|
margin_bottom = 58.0
|
|
max_value = 1.0
|
|
step = 0.05
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SoundEffectsLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Audio/Audio"]
|
|
margin_top = 66.0
|
|
margin_right = 968.0
|
|
margin_bottom = 84.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Sound Effects"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SoundEffectsSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Audio/Audio"]
|
|
margin_top = 92.0
|
|
margin_right = 968.0
|
|
margin_bottom = 124.0
|
|
max_value = 1.0
|
|
step = 0.05
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MusicLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Audio/Audio"]
|
|
margin_top = 132.0
|
|
margin_right = 968.0
|
|
margin_bottom = 150.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Music"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MusicSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Audio/Audio"]
|
|
margin_top = 158.0
|
|
margin_right = 968.0
|
|
margin_bottom = 190.0
|
|
max_value = 1.0
|
|
step = 0.05
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Video" type="ScrollContainer" parent="MarginContainer/VSplitContainer/TabContainer"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 8.0
|
|
margin_top = 72.0
|
|
margin_right = -8.0
|
|
margin_bottom = -8.0
|
|
|
|
[node name="Video" type="VBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Video"]
|
|
margin_right = 968.0
|
|
margin_bottom = 104.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="FullscreenCheckBox" type="CheckBox" parent="MarginContainer/VSplitContainer/TabContainer/Video/Video"]
|
|
margin_right = 968.0
|
|
margin_bottom = 48.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Fullscreen"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="BorderlessCheckBox" type="CheckBox" parent="MarginContainer/VSplitContainer/TabContainer/Video/Video"]
|
|
margin_top = 56.0
|
|
margin_right = 968.0
|
|
margin_bottom = 104.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Borderless"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Controls" type="ScrollContainer" parent="MarginContainer/VSplitContainer/TabContainer"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 8.0
|
|
margin_top = 72.0
|
|
margin_right = -8.0
|
|
margin_bottom = -8.0
|
|
|
|
[node name="Controls" type="VBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Controls"]
|
|
margin_right = 968.0
|
|
margin_bottom = 566.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_right = 944.0
|
|
margin_bottom = 58.0
|
|
|
|
[node name="Steering" type="VBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer"]
|
|
margin_right = 230.0
|
|
margin_bottom = 58.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer/Steering"]
|
|
margin_right = 230.0
|
|
margin_bottom = 18.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Steering"
|
|
|
|
[node name="HSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer/Steering"]
|
|
margin_top = 26.0
|
|
margin_right = 230.0
|
|
margin_bottom = 58.0
|
|
min_value = -1.0
|
|
max_value = 1.0
|
|
step = 0.01
|
|
editable = false
|
|
|
|
[node name="Throttle" type="VBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer"]
|
|
margin_left = 238.0
|
|
margin_right = 468.0
|
|
margin_bottom = 58.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer/Throttle"]
|
|
margin_right = 230.0
|
|
margin_bottom = 18.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Throttle"
|
|
|
|
[node name="HSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer/Throttle"]
|
|
margin_top = 26.0
|
|
margin_right = 230.0
|
|
margin_bottom = 58.0
|
|
max_value = 1.0
|
|
step = 0.01
|
|
editable = false
|
|
|
|
[node name="Brakes" type="VBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer"]
|
|
margin_left = 476.0
|
|
margin_right = 706.0
|
|
margin_bottom = 58.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer/Brakes"]
|
|
margin_right = 230.0
|
|
margin_bottom = 18.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Brakes"
|
|
|
|
[node name="HSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer/Brakes"]
|
|
margin_top = 26.0
|
|
margin_right = 230.0
|
|
margin_bottom = 58.0
|
|
max_value = 1.0
|
|
step = 0.01
|
|
editable = false
|
|
|
|
[node name="Gear" type="VBoxContainer" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer"]
|
|
margin_left = 714.0
|
|
margin_right = 944.0
|
|
margin_bottom = 58.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer/Gear"]
|
|
margin_right = 230.0
|
|
margin_bottom = 18.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Gear"
|
|
|
|
[node name="HSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/HBoxContainer/Gear"]
|
|
margin_top = 26.0
|
|
margin_right = 230.0
|
|
margin_bottom = 58.0
|
|
min_value = -1.0
|
|
max_value = 6.0
|
|
editable = false
|
|
|
|
[node name="AutoClutchCheckBox" type="CheckBox" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 66.0
|
|
margin_right = 944.0
|
|
margin_bottom = 114.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Automatic Clutch"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AutomaticTransmissionCheckBox" type="CheckBox" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 122.0
|
|
margin_right = 944.0
|
|
margin_bottom = 170.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Automatic Transmission"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SteeringSensitivityLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 178.0
|
|
margin_right = 944.0
|
|
margin_bottom = 196.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Steering Sensitivity"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SteeringSensitivitySlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 204.0
|
|
margin_right = 944.0
|
|
margin_bottom = 236.0
|
|
min_value = 0.01
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SteeringInnerDeadzoneLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 244.0
|
|
margin_right = 944.0
|
|
margin_bottom = 262.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Steering Inner Deadzone"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SteeringInnerDeadzoneSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 270.0
|
|
margin_right = 944.0
|
|
margin_bottom = 302.0
|
|
max_value = 0.4
|
|
step = 0.01
|
|
value = 0.4
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SteeringOuterDeadzoneLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 310.0
|
|
margin_right = 944.0
|
|
margin_bottom = 328.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Steering Outer Deadzone"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SteeringOuterDeadzoneSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 336.0
|
|
margin_right = 944.0
|
|
margin_bottom = 368.0
|
|
max_value = 0.4
|
|
step = 0.01
|
|
value = 0.4
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SteeringReturnSpeedLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 376.0
|
|
margin_right = 944.0
|
|
margin_bottom = 394.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Steering Return Speed"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SteeringReturnSpeedSlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 402.0
|
|
margin_right = 944.0
|
|
margin_bottom = 434.0
|
|
max_value = 60.0
|
|
step = 0.01
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ThrottleSensitivityLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 442.0
|
|
margin_right = 944.0
|
|
margin_bottom = 460.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Throttle Sensitivity"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ThrottleSensitivitySlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 468.0
|
|
margin_right = 944.0
|
|
margin_bottom = 500.0
|
|
min_value = 0.01
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="BrakesSensitivityLabel" type="Label" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 508.0
|
|
margin_right = 944.0
|
|
margin_bottom = 526.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Brakes Sensitivity"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="BrakesSensitivitySlider" type="HSlider" parent="MarginContainer/VSplitContainer/TabContainer/Controls/Controls"]
|
|
margin_top = 534.0
|
|
margin_right = 944.0
|
|
margin_bottom = 566.0
|
|
min_value = 0.01
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="pressed" from="MarginContainer/VSplitContainer/HSplitContainer/BackButton" to="." method="_on_BackButton_pressed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Audio/Audio/MasterSlider" to="." method="_on_MasterSlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Audio/Audio/SoundEffectsSlider" to="." method="_on_SoundEffectsSlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Audio/Audio/MusicSlider" to="." method="_on_MusicSlider_value_changed"]
|
|
[connection signal="toggled" from="MarginContainer/VSplitContainer/TabContainer/Video/Video/FullscreenCheckBox" to="." method="_on_fullscreen_toggled"]
|
|
[connection signal="toggled" from="MarginContainer/VSplitContainer/TabContainer/Video/Video/BorderlessCheckBox" to="." method="_on_borderless_toggled"]
|
|
[connection signal="toggled" from="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/AutoClutchCheckBox" to="." method="_on_autoclutch_toggled"]
|
|
[connection signal="toggled" from="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/AutomaticTransmissionCheckBox" to="." method="_on_automatictransmission_toggled"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/SteeringSensitivitySlider" to="." method="_on_SteeringSensitivitySlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/SteeringInnerDeadzoneSlider" to="." method="_on_SteeringInnerDeadzoneSlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/SteeringOuterDeadzoneSlider" to="." method="_on_SteeringOuterDeadzoneSlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/SteeringReturnSpeedSlider" to="." method="_on_SteeringReturnSpeedSlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/ThrottleSensitivitySlider" to="." method="_on_ThrottleSensitivitySlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/TabContainer/Controls/Controls/BrakesSensitivitySlider" to="." method="_on_BrakesSensitivitySlider_value_changed"]
|