tabletop-club/game/Scenes/OptionsMenu.tscn
drwhut e5687a3407 Added the new logo and icon, and remade the main menu.
Thank you to @traverseda and the mysterious ghost for helping create
the logo and icon for the game!

If you are the mysterious ghost, please contact me and I'll make sure
to put your name in the credits :)

This commit resolves #38.
2022-03-19 21:34:27 +00:00

1212 lines
38 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://Scripts/OptionsMenu.gd" type="Script" id=1]
[ext_resource path="res://Scripts/Misc/BindButton.gd" type="Script" id=2]
[ext_resource path="res://Scripts/Misc/BindingBackground.gd" type="Script" id=3]
[ext_resource path="res://Scripts/OptionsTab.gd" type="Script" id=4]
[node name="OptionsMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false,
"_editor_description_": "The options menu displays a list of options to the user.
The scene creates a ConfigFile full of values based on the nodes in the scene, and when the user applies the options, it gets sent around the game for nodes to apply the different options. The config file is also saved in the user:// directory so it can be loaded later."
}
[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
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_right = 984.0
margin_bottom = 560.0
[node name="TabContainer" type="TabContainer" parent="MarginContainer/VBoxContainer"]
margin_right = 984.0
margin_bottom = 530.0
size_flags_vertical = 3
[node name="Audio" type="ScrollContainer" parent="MarginContainer/VBoxContainer/TabContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 38.0
margin_right = -4.0
margin_bottom = -4.0
script = ExtResource( 4 )
section_name = "audio"
text = "Audio"
[node name="GridContainer" type="GridContainer" parent="MarginContainer/VBoxContainer/TabContainer/Audio"]
margin_right = 976.0
margin_bottom = 488.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="MasterVolume" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer"]
margin_right = 486.0
margin_bottom = 20.0
size_flags_horizontal = 3
text = "Master Volume"
align = 2
[node name="MasterVolumeSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer"]
margin_left = 490.0
margin_right = 976.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.01
value = 0.5
[node name="MusicVolume" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer"]
margin_top = 24.0
margin_right = 486.0
margin_bottom = 44.0
size_flags_horizontal = 3
text = "Music Volume"
align = 2
[node name="MusicVolumeSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer"]
margin_left = 490.0
margin_top = 24.0
margin_right = 976.0
margin_bottom = 40.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.01
value = 0.5
[node name="SoundsVolume" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer"]
margin_top = 48.0
margin_right = 486.0
margin_bottom = 68.0
size_flags_horizontal = 3
text = "Sounds Volume"
align = 2
[node name="SoundsVolumeSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer"]
margin_left = 490.0
margin_top = 48.0
margin_right = 976.0
margin_bottom = 64.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.01
value = 0.5
[node name="EffectsVolume" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer"]
margin_top = 72.0
margin_right = 486.0
margin_bottom = 92.0
size_flags_horizontal = 3
text = "Effects Volume"
align = 2
[node name="EffectsVolumeSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer"]
margin_left = 490.0
margin_top = 72.0
margin_right = 976.0
margin_bottom = 88.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.01
value = 0.5
[node name="Controls" type="ScrollContainer" parent="MarginContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 38.0
margin_right = -4.0
margin_bottom = -4.0
script = ExtResource( 4 )
section_name = "controls"
text = "Controls"
[node name="GridContainer" type="GridContainer" parent="MarginContainer/VBoxContainer/TabContainer/Controls"]
margin_right = 976.0
margin_bottom = 488.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="MouseHorizontalSensitivity" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_right = 486.0
margin_bottom = 20.0
size_flags_horizontal = 3
text = "Mouse Horizontal Sensitivity"
align = 2
[node name="MouseHorizontalSensitivitySlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_right = 976.0
margin_bottom = 16.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.05
[node name="MouseVerticalSensitivity" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 24.0
margin_right = 486.0
margin_bottom = 44.0
size_flags_horizontal = 3
text = "Mouse Vertical Sensitivity"
align = 2
[node name="MouseVerticalSensitivitySlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 24.0
margin_right = 976.0
margin_bottom = 40.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.05
[node name="MouseHorizontalInvert" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 52.0
margin_right = 486.0
margin_bottom = 72.0
size_flags_horizontal = 3
text = "Mouse Horizontal Invert"
align = 2
[node name="MouseHorizontalInvertCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 48.0
margin_right = 976.0
margin_bottom = 76.0
[node name="MouseVerticalInvert" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 84.0
margin_right = 486.0
margin_bottom = 104.0
size_flags_horizontal = 3
text = "Mouse Vertical Invert"
align = 2
[node name="MouseVerticalInvertCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 80.0
margin_right = 976.0
margin_bottom = 108.0
[node name="CameraMovementSpeed" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 112.0
margin_right = 486.0
margin_bottom = 132.0
size_flags_horizontal = 3
text = "Camera Movement Speed"
align = 2
[node name="CameraMovementSpeedSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 112.0
margin_right = 976.0
margin_bottom = 128.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.25
[node name="LeftClickToMove" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 140.0
margin_right = 486.0
margin_bottom = 160.0
size_flags_horizontal = 3
text = "Hold Left Click to Move Camera"
align = 2
[node name="LeftClickToMoveCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 136.0
margin_right = 976.0
margin_bottom = 164.0
[node name="ZoomSensitivity" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 168.0
margin_right = 486.0
margin_bottom = 188.0
size_flags_horizontal = 3
text = "Zoom Sensitivity"
align = 2
[node name="ZoomSensitivitySlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 168.0
margin_right = 976.0
margin_bottom = 184.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.25
[node name="ZoomInvert" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 196.0
margin_right = 486.0
margin_bottom = 216.0
size_flags_horizontal = 3
text = "Zoom Invert"
align = 2
[node name="ZoomInvertCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 192.0
margin_right = 976.0
margin_bottom = 220.0
[node name="PieceLiftSensitivity" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 224.0
margin_right = 486.0
margin_bottom = 244.0
size_flags_horizontal = 3
text = "Piece Lift Sensitivity"
align = 2
[node name="PieceLiftSensitivitySlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 224.0
margin_right = 976.0
margin_bottom = 240.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.15
[node name="PieceLiftInvert" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 252.0
margin_right = 486.0
margin_bottom = 272.0
size_flags_horizontal = 3
text = "Piece Lift Invert"
align = 2
[node name="PieceLiftInvertCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 248.0
margin_right = 976.0
margin_bottom = 276.0
[node name="PieceRotationInvert" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 284.0
margin_right = 486.0
margin_bottom = 304.0
size_flags_horizontal = 3
text = "Piece Rotation Invert"
align = 2
[node name="PieceRotationInvertCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 280.0
margin_right = 976.0
margin_bottom = 308.0
[node name="HandPreviewEnabled" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 316.0
margin_right = 486.0
margin_bottom = 336.0
size_flags_horizontal = 3
text = "Hand Preview Enabled"
align = 2
[node name="HandPreviewEnabledCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 312.0
margin_right = 976.0
margin_bottom = 340.0
pressed = true
[node name="HandPreviewDelay" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 344.0
margin_right = 486.0
margin_bottom = 364.0
size_flags_horizontal = 3
text = "Hand Preview Delay"
align = 2
[node name="HandPreviewDelaySlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 344.0
margin_right = 976.0
margin_bottom = 360.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.5
[node name="HandPreviewSize" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 368.0
margin_right = 486.0
margin_bottom = 388.0
size_flags_horizontal = 3
text = "Hand Preview Size"
align = 2
[node name="HandPreviewSizeSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 368.0
margin_right = 976.0
margin_bottom = 384.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.5
[node name="HideControlHints" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_top = 396.0
margin_right = 486.0
margin_bottom = 416.0
size_flags_horizontal = 3
text = "Hide Control Hints"
align = 2
[node name="HideControlHintsCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Controls/GridContainer"]
margin_left = 490.0
margin_top = 392.0
margin_right = 976.0
margin_bottom = 420.0
[node name="General" type="ScrollContainer" parent="MarginContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 38.0
margin_right = -4.0
margin_bottom = -4.0
script = ExtResource( 4 )
section_name = "general"
text = "General"
[node name="GridContainer" type="GridContainer" parent="MarginContainer/VBoxContainer/TabContainer/General"]
margin_right = 976.0
margin_bottom = 488.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="Language" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_top = 3.0
margin_right = 486.0
margin_bottom = 23.0
size_flags_horizontal = 3
text = "Language"
align = 2
[node name="LanguageButton" type="OptionButton" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_left = 490.0
margin_right = 976.0
margin_bottom = 26.0
size_flags_horizontal = 3
[node name="AutosaveInterval" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_top = 33.0
margin_right = 486.0
margin_bottom = 53.0
size_flags_horizontal = 3
text = "Autosave Interval"
align = 2
[node name="AutosaveIntervalButton" type="OptionButton" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_left = 490.0
margin_top = 30.0
margin_right = 976.0
margin_bottom = 56.0
size_flags_horizontal = 3
text = "5 minutes"
items = [ "Never", null, false, 0, null, "30 seconds", null, false, 1, null, "1 minute", null, false, 2, null, "5 minutes", null, false, 3, null, "10 minutes", null, false, 4, null, "30 minutes", null, false, 5, null ]
selected = 3
[node name="AutosaveFileCount" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_top = 65.0
margin_right = 486.0
margin_bottom = 85.0
size_flags_horizontal = 3
text = "Autosave File Count"
align = 2
[node name="AutosaveFileCountSpinBox" type="SpinBox" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_left = 490.0
margin_top = 60.0
margin_right = 976.0
margin_bottom = 90.0
size_flags_horizontal = 3
min_value = 1.0
value = 10.0
[node name="DividerLeft" type="Control" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_top = 94.0
margin_right = 486.0
margin_bottom = 94.0
size_flags_horizontal = 3
[node name="DividerRight" type="Control" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_left = 490.0
margin_top = 94.0
margin_right = 976.0
margin_bottom = 94.0
size_flags_horizontal = 3
[node name="OpenAssetsSpace" type="Control" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_top = 98.0
margin_right = 486.0
margin_bottom = 124.0
size_flags_horizontal = 3
[node name="OpenAssetsButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_left = 490.0
margin_top = 98.0
margin_right = 976.0
margin_bottom = 124.0
size_flags_horizontal = 3
text = "Open Assets Folder"
[node name="ReimportSpace" type="Control" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_top = 128.0
margin_right = 486.0
margin_bottom = 154.0
size_flags_horizontal = 3
[node name="ReimportButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/General/GridContainer"]
margin_left = 490.0
margin_top = 128.0
margin_right = 976.0
margin_bottom = 154.0
size_flags_horizontal = 3
text = "Reimport Assets"
[node name="Key Bindings" type="ScrollContainer" parent="MarginContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 38.0
margin_right = -4.0
margin_bottom = -4.0
script = ExtResource( 4 )
section_name = "key_bindings"
text = "Key Bindings"
[node name="GridContainer" type="GridContainer" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings"]
margin_right = 976.0
margin_bottom = 488.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="MoveForward" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 3.0
margin_right = 486.0
margin_bottom = 23.0
size_flags_horizontal = 3
text = "Move Forward"
align = 2
[node name="MoveForwardButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_right = 976.0
margin_bottom = 26.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_up"
[node name="MoveBack" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 33.0
margin_right = 486.0
margin_bottom = 53.0
size_flags_horizontal = 3
text = "Move Back"
align = 2
[node name="MoveBackButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 30.0
margin_right = 976.0
margin_bottom = 56.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_down"
[node name="MoveLeft" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 63.0
margin_right = 486.0
margin_bottom = 83.0
size_flags_horizontal = 3
text = "Move Left"
align = 2
[node name="MoveLeftButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 60.0
margin_right = 976.0
margin_bottom = 86.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_left"
[node name="MoveRight" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 93.0
margin_right = 486.0
margin_bottom = 113.0
size_flags_horizontal = 3
text = "Move Right"
align = 2
[node name="MoveRightButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 90.0
margin_right = 976.0
margin_bottom = 116.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_right"
[node name="RotateCamera" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 123.0
margin_right = 486.0
margin_bottom = 143.0
size_flags_horizontal = 3
text = "Rotate Camera"
align = 2
[node name="RotateCameraButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 120.0
margin_right = 976.0
margin_bottom = 146.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_rotate"
[node name="ResetCamera" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 153.0
margin_right = 486.0
margin_bottom = 173.0
size_flags_horizontal = 3
text = "Reset Camera"
align = 2
[node name="ResetCameraButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 150.0
margin_right = 976.0
margin_bottom = 176.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_reset_camera"
[node name="FlipPiece" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 183.0
margin_right = 486.0
margin_bottom = 203.0
size_flags_horizontal = 3
text = "Flip Piece Orientation"
align = 2
[node name="FlipPieceButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 180.0
margin_right = 976.0
margin_bottom = 206.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_flip_piece"
[node name="ResetPiece" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 213.0
margin_right = 486.0
margin_bottom = 233.0
size_flags_horizontal = 3
text = "Reset Piece Orientation"
align = 2
[node name="ResetPieceButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 210.0
margin_right = 976.0
margin_bottom = 236.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_reset_piece"
[node name="LockPiece" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 243.0
margin_right = 486.0
margin_bottom = 263.0
size_flags_horizontal = 3
text = "Lock/Unlock Piece"
align = 2
[node name="LockPieceButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 240.0
margin_right = 976.0
margin_bottom = 266.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_lock_piece"
[node name="DeletePiece" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 273.0
margin_right = 486.0
margin_bottom = 293.0
size_flags_horizontal = 3
text = "Delete Piece"
align = 2
[node name="DeletePieceButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 270.0
margin_right = 976.0
margin_bottom = 296.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_delete_piece"
[node name="ToggleDebugInfo" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 303.0
margin_right = 486.0
margin_bottom = 323.0
size_flags_horizontal = 3
text = "Toggle Debug Info"
align = 2
[node name="ToggleDebugInfoButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 300.0
margin_right = 976.0
margin_bottom = 326.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_toggle_debug_info"
[node name="Quicksave" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 333.0
margin_right = 486.0
margin_bottom = 353.0
size_flags_horizontal = 3
text = "Quicksave"
align = 2
[node name="QuicksaveButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 330.0
margin_right = 976.0
margin_bottom = 356.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_quicksave"
[node name="Quickload" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 363.0
margin_right = 486.0
margin_bottom = 383.0
size_flags_horizontal = 3
text = "Quickload"
align = 2
[node name="QuickloadButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 360.0
margin_right = 976.0
margin_bottom = 386.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_quickload"
[node name="ToggleUI" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 393.0
margin_right = 486.0
margin_bottom = 413.0
size_flags_horizontal = 3
text = "Toggle UI"
align = 2
[node name="ToggleUIButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 390.0
margin_right = 976.0
margin_bottom = 416.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_toggle_ui"
[node name="TakeScreenshot" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 423.0
margin_right = 486.0
margin_bottom = 443.0
size_flags_horizontal = 3
text = "Take Screenshot"
align = 2
[node name="TakeScreenshotButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 420.0
margin_right = 976.0
margin_bottom = 446.0
size_flags_horizontal = 3
script = ExtResource( 2 )
action = "game_take_screenshot"
[node name="ResetBindingsSpace" type="Control" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_top = 450.0
margin_right = 486.0
margin_bottom = 476.0
[node name="ResetBindingsButton" type="Button" parent="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer"]
margin_left = 490.0
margin_top = 450.0
margin_right = 976.0
margin_bottom = 476.0
text = "Reset Bindings"
[node name="Multiplayer" type="ScrollContainer" parent="MarginContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 38.0
margin_right = -4.0
margin_bottom = -4.0
script = ExtResource( 4 )
section_name = "multiplayer"
text = "Multiplayer"
[node name="GridContainer" type="GridContainer" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer"]
margin_right = 976.0
margin_bottom = 488.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="Name" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer/GridContainer"]
margin_top = 5.0
margin_right = 486.0
margin_bottom = 25.0
size_flags_horizontal = 3
text = "Name"
align = 2
[node name="NameEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer/GridContainer"]
margin_left = 490.0
margin_right = 976.0
margin_bottom = 30.0
size_flags_horizontal = 3
text = "Player"
[node name="Color" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer/GridContainer"]
margin_top = 37.0
margin_right = 486.0
margin_bottom = 57.0
size_flags_horizontal = 3
text = "Color"
align = 2
[node name="ColorPicker" type="ColorPickerButton" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer/GridContainer"]
margin_left = 490.0
margin_top = 34.0
margin_right = 976.0
margin_bottom = 60.0
size_flags_horizontal = 3
color = Color( 1, 1, 1, 1 )
edit_alpha = false
[node name="HideCursors" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer/GridContainer"]
margin_top = 68.0
margin_right = 486.0
margin_bottom = 88.0
size_flags_horizontal = 3
text = "Hide Player Cursors"
align = 2
[node name="HideCursorsCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer/GridContainer"]
margin_left = 490.0
margin_top = 64.0
margin_right = 976.0
margin_bottom = 92.0
size_flags_horizontal = 3
[node name="CensorProfanity" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer/GridContainer"]
margin_top = 100.0
margin_right = 486.0
margin_bottom = 120.0
size_flags_horizontal = 3
text = "Censor Profanity"
align = 2
[node name="CensorProfanityCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Multiplayer/GridContainer"]
margin_left = 490.0
margin_top = 96.0
margin_right = 976.0
margin_bottom = 124.0
size_flags_horizontal = 3
pressed = true
[node name="Video" type="ScrollContainer" parent="MarginContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 38.0
margin_right = -4.0
margin_bottom = -4.0
script = ExtResource( 4 )
section_name = "video"
text = "Video"
[node name="GridContainer" type="GridContainer" parent="MarginContainer/VBoxContainer/TabContainer/Video"]
margin_right = 976.0
margin_bottom = 488.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="WindowMode" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 3.0
margin_right = 486.0
margin_bottom = 23.0
size_flags_horizontal = 3
text = "Window Mode"
align = 2
[node name="WindowModeButton" type="OptionButton" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_right = 976.0
margin_bottom = 26.0
size_flags_horizontal = 3
text = "Windowed"
items = [ "Windowed", null, false, 0, null, "Borderless Fullscreen", null, false, 1, null, "Fullscreen", null, false, 2, null ]
selected = 0
[node name="FOV" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 35.0
margin_right = 486.0
margin_bottom = 55.0
size_flags_horizontal = 3
text = "Field of View"
align = 2
[node name="FOVSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 30.0
margin_right = 976.0
margin_bottom = 60.0
size_flags_horizontal = 3
min_value = 50.0
max_value = 130.0
step = 5.0
value = 70.0
suffix = "º"
[node name="VSync" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 68.0
margin_right = 486.0
margin_bottom = 88.0
size_flags_horizontal = 3
text = "VSync"
align = 2
[node name="VSyncCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 64.0
margin_right = 976.0
margin_bottom = 92.0
size_flags_horizontal = 3
[node name="ShadowDetail" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 99.0
margin_right = 486.0
margin_bottom = 119.0
size_flags_horizontal = 3
text = "Shadow Detail"
align = 2
[node name="ShadowDetailButton" type="OptionButton" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 96.0
margin_right = 976.0
margin_bottom = 122.0
size_flags_horizontal = 3
text = "Medium"
items = [ "Low", null, false, 0, null, "Medium", null, false, 1, null, "High", null, false, 2, null, "Very High", null, false, 3, null ]
selected = 1
[node name="MSAA" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 129.0
margin_right = 486.0
margin_bottom = 149.0
size_flags_horizontal = 3
text = "Multisample Anti-Aliasing (MSAA)"
align = 2
[node name="MSAAButton" type="OptionButton" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 126.0
margin_right = 976.0
margin_bottom = 152.0
size_flags_horizontal = 3
text = "None"
items = [ "None", null, false, 0, null, "2X", null, false, 1, null, "4X", null, false, 2, null, "8X", null, false, 3, null, "16X", null, false, 4, null ]
selected = 0
[node name="SSAO" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 159.0
margin_right = 486.0
margin_bottom = 179.0
size_flags_horizontal = 3
text = "Screen Space Ambient Occlusion (SSAO)"
align = 2
[node name="SSAOButton" type="OptionButton" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 156.0
margin_right = 976.0
margin_bottom = 182.0
size_flags_horizontal = 3
text = "None"
items = [ "None", null, false, 0, null, "Low", null, false, 1, null, "Medium", null, false, 2, null, "High", null, false, 3, null ]
selected = 0
[node name="SkyboxRadianceDetail" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 189.0
margin_right = 486.0
margin_bottom = 209.0
size_flags_horizontal = 3
text = "Skybox Radiance Detail"
align = 2
[node name="SkyboxRadianceDetailButton" type="OptionButton" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 186.0
margin_right = 976.0
margin_bottom = 212.0
size_flags_horizontal = 3
text = "Low"
items = [ "Low", null, false, 0, null, "Medium", null, false, 1, null, "High", null, false, 2, null, "Very High", null, false, 3, null, "Ultra", null, false, 4, null ]
selected = 0
[node name="DepthOfField" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 219.0
margin_right = 486.0
margin_bottom = 239.0
size_flags_horizontal = 3
text = "Depth of Field"
align = 2
[node name="DepthOfFieldButton" type="OptionButton" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 216.0
margin_right = 976.0
margin_bottom = 242.0
size_flags_horizontal = 3
text = "None"
items = [ "None", null, false, 0, null, "Low", null, false, 1, null, "Medium", null, false, 2, null, "High", null, false, 3, null ]
selected = 0
[node name="DepthOfFieldAmount" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 246.0
margin_right = 486.0
margin_bottom = 266.0
size_flags_horizontal = 3
text = "Depth of Field Amount"
align = 2
[node name="DepthOfFieldAmountSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 246.0
margin_right = 976.0
margin_bottom = 262.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.5
[node name="DepthOfFieldDistance" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 270.0
margin_right = 486.0
margin_bottom = 290.0
size_flags_horizontal = 3
text = "Depth of Field Distance"
align = 2
[node name="DepthOfFieldDistanceSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 270.0
margin_right = 976.0
margin_bottom = 286.0
size_flags_horizontal = 3
min_value = 0.01
max_value = 1.0
step = 0.01
value = 0.5
[node name="TablePaintFiltering" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_top = 298.0
margin_right = 486.0
margin_bottom = 318.0
size_flags_horizontal = 3
text = "Table Paint Filtering"
align = 2
[node name="TablePaintFilteringCheckbox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer"]
margin_left = 490.0
margin_top = 294.0
margin_right = 976.0
margin_bottom = 322.0
size_flags_horizontal = 3
pressed = true
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
margin_top = 534.0
margin_right = 984.0
margin_bottom = 560.0
alignment = 2
[node name="BackButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 847.0
margin_right = 891.0
margin_bottom = 26.0
text = "Back"
[node name="ApplyButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 895.0
margin_right = 947.0
margin_bottom = 26.0
text = "Apply"
[node name="OKButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 951.0
margin_right = 984.0
margin_bottom = 26.0
text = "OK"
[node name="BindingBackground" type="ColorRect" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.313726 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="BindingBackground"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -140.0
margin_top = -45.0
margin_right = 140.0
margin_bottom = 45.0
mouse_filter = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginContainer" type="MarginContainer" parent="BindingBackground/Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 5.0
margin_top = 5.0
margin_right = -5.0
margin_bottom = -5.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="BindingBackground/Panel/MarginContainer"]
margin_right = 270.0
margin_bottom = 80.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PressKeyLabel" type="Label" parent="BindingBackground/Panel/MarginContainer/VBoxContainer"]
margin_right = 270.0
margin_bottom = 14.0
text = "Please press a key or button to bind it..."
align = 1
autowrap = true
[node name="Space" type="Control" parent="BindingBackground/Panel/MarginContainer/VBoxContainer"]
margin_top = 18.0
margin_right = 270.0
margin_bottom = 56.0
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="BindingBackground/Panel/MarginContainer/VBoxContainer"]
margin_top = 60.0
margin_right = 270.0
margin_bottom = 80.0
alignment = 1
[node name="CancelBindButton" type="Button" parent="BindingBackground/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 108.0
margin_right = 162.0
margin_bottom = 20.0
text = "Cancel"
[node name="ReimportConfirm" type="ConfirmationDialog" parent="."]
margin_right = 297.0
margin_bottom = 109.0
window_title = "Reimporting Assets"
dialog_text = "Reimporting your assets will delete your import cache (not the original files) and restart the game. Are you sure you want to continue?"
dialog_autowrap = true
[node name="ResetBindingsConfirm" type="ConfirmationDialog" parent="."]
margin_right = 297.0
margin_bottom = 109.0
window_title = "Reset Bindings"
dialog_text = "Are you sure you want to reset your key bindings to their default value?"
dialog_autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RestartRequiredDialog" type="AcceptDialog" parent="."]
margin_right = 280.0
margin_bottom = 100.0
window_title = "Warning!"
dialog_text = "Restarting the game is required in order for these changes to take effect."
dialog_autowrap = true
[connection signal="value_changed" from="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer/MasterVolumeSlider" to="." method="_on_MasterVolumeSlider_value_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer/MusicVolumeSlider" to="." method="_on_MusicVolumeSlider_value_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer/SoundsVolumeSlider" to="." method="_on_SoundsVolumeSlider_value_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/TabContainer/Audio/GridContainer/EffectsVolumeSlider" to="." method="_on_EffectsVolumeSlider_value_changed"]
[connection signal="item_selected" from="MarginContainer/VBoxContainer/TabContainer/General/GridContainer/LanguageButton" to="." method="_on_LanguageButton_item_selected"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/TabContainer/General/GridContainer/OpenAssetsButton" to="." method="_on_OpenAssetsButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/TabContainer/General/GridContainer/ReimportButton" to="." method="_on_ReimportButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/TabContainer/Key Bindings/GridContainer/ResetBindingsButton" to="." method="_on_ResetBindingsButton_pressed"]
[connection signal="item_selected" from="MarginContainer/VBoxContainer/TabContainer/Video/GridContainer/ShadowDetailButton" to="." method="_on_ShadowDetailButton_item_selected"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/BackButton" to="." method="_on_BackButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/ApplyButton" to="." method="_on_ApplyButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/OKButton" to="." method="_on_OKButton_pressed"]
[connection signal="unhandled_input" from="BindingBackground" to="." method="_on_BindingBackground_unhandled_input"]
[connection signal="pressed" from="BindingBackground/Panel/MarginContainer/VBoxContainer/HBoxContainer/CancelBindButton" to="." method="_on_CancelBindButton_pressed"]
[connection signal="confirmed" from="ReimportConfirm" to="." method="_on_ReimportConfirm_confirmed"]
[connection signal="confirmed" from="ResetBindingsConfirm" to="." method="_on_ResetBindingsConfirm_confirmed"]